diff --git a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApi.vue b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApi.vue index d3cc429375..4800a64f3f 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApi.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApi.vue @@ -14,8 +14,8 @@ ref="apiNodeTree"> - 接口用例 - 场景用例 + {{ $t('commons.api_case') }} + {{ $t('commons.scenario_case') }} @@ -30,8 +30,8 @@ ref="scenarioNodeTree"> - 接口用例 - 场景用例 + {{ $t('commons.api_case') }} + {{ $t('commons.scenario_case') }} diff --git a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiCaseList.vue b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiCaseList.vue index ff71859944..776715f891 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiCaseList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiCaseList.vue @@ -62,7 +62,7 @@ sortable min-width="100" :filters="userFilters" - :label="'创建人'"> + :label="$t('commons.create_user')"> {{scope.row.creatorName}} diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 0281212bf5..4fa52d8faa 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -163,6 +163,8 @@ export default { node_name_tip: "The name cannot contain'\\'", more_operator: "More operator", mock: "Mock settings", + api_case: "Api Case", + scenario_case: "Scenario Case", task_center: "Task center", all_module_title: "All module", create_user: 'Creator', diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index cb435cadd7..f021fe12a1 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -164,6 +164,8 @@ export default { node_name_tip: "名称不能包含'\\'", more_operator: "更多操作", mock: "Mock 设置", + api_case: "接口用例", + scenario_case: "场景用例", task_center: "任务中心", all_module_title: "全部模块", create_user: '创建人', diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index ae568ddfd7..76e0b257b8 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -164,6 +164,8 @@ export default { node_name_tip: "名稱不能包含'\\'", more_operator: "更多操作", mock: "Mock 設置", + api_case: "接口用例", + scenario_case: "場景用例", task_center: "任务中心", all_module_title: "全部模塊", create_user: "創建人",