diff --git a/frontend/src/business/components/api/definition/components/Run.vue b/frontend/src/business/components/api/definition/components/Run.vue index 605e8ee17a..6d84a56236 100644 --- a/frontend/src/business/components/api/definition/components/Run.vue +++ b/frontend/src/business/components/api/definition/components/Run.vue @@ -56,7 +56,7 @@ export default { }, onError() { this.$emit('runRefresh', ""); - this.$error("The connection is abnormal, please check the environment configuration"); + this.$error(this.$t('api_test.automation.rerun_warning')); }, onMessages(e) { // 确认连接建立成功,开始执行 diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index e07d66297a..636ebc44f3 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -1453,6 +1453,7 @@ export default { request_error: "error", generate_report: "Generate report", rerun: "fail and rerun", + rerun_warning: "The connection is abnormal, please check the environment configuration", rerun_success: "Rerun has already started, refresh the results later to view" }, environment: { diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index 114c50e76e..15b20392ae 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -1461,6 +1461,7 @@ export default { request_error: "失败", generate_report: "生成报告", rerun: "失败重跑", + rerun_warning: "连接异常,请检查环境配置", rerun_success: "已经开始重跑,稍后刷新结果查看" }, environment: { diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index 4d4725ffcc..340499ca13 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -1458,6 +1458,7 @@ export default { request_error: "失敗", generate_report: "生成報告", rerun: "失敗重跑", + rerun_warning: "連接異常,請檢查環境配置", rerun_success: "已經開始重跑,稍後重繪結果查看" }, environment: {