diff --git a/ui/src/components/ai-chat/ExecutionDetailDialog.vue b/ui/src/components/ai-chat/ExecutionDetailDialog.vue index dd572cb04..263c4feb1 100644 --- a/ui/src/components/ai-chat/ExecutionDetailDialog.vue +++ b/ui/src/components/ai-chat/ExecutionDetailDialog.vue @@ -57,7 +57,7 @@ >
@@ -475,11 +473,9 @@
- {{ $t('chat.executionDetails.paramOutput')
+ {{ $t('common.param.outputParam')
}}{{
- item.is_submit
- ? ''
- : `(${$t('chat.executionDetails.noSubmit')})`
+ item.is_submit ? '' : `(${$t('chat.executionDetails.noSubmit')})`
}}
@@ -572,7 +568,7 @@
{{
item.type == WorkflowType.Application
- ? $t('chat.executionDetails.paramOutput')
+ ? $t('common.param.outputParam')
: $t('chat.executionDetails.answer')
}}
@@ -602,7 +598,7 @@
{{
item.type == WorkflowType.Application
- ? $t('chat.executionDetails.paramOutput')
+ ? $t('common.param.outputParam')
: $t('chat.executionDetails.answer')
}}
diff --git a/ui/src/locales/lang/en-US/ai-chat.ts b/ui/src/locales/lang/en-US/ai-chat.ts
index cf9d281a0..f10c33a08 100644
--- a/ui/src/locales/lang/en-US/ai-chat.ts
+++ b/ui/src/locales/lang/en-US/ai-chat.ts
@@ -63,8 +63,6 @@ export default {
},
executionDetails: {
title: 'Execution Details',
- paramInput: 'Parameter Input',
- paramOutput: 'Parameter Output',
paramOutputTooltip: 'Each document supports previewing up to 500 characters',
audioFile: 'Audio File',
searchContent: 'Search Query',
diff --git a/ui/src/locales/lang/en-US/common.ts b/ui/src/locales/lang/en-US/common.ts
index 5eec9b0ac..7c2996d35 100644
--- a/ui/src/locales/lang/en-US/common.ts
+++ b/ui/src/locales/lang/en-US/common.ts
@@ -50,6 +50,11 @@ export default {
enableSuccess: 'Successful',
disableSuccess: 'Successful'
},
+ param: {
+ outputParam: 'Output Parameters',
+ inputParam: 'Input Parameters'
+ },
+
inputPlaceholder: 'Please input',
title: 'Title',
content: 'Content'
diff --git a/ui/src/locales/lang/en-US/views/application-workflow.ts b/ui/src/locales/lang/en-US/views/application-workflow.ts
index 3503821df..33913c887 100644
--- a/ui/src/locales/lang/en-US/views/application-workflow.ts
+++ b/ui/src/locales/lang/en-US/views/application-workflow.ts
@@ -80,7 +80,14 @@ export default {
currentTime: 'Current Time'
},
baseNode: {
- label: 'Base Info',
+ label: 'Base Information',
+ appName: {
+ label: 'App Name',
+
+ },
+ appDescription: {
+ label: 'App Description',
+ },
fileUpload: {
label: 'File Upload',
tooltip: 'When enabled, the Q&A page will display a file upload button.'
@@ -100,7 +107,7 @@ export default {
aiChatNode: {
label: 'AI Chat',
text: 'Chat with an AI model',
- answer: 'AI Answer Content',
+ answer: 'AI Content',
returnContent: {
label: 'Return Content',
tooltip: `If turned off, the content of this node will not be output to the user.
@@ -194,7 +201,7 @@ export default {
imageUnderstandNode: {
label: 'Image Understanding',
text: 'Analyze images to identify objects, scenes, and provide answers',
- answer: 'AI Answer Content',
+ answer: 'AI Content',
model: {
label: 'Vision Model',
requiredMessage: 'Please select a vision model'
@@ -207,7 +214,7 @@ export default {
imageGenerateNode: {
label: 'Image Generation',
text: 'Generate images based on provided text content',
- answer: 'AI Answer Content',
+ answer: 'AI Content',
model: {
label: 'Image Generation Model',
requiredMessage: 'Please select an image generation model'
diff --git a/ui/src/locales/lang/en-US/views/application.ts b/ui/src/locales/lang/en-US/views/application.ts
index af05a9830..e05b5daa7 100644
--- a/ui/src/locales/lang/en-US/views/application.ts
+++ b/ui/src/locales/lang/en-US/views/application.ts
@@ -27,7 +27,6 @@ export default {
applicationForm: {
title: {
- info: 'APP Information',
appTest: 'Debug Preview',
copy: 'copy'
},
@@ -153,7 +152,6 @@ export default {
lark: 'Lark',
larkTip: 'Create Lark intelligent APP',
setting: 'Setting',
- info: 'APP Information',
callback: 'Callback Address',
callbackTip: 'Please fill in the callback address',
wecomPlatform: 'WeCom Open Platform',
diff --git a/ui/src/locales/lang/en-US/views/document.ts b/ui/src/locales/lang/en-US/views/document.ts
index 9c7aaa920..1bdee9cbf 100644
--- a/ui/src/locales/lang/en-US/views/document.ts
+++ b/ui/src/locales/lang/en-US/views/document.ts
@@ -11,7 +11,8 @@ export default {
migration: 'Move',
cancelGenerateQuestion: 'Cancel Generating Questions',
cancelVectorization: 'Cancel Vectorization',
- cancelGenerate: 'Cancel Generation'
+ cancelGenerate: 'Cancel Generation',
+ export: 'Export to',
},
tip: {
saveMessage: 'Current changes have not been saved. Confirm exit?',
@@ -171,7 +172,7 @@ export default {
tip3: 'tags, and the system will automatically relate the questions within these tags;',
tip4: 'The generation effect depends on the selected model and prompt. Users can adjust to achieve the best effect.',
prompt1:
- 'Content: {data}\n \n Please summarize the above content and generate a summary based on the content 5 a question. \nAnswer requirements: \n - Please output only questions; \n - Please place each question in',
+ 'Content: {data}\n \n Please summarize the above and generate 5 questions based on the summary. \nAnswer requirements: \n - Please output only questions; \n - Please place each question in',
prompt2: 'tag.'
}
}
diff --git a/ui/src/locales/lang/en-US/views/function-lib.ts b/ui/src/locales/lang/en-US/views/function-lib.ts
index 7ad26f559..99dba41c4 100644
--- a/ui/src/locales/lang/en-US/views/function-lib.ts
+++ b/ui/src/locales/lang/en-US/views/function-lib.ts
@@ -41,11 +41,6 @@ export default {
label: 'Permissions',
requiredMessage: 'Please select'
},
- inputParam: {
- label: 'Input Parameters',
- placeholder: 'Please enter parameter values',
- requiredMessage: 'Please enter parameter values'
- },
paramName: {
label: 'Parameter Name',
placeholder: 'Please enter the parameter name',
@@ -63,10 +58,11 @@ export default {
label: 'Required'
},
param: {
- outputParam: 'Output Parameters',
paramInfo1: 'Displayed when using the function',
paramInfo2: 'Not displayed when using the function',
- code: 'Content (Python)'
+ code: 'Content (Python)',
+ selectPlaceholder: 'Please select parameter',
+ inputPlaceholder: 'Please enter parameter values',
},
debug: {
run: 'Run',
diff --git a/ui/src/locales/lang/en-US/views/paragraph.ts b/ui/src/locales/lang/en-US/views/paragraph.ts
index 62d0e5e56..812e3ab68 100644
--- a/ui/src/locales/lang/en-US/views/paragraph.ts
+++ b/ui/src/locales/lang/en-US/views/paragraph.ts
@@ -1,5 +1,6 @@
export default {
title: 'Segment',
+ paragraph_count: 'Segments',
editParagraph: 'Edit Segment',
addParagraph: 'Add Segment',
paragraphDetail: 'Segment Details',
@@ -18,11 +19,11 @@ export default {
},
form: {
paragraphTitle: {
- label: 'Segment Title',
+ label: 'Title',
placeholder: 'Please enter the segment title'
},
content: {
- label: 'Segment Content',
+ label: 'Content',
placeholder: 'Please enter the segment content',
requiredMessage1: 'Please enter the segment content',
requiredMessage2: 'Content must not exceed 100,000 words'
diff --git a/ui/src/locales/lang/en-US/views/system.ts b/ui/src/locales/lang/en-US/views/system.ts
index 510e0fccb..153e55955 100644
--- a/ui/src/locales/lang/en-US/views/system.ts
+++ b/ui/src/locales/lang/en-US/views/system.ts
@@ -36,8 +36,8 @@ export default {
authEndpointPlaceholder: 'Please enter auth endpoint',
tokenEndpoint: 'Token Endpoint',
tokenEndpointPlaceholder: 'Please enter token endpoint',
- userInfoEndpoint: 'User Info Endpoint',
- userInfoEndpointPlaceholder: 'Please enter user info endpoint',
+ userInfoEndpoint: 'User Information Endpoint',
+ userInfoEndpointPlaceholder: 'Please enter user information endpoint',
clientId: 'Client ID',
clientIdPlaceholder: 'Please enter client ID',
clientSecret: 'Client Secret',
@@ -55,8 +55,8 @@ export default {
authEndpointPlaceholder: 'Please enter auth endpoint',
tokenEndpoint: 'Token Endpoint',
tokenEndpointPlaceholder: 'Please enter token endpoint',
- userInfoEndpoint: 'User Info Endpoint',
- userInfoEndpointPlaceholder: 'Please enter user info endpoint',
+ userInfoEndpoint: 'User Information Endpoint',
+ userInfoEndpointPlaceholder: 'Please enter user information endpoint',
scope: 'Scope',
scopePlaceholder: 'Please enter scope',
clientId: 'Client ID',
diff --git a/ui/src/locales/lang/zh-CN/ai-chat.ts b/ui/src/locales/lang/zh-CN/ai-chat.ts
index 4acabcf35..322dd3d4d 100644
--- a/ui/src/locales/lang/zh-CN/ai-chat.ts
+++ b/ui/src/locales/lang/zh-CN/ai-chat.ts
@@ -64,8 +64,6 @@ export default {
},
executionDetails: {
title: '执行详情',
- paramInput: '参数输入',
- paramOutput: '参数输出',
paramOutputTooltip: '每个文档仅支持预览500字',
audioFile: '语音文件',
searchContent: '检索内容',
diff --git a/ui/src/locales/lang/zh-CN/common.ts b/ui/src/locales/lang/zh-CN/common.ts
index fd5f446ee..1bd88784f 100644
--- a/ui/src/locales/lang/zh-CN/common.ts
+++ b/ui/src/locales/lang/zh-CN/common.ts
@@ -27,7 +27,6 @@ export default {
createDate: '创建日期',
createTime: '创建时间',
operation: '操作',
-
character: '字符',
export: '导出',
exportSuccess: '导出成功',
@@ -53,5 +52,9 @@ export default {
},
inputPlaceholder: '请输入',
title: '标题',
- content: '内容'
+ content: '内容',
+ param: {
+ outputParam: '输出参数',
+ inputParam:'输入参数'
+ }
}
diff --git a/ui/src/locales/lang/zh-CN/views/application-workflow.ts b/ui/src/locales/lang/zh-CN/views/application-workflow.ts
index 184c190a9..e134f79e8 100644
--- a/ui/src/locales/lang/zh-CN/views/application-workflow.ts
+++ b/ui/src/locales/lang/zh-CN/views/application-workflow.ts
@@ -82,6 +82,13 @@ export default {
},
baseNode: {
label: '基本信息',
+ appName: {
+ label: '应用名称',
+
+ },
+ appDescription: {
+ label: '应用描述',
+ },
fileUpload: {
label: '文件上传',
tooltip: '开启后,问答页面会显示上传文件的按钮。'
diff --git a/ui/src/locales/lang/zh-CN/views/application.ts b/ui/src/locales/lang/zh-CN/views/application.ts
index 30a1e6ef5..209544d3d 100644
--- a/ui/src/locales/lang/zh-CN/views/application.ts
+++ b/ui/src/locales/lang/zh-CN/views/application.ts
@@ -23,7 +23,6 @@ export default {
},
applicationForm: {
title: {
- info: '应用信息',
appTest: '调试预览',
copy: '副本'
},
@@ -145,7 +144,6 @@ export default {
lark: '飞书应用',
larkTip: '打造飞书智能应用',
setting: '配置',
- info: '应用信息',
callback: '回调地址',
callbackTip: '请输入回调地址',
wecomPlatform: '企业微信后台',
diff --git a/ui/src/locales/lang/zh-CN/views/document.ts b/ui/src/locales/lang/zh-CN/views/document.ts
index 0b1ba59bb..ea8145be5 100644
--- a/ui/src/locales/lang/zh-CN/views/document.ts
+++ b/ui/src/locales/lang/zh-CN/views/document.ts
@@ -11,7 +11,8 @@ export default {
migration: '迁移',
cancelGenerateQuestion: '取消生成问题',
cancelVectorization: '取消向量化',
- cancelGenerate: '取消生成'
+ cancelGenerate: '取消生成',
+ export: '导出',
},
tip: {
saveMessage: '当前的更改尚未保存,确认退出吗?',
diff --git a/ui/src/locales/lang/zh-CN/views/function-lib.ts b/ui/src/locales/lang/zh-CN/views/function-lib.ts
index 81a4cf408..c5742e757 100644
--- a/ui/src/locales/lang/zh-CN/views/function-lib.ts
+++ b/ui/src/locales/lang/zh-CN/views/function-lib.ts
@@ -39,11 +39,6 @@ export default {
label: '权限',
requiredMessage: '请选择'
},
- inputParam: {
- label: '输入参数',
- placeholder: '请选择参数',
- requiredMessage: '请输入参数值'
- },
paramName: {
label: '参数名',
placeholder: '请输入参数名',
@@ -61,10 +56,11 @@ export default {
label: '是否必填'
},
param: {
- outputParam: '输出参数',
paramInfo1: '使用函数时显示',
paramInfo2: '使用函数时不显示',
- code: '函数内容(Python)'
+ code: '函数内容(Python)',
+ selectPlaceholder: '请选择参数',
+ inputPlaceholder: '请输入参数值',
},
debug: {
run: '运行',
diff --git a/ui/src/locales/lang/zh-CN/views/paragraph.ts b/ui/src/locales/lang/zh-CN/views/paragraph.ts
index 9e788ef35..cf38b908f 100644
--- a/ui/src/locales/lang/zh-CN/views/paragraph.ts
+++ b/ui/src/locales/lang/zh-CN/views/paragraph.ts
@@ -1,5 +1,6 @@
export default {
title: '段落',
+ paragraph_count: '段落',
editParagraph: '编辑分段',
addParagraph: '添加分段',
paragraphDetail: '分段详情',
diff --git a/ui/src/locales/lang/zh-Hant/ai-chat.ts b/ui/src/locales/lang/zh-Hant/ai-chat.ts
index fb7049d03..f08a81375 100644
--- a/ui/src/locales/lang/zh-Hant/ai-chat.ts
+++ b/ui/src/locales/lang/zh-Hant/ai-chat.ts
@@ -63,8 +63,6 @@ export default {
},
executionDetails: {
title: '執行詳細',
- paramInput: '參數輸入',
- paramOutput: '參數輸出',
paramOutputTooltip: '每個文件僅支持預覽 500 字',
audioFile: '語音文件',
searchContent: '檢索內容',
diff --git a/ui/src/locales/lang/zh-Hant/common.ts b/ui/src/locales/lang/zh-Hant/common.ts
index 1d78ba596..9adcf372b 100644
--- a/ui/src/locales/lang/zh-Hant/common.ts
+++ b/ui/src/locales/lang/zh-Hant/common.ts
@@ -52,5 +52,9 @@ export default {
},
inputPlaceholder: '請輸入',
title: '標題',
- content: '内容'
+ content: '内容',
+ param: {
+ outputParam: '輸出參數',
+ inputParam:'輸入參數'
+ }
}
diff --git a/ui/src/locales/lang/zh-Hant/views/application-workflow.ts b/ui/src/locales/lang/zh-Hant/views/application-workflow.ts
index 7b54ad7cd..5e308fa8f 100644
--- a/ui/src/locales/lang/zh-Hant/views/application-workflow.ts
+++ b/ui/src/locales/lang/zh-Hant/views/application-workflow.ts
@@ -19,7 +19,7 @@ export default {
autoSave: '自動保存',
latestRelease: '最近發布',
copyParam: '複製參數',
- debug: '調試',
+ debug: '調試'
},
tip: {
publicSuccess: '發布成功',
@@ -82,6 +82,12 @@ export default {
},
baseNode: {
label: '基本信息',
+ appName: {
+ label: '應用名稱'
+ },
+ appDescription: {
+ label: '應用描述'
+ },
fileUpload: {
label: '文件上傳',
tooltip: '開啟後,問答頁面會顯示上傳文件的按鈕。'
diff --git a/ui/src/locales/lang/zh-Hant/views/application.ts b/ui/src/locales/lang/zh-Hant/views/application.ts
index 0b59e8798..dcfb7bf04 100644
--- a/ui/src/locales/lang/zh-Hant/views/application.ts
+++ b/ui/src/locales/lang/zh-Hant/views/application.ts
@@ -23,7 +23,6 @@ export default {
},
applicationForm: {
title: {
- info: '應用資訊',
appTest: '調試預覽',
copy: '副本'
},
@@ -145,7 +144,6 @@ export default {
lark: '飛書應用',
larkTip: '打造飛書智慧應用',
setting: '配置',
- info: '應用資訊',
callback: '回呼位址',
callbackTip: '請輸入回呼位址',
wecomPlatform: '企業微信後台',
diff --git a/ui/src/locales/lang/zh-Hant/views/document.ts b/ui/src/locales/lang/zh-Hant/views/document.ts
index e1b0c2e2e..8d9f77471 100644
--- a/ui/src/locales/lang/zh-Hant/views/document.ts
+++ b/ui/src/locales/lang/zh-Hant/views/document.ts
@@ -9,10 +9,10 @@ export default {
},
setting: {
migration: '遷移',
-
cancelGenerateQuestion: '取消生成問題',
cancelVectorization: '取消向量化',
- cancelGenerate: '取消生成'
+ cancelGenerate: '取消生成',
+ export: '匯出',
},
tip: {
saveMessage: '當前的更改尚未保存,確認退出嗎?',
diff --git a/ui/src/locales/lang/zh-Hant/views/function-lib.ts b/ui/src/locales/lang/zh-Hant/views/function-lib.ts
index 5bd8f1e8d..aed4397ea 100644
--- a/ui/src/locales/lang/zh-Hant/views/function-lib.ts
+++ b/ui/src/locales/lang/zh-Hant/views/function-lib.ts
@@ -39,11 +39,6 @@ export default {
label: '權限',
requiredMessage: '請選擇'
},
- inputParam: {
- label: '輸入參數',
- placeholder: '請輸入參數值',
- requiredMessage: '請輸入參數值'
- },
paramName: {
label: '參數名',
placeholder: '請輸入參數名',
@@ -61,10 +56,11 @@ export default {
label: '是否必填'
},
param: {
- outputParam: '輸出參數',
paramInfo1: '使用函數時顯示',
paramInfo2: '使用函數時不顯示',
- code: '函数内容(Python)'
+ code: '函数内容(Python)',
+ selectPlaceholder: '請选择參數',
+ inputPlaceholder: '請輸入參數值',
},
debug: {
run: '運行',
diff --git a/ui/src/locales/lang/zh-Hant/views/paragraph.ts b/ui/src/locales/lang/zh-Hant/views/paragraph.ts
index b376ba871..a5b4b3317 100644
--- a/ui/src/locales/lang/zh-Hant/views/paragraph.ts
+++ b/ui/src/locales/lang/zh-Hant/views/paragraph.ts
@@ -1,5 +1,6 @@
export default {
title: '段落',
+ paragraph_count: '段落',
editParagraph: '編輯分段',
addParagraph: '添加分段',
paragraphDetail: '分段詳情',
diff --git a/ui/src/views/application/ApplicationSetting.vue b/ui/src/views/application/ApplicationSetting.vue
index bf7cf01f9..6d1b4a938 100644
--- a/ui/src/views/application/ApplicationSetting.vue
+++ b/ui/src/views/application/ApplicationSetting.vue
@@ -14,7 +14,7 @@
- {{ $t('views.application.applicationForm.title.info') }}
+ {{ $t('views.applicationOverview.appInfo.header') }}