update: i18n common.json keys (#2124)

This commit is contained in:
jingyang
2024-07-22 20:31:27 +08:00
committed by GitHub
parent 85de3c1d64
commit f24e41f5ec
9 changed files with 21 additions and 21 deletions

View File

@@ -110,7 +110,7 @@ const InputGuideConfig = ({
>
<ModalBody px={[5, 16]} py={[4, 8]}>
<Flex justifyContent={'space-between'} alignItems={'center'}>
<FormLabel>{t('common:Is open')}</FormLabel>
<FormLabel>{t('common:is_open')}</FormLabel>
<Switch
isChecked={isOpenQuestionGuide}
onChange={(e) => {

View File

@@ -143,7 +143,7 @@ const ApiKeyTable = ({ tips, appId }: { tips: string; appId?: string }) => {
})
}
>
{t('common:New Create')}
{t('common:new_create')}
</Button>
</Box>
</Box>

View File

@@ -36,7 +36,7 @@ const ResumeInherit = ({
)();
}}
>
{commonT('Click to resume')}
{commonT('click_to_resume')}
</Box>
<CommonConfirmModal />

View File

@@ -92,7 +92,7 @@ const ExtractFieldModal = ({
</Flex>
<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
bg={'myGray.50'}
placeholder="name/age/sql"

View File

@@ -54,7 +54,7 @@ const RenderToolInput = ({
size={'sm'}
onClick={() => setEditField(defaultEditFormData)}
>
{t('common:Add new')}
{t('common:add_new')}
</Button>
)}
</HStack>

View File

@@ -159,7 +159,7 @@ const CustomLinkInput = () => {
});
}}
>
{commonT('Add new')}
{commonT('add_new')}
</Button>
<Button
isDisabled={list.filter((item) => !!item.externalFileUrl).length === 0}