Unverified Commit f6059c37 authored by zxhlyh's avatar zxhlyh Committed by GitHub

fix: api based extension modal title (#2414)

parent 41328bde
...@@ -191,11 +191,11 @@ const ExternalDataToolModal: FC<ExternalDataToolModalProps> = ({ ...@@ -191,11 +191,11 @@ const ExternalDataToolModal: FC<ExternalDataToolModalProps> = ({
className='!p-8 !pb-6 !max-w-none !w-[640px]' className='!p-8 !pb-6 !max-w-none !w-[640px]'
> >
<div className='mb-2 text-xl font-semibold text-gray-900'> <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>
<div className='py-2'> <div className='py-2'>
<div className='leading-9 text-sm font-medium text-gray-900'> <div className='leading-9 text-sm font-medium text-gray-900'>
{t('appDebug.feature.tools.modal.toolType.title')} {t('common.apiBasedExtension.type')}
</div> </div>
<SimpleSelect <SimpleSelect
defaultValue={localeData.type} defaultValue={localeData.type}
......
...@@ -273,7 +273,7 @@ const translation = { ...@@ -273,7 +273,7 @@ const translation = {
maxLength: '最大长度', maxLength: '最大长度',
options: '选项', options: '选项',
addOption: '添加选项', addOption: '添加选项',
apiBasedVar: '基于API的变量', apiBasedVar: '基于 API 的变量',
}, },
vision: { vision: {
name: '视觉', name: '视觉',
......
...@@ -370,6 +370,7 @@ const translation = { ...@@ -370,6 +370,7 @@ const translation = {
lengthError: 'API-key length cannot be less than 5 characters', lengthError: 'API-key length cannot be less than 5 characters',
}, },
}, },
type: 'Type',
}, },
about: { about: {
changeLog: 'Changlog', changeLog: 'Changlog',
......
...@@ -198,6 +198,7 @@ const translation = { ...@@ -198,6 +198,7 @@ const translation = {
lengthError: 'O comprimento da chave da API não pode ser inferior a 5 caracteres', lengthError: 'O comprimento da chave da API não pode ser inferior a 5 caracteres',
}, },
}, },
type: 'Tipo',
}, },
about: { about: {
changeLog: 'Registro de alterações', changeLog: 'Registro de alterações',
......
...@@ -370,6 +370,7 @@ const translation = { ...@@ -370,6 +370,7 @@ const translation = {
lengthError: 'API-key 不能少于 5 位', lengthError: 'API-key 不能少于 5 位',
}, },
}, },
type: '类型',
}, },
about: { about: {
changeLog: '更新日志', changeLog: '更新日志',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment