From 4edfc6c1038ffc49765687378a51704bab335516 Mon Sep 17 00:00:00 2001 From: zhangdahai112 Date: Mon, 21 Nov 2022 18:08:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(UI=E8=87=AA=E5=8A=A8=E5=8C=96):=20=E9=AB=98?= =?UTF-8?q?=E7=BA=A7=E6=90=9C=E7=B4=A2=E6=A8=A1=E5=9D=97=E6=A0=91=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=A8=A1=E5=9D=97=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/components/search/MsTableSearchNodeTree.vue | 2 ++ framework/sdk-parent/frontend/src/i18n/lang/en-US.js | 1 + framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js | 2 +- framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/framework/sdk-parent/frontend/src/components/search/MsTableSearchNodeTree.vue b/framework/sdk-parent/frontend/src/components/search/MsTableSearchNodeTree.vue index 4142912fff..2471b1bc78 100644 --- a/framework/sdk-parent/frontend/src/components/search/MsTableSearchNodeTree.vue +++ b/framework/sdk-parent/frontend/src/components/search/MsTableSearchNodeTree.vue @@ -136,6 +136,8 @@ export default { this.treeNodes = data; this.treeNodes.forEach(node => { node.name = node.name === '未规划用例' ? this.$t('api_test.unplanned_case') : node.name; + node.name = node.name === '未规划场景' ? this.$t('ui.unplanned_scenario') : node.name; + node.label = node.label === '未规划场景' ? this.$t('ui.unplanned_scenario') : node.label; this.buildTree(node); }); }, diff --git a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js index aa87389cac..d93b5c781b 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js @@ -2995,6 +2995,7 @@ const message = { delete_scenario_lable: "Delete scenario", delete_command_lable: "Delete command", command_name_label: "Command name", + unplanned_module: "Unplanned module", }, project_application: { workstation: { diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js index 79c732fe1e..afaa628b78 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js @@ -3007,7 +3007,7 @@ const message = { command_name_label: "指令名称", command_steps_label: "指令步骤", command_step_info: "在右侧添加指令步骤", - + unplanned_scenario: "未规划场景", }, project_application: { workstation: { diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js index 06adbbcf9c..cb51afb5a3 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js @@ -2986,6 +2986,7 @@ const message = { command_name_label: "指令名稱", command_steps_label: "指令步驟", command_step_info: "在右側添加指令步驟", + unplanned_scenario: "未規劃場景" }, project_application: { workstation: {