diff --git a/ui/src/layout/layout-header/avatar/APIKeyDialog.vue b/ui/src/layout/layout-header/avatar/APIKeyDialog.vue
index bbe0240d6..24ea5378e 100644
--- a/ui/src/layout/layout-header/avatar/APIKeyDialog.vue
+++ b/ui/src/layout/layout-header/avatar/APIKeyDialog.vue
@@ -105,13 +105,12 @@ function settingApiKey(row: any) {
function deleteApiKey(row: any) {
MsgConfirm(
- // @ts-ignore
`${t('views.applicationOverview.appInfo.APIKeyDialog.msgConfirm1')}: ${row.secret_key}?`,
t(t('views.applicationOverview.appInfo.APIKeyDialog.msgConfirm2')),
{
confirmButtonText: t('common.confirm'),
cancelButtonText: t('common.cancel'),
- confirmButtonClass: 'color-danger',
+ confirmButtonClass: 'danger',
},
)
.then(() => {
@@ -128,8 +127,8 @@ function changeState(bool: boolean, row: any) {
is_active: bool,
}
const str = bool
- ? t('views.applicationOverview.appInfo.APIKeyDialog.enabledSuccess')
- : t('views.applicationOverview.appInfo.APIKeyDialog.disabledSuccess')
+ ? t('common.enabled')
+ : t('common.disabled')
systemKeyApi.putAPIKey(row.id, obj, loading).then((res) => {
MsgSuccess(str)
getApiKeyList()
diff --git a/ui/src/locales/lang/en-US/ai-chat.ts b/ui/src/locales/lang/en-US/ai-chat.ts
index 42c4e1045..f1450f95f 100644
--- a/ui/src/locales/lang/en-US/ai-chat.ts
+++ b/ui/src/locales/lang/en-US/ai-chat.ts
@@ -13,6 +13,8 @@ export default {
exportImg: 'Exporting images',
preview: 'Preview',
chatId: 'Chat ID',
+ chatUserId: 'Chat User ID',
+ chatUserType: 'Chat User Type',
userInput: 'User Input',
quote: 'Quote',
download: 'Click to Download',
@@ -74,6 +76,7 @@ export default {
imageMessage: 'Please process the image content',
fileMessage: 'Please process the file content',
errorMessage: 'Upload Failed',
+ fileRepeat: 'File already exists',
},
executionDetails: {
title: 'Execution Details',
@@ -93,6 +96,7 @@ export default {
paragraph: 'Segment',
noSubmit: 'No submission from user',
errMessage: 'Error Log',
+ knowedMessage: 'Known Information',
},
KnowledgeSource: {
title: 'Knowledge Source',
@@ -106,11 +110,6 @@ export default {
question: 'User Question',
optimizationQuestion: 'Optimized Question',
questionPadded: 'Padded Question',
- system: 'Role Setting',
- historyRecord: 'History Record',
- currentChat: 'Current Chat',
- AiResponse: 'AiResponse',
- knowedMessage: 'Knowed Information',
},
editTitle: 'Edit Title',
}
diff --git a/ui/src/locales/lang/en-US/views/404.ts b/ui/src/locales/lang/en-US/views/404.ts
deleted file mode 100644
index 0d4861a4a..000000000
--- a/ui/src/locales/lang/en-US/views/404.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export default {
- title: "404",
- message: "Unable to Access APP",
- operate: "Back to Home",
-};
diff --git a/ui/src/locales/lang/en-US/views/application-overview.ts b/ui/src/locales/lang/en-US/views/application-overview.ts
index febc3eec8..06042b8e0 100644
--- a/ui/src/locales/lang/en-US/views/application-overview.ts
+++ b/ui/src/locales/lang/en-US/views/application-overview.ts
@@ -24,8 +24,6 @@ export default {
msgConfirm1: 'Are you sure you want to delete the API Key',
msgConfirm2:
'This action is irreversible. Once deleted, the API Key cannot be recovered. Do you still want to proceed?',
- enabledSuccess: 'Enabled',
- disabledSuccess: 'Disabled',
},
EmbedDialog: {
fullscreenModeTitle: 'Fullscreen Mode',
@@ -34,8 +32,6 @@ export default {
mobileModeTitle: 'Mobile Mode',
},
LimitDialog: {
- dialogTitle: 'Access Restrictions',
- showSourceLabel: 'Show Knowledge Source',
clientQueryLimitLabel: 'Query Limit per Client',
authentication: 'Authentication',
authenticationValue: 'Password Access',
@@ -52,36 +48,34 @@ export default {
crossDomainPlaceholder:
'Enter allowed cross-domain addresses. If enabled but left blank, no restrictions will apply.\nEnter one per line, e.g.:\nhttp://127.0.0.1:5678\nhttps://dataease.io',
},
- SettingDisplayDialog: {
- dialogTitle: 'Display Settings',
- languageLabel: 'Language',
- showSourceLabel: 'Show Knowledge Source',
- showExecutionDetail: 'Show Execution Details',
- restoreDefault: 'Restore Default',
- customThemeColor: 'Custom Theme Color',
- headerTitleFontColor: 'Header Title Font Color',
- default: 'Default',
- askUserAvatar: 'User Avatar (Asking)',
- replace: 'Replace',
- imageMessage:
- 'Recommended size: 32×32 pixels. Supports JPG, PNG, and GIF formats. Max size: 10 MB',
- AIAvatar: 'AI Avatar',
- floatIcon: 'Floating Icon',
- iconDefaultPosition: 'Default Icon Position',
- iconPosition: {
- left: 'Left',
- right: 'Right',
- bottom: 'Bottom',
- top: 'Top',
- },
- draggablePosition: 'Draggable Position',
- showHistory: 'Show Chat History',
- displayGuide: 'Show Guide Image (Floating Mode)',
- disclaimer: 'Disclaimer',
- disclaimerValue: 'This content is AI-generated and for reference only.',
- chatBackground: 'Chat Background',
- chatBackgroundMessage: 'Supported formats: JPG, PNG, GIF. Max size: 10MB.',
+ },
+ SettingDisplayDialog: {
+ showSourceLabel: 'Show Knowledge Source',
+ showExecutionDetail: 'Show Execution Details',
+ restoreDefault: 'Restore Default',
+ customThemeColor: 'Custom Theme Color',
+ headerTitleFontColor: 'Header Title Font Color',
+ default: 'Default',
+ askUserAvatar: 'User Avatar (Asking)',
+ replace: 'Replace',
+ imageMessage:
+ 'Recommended size: 32×32 pixels. Supports JPG, PNG, and GIF formats. Max size: 10 MB',
+ AIAvatar: 'AI Avatar',
+ floatIcon: 'Floating Icon',
+ iconDefaultPosition: 'Default Icon Position',
+ iconPosition: {
+ left: 'Left',
+ right: 'Right',
+ bottom: 'Bottom',
+ top: 'Top',
},
+ draggablePosition: 'Draggable Position',
+ showHistory: 'Show Chat History',
+ displayGuide: 'Show Guide Image (Floating Mode)',
+ disclaimer: 'Disclaimer',
+ disclaimerValue: 'This content is AI-generated and for reference only.',
+ chatBackground: 'Chat Background',
+ chatBackgroundMessage: 'Supported formats: JPG, PNG, GIF. Max size: 10MB.',
},
monitor: {
monitoringStatistics: 'Monitoring Statistics',
diff --git a/ui/src/locales/lang/en-US/views/chat-user.ts b/ui/src/locales/lang/en-US/views/chat-user.ts
index 6d9a557d9..14f54d218 100644
--- a/ui/src/locales/lang/en-US/views/chat-user.ts
+++ b/ui/src/locales/lang/en-US/views/chat-user.ts
@@ -12,7 +12,6 @@ export default {
batchDeleteUser: 'Delete selected {count} users?',
settingMethod: 'Configuration Method',
append: 'Append',
- replace: 'Replace',
group: {
title: 'User Groups',
name: 'User Group Name',
diff --git a/ui/src/locales/lang/en-US/views/paragraph.ts b/ui/src/locales/lang/en-US/views/paragraph.ts
index 812e3ab68..cf6140616 100644
--- a/ui/src/locales/lang/en-US/views/paragraph.ts
+++ b/ui/src/locales/lang/en-US/views/paragraph.ts
@@ -3,30 +3,31 @@ export default {
paragraph_count: 'Segments',
editParagraph: 'Edit Segment',
addParagraph: 'Add Segment',
+ prevAddParagraph: 'Insert Segment Above',
paragraphDetail: 'Segment Details',
character_count: 'characters',
setting: {
batchSelected: 'Batch Select',
- cancelSelected: 'Cancel Selection'
+ cancelSelected: 'Cancel Selection',
},
delete: {
confirmTitle: 'Confirm deletion of segment:',
- confirmMessage: 'Deletion cannot be undone. Please proceed with caution.'
+ confirmMessage: 'Deletion cannot be undone. Please proceed with caution.',
},
relatedProblem: {
title: 'Related Questions',
- placeholder: 'Please select a question'
+ placeholder: 'Please select a question',
},
form: {
paragraphTitle: {
label: 'Title',
- placeholder: 'Please enter the segment title'
+ placeholder: 'Please enter the segment title',
},
content: {
label: 'Content',
placeholder: 'Please enter the segment content',
requiredMessage1: 'Please enter the segment content',
- requiredMessage2: 'Content must not exceed 100,000 words'
- }
- }
+ requiredMessage2: 'Content must not exceed 100,000 words',
+ },
+ },
}
diff --git a/ui/src/locales/lang/zh-CN/ai-chat.ts b/ui/src/locales/lang/zh-CN/ai-chat.ts
index 88976f169..da43e45cb 100644
--- a/ui/src/locales/lang/zh-CN/ai-chat.ts
+++ b/ui/src/locales/lang/zh-CN/ai-chat.ts
@@ -15,11 +15,9 @@ export default {
chatId: '对话 ID',
chatUserId: '对话用户 ID',
chatUserType: '对话用户类型',
- chatUser: '对话用户',
userInput: '用户输入',
quote: '引用',
download: '点击下载文件',
- transcribing: '转文字中',
noDocument: '原文档不存在',
noPermissionDownload: '无权限下载',
passwordValidator: {
@@ -96,6 +94,7 @@ export default {
paragraph: '分段',
noSubmit: '用户未提交',
errMessage: '错误日志',
+ knowedMessage: '已知信息',
},
KnowledgeSource: {
title: '知识来源',
@@ -109,11 +108,6 @@ export default {
question: '用户问题',
optimizationQuestion: '优化后问题',
questionPadded: '优化后问题',
- system: '角色设定',
- historyRecord: '历史记录',
- currentChat: '本次对话',
- AiResponse: 'AI 回答',
- knowedMessage: '已知信息',
},
editTitle: '编辑标题',
}
diff --git a/ui/src/locales/lang/zh-CN/views/application-overview.ts b/ui/src/locales/lang/zh-CN/views/application-overview.ts
index 316bc58ac..55926979a 100644
--- a/ui/src/locales/lang/zh-CN/views/application-overview.ts
+++ b/ui/src/locales/lang/zh-CN/views/application-overview.ts
@@ -24,8 +24,6 @@ export default {
saveSettings: '保存设置',
msgConfirm1: '是否删除API Key',
msgConfirm2: '删除API Key后将无法恢复,请确认是否删除?',
- enabledSuccess: '已启用',
- disabledSuccess: '已禁用',
},
EmbedDialog: {
fullscreenModeTitle: '全屏模式',
@@ -34,7 +32,6 @@ export default {
mobileModeTitle: '移动端模式',
},
LimitDialog: {
- showSourceLabel: '显示知识来源',
clientQueryLimitLabel: '每个客户端提问限制',
timesDays: '次/天',
authentication: '身份验证',
@@ -47,41 +44,38 @@ export default {
toSettingChatUser: '去配置对话用户',
},
SettingAPIKeyDialog: {
- dialogTitle: '设置',
allowCrossDomainLabel: '允许跨域地址',
crossDomainPlaceholder:
'请输入允许的跨域地址,开启后不输入跨域地址则不限制。\n跨域地址一行一个,如:\nhttp://127.0.0.1:5678 \nhttps://dataease.io',
},
- SettingDisplayDialog: {
- dialogTitle: '显示设置',
- languageLabel: '语言',
- showSourceLabel: '显示知识来源',
- showExecutionDetail: '显示执行详情',
- restoreDefault: '恢复默认',
- customThemeColor: '自定义主题色',
- headerTitleFontColor: '头部标题字体颜色',
- default: '默认',
- askUserAvatar: '提问用户头像',
- replace: '替换',
- imageMessage: '建议尺寸 32*32,支持 JPG、PNG、GIF,大小不超过 10 MB',
- AIAvatar: 'AI 回复头像',
- display: '显示',
- floatIcon: '浮窗入口图标',
- iconDefaultPosition: '图标默认位置',
- iconPosition: {
- left: '左',
- right: '右',
- bottom: '下',
- top: '上',
- },
- draggablePosition: '可拖拽位置',
- showHistory: '显示历史记录',
- displayGuide: '显示引导图(浮窗模式)',
- disclaimer: '免责声明',
- disclaimerValue: '「以上内容均由 AI 生成,仅供参考和借鉴」',
- chatBackground: '聊天背景',
- chatBackgroundMessage: '支持 JPG、PNG、GIF,大小不超过 10 MB',
+ },
+ SettingDisplayDialog: {
+ showSourceLabel: '显示知识来源',
+ showExecutionDetail: '显示执行详情',
+ restoreDefault: '恢复默认',
+ customThemeColor: '自定义主题色',
+ headerTitleFontColor: '头部标题字体颜色',
+ default: '默认',
+ askUserAvatar: '提问用户头像',
+ replace: '替换',
+ imageMessage: '建议尺寸 32*32,支持 JPG、PNG、GIF,大小不超过 10 MB',
+ AIAvatar: 'AI 回复头像',
+ display: '显示',
+ floatIcon: '浮窗入口图标',
+ iconDefaultPosition: '图标默认位置',
+ iconPosition: {
+ left: '左',
+ right: '右',
+ bottom: '下',
+ top: '上',
},
+ draggablePosition: '可拖拽位置',
+ showHistory: '显示历史记录',
+ displayGuide: '显示引导图(浮窗模式)',
+ disclaimer: '免责声明',
+ disclaimerValue: '「以上内容均由 AI 生成,仅供参考和借鉴」',
+ chatBackground: '聊天背景',
+ chatBackgroundMessage: '支持 JPG、PNG、GIF,大小不超过 10 MB',
},
monitor: {
monitoringStatistics: '监控统计',
diff --git a/ui/src/locales/lang/zh-CN/views/chat-user.ts b/ui/src/locales/lang/zh-CN/views/chat-user.ts
index d7f8e11c9..f4c640d39 100644
--- a/ui/src/locales/lang/zh-CN/views/chat-user.ts
+++ b/ui/src/locales/lang/zh-CN/views/chat-user.ts
@@ -10,7 +10,6 @@ export default {
batchDeleteUser: '是否删除选中的 {count} 个用户?',
settingMethod: '设置方式',
append: '追加',
- replace: '替换',
group: {
title: '用户组',
requiredMessage: '请选择用户组',
diff --git a/ui/src/locales/lang/zh-CN/views/paragraph.ts b/ui/src/locales/lang/zh-CN/views/paragraph.ts
index cf38b908f..b5c8268f5 100644
--- a/ui/src/locales/lang/zh-CN/views/paragraph.ts
+++ b/ui/src/locales/lang/zh-CN/views/paragraph.ts
@@ -3,6 +3,7 @@ export default {
paragraph_count: '段落',
editParagraph: '编辑分段',
addParagraph: '添加分段',
+ prevAddParagraph:'上方插入分段',
paragraphDetail: '分段详情',
character_count: '个字符',
setting: {
diff --git a/ui/src/locales/lang/zh-Hant/ai-chat.ts b/ui/src/locales/lang/zh-Hant/ai-chat.ts
index 530714e02..bb9045352 100644
--- a/ui/src/locales/lang/zh-Hant/ai-chat.ts
+++ b/ui/src/locales/lang/zh-Hant/ai-chat.ts
@@ -13,6 +13,8 @@ export default {
exportImg: '匯出圖片',
preview: '預覽',
chatId: '對話 ID',
+ chatUserId: '對話用戶 ID',
+ chatUserType: '對話用戶類型',
userInput: '用戶輸入',
quote: '引用',
download: '點擊下載文件',
@@ -72,6 +74,7 @@ export default {
imageMessage: '請解析圖片內容',
fileMessage: '請解析文件內容',
errorMessage: '上傳失敗',
+ fileRepeat: '文件已存在',
},
executionDetails: {
title: '執行詳細',
@@ -91,6 +94,7 @@ export default {
paragraph: '段落',
noSubmit: '用戶未提交',
errMessage: '錯誤日誌',
+ knowedMessage: '已知資訊',
},
KnowledgeSource: {
title: '知識來源',
@@ -104,11 +108,6 @@ export default {
question: '用戶問題',
optimizationQuestion: '優化後問題',
questionPadded: '優化後問題',
- system: '角色設定',
- historyRecord: '歷史記錄',
- currentChat: '本次對話',
- AiResponse: 'AI 回答',
- knowedMessage: '已知資訊',
},
editTitle: '編輯標題',
}
diff --git a/ui/src/locales/lang/zh-Hant/views/application-overview.ts b/ui/src/locales/lang/zh-Hant/views/application-overview.ts
index 1fc4ca3c0..3c663d56d 100644
--- a/ui/src/locales/lang/zh-Hant/views/application-overview.ts
+++ b/ui/src/locales/lang/zh-Hant/views/application-overview.ts
@@ -23,8 +23,6 @@ export default {
saveSettings: '儲存設定',
msgConfirm1: '是否刪除API Key',
msgConfirm2: '刪除API Key後將無法恢復,請確認是否刪除?',
- enabledSuccess: '已啟用',
- disabledSuccess: '已停用',
},
EmbedDialog: {
fullscreenModeTitle: '全螢幕模式',
@@ -33,8 +31,6 @@ export default {
mobileModeTitle: '移動端模式',
},
LimitDialog: {
- dialogTitle: '訪問限制',
- showSourceLabel: '顯示知識來源',
clientQueryLimitLabel: '每個用戶端提問限制',
timesDays: '次/天',
authentication: '身份驗證',
@@ -52,35 +48,33 @@ export default {
crossDomainPlaceholder:
'請輸入允許的跨域位址,開啟後不輸入跨域位址則不限制。\n跨域位址一行一個,如:\nhttp://127.0.0.1:5678 \nhttps://dataease.io',
},
- SettingDisplayDialog: {
- dialogTitle: '顯示設定',
- languageLabel: '語言',
- showSourceLabel: '顯示知識來源',
- showExecutionDetail: '顯示執行細節',
- restoreDefault: '恢復預設',
- customThemeColor: '自訂主題色',
- headerTitleFontColor: '標頭標題字體顏色',
- default: '預設',
- askUserAvatar: '提問用戶頭像',
- replace: '取代',
- imageMessage: '建議尺寸 32*32,支援 JPG、PNG、GIF,大小不超過 10 MB',
- AIAvatar: 'AI 回覆頭像',
- floatIcon: '浮窗入口圖示',
- iconDefaultPosition: '圖示預設位置',
- iconPosition: {
- left: '左',
- right: '右',
- bottom: '下',
- top: '上',
- },
- draggablePosition: '可拖曳位置',
- showHistory: '顯示歷史紀錄',
- displayGuide: '顯示引導圖(浮窗模式)',
- disclaimer: '免責聲明',
- disclaimerValue: '「以上內容均由 AI 生成,僅供參考和借鏡」',
- chatBackground: '聊天背景',
- chatBackgroundMessage: '圖片格式:JPG, PNG, GIF。最大大小:10MB。',
+ },
+ SettingDisplayDialog: {
+ showSourceLabel: '顯示知識來源',
+ showExecutionDetail: '顯示執行細節',
+ restoreDefault: '恢復預設',
+ customThemeColor: '自訂主題色',
+ headerTitleFontColor: '標頭標題字體顏色',
+ default: '預設',
+ askUserAvatar: '提問用戶頭像',
+ replace: '取代',
+ imageMessage: '建議尺寸 32*32,支援 JPG、PNG、GIF,大小不超過 10 MB',
+ AIAvatar: 'AI 回覆頭像',
+ floatIcon: '浮窗入口圖示',
+ iconDefaultPosition: '圖示預設位置',
+ iconPosition: {
+ left: '左',
+ right: '右',
+ bottom: '下',
+ top: '上',
},
+ draggablePosition: '可拖曳位置',
+ showHistory: '顯示歷史紀錄',
+ displayGuide: '顯示引導圖(浮窗模式)',
+ disclaimer: '免責聲明',
+ disclaimerValue: '「以上內容均由 AI 生成,僅供參考和借鏡」',
+ chatBackground: '聊天背景',
+ chatBackgroundMessage: '圖片格式:JPG, PNG, GIF。最大大小:10MB。',
},
monitor: {
monitoringStatistics: '監控統計',
diff --git a/ui/src/locales/lang/zh-Hant/views/chat-user.ts b/ui/src/locales/lang/zh-Hant/views/chat-user.ts
index e928586dd..056b054f3 100644
--- a/ui/src/locales/lang/zh-Hant/views/chat-user.ts
+++ b/ui/src/locales/lang/zh-Hant/views/chat-user.ts
@@ -10,7 +10,6 @@ export default {
batchDeleteUser: '是否刪除選中的 {count} 個用戶?',
settingMethod: '設定方式',
append: '追加',
- replace: '替換',
group: {
title: '用戶組',
requiredMessage: '請選擇用戶組',
diff --git a/ui/src/locales/lang/zh-Hant/views/paragraph.ts b/ui/src/locales/lang/zh-Hant/views/paragraph.ts
index a5b4b3317..bc111ce89 100644
--- a/ui/src/locales/lang/zh-Hant/views/paragraph.ts
+++ b/ui/src/locales/lang/zh-Hant/views/paragraph.ts
@@ -3,30 +3,31 @@ export default {
paragraph_count: '段落',
editParagraph: '編輯分段',
addParagraph: '添加分段',
+ prevAddParagraph: '上方插入分段',
paragraphDetail: '分段詳情',
character_count: '個字符',
setting: {
batchSelected: '批量選擇',
- cancelSelected: '取消選擇'
+ cancelSelected: '取消選擇',
},
delete: {
confirmTitle: '是否刪除段落:',
- confirmMessage: '刪除後無法恢復,請謹慎操作。'
+ confirmMessage: '刪除後無法恢復,請謹慎操作。',
},
relatedProblem: {
title: '關聯問題',
- placeholder: '請選擇問題'
+ placeholder: '請選擇問題',
},
form: {
paragraphTitle: {
label: '分段標題',
- placeholder: '請輸入分段標題'
+ placeholder: '請輸入分段標題',
},
content: {
label: '分段內容',
placeholder: '請輸入分段內容',
requiredMessage1: '請輸入分段內容',
- requiredMessage2: '內容最多不超過 100000 個字'
- }
- }
+ requiredMessage2: '內容最多不超過 100000 個字',
+ },
+ },
}
diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss
index 379763a26..680c4e4f6 100644
--- a/ui/src/styles/element-plus.scss
+++ b/ui/src/styles/element-plus.scss
@@ -299,3 +299,8 @@
color: var(--el-text-color-regular);
}
}
+
+// el-pagination
+.el-pagination .el-select {
+ width: 105px;
+}
diff --git a/ui/src/views/application-overview/component/DisplaySettingDialog.vue b/ui/src/views/application-overview/component/DisplaySettingDialog.vue
index 33f18f9ce..e32874956 100644
--- a/ui/src/views/application-overview/component/DisplaySettingDialog.vue
+++ b/ui/src/views/application-overview/component/DisplaySettingDialog.vue
@@ -1,6 +1,6 @@
{{
- $t('views.applicationOverview.appInfo.SettingDisplayDialog.languageLabel')
+ $t('layout.language')
}}
diff --git a/ui/src/views/application-overview/xpack-component/XPackDisplaySettingDialog.vue b/ui/src/views/application-overview/xpack-component/XPackDisplaySettingDialog.vue
index 07a67a21b..cac89e8d2 100644
--- a/ui/src/views/application-overview/xpack-component/XPackDisplaySettingDialog.vue
+++ b/ui/src/views/application-overview/xpack-component/XPackDisplaySettingDialog.vue
@@ -1,6 +1,6 @@
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.dialogTitle') }}
+ {{ $t('views.applicationOverview.appInfo.displaySetting') }}
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.restoreDefault') }}
+ {{ $t('views.applicationOverview.SettingDisplayDialog.restoreDefault') }}
@@ -174,14 +174,14 @@
{{
- $t('views.applicationOverview.appInfo.SettingDisplayDialog.customThemeColor')
+ $t('views.applicationOverview.SettingDisplayDialog.customThemeColor')
}}
{{
!xpackForm.custom_theme.theme_color
- ? $t('views.applicationOverview.appInfo.SettingDisplayDialog.default')
+ ? $t('views.applicationOverview.SettingDisplayDialog.default')
: ''
}}
@@ -190,7 +190,7 @@
{{
$t(
- 'views.applicationOverview.appInfo.SettingDisplayDialog.headerTitleFontColor',
+ 'views.applicationOverview.SettingDisplayDialog.headerTitleFontColor',
)
}}
@@ -199,7 +199,7 @@
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.languageLabel') }}
+ {{ $t('layout.language') }}
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.replace') }}
+ {{ $t('views.applicationOverview.SettingDisplayDialog.replace') }}
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.imageMessage') }}
+ {{ $t('views.applicationOverview.SettingDisplayDialog.imageMessage') }}
{{
- $t('views.applicationOverview.appInfo.SettingDisplayDialog.chatBackground')
+ $t('views.applicationOverview.SettingDisplayDialog.chatBackground')
}}
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.replace') }}
+ {{ $t('views.applicationOverview.SettingDisplayDialog.replace') }}
{{
- $t('views.applicationOverview.appInfo.SettingDisplayDialog.chatBackgroundMessage')
+ $t('views.applicationOverview.SettingDisplayDialog.chatBackgroundMessage')
}}
@@ -268,11 +268,11 @@
{{
- $t('views.applicationOverview.appInfo.SettingDisplayDialog.AIAvatar')
+ $t('views.applicationOverview.SettingDisplayDialog.AIAvatar')
}}
{{
- $t('views.applicationOverview.appInfo.SettingDisplayDialog.display')
+ $t('views.applicationOverview.SettingDisplayDialog.display')
}}
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.replace') }}
+ {{ $t('views.applicationOverview.SettingDisplayDialog.replace') }}
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.imageMessage') }}
+ {{ $t('views.applicationOverview.SettingDisplayDialog.imageMessage') }}
{{
- $t('views.applicationOverview.appInfo.SettingDisplayDialog.askUserAvatar')
+ $t('views.applicationOverview.SettingDisplayDialog.askUserAvatar')
}}
{{
- $t('views.applicationOverview.appInfo.SettingDisplayDialog.display')
+ $t('views.applicationOverview.SettingDisplayDialog.display')
}}
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.replace') }}
+ {{ $t('views.applicationOverview.SettingDisplayDialog.replace') }}
{{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.imageMessage') }}
+ >{{ $t('views.applicationOverview.SettingDisplayDialog.imageMessage') }}
{{
- $t('views.applicationOverview.appInfo.SettingDisplayDialog.floatIcon')
+ $t('views.applicationOverview.SettingDisplayDialog.floatIcon')
}}
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.replace') }}
+ {{ $t('views.applicationOverview.SettingDisplayDialog.replace') }}
- {{ $t('views.applicationOverview.appInfo.SettingDisplayDialog.imageMessage') }}
+ {{ $t('views.applicationOverview.SettingDisplayDialog.imageMessage') }}
{{
- $t('views.applicationOverview.appInfo.SettingDisplayDialog.iconDefaultPosition')
+ $t('views.applicationOverview.SettingDisplayDialog.iconDefaultPosition')
}}
@@ -367,7 +367,7 @@
({
user_avatar: '',
user_avatar_url: '',
disclaimer: false,
- disclaimer_value: t('views.applicationOverview.appInfo.SettingDisplayDialog.disclaimerValue'),
+ disclaimer_value: t('views.applicationOverview.SettingDisplayDialog.disclaimerValue'),
custom_theme: {
theme_color: '',
header_font_color: '#1f2329',
@@ -630,10 +630,10 @@ const open = (data: any, content: any) => {
xpackForm.value.disclaimer_value = data.disclaimer_value
if (
xpackForm.value.disclaimer_value ===
- t('views.applicationOverview.appInfo.SettingDisplayDialog.disclaimerValue')
+ t('views.applicationOverview.SettingDisplayDialog.disclaimerValue')
) {
xpackForm.value.disclaimer_value = t(
- 'views.applicationOverview.appInfo.SettingDisplayDialog.disclaimerValue',
+ 'views.applicationOverview.SettingDisplayDialog.disclaimerValue',
)
}
xpackForm.value.avatar_url = data.avatar
diff --git a/ui/src/views/application/ApplicationSetting.vue b/ui/src/views/application/ApplicationSetting.vue
index e7c6c2ff0..f472eb4c9 100644
--- a/ui/src/views/application/ApplicationSetting.vue
+++ b/ui/src/views/application/ApplicationSetting.vue
@@ -83,6 +83,7 @@
@click="openAIParamSettingDialog"
:disabled="!applicationForm.model_id"
>
+
{{ $t('common.paramSetting') }}
@@ -170,7 +171,7 @@
{{ $t('views.application.form.relatedKnowledge.label') }}
-
+
{{ $t('common.paramSetting') }}
diff --git a/ui/src/views/application/index.vue b/ui/src/views/application/index.vue
index 11773dac8..c8b85a0d7 100644
--- a/ui/src/views/application/index.vue
+++ b/ui/src/views/application/index.vue
@@ -72,7 +72,7 @@
-
+
-
+
-
+
diff --git a/ui/src/views/knowledge/component/ParagraphList.vue b/ui/src/views/knowledge/component/ParagraphList.vue
index 7d1b8a0b6..84110e0b9 100644
--- a/ui/src/views/knowledge/component/ParagraphList.vue
+++ b/ui/src/views/knowledge/component/ParagraphList.vue
@@ -131,7 +131,7 @@ const deleteHandle = (item: any, cIndex: number) => {
t('views.paragraph.delete.confirmMessage'),
{
confirmButtonText: t('common.confirm'),
- confirmButtonClass: 'color-danger',
+ confirmButtonClass: 'danger',
},
)
.then(() => {
diff --git a/ui/src/views/model/component/Provider.vue b/ui/src/views/model/component/Provider.vue
index 24b848134..edaddfc27 100644
--- a/ui/src/views/model/component/Provider.vue
+++ b/ui/src/views/model/component/Provider.vue
@@ -2,18 +2,19 @@