mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 10:07:24 +00:00
fix i18next.d.ts (#2064)
* fix i18next.d.ts * feat: packages web i18n * delete file
This commit is contained in:
@@ -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>
|
||||
|
@@ -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]);
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user