mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-27 08:25:07 +00:00
perf: i18n (#4740)
* feat: login limit time config * doc * perf: code * i18n update * update lock * fix: ts * update package
This commit is contained in:
@@ -43,7 +43,7 @@ const CodeEditor = (props: Props) => {
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button mr={2} onClick={onClose} px={6}>
|
||||
{t('common:common.Confirm')}
|
||||
{t('common:Confirm')}
|
||||
</Button>
|
||||
</ModalFooter>
|
||||
</MyModal>
|
||||
|
@@ -101,7 +101,7 @@ const CustomPromptEditor = ({
|
||||
px={2}
|
||||
onClick={() => setValue(defaultPrompt)}
|
||||
>
|
||||
{t('common:common.Reset')}
|
||||
{t('common:Reset')}
|
||||
</Button>
|
||||
</HStack>
|
||||
|
||||
@@ -137,7 +137,7 @@ const CustomPromptEditor = ({
|
||||
<ModalFooter>
|
||||
<Flex gap={3}>
|
||||
<Button variant={'whiteBase'} fontWeight={'medium'} onClick={onClose} w={20}>
|
||||
{t('common:common.Close')}
|
||||
{t('common:Close')}
|
||||
</Button>
|
||||
<Button
|
||||
fontWeight={'medium'}
|
||||
@@ -147,7 +147,7 @@ const CustomPromptEditor = ({
|
||||
}}
|
||||
w={20}
|
||||
>
|
||||
{t('common:common.Confirm')}
|
||||
{t('common:Confirm')}
|
||||
</Button>
|
||||
</Flex>
|
||||
</ModalFooter>
|
||||
|
@@ -178,7 +178,7 @@ const JSONEditor = ({
|
||||
} catch (error) {
|
||||
toast({
|
||||
status: 'warning',
|
||||
title: t('common:common.jsonEditor.Parse error')
|
||||
title: t('common:jsonEditor.Parse error')
|
||||
});
|
||||
}
|
||||
}, [value]);
|
||||
|
@@ -86,7 +86,7 @@ const PromptEditor = ({
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button mr={2} onClick={onClose} px={6}>
|
||||
{t('common:common.Confirm')}
|
||||
{t('common:Confirm')}
|
||||
</Button>
|
||||
</ModalFooter>
|
||||
</MyModal>
|
||||
|
Reference in New Issue
Block a user