fix i18next.d.ts (#2064)

* fix i18next.d.ts

* feat: packages web i18n

* delete file
This commit is contained in:
jingyang
2024-07-17 15:27:51 +08:00
committed by GitHub
parent 36f8755d09
commit 982325d066
75 changed files with 216 additions and 204 deletions

View File

@@ -17,7 +17,7 @@ const CodeEditor = (props: Props) => {
isOpen={isOpen}
onClose={onClose}
iconSrc="modal/edit"
title={t('Code editor')}
title={t('common:Code editor')}
w={'full'}
>
<ModalBody>
@@ -25,7 +25,7 @@ const CodeEditor = (props: Props) => {
</ModalBody>
<ModalFooter>
<Button mr={2} onClick={onClose} px={6}>
{t('common.Confirm')}
{t('common:common.Confirm')}
</Button>
</ModalFooter>
</MyModal>

View File

@@ -178,7 +178,7 @@ const JSONEditor = ({
} catch (error) {
toast({
status: 'warning',
title: t('common.jsonEditor.Parse error')
title: t('common:common.jsonEditor.Parse error')
});
}
}, [value]);

View File

@@ -79,7 +79,7 @@ const PromptEditor = ({
</ModalBody>
<ModalFooter>
<Button mr={2} onClick={onClose} px={6}>
{t('common.Confirm')}
{t('common:common.Confirm')}
</Button>
</ModalFooter>
</MyModal>