Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
f6059c37
Unverified
Commit
f6059c37
authored
Feb 07, 2024
by
zxhlyh
Committed by
GitHub
Feb 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: api based extension modal title (#2414)
parent
41328bde
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
3 deletions
+6
-3
external-data-tool-modal.tsx
...ents/app/configuration/tools/external-data-tool-modal.tsx
+2
-2
app-debug.zh.ts
web/i18n/lang/app-debug.zh.ts
+1
-1
common.en.ts
web/i18n/lang/common.en.ts
+1
-0
common.pt.ts
web/i18n/lang/common.pt.ts
+1
-0
common.zh.ts
web/i18n/lang/common.zh.ts
+1
-0
No files found.
web/app/components/app/configuration/tools/external-data-tool-modal.tsx
View file @
f6059c37
...
@@ -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.titl
e'
)
}
{
t
(
'
common.apiBasedExtension.typ
e'
)
}
</
div
>
</
div
>
<
SimpleSelect
<
SimpleSelect
defaultValue=
{
localeData
.
type
}
defaultValue=
{
localeData
.
type
}
...
...
web/i18n/lang/app-debug.zh.ts
View file @
f6059c37
...
@@ -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
:
'视觉'
,
...
...
web/i18n/lang/common.en.ts
View file @
f6059c37
...
@@ -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'
,
...
...
web/i18n/lang/common.pt.ts
View file @
f6059c37
...
@@ -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'
,
...
...
web/i18n/lang/common.zh.ts
View file @
f6059c37
...
@@ -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
:
'更新日志'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment