From 47be0a89c0ca04b5e7d367684da74845ee61776e Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Tue, 17 Jan 2023 12:01:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):?= =?UTF-8?q?=20=E5=AF=BC=E5=87=BA=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 --- framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js | 3 ++- framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js | 3 ++- framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js | 3 ++- .../src/business/case/components/export/TestCaseExport.vue | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js b/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js index 50533c66af..36c1d2692b 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/track/en-US.js @@ -183,7 +183,8 @@ export default { }, export: { export: "Export cases", - export_tip: "Switch to Case List and check Use Case Export" + export_tip: "Switch to Case List and check Use Case Export", + export_format: "Export Format", }, case_desc: "Case Desc", passing_rate: 'Case Pass Rate', diff --git a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js index b13ce93647..7fb6b3ad58 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-CN.js @@ -174,7 +174,8 @@ export default { }, export: { export: "导出用例", - export_tip: "请切换成用例列表勾选用例导出!" + export_tip: "请切换成用例列表勾选用例导出!", + export_format: "导出格式", }, case_desc: "用例描述", passing_rate: '用例通过率', diff --git a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js index 6691db0bcd..e11b536f01 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/track/zh-TW.js @@ -174,7 +174,8 @@ export default { }, export: { export: "導出用例", - export_tip: "請切換成用例列錶勾選用例導出!" + export_tip: "請切換成用例列錶勾選用例導出!", + export_format: "導出格式", }, case_desc: "用例描述", passing_rate: '用例通過率', diff --git a/test-track/frontend/src/business/case/components/export/TestCaseExport.vue b/test-track/frontend/src/business/case/components/export/TestCaseExport.vue index 4bd92ee422..99c8900acc 100644 --- a/test-track/frontend/src/business/case/components/export/TestCaseExport.vue +++ b/test-track/frontend/src/business/case/components/export/TestCaseExport.vue @@ -6,7 +6,7 @@ @close="close"> - {{ $t('test_track.case.import.import_format') }} + {{ $t('test_track.case.export.export_format') }} @@ -36,7 +36,7 @@ import {getCurrentProjectID} from "metersphere-frontend/src/utils/token" import TestCaseExportFieldSelect from "@/business/case/components/export/TestCaseExportFieldSelect"; export default { - name: "TestCaseImport", + name: "TestCaseExport", components: {TestCaseExportFieldSelect, ElUploadList, MsTableButton}, data() { return {