mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-24 01:13:45 +08:00
update: i18n common.json keys (#2124)
This commit is contained in:
@@ -17,7 +17,7 @@ const CodeEditor = (props: Props) => {
|
|||||||
isOpen={isOpen}
|
isOpen={isOpen}
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
iconSrc="modal/edit"
|
iconSrc="modal/edit"
|
||||||
title={t('common:Code editor')}
|
title={t('common:code_editor')}
|
||||||
w={'full'}
|
w={'full'}
|
||||||
>
|
>
|
||||||
<ModalBody>
|
<ModalBody>
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"Add new": "Add new",
|
"add_new": "Add new",
|
||||||
"App": "App",
|
"App": "App",
|
||||||
"Click to resume": "Resume",
|
"click_to_resume": "Resume",
|
||||||
"Code editor": "Code edit",
|
"code_editor": "Code edit",
|
||||||
"Export": "Export",
|
"Export": "Export",
|
||||||
"Field name": "Name",
|
"field_name": "Name",
|
||||||
"Folder": "Folder",
|
"Folder": "Folder",
|
||||||
"Is open": "Opened",
|
"is_open": "Opened",
|
||||||
"Login": "Login",
|
"Login": "Login",
|
||||||
"Move": "Move",
|
"Move": "Move",
|
||||||
"Name": "Name",
|
"Name": "Name",
|
||||||
"New Create": "Create New",
|
"new_create": "Create New",
|
||||||
"No data": "No data",
|
"no_data": "No data",
|
||||||
"Rename": "Rename",
|
"Rename": "Rename",
|
||||||
"Resume": "Resume",
|
"Resume": "Resume",
|
||||||
"Running": "Running",
|
"Running": "Running",
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
{
|
{
|
||||||
"Add new": "新增",
|
"add_new": "新增",
|
||||||
"App": "应用",
|
"App": "应用",
|
||||||
"Click to resume": "点击恢复",
|
"click_to_resume": "点击恢复",
|
||||||
"Code editor": "代码编辑",
|
"code_editor": "代码编辑",
|
||||||
"Export": "导出",
|
"Export": "导出",
|
||||||
"Field name": "字段名",
|
"field_name": "字段名",
|
||||||
"Folder": "文件夹",
|
"Folder": "文件夹",
|
||||||
"Is open": "是否开启",
|
"is_open": "是否开启",
|
||||||
"Login": "登录",
|
"Login": "登录",
|
||||||
"Move": "移动",
|
"Move": "移动",
|
||||||
"Name": "名称",
|
"Name": "名称",
|
||||||
"New Create": "新建",
|
"new_create": "新建",
|
||||||
"No data": "暂无数据",
|
"no_data": "暂无数据",
|
||||||
"Rename": "重命名",
|
"Rename": "重命名",
|
||||||
"Resume": "恢复",
|
"Resume": "恢复",
|
||||||
"Running": "运行中",
|
"Running": "运行中",
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ const InputGuideConfig = ({
|
|||||||
>
|
>
|
||||||
<ModalBody px={[5, 16]} py={[4, 8]}>
|
<ModalBody px={[5, 16]} py={[4, 8]}>
|
||||||
<Flex justifyContent={'space-between'} alignItems={'center'}>
|
<Flex justifyContent={'space-between'} alignItems={'center'}>
|
||||||
<FormLabel>{t('common:Is open')}</FormLabel>
|
<FormLabel>{t('common:is_open')}</FormLabel>
|
||||||
<Switch
|
<Switch
|
||||||
isChecked={isOpenQuestionGuide}
|
isChecked={isOpenQuestionGuide}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ const ApiKeyTable = ({ tips, appId }: { tips: string; appId?: string }) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{t('common:New Create')}
|
{t('common:new_create')}
|
||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ const ResumeInherit = ({
|
|||||||
)();
|
)();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{commonT('Click to resume')}
|
{commonT('click_to_resume')}
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<CommonConfirmModal />
|
<CommonConfirmModal />
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ const ExtractFieldModal = ({
|
|||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<Flex mt={5} alignItems={'center'}>
|
<Flex mt={5} alignItems={'center'}>
|
||||||
<FormLabel flex={['0 0 80px', '0 0 100px']}>{t('common:Field name')}</FormLabel>
|
<FormLabel flex={['0 0 80px', '0 0 100px']}>{t('common:field_name')}</FormLabel>
|
||||||
<Input
|
<Input
|
||||||
bg={'myGray.50'}
|
bg={'myGray.50'}
|
||||||
placeholder="name/age/sql"
|
placeholder="name/age/sql"
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ const RenderToolInput = ({
|
|||||||
size={'sm'}
|
size={'sm'}
|
||||||
onClick={() => setEditField(defaultEditFormData)}
|
onClick={() => setEditField(defaultEditFormData)}
|
||||||
>
|
>
|
||||||
{t('common:Add new')}
|
{t('common:add_new')}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
</HStack>
|
</HStack>
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ const CustomLinkInput = () => {
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{commonT('Add new')}
|
{commonT('add_new')}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
isDisabled={list.filter((item) => !!item.externalFileUrl).length === 0}
|
isDisabled={list.filter((item) => !!item.externalFileUrl).length === 0}
|
||||||
|
|||||||
Reference in New Issue
Block a user