From ff3f51179b480b114fb65e5a6d0f4613a07cb7b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=B9?= <12582130+fit2cloudwangdan@user.noreply.gitee.com> Date: Sat, 18 Jan 2025 17:15:31 +0800 Subject: [PATCH] feat: i18n --- .../ai-chat/ExecutionDetailDialog.vue | 6 +- ui/src/components/ai-chat/index.vue | 7 +- ui/src/locales/lang/en_US/common.ts | 1 + .../locales/lang/en_US/views/function-lib.ts | 1 - ui/src/locales/lang/zh_CN/common.ts | 1 + .../locales/lang/zh_CN/components/ai-chat.ts | 7 + .../lang/zh_CN/views/application-workflow.ts | 130 ++++++++++++- .../locales/lang/zh_CN/views/function-lib.ts | 1 - ui/src/locales/lang/zh_TW/common.ts | 1 + .../locales/lang/zh_TW/views/function-lib.ts | 1 - .../component/DropdownMenu.vue | 2 +- .../component/FunctionFormDrawer.vue | 2 +- ui/src/workflow/common/NodeControl.vue | 73 ++++++-- ui/src/workflow/common/data.ts | 176 +++++++++--------- ui/src/workflow/common/shortcut.ts | 6 +- ui/src/workflow/common/validate.ts | 23 +-- ui/src/workflow/nodes/ai-chat-node/index.vue | 2 +- ui/src/workflow/nodes/start-node/index.vue | 23 ++- 18 files changed, 333 insertions(+), 130 deletions(-) diff --git a/ui/src/components/ai-chat/ExecutionDetailDialog.vue b/ui/src/components/ai-chat/ExecutionDetailDialog.vue index e25678d5d..cb98755f9 100644 --- a/ui/src/components/ai-chat/ExecutionDetailDialog.vue +++ b/ui/src/components/ai-chat/ExecutionDetailDialog.vue @@ -1,7 +1,7 @@