From 2c22547f3e1e27f3ad95d4106b12ec80c1a2f37a Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 14 Jul 2025 10:10:20 +0800 Subject: [PATCH] fix: Locales --- apps/locales/en_US/LC_MESSAGES/django.po | 6 ------ apps/locales/zh_CN/LC_MESSAGES/django.po | 6 ------ apps/locales/zh_Hant/LC_MESSAGES/django.po | 6 ------ .../component/CopyApplicationDialog.vue | 17 +---------------- .../component/KnowledgeListContainer.vue | 2 +- .../views/tool/component/ToolListContainer.vue | 2 +- 6 files changed, 3 insertions(+), 36 deletions(-) diff --git a/apps/locales/en_US/LC_MESSAGES/django.po b/apps/locales/en_US/LC_MESSAGES/django.po index f06b3600a..9fb3a7c6e 100644 --- a/apps/locales/en_US/LC_MESSAGES/django.po +++ b/apps/locales/en_US/LC_MESSAGES/django.po @@ -8455,9 +8455,6 @@ msgstr "" msgid "trial listening" msgstr "" -msgid "Add personal system API_KEY" -msgstr "" - msgid "Add member to user group" msgstr "" @@ -8494,9 +8491,6 @@ msgstr "" msgid "USER" msgstr "" -msgid "Update personal system API_KEY" -msgstr "" - msgid "Delete personal system API_KEY" msgstr "" diff --git a/apps/locales/zh_CN/LC_MESSAGES/django.po b/apps/locales/zh_CN/LC_MESSAGES/django.po index a13b7a24f..d14c32529 100644 --- a/apps/locales/zh_CN/LC_MESSAGES/django.po +++ b/apps/locales/zh_CN/LC_MESSAGES/django.po @@ -8581,9 +8581,6 @@ msgstr "邮箱设置" msgid "trial listening" msgstr "试听" -msgid "Add personal system API_KEY" -msgstr "添加个人系统 API KEY" - msgid "Add member to user group" msgstr "添加成员到用户组" @@ -8620,9 +8617,6 @@ msgstr "下载" msgid "USER" msgstr "用户" -msgid "Update personal system API_KEY" -msgstr "更新个人系统API KEY" - msgid "Delete personal system API_KEY" msgstr "删除个人系统API KEY" diff --git a/apps/locales/zh_Hant/LC_MESSAGES/django.po b/apps/locales/zh_Hant/LC_MESSAGES/django.po index 7ae3ceed2..8405f2775 100644 --- a/apps/locales/zh_Hant/LC_MESSAGES/django.po +++ b/apps/locales/zh_Hant/LC_MESSAGES/django.po @@ -8581,9 +8581,6 @@ msgstr "郵件設置" msgid "trial listening" msgstr "試聽" -msgid "Add personal system API_KEY" -msgstr "添加個人系統 API KEY" - msgid "Add member to user group" msgstr "添加成員到用戶組" @@ -8620,9 +8617,6 @@ msgstr "下載" msgid "USER" msgstr "用户" -msgid "Update personal system API_KEY" -msgstr "更新個人系統API KEY" - msgid "Delete personal system API_KEY" msgstr "删除個人系統API KEY" diff --git a/ui/src/views/application/component/CopyApplicationDialog.vue b/ui/src/views/application/component/CopyApplicationDialog.vue index 45a5e4f2f..c0bc07b6f 100644 --- a/ui/src/views/application/component/CopyApplicationDialog.vue +++ b/ui/src/views/application/component/CopyApplicationDialog.vue @@ -38,7 +38,7 @@ {{ $t('common.cancel') }} - + {{ $t('common.copy') }} @@ -144,21 +144,6 @@ const open = (data: any, folder: string) => { dialogVisible.value = true } -const submitValid = (formEl: FormInstance | undefined) => { - if (user.isEE() || user.isPE()) { - submitHandle(formEl) - } else { - common - .asyncGetValid(ValidType.Application, ValidCount.Application, loading) - .then(async (res: any) => { - if (res?.data) { - submitHandle(formEl) - } else { - MsgAlert(t('common.tip'), t('views.application.tip.professionalMessage')) - } - }) - } -} const submitHandle = async (formEl: FormInstance | undefined) => { if (!formEl) return await formEl.validate((valid) => { diff --git a/ui/src/views/knowledge/component/KnowledgeListContainer.vue b/ui/src/views/knowledge/component/KnowledgeListContainer.vue index 6538cc6c2..fe370a88a 100644 --- a/ui/src/views/knowledge/component/KnowledgeListContainer.vue +++ b/ui/src/views/knowledge/component/KnowledgeListContainer.vue @@ -117,7 +117,7 @@ --> - +
diff --git a/ui/src/views/tool/component/ToolListContainer.vue b/ui/src/views/tool/component/ToolListContainer.vue index aa55b40fe..f8a2ce94c 100644 --- a/ui/src/views/tool/component/ToolListContainer.vue +++ b/ui/src/views/tool/component/ToolListContainer.vue @@ -565,7 +565,7 @@ function importTool(file: any) { }) .then(() => { getList() - + }) .catch((e: any) => { if (e.code === 400) {