From 92bc39ced95a658e4d26f75ed4bf12618ef87aa7 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 26 Oct 2022 10:32:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BC=96=E8=BE=91=E9=A1=B9=E7=9B=AE=E9=9B=86?= =?UTF-8?q?=E6=88=90=E4=B8=89=E6=96=B9=E5=B9=B3=E5=8F=B0=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018785 --user=李玉号 【系统设置】优化项目管理-编辑项目集成三方平台禅道时点击检查提示OK? https://www.tapd.cn/55049933/s/1277666 --- project-management/frontend/src/business/home/EditProject.vue | 2 +- project-management/frontend/src/i18n/lang/en-US.js | 3 ++- project-management/frontend/src/i18n/lang/zh-CN.js | 3 ++- project-management/frontend/src/i18n/lang/zh-TW.js | 3 ++- .../frontend/src/business/workspace/project/EditProject.vue | 2 +- system-setting/frontend/src/i18n/lang/en-US.js | 1 + system-setting/frontend/src/i18n/lang/zh-CN.js | 1 + system-setting/frontend/src/i18n/lang/zh-TW.js | 1 + 8 files changed, 11 insertions(+), 5 deletions(-) diff --git a/project-management/frontend/src/business/home/EditProject.vue b/project-management/frontend/src/business/home/EditProject.vue index 81b992cd7d..b43e8e52ac 100644 --- a/project-management/frontend/src/business/home/EditProject.vue +++ b/project-management/frontend/src/business/home/EditProject.vue @@ -217,7 +217,7 @@ export default { return; } checkThirdPlatformProject(this.form).then(() => { - this.$success("OK"); + this.$success(this.$t("pj.check_third_project_success")); }); }, getOptions() { diff --git a/project-management/frontend/src/i18n/lang/en-US.js b/project-management/frontend/src/i18n/lang/en-US.js index b152243943..fc57e54dc9 100644 --- a/project-management/frontend/src/i18n/lang/en-US.js +++ b/project-management/frontend/src/i18n/lang/en-US.js @@ -4,7 +4,8 @@ import mf from "metersphere-frontend/src/i18n/lang/en-US" const message = { pj: { - environment_import_repeat_tip: "(Environment configuration with the same name filtered {0})" + environment_import_repeat_tip: "(Environment configuration with the same name filtered {0})", + check_third_project_success: "inspection passed", }, file_manage: { my_file: 'My File', diff --git a/project-management/frontend/src/i18n/lang/zh-CN.js b/project-management/frontend/src/i18n/lang/zh-CN.js index b12b864cd0..ab3ea1a1c3 100644 --- a/project-management/frontend/src/i18n/lang/zh-CN.js +++ b/project-management/frontend/src/i18n/lang/zh-CN.js @@ -4,7 +4,8 @@ import mf from "metersphere-frontend/src/i18n/lang/zh-CN" const message = { pj: { - environment_import_repeat_tip: "(已过滤同名称的环境配置 {0})" + environment_import_repeat_tip: "(已过滤同名称的环境配置 {0})", + check_third_project_success: "检查通过", }, file_manage: { my_file: '我的文件', diff --git a/project-management/frontend/src/i18n/lang/zh-TW.js b/project-management/frontend/src/i18n/lang/zh-TW.js index fd72b75297..386e173f82 100644 --- a/project-management/frontend/src/i18n/lang/zh-TW.js +++ b/project-management/frontend/src/i18n/lang/zh-TW.js @@ -4,7 +4,8 @@ import mf from "metersphere-frontend/src/i18n/lang/zh-TW" const message = { pj: { - environment_import_repeat_tip: "(已過濾同名稱的環境配置 {0})" + environment_import_repeat_tip: "(已過濾同名稱的環境配置 {0})", + check_third_project_success: "檢查通過", }, file_manage: { my_file: '我的文件', diff --git a/system-setting/frontend/src/business/workspace/project/EditProject.vue b/system-setting/frontend/src/business/workspace/project/EditProject.vue index f7751fa013..35fc010322 100644 --- a/system-setting/frontend/src/business/workspace/project/EditProject.vue +++ b/system-setting/frontend/src/business/workspace/project/EditProject.vue @@ -213,7 +213,7 @@ export default { return; } checkThirdPlatformProject(this.form).then(() => { - this.$success("OK"); + this.$success(this.$t("system.check_third_project_success")); }); }, getOptions() { diff --git a/system-setting/frontend/src/i18n/lang/en-US.js b/system-setting/frontend/src/i18n/lang/en-US.js index 2643a5c49e..40ee127f9d 100644 --- a/system-setting/frontend/src/i18n/lang/en-US.js +++ b/system-setting/frontend/src/i18n/lang/en-US.js @@ -9,6 +9,7 @@ const message = { system: { environment_import_repeat_tip: "(Environment configuration with the same name filtered {0})", search_by_environment_name: "search by environment name", + check_third_project_success: "inspection passed" }, display: { title: 'Theme', diff --git a/system-setting/frontend/src/i18n/lang/zh-CN.js b/system-setting/frontend/src/i18n/lang/zh-CN.js index c08428a9f7..e67f157917 100644 --- a/system-setting/frontend/src/i18n/lang/zh-CN.js +++ b/system-setting/frontend/src/i18n/lang/zh-CN.js @@ -9,6 +9,7 @@ const message = { system: { environment_import_repeat_tip: "(已过滤同名称的环境配置 {0})", search_by_environment_name: "根据环境的名称搜索", + check_third_project_success: "检查通过" }, display: { title: '显示设置', diff --git a/system-setting/frontend/src/i18n/lang/zh-TW.js b/system-setting/frontend/src/i18n/lang/zh-TW.js index f1aabce603..f0121d92bb 100644 --- a/system-setting/frontend/src/i18n/lang/zh-TW.js +++ b/system-setting/frontend/src/i18n/lang/zh-TW.js @@ -9,6 +9,7 @@ const message = { system: { environment_import_repeat_tip: "(已過濾同名稱的環境配置 {0})", search_by_environment_name: "根據環境的名稱搜索", + check_third_project_success: "檢查通過" }, display: { title: '顯示設置',