教学仿真 国际化调整
This commit is contained in:
parent
d31f4e8493
commit
5c184755e2
@ -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',
|
||||
|
@ -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'));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -12,19 +12,19 @@
|
||||
<div class="tip-body">
|
||||
<el-scrollbar wrap-class="scrollbar-wrapper">
|
||||
<p class="list-item">
|
||||
<span class="list-label">实训名称:</span>
|
||||
<span class="list-label">{{$t('display.training.trainingName')}}</span>
|
||||
<span class="list-elem">{{ courseModel.name }}</span>
|
||||
</p>
|
||||
<p class="list-item">
|
||||
<span class="list-label">最佳用时:</span>
|
||||
<span class="list-elem">{{ courseModel.minDuration }}秒 </span>
|
||||
<span class="list-label">{{$t('display.training.bestTime')}}</span>
|
||||
<span class="list-elem">{{ courseModel.minDuration }} {{$t('display.seconds')}} </span>
|
||||
</p>
|
||||
<p class="list-item">
|
||||
<span class="list-label">最大用时:</span>
|
||||
<span class="list-elem">{{ courseModel.maxDuration }}秒 </span>
|
||||
<span class="list-label">{{$t('display.training.maximumTime')}}</span>
|
||||
<span class="list-elem">{{ courseModel.maxDuration }} {{$t('display.seconds')}} </span>
|
||||
</p>
|
||||
<p class="list-item">
|
||||
<span class="list-label"> 实训说明:</span>
|
||||
<span class="list-label"> {{$t('display.training.trainingInstructions')}}</span>
|
||||
<span class="list-elem">{{ courseModel.remarks }}</span>
|
||||
</p>
|
||||
</el-scrollbar>
|
||||
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user