国际化调整
This commit is contained in:
parent
fa4ccafc58
commit
9c5f1f7633
@ -18,5 +18,16 @@ export default {
|
||||
residualPermissionDistributionMap: 'Residual permission distribution map',
|
||||
totalPermissions: 'total permissions',
|
||||
noMapLineDataYetAvailable: 'No map line data yet available',
|
||||
individual: 'individual'
|
||||
individual: 'individual',
|
||||
permissionMap: {
|
||||
'ATS local workstation - Course authority': 0,
|
||||
'ATS line adjustment workstation - Course authority': 0,
|
||||
'ATS local workstation - Examination authority': 0,
|
||||
'ATS line adjustment workstation - Examination authority': 0,
|
||||
'ATS local workstation - Simulation authority': 0,
|
||||
'ATS line adjustment workstation - Simulation authority': 0,
|
||||
'Comprehensive exercise cloud platform - Simulation authority': 0,
|
||||
'Driver simulated driving system - Simulation authority': 0,
|
||||
'Large screen system permissions': 0
|
||||
}
|
||||
};
|
||||
|
@ -64,5 +64,14 @@ export default {
|
||||
obtainCourseInformationFailed: 'Failed to obtain course information',
|
||||
obtainStepDataFailed: 'Failed to obtain step data',
|
||||
submitExamFailed: 'Automatic submission of test results failed',
|
||||
getTestInformationFailed: 'Failed to get test information'
|
||||
getTestInformationFailed: 'Failed to get test information',
|
||||
gifSource: 'gif source',
|
||||
page: 'page',
|
||||
noPermissionToGoToThisPage: 'You don\'t have permission to go to this page',
|
||||
dissatisfied: 'If you are dissatisfied, please contact your leader.',
|
||||
orYouCanGo: 'Or you can go:',
|
||||
backToHome: 'Back to home',
|
||||
justLookingAround: 'Just looking around',
|
||||
pointMeToSeeThePicture: 'Point me to see the picture',
|
||||
casualLook: 'Casual look'
|
||||
};
|
||||
|
@ -18,6 +18,7 @@ import screenMonitor from './screenMonitor';
|
||||
import demonstration from './demonstration';
|
||||
import exam from './exam';
|
||||
import dashboard from './dashboard';
|
||||
import jlmap3d from './jlmap3d';
|
||||
|
||||
export default {
|
||||
...enLocale,
|
||||
@ -39,5 +40,6 @@ export default {
|
||||
screenMonitor,
|
||||
demonstration,
|
||||
exam,
|
||||
dashboard
|
||||
dashboard,
|
||||
jlmap3d
|
||||
};
|
||||
|
12
src/i18n/langs/en/jlmap3d.js
Normal file
12
src/i18n/langs/en/jlmap3d.js
Normal file
@ -0,0 +1,12 @@
|
||||
export default {
|
||||
trainGroupNumber: 'Train group number:',
|
||||
surveillanceHidden: 'In-vehicle surveillance - hidden',
|
||||
surveillanceDisplay: 'In-vehicle surveillance - display',
|
||||
trainInstrumentationDisplay: 'Train instrumentation - display',
|
||||
trainInstrumentationHidden: 'Train instrumentation - hidden',
|
||||
terminal: 'terminal:',
|
||||
nextStation: 'Next station:',
|
||||
confirmSignalOpen: 'Please confirm that the signal ahead is open',
|
||||
faultInformation: 'Fault information:',
|
||||
vWeek: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
||||
};
|
13
src/i18n/langs/en/joinTraining.js
Normal file
13
src/i18n/langs/en/joinTraining.js
Normal file
@ -0,0 +1,13 @@
|
||||
export default {
|
||||
chooseDriver: 'Choose driver',
|
||||
cancelDriver: 'Cancel driver',
|
||||
admin: 'Admin',
|
||||
teacher: 'Teacher',
|
||||
dispatcher: 'Dispatcher',
|
||||
stationAttendant: 'Station attendant',
|
||||
driver: 'Driver',
|
||||
universalAccount: 'Universal account',
|
||||
sending: 'sending...',
|
||||
autoplay: 'Autoplay',
|
||||
holdAndTalk: 'Hold and talk'
|
||||
};
|
@ -19,5 +19,16 @@ export default {
|
||||
residualPermissionDistributionMap: '剩余权限分布图',
|
||||
totalPermissions: '权限总计',
|
||||
noMapLineDataYetAvailable: '暂无地图线路数据',
|
||||
individual: '个'
|
||||
individual: '个',
|
||||
permissionMap: {
|
||||
'ATS现地工作站-课程权限': 0,
|
||||
'ATS行调工作站-课程权限': 0,
|
||||
'ATS现地工作站-考试权限': 0,
|
||||
'ATS行调工作站-考试权限': 0,
|
||||
'ATS现地工作站-仿真权限': 0,
|
||||
'ATS行调工作站-仿真权限': 0,
|
||||
'综合演练云平台-仿真权限': 0,
|
||||
'司机模拟驾驶系统-仿真权限': 0,
|
||||
'大屏系统权限': 0
|
||||
}
|
||||
};
|
||||
|
@ -64,5 +64,14 @@ export default {
|
||||
obtainCourseInformationFailed: '获取课程信息失败',
|
||||
obtainStepDataFailed: '获取步骤数据失败',
|
||||
submitExamFailed: '自动提交考试结果失败',
|
||||
getTestInformationFailed: '获取试题息失败'
|
||||
getTestInformationFailed: '获取试题息失败',
|
||||
gifSource: 'gif来源',
|
||||
page: '页面',
|
||||
noPermissionToGoToThisPage: '你没有权限去该页面',
|
||||
dissatisfied: '如有不满请联系你领导',
|
||||
orYouCanGo: '或者你可以去:',
|
||||
backToHome: '回首页',
|
||||
justLookingAround: '随便看看',
|
||||
pointMeToSeeThePicture: '点我看图',
|
||||
casualLook: '随便看'
|
||||
};
|
||||
|
@ -18,6 +18,7 @@ import screenMonitor from './screenMonitor';
|
||||
import demonstration from './demonstration';
|
||||
import exam from './exam';
|
||||
import dashboard from './dashboard';
|
||||
import jlmap3d from './jlmap3d';
|
||||
|
||||
export default {
|
||||
...cnLocale,
|
||||
@ -39,5 +40,6 @@ export default {
|
||||
screenMonitor,
|
||||
demonstration,
|
||||
exam,
|
||||
dashboard
|
||||
dashboard,
|
||||
jlmap3d
|
||||
};
|
||||
|
12
src/i18n/langs/zh/jlmap3d.js
Normal file
12
src/i18n/langs/zh/jlmap3d.js
Normal file
@ -0,0 +1,12 @@
|
||||
export default {
|
||||
trainGroupNumber: '车组号:',
|
||||
surveillanceHidden: '车内监控——隐藏',
|
||||
surveillanceDisplay: '车内监控——显示',
|
||||
trainInstrumentationDisplay: '列车仪表——显示',
|
||||
trainInstrumentationHidden: '列车仪表——隐藏',
|
||||
terminal: '终点站:',
|
||||
nextStation: '下一站:',
|
||||
confirmSignalOpen: '请确认前方信号开放',
|
||||
faultInformation: '故障信息:',
|
||||
vWeek: ['星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
|
||||
};
|
13
src/i18n/langs/zh/joinTraining.js
Normal file
13
src/i18n/langs/zh/joinTraining.js
Normal file
@ -0,0 +1,13 @@
|
||||
export default {
|
||||
chooseDriver: '设置司机',
|
||||
cancelDriver: '取消司机',
|
||||
admin: '管理员',
|
||||
teacher: '教员',
|
||||
dispatcher: '调度员',
|
||||
stationAttendant: '车站值班员',
|
||||
driver: '列车',
|
||||
universalAccount: '通号',
|
||||
sending: '发送中...',
|
||||
autoplay: '自动播放',
|
||||
holdAndTalk: '按住说话'
|
||||
};
|
@ -1,34 +1,34 @@
|
||||
<template>
|
||||
<div class="errPage-container">
|
||||
<el-button icon="arrow-left" class="pan-back-btn" @click="back">
|
||||
返回
|
||||
{{$t('global.back')}}
|
||||
</el-button>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<h1 class="text-jumbo text-ginormous">
|
||||
Oops!
|
||||
</h1>
|
||||
gif来源<a href="https://zh.airbnb.com/" target="_blank">airbnb</a> 页面
|
||||
<h2>你没有权限去该页面</h2>
|
||||
<h6>如有不满请联系你领导</h6>
|
||||
{{$t('error.gifSource')}}<a href="https://zh.airbnb.com/" target="_blank">airbnb</a> {{$t('error.page')}}
|
||||
<h2>{{$t('error.noPermissionToGoToThisPage')}}</h2>
|
||||
<h6>{{$t('error.dissatisfied')}}</h6>
|
||||
<ul class="list-unstyled">
|
||||
<li>或者你可以去:</li>
|
||||
<li>{{$t('error.orYouCanGo')}}</li>
|
||||
<li class="link-type">
|
||||
<router-link to="/dashboard">
|
||||
回首页
|
||||
{{$t('error.backToHome')}}
|
||||
</router-link>
|
||||
</li>
|
||||
<li class="link-type">
|
||||
<a href="https://www.taobao.com/">随便看看</a>
|
||||
<a href="https://www.taobao.com/">{{$t('error.justLookingAround')}}</a>
|
||||
</li>
|
||||
<li><a href="#" @click.prevent="dialogVisible=true">点我看图</a></li>
|
||||
<li><a href="#" @click.prevent="dialogVisible=true">{{$t('error.pointMeToSeeThePicture')}}</a></li>
|
||||
</ul>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<img :src="errGif" width="313" height="428" alt="Girl has dropped her ice cream.">
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-dialog :visible.sync="dialogVisible" title="随便看">
|
||||
<el-dialog :visible.sync="dialogVisible" :title="this.$t('error.casualLook')">
|
||||
<img :src="ewizardClap" class="pan-img">
|
||||
</el-dialog>
|
||||
</div>
|
||||
|
@ -3,14 +3,14 @@
|
||||
<div class="jalmap3ddiv">
|
||||
|
||||
<div class="trainstatus">
|
||||
车组号:{{ trainnum }} {{ stoptimes }}
|
||||
{{$t('jlmap3d.trainGroupNumber')}}{{ trainnum }} {{ stoptimes }}
|
||||
</div>
|
||||
<div class="display-draft">
|
||||
<el-button-group>
|
||||
<!-- <el-button type="primary" @click="raystand">站台选择</el-button> -->
|
||||
<el-button type="primary" @click="cctvplane">{{ cctvbuttonmsg }}</el-button>
|
||||
<el-button type="primary" @click="showplane">{{ showbuttonmsg }}</el-button>
|
||||
<el-button type="primary" @click="back">返回</el-button>
|
||||
<el-button type="primary" @click="back">{{$t('global.back')}}</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
|
||||
@ -72,9 +72,9 @@ export default {
|
||||
jlmap3d: null,
|
||||
selectmodel: null,
|
||||
cctvshow:true,
|
||||
cctvbuttonmsg: '车内监控——隐藏',
|
||||
cctvbuttonmsg: this.$t('jlmap3d.surveillanceHidden'),
|
||||
mmishow: false,
|
||||
showbuttonmsg: '列车仪表——显示',
|
||||
showbuttonmsg: this.$t('jlmap3d.trainInstrumentationDisplay'),
|
||||
trainnum: '',
|
||||
stoptimes: ''
|
||||
};
|
||||
@ -210,21 +210,21 @@ export default {
|
||||
},
|
||||
showplane() {
|
||||
if (this.mmishow == true) {
|
||||
this.showbuttonmsg = '列车仪表——隐藏';
|
||||
this.showbuttonmsg = this.$t('jlmap3d.trainInstrumentationHidden');
|
||||
this.mmishow = false;
|
||||
} else {
|
||||
this.showbuttonmsg = '列车仪表——显示';
|
||||
this.showbuttonmsg = this.$t('jlmap3d.trainInstrumentationDisplay');
|
||||
this.mmishow = true;
|
||||
}
|
||||
|
||||
},
|
||||
cctvplane() {
|
||||
if (this.cctvshow == true) {
|
||||
this.cctvbuttonmsg = '车内监控——隐藏';
|
||||
this.cctvbuttonmsg = this.$t('jlmap3d.surveillanceHidden');
|
||||
this.cctvshow = false;
|
||||
this.jlmap3d.cctvoff();
|
||||
} else {
|
||||
this.cctvbuttonmsg = '车内监控——显示';
|
||||
this.cctvbuttonmsg = this.$t('jlmap3d.surveillanceDisplay');
|
||||
this.cctvshow = true;
|
||||
this.jlmap3d.cctvon();
|
||||
}
|
||||
|
@ -10,11 +10,11 @@
|
||||
</div>
|
||||
|
||||
<div class="toptext" style="left:16%;top:15px;">
|
||||
终点站:
|
||||
{{$t('jlmap3d.terminal')}}
|
||||
</div>
|
||||
|
||||
<div class="toptext" style="left:46%;top:15px;">
|
||||
下一站:
|
||||
{{$t('jlmap3d.nextStation')}}
|
||||
</div>
|
||||
|
||||
<div class="toptext" style="left:76%;top:15px;">
|
||||
@ -58,7 +58,7 @@
|
||||
</div>
|
||||
|
||||
<div class = "righttext" style="left:0px;bottom:0;">
|
||||
请确认前方信号开放
|
||||
{{$t('jlmap3d.confirmSignalOpen')}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -75,7 +75,7 @@
|
||||
</div>
|
||||
|
||||
<div class="errortext">
|
||||
故障信息:
|
||||
{{$t('jlmap3d.faultInformation')}}
|
||||
</div>
|
||||
|
||||
<div id="time" class="timetext">
|
||||
@ -186,7 +186,7 @@ export default {
|
||||
},
|
||||
time(){
|
||||
let vWeek,vWeek_s,vDay;
|
||||
vWeek = ["星期天","星期一","星期二","星期三","星期四","星期五","星期六"];
|
||||
vWeek = this.$t('jlmap3d.vWeek');
|
||||
let date = new Date();
|
||||
let year = date.getFullYear();
|
||||
let month = date.getMonth() + 1;
|
||||
|
@ -66,42 +66,42 @@ export default {
|
||||
treeData: [ // 角色列表 顺序定死
|
||||
{
|
||||
children: [],
|
||||
name: '管理员',
|
||||
name: this.$t('joinTraining.admin'),
|
||||
nodeId: 'admin01',
|
||||
type: 'select',
|
||||
show: false
|
||||
},
|
||||
{
|
||||
children: [],
|
||||
name: '教员',
|
||||
name: this.$t('joinTraining.teacher'),
|
||||
nodeId: 'admin02',
|
||||
type: 'select',
|
||||
show: false
|
||||
},
|
||||
{
|
||||
children: [],
|
||||
name: '调度员',
|
||||
name: this.$t('joinTraining.dispatcher'),
|
||||
nodeId: 'admin03',
|
||||
type: 'select',
|
||||
show: false
|
||||
},
|
||||
{
|
||||
children: [],
|
||||
name: '车站值班员',
|
||||
name: this.$t('joinTraining.stationAttendant'),
|
||||
nodeId: 'admin04',
|
||||
type: 'select',
|
||||
show: false
|
||||
},
|
||||
{
|
||||
children: [],
|
||||
name: '列车',
|
||||
name: this.$t('joinTraining.driver'),
|
||||
nodeId: 'admin05',
|
||||
type: 'select',
|
||||
show: false
|
||||
},
|
||||
{
|
||||
children: [],
|
||||
name: '通号',
|
||||
name: this.$t('joinTraining.universalAccount'),
|
||||
nodeId: 'admin06',
|
||||
type: 'select',
|
||||
show: false
|
||||
|
@ -43,10 +43,10 @@
|
||||
@mousedown="startRecording()"
|
||||
@mouseup="stopRecording()"
|
||||
>{{ speak }}</div>
|
||||
<div v-show="sending" class="sendBtn zIndex2" :style="{background: background}">发送中...</div>
|
||||
<div v-show="sending" class="sendBtn zIndex2" :style="{background: background}">{{$t('joinTraining.sending')}}</div>
|
||||
</div>
|
||||
<div v-if="isShowAuto" class="switch-box">
|
||||
<span style="font-size: 12px;">自动播放</span>
|
||||
<span style="font-size: 12px;">{{$t('joinTraining.autoplay')}}</span>
|
||||
<el-switch v-model="isAutoPlay" active-color="#13ce66" inactive-color="#d6d6d6" />
|
||||
</div>
|
||||
</div>
|
||||
|
@ -16,10 +16,10 @@
|
||||
<el-radio v-model="selected" :label="item"><span>{{ item.name }}</span></el-radio>
|
||||
</li>
|
||||
</ul>
|
||||
<span v-else class="tipLable"> 暂无数据 </span>
|
||||
<span v-else class="tipLable"> {{$t('global.temporarilyNoData')}} </span>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="doClose">取 消</el-button>
|
||||
<el-button type="primary" :loading="loading" @click="commit">确 定</el-button>
|
||||
<el-button @click="doClose">{{$t('global.cancel')}}</el-button>
|
||||
<el-button type="primary" :loading="loading" @click="commit">{{$t('global.confirm')}}</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
@ -44,11 +44,11 @@ export default {
|
||||
menuShow: false,
|
||||
menu: [
|
||||
{
|
||||
label: '设置司机',
|
||||
label: this.$t('joinTraining.chooseDriver'),
|
||||
handler: this.chooseDriver
|
||||
},
|
||||
{
|
||||
label: '取消司机',
|
||||
label: this.$t('joinTraining.cancelDriver'),
|
||||
handler: this.cancelDriver
|
||||
}
|
||||
]
|
||||
@ -98,7 +98,7 @@ export default {
|
||||
return ret;
|
||||
});
|
||||
|
||||
this.$refs.chooseRole.doShow({ title: '设置列车', list: list });
|
||||
this.$refs.chooseRole.doShow({ title: this.$t('joinTraining.chooseDriver'), list: list });
|
||||
},
|
||||
async setDriver(obj) {
|
||||
if (obj && this.selected) {
|
||||
|
Loading…
Reference in New Issue
Block a user