fix: api based extension modal title (#2414)

pull/2415/head
zxhlyh 2 years ago committed by GitHub
parent 41328bde97
commit f6059c377c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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}

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

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

@ -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',

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

Loading…
Cancel
Save