desc: 调整国际化

This commit is contained in:
zyy 2019-09-26 18:13:31 +08:00
parent 91a93da574
commit 31a024b9ea
3 changed files with 6 additions and 2 deletions

View File

@ -155,5 +155,6 @@ export default {
details: 'Details', details: 'Details',
enterNameToFilter: 'Enter a name to filter', enterNameToFilter: 'Enter a name to filter',
colon: ':', colon: ':',
processFailure: 'Process failure' processFailure: 'Process failure',
enterLastStep: '请输入提示并点击下一步'
}; };

View File

@ -155,6 +155,7 @@ export default {
details: '详情', details: '详情',
enterNameToFilter: '输入名称进行过滤', enterNameToFilter: '输入名称进行过滤',
colon: '', colon: '',
processFailure: '处理失败' processFailure: '处理失败',
enterLastStep: '请输入提示并点击下一步'
}; };

View File

@ -2,6 +2,7 @@ import Vue from 'vue';
import { TrainingMode } from '@/scripts/ConstDic'; import { TrainingMode } from '@/scripts/ConstDic';
import OperateHandler from '@/scripts/plugin/trainingOperateHandler'; import OperateHandler from '@/scripts/plugin/trainingOperateHandler';
import deviceType from '../../jmap/constant/deviceType'; import deviceType from '../../jmap/constant/deviceType';
// import LangStorage from '@/utils/lang';
/** /**
* 实训状态数据 * 实训状态数据
@ -348,6 +349,7 @@ const training = {
OperateHandler.handle(operate).then(rtn => { OperateHandler.handle(operate).then(rtn => {
if (state.started) { if (state.started) {
// 教学和联系模式需要给出过程步骤提示 // 教学和联系模式需要给出过程步骤提示
// console.log(Vue.prototype.$i18n);
if (TrainingMode.TEACH === state.mode || TrainingMode.PRACTICE === state.mode) { if (TrainingMode.TEACH === state.mode || TrainingMode.PRACTICE === state.mode) {
if (rtn && rtn.valid) { if (rtn && rtn.valid) {
commit('next'); commit('next');