diff --git a/frontend/src/business/components/track/plan/common/PlanRunModeWithEnv.vue b/frontend/src/business/components/track/plan/common/PlanRunModeWithEnv.vue index b1f1ff11e4..eb7616e5e1 100644 --- a/frontend/src/business/components/track/plan/common/PlanRunModeWithEnv.vue +++ b/frontend/src/business/components/track/plan/common/PlanRunModeWithEnv.vue @@ -32,7 +32,7 @@
- 失败停止 + {{ $t("api_test.fail_to_stop") }}
diff --git a/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue index 8e85faffb4..7fa9730250 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue @@ -111,14 +111,14 @@ let envType = this.$refs.apiScenarioList.environmentType; let envGroupId = this.$refs.apiScenarioList.envGroupId; if (!map || map.size < 1) { - this.$warning("请选择用例!"); + this.$warning(this.$t("api_test.please_select_case")); return false; } if (envType === ENV_TYPE.JSON && (!envMap || envMap.size < 1)) { - this.$warning("请选择环境!"); + this.$warning(this.$t("api_test.environment.select_environment")); return false; } else if (envType === ENV_TYPE.GROUP && !envGroupId) { - this.$warning("请选择环境!"); + this.$warning(this.$t("api_test.environment.select_environment")); return false; } param.planId = this.planId; diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 1fa6252158..dd299b8110 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -994,6 +994,8 @@ export default { export_config: "Export", enable_validate_tip: "No request available", copy: "Copy Test", + please_select_case: "Please select case", + fail_to_stop: "Fail to stop", jar_config: { title: "Upload jar package", jar_file: "Jar package", diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index 5b52182836..7b18c3ab50 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -1002,6 +1002,8 @@ export default { export_config: "导出", enable_validate_tip: "没有可用请求", copy: "复制测试", + please_select_case: "请选择用例", + fail_to_stop: "失败停止", batch_add_parameter: "格式:参数名:参数值
如:Accept-Encoding:utf-8", jar_config: { title: "上传jar包", diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index fa74d8fa24..227c154643 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -999,6 +999,8 @@ export default { export_config: "導出", enable_validate_tip: "沒有可用請求", copy: "復製測試", + please_select_case: "請選擇用例", + fail_to_stop: "失敗停止", batch_add_parameter: "格式:參數名:參數值
如:Accept-Encoding:utf-8", jar_config: { title: "上傳jar包",