fix: api based extension modal title (#2414)

This commit is contained in:
zxhlyh 2024-02-07 15:01:53 +08:00 committed by GitHub
parent 41328bde97
commit f6059c377c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 3 deletions

View File

@ -191,11 +191,11 @@ const ExternalDataToolModal: FC<ExternalDataToolModalProps> = ({
className='!p-8 !pb-6 !max-w-none !w-[640px]'
>
<div className='mb-2 text-xl font-semibold text-gray-900'>
{`${action} ${t('appDebug.feature.tools.modal.title')}`}
{`${action} ${t('appDebug.variableConig.apiBasedVar')}`}
</div>
<div className='py-2'>
<div className='leading-9 text-sm font-medium text-gray-900'>
{t('appDebug.feature.tools.modal.toolType.title')}
{t('common.apiBasedExtension.type')}
</div>
<SimpleSelect
defaultValue={localeData.type}

View File

@ -273,7 +273,7 @@ const translation = {
maxLength: '最大长度',
options: '选项',
addOption: '添加选项',
apiBasedVar: '基于API的变量',
apiBasedVar: '基于 API 的变量',
},
vision: {
name: '视觉',

View File

@ -370,6 +370,7 @@ const translation = {
lengthError: 'API-key length cannot be less than 5 characters',
},
},
type: 'Type',
},
about: {
changeLog: 'Changlog',

View File

@ -198,6 +198,7 @@ const translation = {
lengthError: 'O comprimento da chave da API não pode ser inferior a 5 caracteres',
},
},
type: 'Tipo',
},
about: {
changeLog: 'Registro de alterações',

View File

@ -370,6 +370,7 @@ const translation = {
lengthError: 'API-key 不能少于 5 位',
},
},
type: '类型',
},
about: {
changeLog: '更新日志',