Browse Source

fix: api based extension modal title (#2414)

tags/0.5.5
zxhlyh 1 year ago
parent
commit
f6059c377c
No account linked to committer's email address

+ 2
- 2
web/app/components/app/configuration/tools/external-data-tool-modal.tsx 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}

+ 1
- 1
web/i18n/lang/app-debug.zh.ts View File

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

+ 1
- 0
web/i18n/lang/common.en.ts View File

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

+ 1
- 0
web/i18n/lang/common.pt.ts 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',

+ 1
- 0
web/i18n/lang/common.zh.ts View File

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

Loading…
Cancel
Save