perf: i18n (#4740)

* feat: login limit time config

* doc

* perf: code

* i18n update

* update lock

* fix: ts

* update package
This commit is contained in:
Archer
2025-05-05 16:16:59 +08:00
committed by GitHub
parent fdd4e9edbd
commit 864eff47c7
229 changed files with 1128 additions and 1293 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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]);

View File

@@ -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>