diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index b90373fbb..1260fb33e 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -346,7 +346,7 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para } else if (response.status === 460) { return Promise.reject(t('chat.tip.errorIdentifyMessage')) } else if (response.status === 461) { - return Promise.reject('chat.tip.errorLimitMessage') + return Promise.reject(t('chat.tip.errorLimitMessage')) } else { nextTick(() => { // 将滚动条滚动到最下面 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 614b85e1a..a4315245b 100644 --- a/ui/src/locales/lang/en-US/views/application-overview.ts +++ b/ui/src/locales/lang/en-US/views/application-overview.ts @@ -45,10 +45,10 @@ export default { LimitDialog: { dialogTitle: 'Access Restrictions', showSourceLabel: 'Show Return Knowledge Reference', - clientQueryLimitLabel: 'Each Client Query Limit', + clientQueryLimitLabel: 'Limit the number of messages for each client', authentication: 'Authentication', authenticationValue: 'Authentication Password', - timesDays: 'Times/Day', + timesDays: 'messages per day', whitelistLabel: 'Whitelist', whitelistPlaceholder: 'Please enter allowed third-party source addresses, one per line, such as:\nhttp://127.0.0.1:5678\nhttps://dataease.io' @@ -67,10 +67,10 @@ export default { customThemeColor: 'Custom Theme Color', headerTitleFontColor: 'Header Title Font Color', default: 'Default', - askUserAvatar: 'Ask User Avatar', + askUserAvatar: 'Questioner\'s Avatar', replace: 'Replace', imageMessage: 'Suggested size 32*32, supports jpg, png, gif, size no more than 10 MB', - AIAvatar: 'AI Reply Avatar', + AIAvatar: 'AI Avatar', floatIcon: 'Floating Icon', iconDefaultPosition: 'Icon Default Position', iconPosition: { @@ -80,7 +80,7 @@ export default { top: 'Top' }, draggablePosition: 'Draggable Position', - showHistory: 'Show History', + showHistory: 'Show Chat History', displayGuide: 'Display guide image (floating window mode)', disclaimer: 'Disclaimer', disclaimerValue: @@ -102,9 +102,9 @@ export default { charts: { customerTotal: 'Total Customers', customerNew: 'New Customers', - queryCount: 'Query Count', + queryCount: 'Total Chats', tokensTotal: 'Total Tokens', - userSatisfaction: 'User Satisfaction', + userSatisfaction: 'User Satisfaction Rate', approval: 'Approval', disapproval: 'Disapproval' } diff --git a/ui/src/locales/lang/en-US/views/log.ts b/ui/src/locales/lang/en-US/views/log.ts index 378fbedc6..5c8274f88 100644 --- a/ui/src/locales/lang/en-US/views/log.ts +++ b/ui/src/locales/lang/en-US/views/log.ts @@ -6,20 +6,20 @@ export default { confirmMessage2: 'segments. Please proceed with caution.' }, buttons: { - clearStrategy: 'Clear Strategy', + clearStrategy: 'Cleanup Strategy', prev: 'Previous', next: 'Next' }, table: { - abstract: 'Abstract', - chat_record_count: 'Number of Chat Questions', + abstract: 'Title', + chat_record_count: 'Total Messages', feedback: { label: 'User Feedback', star: 'Agree', trample: 'Disagree' }, - mark: 'Improvement Label', - recenTimes: 'Recent Chat Time' + mark: 'Marks', + recenTimes: 'Last Chat Time' }, addToDataset: 'Add to Knowledge', daysText: 'Days ago', diff --git a/ui/src/locales/lang/en-US/views/template.ts b/ui/src/locales/lang/en-US/views/template.ts index 7d7a1f4f6..d53200372 100644 --- a/ui/src/locales/lang/en-US/views/template.ts +++ b/ui/src/locales/lang/en-US/views/template.ts @@ -41,7 +41,7 @@ export default { editParam: 'Edit Parameter', addParam: 'Add Parameter', paramSetting: 'Model Parameter Settings', - apiParamPassing: 'API Parameter Passing' + apiParamPassing: 'Parameter' }, form: { templateName: { diff --git a/ui/src/views/chat/embed/index.vue b/ui/src/views/chat/embed/index.vue index 8edbfbfbc..7e67c446f 100644 --- a/ui/src/views/chat/embed/index.vue +++ b/ui/src/views/chat/embed/index.vue @@ -8,7 +8,7 @@ }" >