From 1670db034c0b4c423251e6525be97f2905f63d7a Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 21 Jul 2021 18:38:18 +0800 Subject: [PATCH] refactor: i18n#1005314 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1005314 --user=lyh 【测试跟踪】国际化问题 https://www.tapd.cn/55049933/s/1027432 --- .../track/plan/view/comonents/base/TestCaseRelevanceBase.vue | 2 +- .../plan/view/comonents/functional/FunctionalTestCaseEdit.vue | 2 +- .../track/review/view/components/TestReviewRelevance.vue | 2 +- frontend/src/i18n/en-US.js | 3 +++ frontend/src/i18n/zh-CN.js | 3 +++ frontend/src/i18n/zh-TW.js | 3 +++ 6 files changed, 12 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/track/plan/view/comonents/base/TestCaseRelevanceBase.vue b/frontend/src/business/components/track/plan/view/comonents/base/TestCaseRelevanceBase.vue index a048ea05db..303b82817b 100644 --- a/frontend/src/business/components/track/plan/view/comonents/base/TestCaseRelevanceBase.vue +++ b/frontend/src/business/components/track/plan/view/comonents/base/TestCaseRelevanceBase.vue @@ -20,7 +20,7 @@
- 同步添加关联的接口和性能测试 + {{ $t('test_track.sync_add_api_load') }}
diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue index da63a8ea91..81b4c999eb 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseEdit.vue @@ -29,7 +29,7 @@ - {{$t('test_track.save')}} & 下一条 + {{$t('test_track.save')}} & {{$t('test_track.next')}} diff --git a/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue b/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue index 22079a186d..12c380ffb1 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue @@ -77,7 +77,7 @@
{{$t('test_track.review_view.last_page')}}
-
共 {{total}} 条
+
{{$t('test_track.total_size', [total])}}
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 7fd2f213eb..904b9a9980 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -1332,6 +1332,9 @@ export default { date: "Date" }, test_track: { + sync_add_api_load: 'Synchronously add associated api and load tests', + next: 'Next', + total_size: 'Total {0}', related_requirements: 'Related requirements', please_related_requirements: 'Please select the requirements to associate', please_select_the_test_to_associate: "Please select the test to associate", diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index 497e7b6ace..3db3067ed0 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -1337,6 +1337,9 @@ export default { date: "日期" }, test_track: { + sync_add_api_load: '同步添加关联的接口和性能测试', + next: '下一条', + total_size: '共 {0} 条', related_requirements: '关联需求', please_related_requirements: '请选择要关联的需求', please_select_the_test_to_associate: "请选择需要关联的测试", diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index 6d30bf9fac..e5dcc46da3 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -1337,6 +1337,9 @@ export default { date: "日期" }, test_track: { + sync_add_api_load: '同步添加關聯的接口和性能測試', + next: '下一條', + total_size: '共 {0} 條', related_requirements: '關聯需求', please_related_requirements: '請選擇要關聯的需求', please_select_the_test_to_associate: "請選擇需要關聯的測試",