From cdeea9e3a2caa955d9700937ef5b5efa63dd13ce Mon Sep 17 00:00:00 2001 From: CaptainB Date: Tue, 22 Feb 2022 10:32:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E4=BF=AE=E5=A4=8D=E9=80=9A=E7=9F=A5=E6=A8=A1?= =?UTF-8?q?=E7=89=88=E6=8F=8F=E8=BF=B0=E4=B8=8D=E5=87=86=E7=A1=AE=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010466 --user=刘瑞斌 [消息通知]github#10796接口自动化消息通知模版中的执行时间字段翻译错误 https://www.tapd.cn/55049933/s/1107159 Closes #10796 --- .../schedule/ScheduleNotification.vue | 114 +++++++++--------- .../api/ApiAutomationNotification.vue | 2 +- 2 files changed, 58 insertions(+), 58 deletions(-) diff --git a/frontend/src/business/components/api/automation/schedule/ScheduleNotification.vue b/frontend/src/business/components/api/automation/schedule/ScheduleNotification.vue index ac2382a602..7ccc97f63f 100644 --- a/frontend/src/business/components/api/automation/schedule/ScheduleNotification.vue +++ b/frontend/src/business/components/api/automation/schedule/ScheduleNotification.vue @@ -60,7 +60,7 @@ @@ -183,116 +183,116 @@ export default { ], variables: [ { - label:this.$t('group.operator'), - value:'operator', + label: this.$t('group.operator'), + value: 'operator', }, { - label:'id', - value:'id', + label: 'id', + value: 'id', }, { - label:this.$t('load_test.report.url'), - value:'reportUrl', + label: this.$t('load_test.report.url'), + value: 'reportUrl', }, { - label:this.$t('project.id'), - value:'projectId', + label: this.$t('project.id'), + value: 'projectId', }, { - label:this.$t('commons.tag'), - value:'tags', + label: this.$t('commons.tag'), + value: 'tags', }, { - label:this.$t('user.id'), - value:'userId', + label: this.$t('user.id'), + value: 'userId', }, { - label:this.$t('api_test.scenario.module_id'), - value:'apiScenarioModuleId', + label: this.$t('api_test.scenario.module_id'), + value: 'apiScenarioModuleId', }, { - label:this.$t('module.path'), - value:'modulePath', + label: this.$t('module.path'), + value: 'modulePath', }, { - label:this.$t('commons.name'), - value:'name', + label: this.$t('commons.name'), + value: 'name', }, { - label:this.$t('commons.level'), - value:'level', + label: this.$t('commons.level'), + value: 'level', }, { - label:this.$t('commons.status'), - value:'status', + label: this.$t('commons.status'), + value: 'status', }, { - label:this.$t('api_test.automation.scenario.principal'), - value:'principal', + label: this.$t('api_test.automation.scenario.principal'), + value: 'principal', }, { - label:this.$t('api_test.automation.step_total'), - value:'stepTotal', + label: this.$t('api_test.automation.step_total'), + value: 'stepTotal', }, { - label:this.$t('api_test.automation.schedule'), - value:'schedule', + label: this.$t('api_test.automation.schedule'), + value: 'schedule', }, { - label:this.$t('commons.create_time'), - value:'createTime', + label: this.$t('commons.create_time'), + value: 'createTime', }, { - label:this.$t('commons.update_time'), - value:'updateTime', + label: this.$t('commons.update_time'), + value: 'updateTime', }, { - label:this.$t('test_track.pass_rate'), - value:'passRate', + label: this.$t('test_track.pass_rate'), + value: 'passRate', }, { - label:this.$t('api_test.automation.last_result'), - value:'lastResult', + label: this.$t('api_test.automation.last_result'), + value: 'lastResult', }, { - label:this.$t('report.id'), - value:'reportId', + label: this.$t('report.id'), + value: 'reportId', }, { - label:this.$t('test_track.case.number'), - value:'num', + label: this.$t('test_track.case.number'), + value: 'num', }, { - label:this.$t('commons.original_state'), - value:'originalState', + label: this.$t('commons.original_state'), + value: 'originalState', }, { - label:this.$t('commons.custom_num'), - value:'customNum', + label: this.$t('commons.custom_num'), + value: 'customNum', }, { - label:this.$t('commons.create_user'), - value:'createUser', + label: this.$t('commons.create_user'), + value: 'createUser', }, { - label:this.$t('commons.version'), - value:'version', + label: this.$t('commons.version'), + value: 'version', }, { - label:this.$t('commons.delete_time'), - value:'deleteTime', + label: this.$t('commons.delete_time'), + value: 'deleteTime', }, { - label:this.$t('commons.delete_user_id'), - value:'deleteUserId', + label: this.$t('commons.delete_user_id'), + value: 'deleteUserId', }, { - label:this.$t('test_track.plan.execute_time'), - value:'executeTimes', + label: this.$t('commons.execution_times'), + value: 'executeTimes', }, { - label:this.$t('api_test.definition.document.order'), - value:'order', + label: this.$t('api_test.definition.document.order'), + value: 'order', }, { label: this.$t('api_test.environment.environment_type'), diff --git a/frontend/src/business/components/settings/workspace/components/api/ApiAutomationNotification.vue b/frontend/src/business/components/settings/workspace/components/api/ApiAutomationNotification.vue index 586e4baa40..dd8d393555 100644 --- a/frontend/src/business/components/settings/workspace/components/api/ApiAutomationNotification.vue +++ b/frontend/src/business/components/settings/workspace/components/api/ApiAutomationNotification.vue @@ -279,7 +279,7 @@ export default { value: 'deleteUserId', }, { - label: this.$t('test_track.plan.execute_time'), + label: this.$t('commons.execution_times'), value: 'executeTimes', }, {