Skip to content

Commit cf5b727

Browse files
fix: translation
1 parent 6b43215 commit cf5b727

File tree

11 files changed

+22
-10
lines changed

11 files changed

+22
-10
lines changed

ui/src/components/ai-chat/component/knowledge-source-component/index.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,13 @@
100100
>
101101
<template #header="{ titleId, titleClass }">
102102
<div class="flex-between">
103-
<span class="medium ellipsis" :title="dialogTitle" :id="titleId" :class="titleClass">
103+
<span
104+
class="medium ellipsis"
105+
style="max-width: 300px"
106+
:title="dialogTitle"
107+
:id="titleId"
108+
:class="titleClass"
109+
>
104110
{{ dialogTitle }}
105111
</span>
106112
<!-- <div class="flex align-center mr-8" v-if="dialogType === 'pdfDocument'">

ui/src/locales/lang/en-US/views/knowledge.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,12 @@ export default {
107107
},
108108
transform: {
109109
button: 'Convert',
110-
Title: 'Convert to Workflow Knowledge Base',
110+
title: 'Convert to Workflow Knowledge Base',
111111
message1:
112112
"You can now convert your existing knowledge base into a workflow knowledge base—a more open and flexible type that allows you to autonomously orchestrate the entire process from various data sources to knowledge base writing through drag-and-drop node operations, meeting your enterprise's personalized knowledge management needs. You can utilize the data sources and tools available in our suite. ",
113113
message2: 'The new processing method will be applied to all documents imported subsequently.',
114-
Tip: 'Note: The conversion cannot be undone.',
115-
Confirm:
114+
tip: 'Note: The conversion cannot be undone.',
115+
confirm:
116116
'Are you sure you want to convert to the workflow knowledge base? This action cannot be undone. Please proceed with caution.',
117117
},
118118
}

ui/src/locales/lang/en-US/views/system.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default {
55
testSuccess: 'Successful',
66
testFailed: 'Test connection failed',
77
password: 'Password',
8+
defaultPassword: 'Default Password',
89
authentication: {
910
title: 'Login Authentication',
1011
ldap: {

ui/src/locales/lang/en-US/workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,5 +539,5 @@ You are a master of problem optimization, adept at accurately inferring user int
539539
UserPromptPlaceholder: 'User Prompt, can reference variables in the system, such as',
540540
ExecutionRecord: 'Execution Record',
541541
initiator: 'Iniiator',
542-
debug: {},
542+
abnormalInformation: 'Abnormal Information',
543543
}

ui/src/locales/lang/zh-CN/views/system.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default {
77
testSuccess: '测试连接成功',
88
testFailed: '测试连接失败',
99
password: '密码',
10+
defaultPassword: '默认密码',
1011
authentication: {
1112
title: '登录认证',
1213
ldap: {

ui/src/locales/lang/zh-CN/workflow.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,5 +530,6 @@ export default {
530530
UserPromptPlaceholder: '用户提示词,可以引用系统中的变量:如',
531531
ExecutionRecord: '执行记录',
532532
initiator: '发起人',
533-
debug: {},
533+
abnormalInformation: '异常信息'
534+
534535
}

ui/src/locales/lang/zh-Hant/views/system.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export default {
44
testSuccess: '測試連線成功',
55
testFailed: '測試連線失敗',
66
password: '密碼',
7+
defaultPassword: '預設密碼',
78
authentication: {
89
title: '登錄認證',
910
ldap: {

ui/src/locales/lang/zh-Hant/workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,5 +524,5 @@ export default {
524524
UserPromptPlaceholder: '用戶提示詞,可以引用系統中的變量:如',
525525
ExecutionRecord: '執行記錄',
526526
initiator: '發起人',
527-
debug: {},
527+
abnormalInformation: '異常信息'
528528
}

ui/src/views/chat/pc/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@
167167
</div>
168168
<div class="execution-detail-panel" :resizable="false" collapsible>
169169
<div class="p-16 flex-between border-b">
170-
<h4 class="medium ellipsis" :title="rightPanelTitle">{{ rightPanelTitle }}</h4>
170+
<h4 class="medium ellipsis" style="max-width: 300px" :title="rightPanelTitle">
171+
{{ rightPanelTitle }}
172+
</h4>
171173

172174
<div class="flex align-center">
173175
<span v-if="rightPanelType === 'paragraphDocument'" class="mr-4">

ui/src/workflow/common/NodeContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ const nodeFields = computed(() => {
381381
return [
382382
...fields,
383383
{
384-
label: '异常信息',
384+
label: t('workflow.abnormalInformation'),
385385
value: 'exception_message',
386386
globeLabel: `{{${props.nodeModel.properties.stepName}.exception_message}}`,
387387
globeValue: `{{context['${props.nodeModel.id}'].exception_message}}`,

0 commit comments

Comments
 (0)