From 7d9afb76b1e6dc23c5db475e921f8c86c1ec71f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=B9?= <12582130+fit2cloudwangdan@user.noreply.gitee.com> Date: Fri, 7 Feb 2025 10:12:36 +0800 Subject: [PATCH] fix: optimize --- ui/src/components/ai-chat/ExecutionDetailDialog.vue | 2 -- ui/src/locales/lang/en-US/ai-chat.ts | 2 +- ui/src/locales/lang/en-US/views/application.ts | 4 ++-- ui/src/locales/lang/zh-CN/views/application.ts | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ui/src/components/ai-chat/ExecutionDetailDialog.vue b/ui/src/components/ai-chat/ExecutionDetailDialog.vue index ffc237328..dd572cb04 100644 --- a/ui/src/components/ai-chat/ExecutionDetailDialog.vue +++ b/ui/src/components/ai-chat/ExecutionDetailDialog.vue @@ -179,7 +179,6 @@ >
{{ $t('views.application.applicationForm.form.roleSettings.label') }} - (System)
{{ item.system || '-' }} @@ -506,7 +505,6 @@ >
{{ $t('views.application.applicationForm.form.roleSettings.label') }} - (System)
{{ item.system || '-' }} diff --git a/ui/src/locales/lang/en-US/ai-chat.ts b/ui/src/locales/lang/en-US/ai-chat.ts index 9e8e981bb..a21650c88 100644 --- a/ui/src/locales/lang/en-US/ai-chat.ts +++ b/ui/src/locales/lang/en-US/ai-chat.ts @@ -88,7 +88,7 @@ export default { title: 'Knowledge Source', referenceParagraph: 'Quote', consume: 'Tokens', - consumeTime: 'Time' + consumeTime: 'Run Time' }, paragraphSource: { title: 'Knowledge Reference', diff --git a/ui/src/locales/lang/en-US/views/application.ts b/ui/src/locales/lang/en-US/views/application.ts index ed3d3f25c..6f3f38c4d 100644 --- a/ui/src/locales/lang/en-US/views/application.ts +++ b/ui/src/locales/lang/en-US/views/application.ts @@ -52,7 +52,7 @@ export default { placeholder: 'Please select an AI model' }, roleSettings: { - label: 'Role settings', + label: 'System Role', placeholder: 'You are xxx assistant' }, @@ -75,7 +75,7 @@ export default { ` }, historyRecord: { - label: 'Historical chat records' + label: 'Chat History' }, relatedKnowledge: { label: 'Related Knowledge', diff --git a/ui/src/locales/lang/zh-CN/views/application.ts b/ui/src/locales/lang/zh-CN/views/application.ts index 00ee6658d..f45c91547 100644 --- a/ui/src/locales/lang/zh-CN/views/application.ts +++ b/ui/src/locales/lang/zh-CN/views/application.ts @@ -47,7 +47,7 @@ export default { placeholder: '请选择 AI 模型' }, roleSettings: { - label: '角色设定', + label: '系统角色', placeholder: '你是 xxx 小助手' }, prompt: {