Skip to content

Commit 05d06fa

Browse files
committed
feat: i18n
1 parent 6009d92 commit 05d06fa

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export default {
119119
websiteSloganTip: 'The welcome message below the product logo',
120120
defaultSlogan: 'Welcome to MaxKB Intelligent Knowledge Q&A System',
121121
defaultTip: 'Default is the MaxKB platform interface, supports custom settings',
122+
logoDefaultTip: 'Default is the MaxKB login interface, supports custom settings',
122123
platformSetting: 'Platform Settings',
123124
showUserManual: 'Show User Manual',
124125
showForum: 'Show Forum Support',

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export default {
116116
websiteSloganPlaceholder: '请输入欢迎语',
117117
websiteSloganTip: '产品 Logo 下的欢迎语',
118118
defaultSlogan: '欢迎使用 MaxKB 智能知识库问答系统',
119+
logoDefaultTip: '默认为 MaxKB 登录界面,支持自定义设置',
119120
defaultTip: '默认为 MaxKB 平台界面,支持自定义设置',
120121
platformSetting: '平台设置',
121122
showUserManual: '显示用户手册',

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export default {
116116
websiteSlogan: '歡迎語',
117117
websiteSloganPlaceholder: '請輸入歡迎語',
118118
websiteSloganTip: '產品 Logo 下的歡迎語',
119+
logoDefaultTip: '默认为 MaxKB 登錄界面,支持自定义设置',
119120
defaultSlogan: '歡迎使用 MaxKB 智能知識庫問答系統',
120121
defaultTip: '默認為 MaxKB 平台界面,支持自定義設置',
121122
platformSetting: '平台設置',

ui/src/views/theme/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
</div>
144144
</el-scrollbar>
145145
<div class="mt-16">
146-
<el-text type="info">{{ $t('views.system.theme.defaultTip') }}</el-text>
146+
<el-text type="info">{{ $t('views.system.theme.logoDefaultTip') }}</el-text>
147147
</div>
148148
</el-card>
149149
</div>

ui/src/workflow/nodes/application-node/index.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@
6767
ref="nodeCascaderRef"
6868
:nodeModel="nodeModel"
6969
class="w-full"
70-
:placeholder="$t('views.applicationWorkflow.nodes.imageUnderstandNode.image.requiredMessage')"
70+
:placeholder="
71+
$t('views.applicationWorkflow.nodes.imageUnderstandNode.image.requiredMessage')
72+
"
7173
v-model="form_data.image_list"
7274
/>
7375
</el-form-item>
@@ -192,7 +194,6 @@ const applicationNodeFormRef = ref<FormInstance>()
192194
const form_data = computed({
193195
get: () => {
194196
if (props.nodeModel.properties.node_data) {
195-
console.log(props.nodeModel.properties.node_data)
196197
return props.nodeModel.properties.node_data
197198
} else {
198199
set(props.nodeModel.properties, 'node_data', form)

0 commit comments

Comments
 (0)