From 5c184755e2009aa1344047940e8aa73f4e433c7d Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 11 Sep 2019 11:30:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=AD=A6=E4=BB=BF=E7=9C=9F=20?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/en/teach.js | 2 +- src/views/display/menuLesson.vue | 4 ++-- src/views/display/tipTrainingDetail.vue | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/i18n/langs/en/teach.js b/src/i18n/langs/en/teach.js index 79e55c94a..5c491a14e 100644 --- a/src/i18n/langs/en/teach.js +++ b/src/i18n/langs/en/teach.js @@ -5,7 +5,7 @@ export default { trainingTime: 'Best time to complete the training:', trainingMaximum: 'Maximum time to complete the training:', trainingInstructions: 'Training instructions:', - startTraining: 'Began to practice', + startTraining: 'Start training', courseName: 'Course name', courseDescription: 'Course description', diff --git a/src/views/display/menuLesson.vue b/src/views/display/menuLesson.vue index 3f47c2555..66307af64 100644 --- a/src/views/display/menuLesson.vue +++ b/src/views/display/menuLesson.vue @@ -156,7 +156,7 @@ export default { this.endCommit(); } else { this.backDisable = true; - this.$confirm(this.$t('display.lesson.endTraingTip'), this.$t('display.prompt'), { + this.$confirm(this.$t('display.lesson.endTrainingTip'), this.$t('display.prompt'), { cancelButtonText: this.$t('display.cancelButtonText'), confirmButtonText: this.$t('display.confirmButtonText'), type: 'warning', @@ -174,7 +174,7 @@ export default { } }); } else { - this.$messageBox(this.$t('display.lesson.startTraingTip')); + this.$messageBox(this.$t('display.lesson.startTrainingTip')); } } }, diff --git a/src/views/display/tipTrainingDetail.vue b/src/views/display/tipTrainingDetail.vue index 46f6ae9bb..f175a7843 100644 --- a/src/views/display/tipTrainingDetail.vue +++ b/src/views/display/tipTrainingDetail.vue @@ -12,19 +12,19 @@

- 实训名称: + {{$t('display.training.trainingName')}} {{ courseModel.name }}

- 最佳用时: - {{ courseModel.minDuration }}秒 + {{$t('display.training.bestTime')}} + {{ courseModel.minDuration }} {{$t('display.seconds')}}

- 最大用时: - {{ courseModel.maxDuration }}秒 + {{$t('display.training.maximumTime')}} + {{ courseModel.maxDuration }} {{$t('display.seconds')}}

- 实训说明: + {{$t('display.training.trainingInstructions')}} {{ courseModel.remarks }}

@@ -115,7 +115,7 @@ export default { getPublishLessonDetail({ id: obj.lessonId }).then(response => { this.lessonName = response.data.name; }).catch(error => { - this.$message.error('获取课程信息失败:' + error.message); + this.$message.error(this.$t('display.training.getCourseInformationFail')+':' + error.message); }); }