Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
f24e41f5
authored
Jul 22, 2024
by
jingyang
Committed by
GitHub
Jul 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: i18n common.json keys (#2124)
parent
85de3c1d
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
21 additions
and
21 deletions
+21
-21
packages/web/components/common/Textarea/CodeEditor/index.tsx
+1
-1
packages/web/i18n/en/common.json
+7
-7
packages/web/i18n/zh/common.json
+7
-7
projects/app/src/components/core/app/InputGuideConfig.tsx
+1
-1
projects/app/src/components/support/apikey/Table.tsx
+1
-1
projects/app/src/components/support/permission/ResumeInheritText/index.tsx
+1
-1
projects/app/src/pages/app/detail/components/WorkflowComponents/Flow/nodes/NodeExtract/ExtractFieldModal.tsx
+1
-1
projects/app/src/pages/app/detail/components/WorkflowComponents/Flow/nodes/render/RenderToolInput/index.tsx
+1
-1
projects/app/src/pages/dataset/detail/components/Import/diffSource/ExternalFile.tsx
+1
-1
No files found.
packages/web/components/common/Textarea/CodeEditor/index.tsx
View file @
f24e41f5
...
@@ -17,7 +17,7 @@ const CodeEditor = (props: Props) => {
...
@@ -17,7 +17,7 @@ const CodeEditor = (props: Props) => {
isOpen=
{
isOpen
}
isOpen=
{
isOpen
}
onClose=
{
onClose
}
onClose=
{
onClose
}
iconSrc=
"modal/edit"
iconSrc=
"modal/edit"
title=
{
t
(
'common:
Code
editor'
)
}
title=
{
t
(
'common:
code_
editor'
)
}
w=
{
'full'
}
w=
{
'full'
}
>
>
<
ModalBody
>
<
ModalBody
>
...
...
packages/web/i18n/en/common.json
View file @
f24e41f5
{
{
"
Add
new"
:
"Add new"
,
"
add_
new"
:
"Add new"
,
"App"
:
"App"
,
"App"
:
"App"
,
"
Click to
resume"
:
"Resume"
,
"
click_to_
resume"
:
"Resume"
,
"
Code
editor"
:
"Code edit"
,
"
code_
editor"
:
"Code edit"
,
"Export"
:
"Export"
,
"Export"
:
"Export"
,
"
Field
name"
:
"Name"
,
"
field_
name"
:
"Name"
,
"Folder"
:
"Folder"
,
"Folder"
:
"Folder"
,
"
Is
open"
:
"Opened"
,
"
is_
open"
:
"Opened"
,
"Login"
:
"Login"
,
"Login"
:
"Login"
,
"Move"
:
"Move"
,
"Move"
:
"Move"
,
"Name"
:
"Name"
,
"Name"
:
"Name"
,
"
New C
reate"
:
"Create New"
,
"
new_c
reate"
:
"Create New"
,
"
No
data"
:
"No data"
,
"
no_
data"
:
"No data"
,
"Rename"
:
"Rename"
,
"Rename"
:
"Rename"
,
"Resume"
:
"Resume"
,
"Resume"
:
"Resume"
,
"Running"
:
"Running"
,
"Running"
:
"Running"
,
...
...
packages/web/i18n/zh/common.json
View file @
f24e41f5
{
{
"
Add
new"
:
"新增"
,
"
add_
new"
:
"新增"
,
"App"
:
"应用"
,
"App"
:
"应用"
,
"
Click to
resume"
:
"点击恢复"
,
"
click_to_
resume"
:
"点击恢复"
,
"
Code
editor"
:
"代码编辑"
,
"
code_
editor"
:
"代码编辑"
,
"Export"
:
"导出"
,
"Export"
:
"导出"
,
"
Field
name"
:
"字段名"
,
"
field_
name"
:
"字段名"
,
"Folder"
:
"文件夹"
,
"Folder"
:
"文件夹"
,
"
Is
open"
:
"是否开启"
,
"
is_
open"
:
"是否开启"
,
"Login"
:
"登录"
,
"Login"
:
"登录"
,
"Move"
:
"移动"
,
"Move"
:
"移动"
,
"Name"
:
"名称"
,
"Name"
:
"名称"
,
"
New C
reate"
:
"新建"
,
"
new_c
reate"
:
"新建"
,
"
No
data"
:
"暂无数据"
,
"
no_
data"
:
"暂无数据"
,
"Rename"
:
"重命名"
,
"Rename"
:
"重命名"
,
"Resume"
:
"恢复"
,
"Resume"
:
"恢复"
,
"Running"
:
"运行中"
,
"Running"
:
"运行中"
,
...
...
projects/app/src/components/core/app/InputGuideConfig.tsx
View file @
f24e41f5
...
@@ -110,7 +110,7 @@ const InputGuideConfig = ({
...
@@ -110,7 +110,7 @@ const InputGuideConfig = ({
>
>
<
ModalBody
px=
{
[
5
,
16
]
}
py=
{
[
4
,
8
]
}
>
<
ModalBody
px=
{
[
5
,
16
]
}
py=
{
[
4
,
8
]
}
>
<
Flex
justifyContent=
{
'space-between'
}
alignItems=
{
'center'
}
>
<
Flex
justifyContent=
{
'space-between'
}
alignItems=
{
'center'
}
>
<
FormLabel
>
{
t
(
'common:
Is
open'
)
}
</
FormLabel
>
<
FormLabel
>
{
t
(
'common:
is_
open'
)
}
</
FormLabel
>
<
Switch
<
Switch
isChecked=
{
isOpenQuestionGuide
}
isChecked=
{
isOpenQuestionGuide
}
onChange=
{
(
e
)
=>
{
onChange=
{
(
e
)
=>
{
...
...
projects/app/src/components/support/apikey/Table.tsx
View file @
f24e41f5
...
@@ -143,7 +143,7 @@ const ApiKeyTable = ({ tips, appId }: { tips: string; appId?: string }) => {
...
@@ -143,7 +143,7 @@ const ApiKeyTable = ({ tips, appId }: { tips: string; appId?: string }) => {
})
})
}
}
>
>
{
t
(
'common:
New C
reate'
)
}
{
t
(
'common:
new_c
reate'
)
}
</
Button
>
</
Button
>
</
Box
>
</
Box
>
</
Box
>
</
Box
>
...
...
projects/app/src/components/support/permission/ResumeInheritText/index.tsx
View file @
f24e41f5
...
@@ -36,7 +36,7 @@ const ResumeInherit = ({
...
@@ -36,7 +36,7 @@ const ResumeInherit = ({
)();
)();
}
}
}
}
>
>
{
commonT
(
'
Click to
resume'
)
}
{
commonT
(
'
click_to_
resume'
)
}
</
Box
>
</
Box
>
<
CommonConfirmModal
/>
<
CommonConfirmModal
/>
...
...
projects/app/src/pages/app/detail/components/WorkflowComponents/Flow/nodes/NodeExtract/ExtractFieldModal.tsx
View file @
f24e41f5
...
@@ -92,7 +92,7 @@ const ExtractFieldModal = ({
...
@@ -92,7 +92,7 @@ const ExtractFieldModal = ({
</
Flex
>
</
Flex
>
<
Flex
mt=
{
5
}
alignItems=
{
'center'
}
>
<
Flex
mt=
{
5
}
alignItems=
{
'center'
}
>
<
FormLabel
flex=
{
[
'0 0 80px'
,
'0 0 100px'
]
}
>
{
t
(
'common:
Field
name'
)
}
</
FormLabel
>
<
FormLabel
flex=
{
[
'0 0 80px'
,
'0 0 100px'
]
}
>
{
t
(
'common:
field_
name'
)
}
</
FormLabel
>
<
Input
<
Input
bg=
{
'myGray.50'
}
bg=
{
'myGray.50'
}
placeholder=
"name/age/sql"
placeholder=
"name/age/sql"
...
...
projects/app/src/pages/app/detail/components/WorkflowComponents/Flow/nodes/render/RenderToolInput/index.tsx
View file @
f24e41f5
...
@@ -54,7 +54,7 @@ const RenderToolInput = ({
...
@@ -54,7 +54,7 @@ const RenderToolInput = ({
size=
{
'sm'
}
size=
{
'sm'
}
onClick=
{
()
=>
setEditField
(
defaultEditFormData
)
}
onClick=
{
()
=>
setEditField
(
defaultEditFormData
)
}
>
>
{
t
(
'common:
Add
new'
)
}
{
t
(
'common:
add_
new'
)
}
</
Button
>
</
Button
>
)
}
)
}
</
HStack
>
</
HStack
>
...
...
projects/app/src/pages/dataset/detail/components/Import/diffSource/ExternalFile.tsx
View file @
f24e41f5
...
@@ -159,7 +159,7 @@ const CustomLinkInput = () => {
...
@@ -159,7 +159,7 @@ const CustomLinkInput = () => {
});
});
}
}
}
}
>
>
{
commonT
(
'
Add
new'
)
}
{
commonT
(
'
add_
new'
)
}
</
Button
>
</
Button
>
<
Button
<
Button
isDisabled=
{
list
.
filter
((
item
)
=>
!!
item
.
externalFileUrl
).
length
===
0
}
isDisabled=
{
list
.
filter
((
item
)
=>
!!
item
.
externalFileUrl
).
length
===
0
}
...
...
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