diff --git a/src/i18n/langs/en/dashboard.js b/src/i18n/langs/en/dashboard.js index 73a8490ab..157598564 100644 --- a/src/i18n/langs/en/dashboard.js +++ b/src/i18n/langs/en/dashboard.js @@ -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 + } }; diff --git a/src/i18n/langs/en/display.js b/src/i18n/langs/en/display.js new file mode 100644 index 000000000..0540272b9 --- /dev/null +++ b/src/i18n/langs/en/display.js @@ -0,0 +1,79 @@ +export default { + startBtn: 'Start', + endBtn: 'End', + backBtn: 'Back', + seconds: 'seconds', + lesson: { + teachingMode: 'Teaching Mode', + practiceMode: 'Practice Mode', + testMode: 'Test Mode', + score: 'Score: ', + selectTraining: 'Please select training', + endTrainingError: 'Ending training error', + endTrainingTip: 'The operation is not completed, confirm the end?', + startTrainingTip: 'Please start training', + createSimulationError: 'create simulation error' + }, + exam: { + startTestOperateTip: 'Please click to start the exam', + selectTest: 'Please select a question', + endTrainingError: 'Ending training error', + startTestTip: 'Please start the exam first', + endTestTip: 'Do you give up this exam? ', + refreshListError: 'Refresh List Error', + examTime: 'Exam timing: ', + questionTitle: 'Question title: ', + bestTime: 'Best time: ', + maximumTime: 'Maximum time: ', + trainingInstructions: 'Training instructions: ', + viewQuestions: 'View questions', + prev: 'prev', + next: 'next', + submitExaminationPaper: 'Submit Exam', + autoSubmit: 'Automatic submission at the end of the exam', + getTestInformation: 'Failed to get test information', + cancleExam: 'The exam is not completed,confirm to exit?' + }, + training: { + trainingName: 'Training name: ', + bestTime: 'Best time: ', + maximumTime: 'Maximum time: ', + trainingInstructions: 'Training instructions: ', + getCourseInformationFail: 'Failed to get course information' + }, + demon: { + trialTime: 'Trial time: ', + dispatchingPlan: 'Dispatching Plan', + exitScript: 'Exit Script', + drivingByPlan: 'Driving By Plan', + exitPlan: 'Exit Plan', + back: 'Back', + threeDimensionalView: 'Three-Dimensional View', + taskOperateSuccess: 'Task Operate success', + getTimeFail: 'Failed to get time', + startSimulationFail: 'Start simulation failed, please go back and try again', + endSimulationFail: 'End simulation failed, please go back', + exitTaskFail: 'Failed to Exit task', + driverPerspective: 'Driver Perspective' + }, + systemTime: { + timePause: 'Pausing' + }, + screen: { + trialTime: 'Trial time: ', + getTimeFail: 'Failed to get time' + }, + replay: { + pleaseSelect: 'Please select', + back: 'Back', + pause: 'Pause', + play: 'Play' + }, + plan: { + drivingByPlan: 'Driving By Plan', + exitPlan: 'Exit Plan', + back: 'Back', + startPlanFail: 'Start planning failed, please go back and try again', + endPlanFail: 'End plan failed, please go back' + } +}; diff --git a/src/i18n/langs/en/error.js b/src/i18n/langs/en/error.js index a06df9194..7a03b808c 100644 --- a/src/i18n/langs/en/error.js +++ b/src/i18n/langs/en/error.js @@ -64,5 +64,24 @@ 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', + problemWithAudioQuality: 'There is a problem with audio quality', + audioIsTooLong: 'The audio is too long, it is recommended to be below 60s', + audioIsTooShort: 'The audio is too short, it is recommended to re-record', + networkProblem: 'Network problem, please try again', + initializationFailed: 'Initialization failed:', + getMapDataFailed: 'Failed to get map data', + ibpNoDraw: 'Unbound station or the station IBP disk is not drawn yet', + startSimulationFailed: 'Start simulation failed, please go back and try again', + endSimulationFailed: 'End simulation failed, please return', + runGraphIsNotLoaded: 'Today\'s run graph is not loaded', }; diff --git a/src/i18n/langs/en/exam.js b/src/i18n/langs/en/exam.js index 633cb2171..3c42742b3 100644 --- a/src/i18n/langs/en/exam.js +++ b/src/i18n/langs/en/exam.js @@ -35,5 +35,6 @@ export default { maximumTimeToCompleteThisQuestion: 'Maximum time to complete this question', theBestTimeToCompleteTheQuestion: 'The best time to complete the question', trainingNotes: 'Training notes', - giveUpTheExam: 'Give up the exam' + giveUpTheExam: 'Give up the exam', + nameOfTestPaper: 'Test name' }; diff --git a/src/i18n/langs/en/global.js b/src/i18n/langs/en/global.js index ab2672c50..fdbb3113b 100644 --- a/src/i18n/langs/en/global.js +++ b/src/i18n/langs/en/global.js @@ -83,7 +83,40 @@ export default { trainingNotStart: "{name}'s room hasn't started yet", inputRoomNumber: 'Please enter the room number.', chooseRoom: 'Choose Room', - month: 'month', + + month: ' month', + indexA: ' piece', + purchasePrice: 'Total Price: ', + permissionNum: 'Permission Num: ', + submitOrders: 'Submit orders', + completePayment: 'Complete payment', + weChatPay: 'WeChat Pay', + alipayPayment: 'AliPay', + clickRefresh: 'Please click to refresh', + checkstand: 'Checkstand', + permissionType: 'Permission Type: ', + productName: 'Product Name', + simulationPrice: 'Simulation Unit Price', + yuanMonth: 'yuan/month', + permissions: ' permissions', + purchaseDuration: 'Purchase Duration: ', + custom: 'custom', + january: 'One month', + march: 'Three months', + year: 'One year', + twoYears: 'Two years', + fiveYears: 'Five years', + tenYears: 'Ten years', + orderCode: 'Order Code: ', + creationTime: 'Create Time: ', + amountPayable: 'Amounts Payable: ', + + buyProject: 'The products you will purchase are virtual content services. After purchase, you will not be able to return, transfer or exchange. Please confirm.', + relatedServices: 'You can view and use the related services in the “Permissions Details” area after purchase.', + paymentSuccessful: 'Payment successful,click to return', + cancelSuccessfully: 'Cancel success,click to return', + paymentFailed: 'Payment failed,click to return', + putaway: 'Putaway', soldOut: 'Sold out', exportMap: 'Export Map', @@ -109,5 +142,7 @@ export default { release: 'Release', temporarilyNoData: 'Temporarily no data', second: 'Second', - amount: 'Amount' + amount: 'Amount', + yes: 'yes', + no: 'no' }; diff --git a/src/i18n/langs/en/index.js b/src/i18n/langs/en/index.js index 9f9e12f2a..3838c0bfb 100644 --- a/src/i18n/langs/en/index.js +++ b/src/i18n/langs/en/index.js @@ -18,6 +18,8 @@ import screenMonitor from './screenMonitor'; import demonstration from './demonstration'; import exam from './exam'; import dashboard from './dashboard'; +import jlmap3d from './jlmap3d'; +import display from './display'; export default { ...enLocale, @@ -39,5 +41,7 @@ export default { screenMonitor, demonstration, exam, - dashboard + dashboard, + jlmap3d, + display }; diff --git a/src/i18n/langs/en/jlmap3d.js b/src/i18n/langs/en/jlmap3d.js new file mode 100644 index 000000000..8e21b14b8 --- /dev/null +++ b/src/i18n/langs/en/jlmap3d.js @@ -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'], +}; diff --git a/src/i18n/langs/en/joinTraining.js b/src/i18n/langs/en/joinTraining.js new file mode 100644 index 000000000..bfce516b0 --- /dev/null +++ b/src/i18n/langs/en/joinTraining.js @@ -0,0 +1,25 @@ +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', + recording: 'recording...', + iBPDisk: 'IBP disk', + driverPerspective: 'Driver perspective', + drivingByPlan: 'Driving by plan', + exitPlan: 'Exit plan', + runGraphPreview: 'Run graph preview', + runGraphLoading: 'Run graph loading', + faultSetting: 'Fault setting', + normalOperation: 'Normal operation', + faultOperation: 'Fault operation', + local: 'Local', + lineAdjustment: 'Driving schedule' +}; diff --git a/src/i18n/langs/en/lesson.js b/src/i18n/langs/en/lesson.js index 9a264ae4f..816b6408e 100644 --- a/src/i18n/langs/en/lesson.js +++ b/src/i18n/langs/en/lesson.js @@ -87,5 +87,14 @@ export default { deleteTraining: 'Delete training', automaticGenerationOfTraining: 'Automatic generation of training', modifyTrainingByCategory: 'Modify training by category', - deleteAutoGeneratedTraining: 'Delete auto-generated training' + deleteAutoGeneratedTraining: 'Delete auto-generated training', + menu: 'Menu', + turnout: 'Turnout', + section: 'Section', + signaler: 'Signaler', + controlMode: 'Control mode', + platform: 'Platform', + train: 'Train', + station: 'Station', + trainWindow: 'Train window' }; diff --git a/src/i18n/langs/en/orderAuthor.js b/src/i18n/langs/en/orderAuthor.js index 9fd49e646..90705c0f0 100644 --- a/src/i18n/langs/en/orderAuthor.js +++ b/src/i18n/langs/en/orderAuthor.js @@ -86,5 +86,7 @@ export default { orderCreation: 'Order creation', chooseGoods: 'Choose goods', permissionName: 'Permission Name', - receivingPermission: 'Receiving permission' + receivingPermission: 'Receiving permission', + isPackage: 'Whether package permissions', + modifyPermissionContent: 'Modify permission content' }; diff --git a/src/i18n/langs/en/rules.js b/src/i18n/langs/en/rules.js index 488bf3094..20bbed67a 100644 --- a/src/i18n/langs/en/rules.js +++ b/src/i18n/langs/en/rules.js @@ -246,6 +246,9 @@ export default { pleaseSelectButtonContent: 'Please enter the content', endTimeRules: 'The end time must be greater than the start time.', selectCourses: 'Please select courses', - selectTheMapRoute: 'Please select the map route.' - + selectTheMapRoute: 'Please select the map route.', + enterKeyword: 'Please enter a keyword', + successfullyModified: 'Successfully modified', + modifyTheFailure: 'Modify the failure', + selectTheCourseNameFirst: 'Please select the course name first' }; diff --git a/src/i18n/langs/en/scriptRecord.js b/src/i18n/langs/en/scriptRecord.js index d5401bde5..3fdc4ac8f 100644 --- a/src/i18n/langs/en/scriptRecord.js +++ b/src/i18n/langs/en/scriptRecord.js @@ -22,9 +22,6 @@ export default { modifyScriptSuccess: 'Modify script success', modifyScriptFail: 'Modify script failure', deleteScriptTip: 'This action will delete this script, whether to continue?', - operateTip: 'Prompt', - confirmButtonText: 'Submit', - cancelButtonText: 'Cancle', deleteScriptSucess: 'delete script sucess', deleteScriptFail: 'delete script failure', scriptRecordTitle: 'Script Record', @@ -82,21 +79,4 @@ export default { modifyConversitionButton: 'modify', drivingByPlan: 'Driving By Plan', scriptBack: 'Back' - - // roleManage: 'Role Manage', - // targetCondition: 'Task Target', - // taskScript: 'Task Script', - // roleName: 'Role Name', - // roleType: 'Role Type', - // deviceCode: 'Device Code', - // roleList: 'Role List', - // operation: 'Operation', - // roleAdd: 'Add', - // delete: 'Delete', - // behaviorOperate: 'Behavior Operate', - // conditionTitle: 'Target condition', - // deviceType: 'Device Type', - // deviceCondition: 'Device Condition', - // paramDeviceType: 'Param DeviceType', - // paramDeviceCode: 'Param DeviceCode' }; diff --git a/src/i18n/langs/en/system.js b/src/i18n/langs/en/system.js index 623edb89b..abfd6bc78 100644 --- a/src/i18n/langs/en/system.js +++ b/src/i18n/langs/en/system.js @@ -46,6 +46,7 @@ export default { selectTraining: 'Selection Training', createUserTraining: 'Creating User Training', editTrainingDetail: 'Editor Training Details', - trainingTime: 'Training duration' - + trainingTime: 'Training duration', + subscribeToTheMapList: 'Subscribe to the map list:', + editSimulationDetails: 'Edit simulation details' }; 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/i18n/langs/en/tip.js b/src/i18n/langs/en/tip.js index fee99aefa..dd4c44f57 100644 --- a/src/i18n/langs/en/tip.js +++ b/src/i18n/langs/en/tip.js @@ -129,5 +129,11 @@ export default { noCourseAuthority: 'No examination permission for this course, please go to purchase!', notWithinTheScopeOfTheExamination: 'Not within the scope of the examination', giveUpTheExamTip: 'This operation will give up the examination. Will it continue?', - theNumberOfPermissionsAvailableIsZero: 'The number of permissions available is 0' + theNumberOfPermissionsAvailableIsZero: 'The number of permissions available is 0', + userRightsHaveBeenReclaimed: 'User rights have been reclaimed', + beKickedOut: 'You are kicked out of the room by the administrator', + deleteListHint: 'This will delete the list, will it continue?', + setUpASubscriptionMapSuccessfully: 'Setting up a subscription map successfully!', + setUpASubscriptionMapFailed: 'Setting up a subscription map failed!', + getMapStateDataException: 'Get map state data exception, please refresh the page to reload. If you encounter such problems many times, please contact the development team in an emergency!' }; diff --git a/src/i18n/langs/zh/dashboard.js b/src/i18n/langs/zh/dashboard.js index 97fcffa59..467910ad8 100644 --- a/src/i18n/langs/zh/dashboard.js +++ b/src/i18n/langs/zh/dashboard.js @@ -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 + } }; diff --git a/src/i18n/langs/zh/display.js b/src/i18n/langs/zh/display.js new file mode 100644 index 000000000..1263a276e --- /dev/null +++ b/src/i18n/langs/zh/display.js @@ -0,0 +1,81 @@ +export default { + startBtn: '开始', + endBtn: '结束', + backBtn: '返回', + seconds: '秒', + lesson: { + teachingMode: '教学模式', + practiceMode: '练习模式', + testMode: '测验模式', + score: '得分:', + selectTraining: '请选择实训', + endTrainingError: '结束实训错误', + endTrainingTip: '操作未完成,是否确认结束?', + startTrainingTip: '请先开始实训', + createSimulationError: '创建仿真失败' + }, + exam: { + startTestOperateTip: '请点击开始考试操作', + selectTest: '请选择试题', + endTrainingError: '结束实训错误', + startTestTip: '请先开始考试', + endTestTip: '是否放弃本次考试?', + refreshListError: '刷新列表失败', + examTime: '考试计时:', + questionTitle: '本题名称:', + bestTime: '最佳用时:', + maximumTime: '最大用时:', + trainingInstructions: '实训说明:', + viewQuestions: '查看试题', + prev: '上一题', + next: '下一题', + submitExaminationPaper: '提交试卷', + autoSubmit: '考试结束自动提交', + getTestInformation: '获取试题信息失败', + cancleExam: '考试未完成,是否确认退出?' + }, + training: { + trainingName: '实训名称:', + bestTime: '最佳用时:', + maximumTime: '最大用时:', + trainingInstructions: '实训说明:', + getCourseInformationFail: '获取课程信息失败' + }, + demon: { + trialTime: '试用时间:', + dispatchingPlan: '派班计划', + exitScript: '退出剧本', + drivingByPlan: '按计划行车', + exitPlan: '退出计划', + back: '返回', + threeDimensionalView: '三维视图', + taskOperateSuccess: '任务操作成功', + getTimeFail: '获取时间失败', + startSimulationFail: '开始仿真失败,请返回重试', + endSimulationFail: '结束仿真失败,请返回', + exitTaskFail: '退出任务失败', + driverPerspective: '司机视角' + }, + systemTime: { + timePause: '暂停中' + }, + screen: { + trialTime: '试用时间:', + getTimeFail: '获取时间失败' + }, + replay: { + pleaseSelect: '请选择', + back: '返回', + pause: '暂停', + play: '播放' + }, + plan: { + drivingByPlan: '按计划行车', + exitPlan: '退出计划', + back: '返回', + startPlanFail: '开始计划失败,请返回重试', + endPlanFail: '结束计划失败,请返回' + } + +}; + diff --git a/src/i18n/langs/zh/error.js b/src/i18n/langs/zh/error.js index f0f7866af..5906394d2 100644 --- a/src/i18n/langs/zh/error.js +++ b/src/i18n/langs/zh/error.js @@ -64,5 +64,24 @@ export default { obtainCourseInformationFailed: '获取课程信息失败', obtainStepDataFailed: '获取步骤数据失败', submitExamFailed: '自动提交考试结果失败', - getTestInformationFailed: '获取试题息失败' + getTestInformationFailed: '获取试题息失败', + gifSource: 'gif来源', + page: '页面', + noPermissionToGoToThisPage: '你没有权限去该页面', + dissatisfied: '如有不满请联系你领导', + orYouCanGo: '或者你可以去:', + backToHome: '回首页', + justLookingAround: '随便看看', + pointMeToSeeThePicture: '点我看图', + casualLook: '随便看', + problemWithAudioQuality: '音频质量有问题', + audioIsTooLong: '音频过长,建议60s以下', + audioIsTooShort: '音频太短,建议重录', + networkProblem: '网络问题,请重试', + initializationFailed: '初始化失败:', + getMapDataFailed: '获取地图数据失败', + ibpNoDraw: '未绑定车站或该车站IBP盘暂未绘制', + startSimulationFailed: '开始仿真失败,请返回重试', + endSimulationFailed: '结束仿真失败,请返回', + runGraphIsNotLoaded: '今日运行图未加载', }; diff --git a/src/i18n/langs/zh/global.js b/src/i18n/langs/zh/global.js index c63432a85..654725aa3 100644 --- a/src/i18n/langs/zh/global.js +++ b/src/i18n/langs/zh/global.js @@ -148,5 +148,7 @@ export default { release: '发布', temporarilyNoData: '暂无数据', second: '秒', - amount: '总数量' + amount: '总数量', + yes: '是', + no: '否' }; diff --git a/src/i18n/langs/zh/index.js b/src/i18n/langs/zh/index.js index 51997d53a..7254ec156 100644 --- a/src/i18n/langs/zh/index.js +++ b/src/i18n/langs/zh/index.js @@ -18,6 +18,8 @@ import screenMonitor from './screenMonitor'; import demonstration from './demonstration'; import exam from './exam'; import dashboard from './dashboard'; +import jlmap3d from './jlmap3d'; +import display from './display'; export default { ...cnLocale, @@ -39,5 +41,7 @@ export default { screenMonitor, demonstration, exam, - dashboard + dashboard, + jlmap3d, + display }; diff --git a/src/i18n/langs/zh/jlmap3d.js b/src/i18n/langs/zh/jlmap3d.js new file mode 100644 index 000000000..e08886e42 --- /dev/null +++ b/src/i18n/langs/zh/jlmap3d.js @@ -0,0 +1,12 @@ +export default { + trainGroupNumber: '车组号:', + surveillanceHidden: '车内监控——隐藏', + surveillanceDisplay: '车内监控——显示', + trainInstrumentationDisplay: '列车仪表——显示', + trainInstrumentationHidden: '列车仪表——隐藏', + terminal: '终点站:', + nextStation: '下一站:', + confirmSignalOpen: '请确认前方信号开放', + faultInformation: '故障信息:', + vWeek: ['星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], +}; diff --git a/src/i18n/langs/zh/joinTraining.js b/src/i18n/langs/zh/joinTraining.js new file mode 100644 index 000000000..e822a9744 --- /dev/null +++ b/src/i18n/langs/zh/joinTraining.js @@ -0,0 +1,25 @@ +export default { + chooseDriver: '设置司机', + cancelDriver: '取消司机', + admin: '管理员', + teacher: '教员', + dispatcher: '调度员', + stationAttendant: '车站值班员', + driver: '列车', + universalAccount: '通号', + sending: '发送中...', + autoplay: '自动播放', + holdAndTalk: '按住说话', + recording: '录音中...', + iBPDisk: 'IBP盘', + driverPerspective: '司机视角', + drivingByPlan: '按计划行车', + exitPlan: '退出计划', + runGraphPreview: '运行图预览', + runGraphLoading: '运行图加载', + faultSetting: '故障设置', + normalOperation: '正常操作', + faultOperation: '故障操作', + local: '现地', + lineAdjustment: '行调' +}; diff --git a/src/i18n/langs/zh/lesson.js b/src/i18n/langs/zh/lesson.js index 5d8d5a5cf..670311009 100644 --- a/src/i18n/langs/zh/lesson.js +++ b/src/i18n/langs/zh/lesson.js @@ -87,6 +87,15 @@ export default { deleteTraining: '删除实训', automaticGenerationOfTraining: '自动生成实训', modifyTrainingByCategory: '按类别修改实训', - deleteAutoGeneratedTraining: '删除自动生成实训' + deleteAutoGeneratedTraining: '删除自动生成实训', + menu: '菜单', + turnout: '道岔', + section: '区段', + signaler: '信号机', + controlMode: '控制模式', + platform: '站台', + train: '列车', + station: '车站', + trainWindow: '车次窗' }; diff --git a/src/i18n/langs/zh/orderAuthor.js b/src/i18n/langs/zh/orderAuthor.js index bd9acfdda..a03e97e8c 100644 --- a/src/i18n/langs/zh/orderAuthor.js +++ b/src/i18n/langs/zh/orderAuthor.js @@ -86,5 +86,7 @@ export default { select: '选择', chooseGoods: '选择商品', permissionName: '权限名称', - receivingPermission: '领取权限' + receivingPermission: '领取权限', + isPackage: '是否包权限', + modifyPermissionContent: '修改权限内容' }; diff --git a/src/i18n/langs/zh/rules.js b/src/i18n/langs/zh/rules.js index 6a5ea29a1..138900a99 100644 --- a/src/i18n/langs/zh/rules.js +++ b/src/i18n/langs/zh/rules.js @@ -256,6 +256,9 @@ export default { pleaseSelectButtonContent: '请输入内容', endTimeRules: '结束时间必须大于开始时间', selectCourses: '请选择课程', - selectTheMapRoute: '请选择地图线路' - + selectTheMapRoute: '请选择地图线路', + enterKeyword: '请输入关键词', + successfullyModified: '修改成功', + modifyTheFailure: '修改失败', + selectTheCourseNameFirst: '请先选择课程名称' }; diff --git a/src/i18n/langs/zh/scriptRecord.js b/src/i18n/langs/zh/scriptRecord.js index af2bbecd9..1a328240c 100644 --- a/src/i18n/langs/zh/scriptRecord.js +++ b/src/i18n/langs/zh/scriptRecord.js @@ -83,21 +83,4 @@ export default { drivingByPlan: '按计划行车', scriptBack: '返回' - - // roleManage: '角色管理', - // targetCondition: '任务目标', - // taskScript: '任务剧本', - // roleName: '角色名称', - // roleType: '角色类型', - // deviceCode: '设备编码', - // roleList: '角色列表', - // operation: '操作', - // roleAdd: '添加', - // delete: '删除', - // behaviorOperate: '行为操作', - // conditionTitle: '目标条件', - // deviceType: '设备类型', - // deviceCondition: '设备条件', - // paramDeviceType: '参数设备类型', - // paramDeviceCode: '参数设备编号' }; diff --git a/src/i18n/langs/zh/system.js b/src/i18n/langs/zh/system.js index 8906e92ae..a918879dd 100644 --- a/src/i18n/langs/zh/system.js +++ b/src/i18n/langs/zh/system.js @@ -46,6 +46,7 @@ export default { selectTraining: '选择实训', createUserTraining: '创建用户实训', editTrainingDetail: '编辑实训详情', - trainingTime: '实训时长' - + trainingTime: '实训时长', + subscribeToTheMapList: '订阅地图列表:', + editSimulationDetails: '编辑仿真详情' }; diff --git a/src/i18n/langs/zh/tip.js b/src/i18n/langs/zh/tip.js index 7d3171478..520125db8 100644 --- a/src/i18n/langs/zh/tip.js +++ b/src/i18n/langs/zh/tip.js @@ -133,5 +133,11 @@ export default { noCourseAuthority: '无此课程的考试权限,请前往购买!', notWithinTheScopeOfTheExamination: '不在考试范围之内', giveUpTheExamTip: '此操作将放弃本次考试, 是否继续?', - theNumberOfPermissionsAvailableIsZero: '可用的权限数量为0' + theNumberOfPermissionsAvailableIsZero: '可用的权限数量为0', + userRightsHaveBeenReclaimed: '用户权限已被收回', + beKickedOut: '您被管理员踢出房间', + deleteListHint: '此操作将删除该列表, 是否继续?', + setUpASubscriptionMapSuccessfully: '设置订阅地图成功!', + setUpASubscriptionMapFailed: '设置订阅地图失败!', + getMapStateDataException: '获取地图状态数据异常,请刷新页面重新加载。若多次遇到此类问题,请急时联系开发团队处理!' }; diff --git a/src/views/display/menuDemon.vue b/src/views/display/menuDemon.vue index a89ff7110..ee1e3b351 100644 --- a/src/views/display/menuDemon.vue +++ b/src/views/display/menuDemon.vue @@ -2,21 +2,21 @@
- 试用时间:{{ countTime }} + {{$t('display.demon.trialTime')}} {{ countTime }}
- 派班计划 + {{$t('display.demon.dispatchingPlan')}} {{ jl3dname }} - 返回 + {{$t('display.demon.back')}}
@@ -72,7 +72,7 @@ export default { name: '', remarks: '' }, - jl3dname: '三维视图' + jl3dname: this.$t('display.demon.threeDimensionalView') }; }, computed: { @@ -88,8 +88,8 @@ export default { this.group && this.initLoadPage(); }, '$store.state.socket.tipOperateCount': function (val) { - this.$alert('任务操作成功!', '提示', { - confirmButtonText: '确定', + this.$alert(this.$t('display.demon.taskOperateSuccess') , this.$t('global.tips'), { + confirmButtonText: this.$t('global.confirm'), callback: action => { } }); @@ -142,7 +142,7 @@ export default { }, 1000); } }).catch(() => { - this.$messageBox(`获取时间失败`); + this.$messageBox(this.$t('display.demon.getTimeFail')); }); }, selectBeginTime() { @@ -156,7 +156,7 @@ export default { }); }).catch(() => { this.isDisable = false; - this.$messageBox('开始仿真失败,请返回重试'); + this.$messageBox(this.$t('display.demon.startSimulationFail')); }); }, end() { @@ -170,14 +170,14 @@ export default { }); }).catch(() => { this.isDisable = true; - this.$messageBox('结束仿真失败,请返回'); + this.$messageBox(this.$t('display.demon.endSimulationFail')); }); }, handleQuitQuest() { quitScript(this.group).then(resp => { this.$emit('quitQuest'); }).catch(() => { - this.$messageBox('退出任务失败'); + this.$messageBox(this.$t('display.demon.exitTaskFail')); }); }, back() { @@ -208,9 +208,9 @@ export default { }, change3dname() { if (this.$route.query.prdType == '04') { - this.jl3dname = '司机视角'; + this.jl3dname = this.$t('display.demon.driverPerspective'); } else { - this.jl3dname = '三维视图'; + this.jl3dname = this.$t('display.demon.threeDimensionalView'); } } } diff --git a/src/views/display/menuExam.vue b/src/views/display/menuExam.vue index 80a78ac0f..36dbad585 100644 --- a/src/views/display/menuExam.vue +++ b/src/views/display/menuExam.vue @@ -7,9 +7,9 @@
- 开始 - 结束 - 返回 + {{$t('display.startBtn')}} + {{$t('display.endBtn')}} + {{$t('display.backBtn')}}
@@ -71,10 +71,10 @@ export default { const h = this.$createElement; this.$notify({ title: this.$t('global.tips'), - message: h('i', { style: 'color:' + opt.color }, '请点击开始考试操作') + message: h('i', { style: 'color:' + opt.color }, this.$t('display.exam.startTestOperateTip')) }); } - }, + }, start() { this.$store.dispatch('menuOperation/setButtonOperation', null); this.startLoading = true; @@ -94,7 +94,7 @@ export default { }); } else { this.startLoading = true; - this.$messageBox(`请选择试题`); + this.$messageBox(this.$t('display.exam.selectTest')); } }, end() { @@ -113,18 +113,18 @@ export default { this.init(); }).catch(() => { this.$store.dispatch('training/emitTipFresh'); - this.$messageBox(`结束实训错误`); + this.$messageBox(this.$t('display.exam.endTrainingError')); }); } else { this.isDisable = true; - this.$messageBox(`请先开始考试`); + this.$messageBox(this.$t('display.exam.startTestTip')); } } }, back() { - this.$confirm('是否放弃本次考试?', '提示', { - confirmButtonText: '确定', - cancelButtonText: '取消', + this.$confirm(this.$t('display.exam.endTestTip'), this.$t('global.tips'), { + confirmButtonText: this.$t('global.confirm'), + cancelButtonText: this.$t('global.cancel'), type: 'warning' }).then(() => { this.$emit('quit'); @@ -147,7 +147,7 @@ export default { if (error.code === 500009) { this.$router.replace({ path: `/exam/result/${this.$route.params.userExamId}` }); } else { - this.$messageBox(`刷新列表失败`); + this.$messageBox(this.$t('display.exam.refreshListError')); } }); }, diff --git a/src/views/display/menuLesson.vue b/src/views/display/menuLesson.vue index c36ad4f77..192df29e6 100644 --- a/src/views/display/menuLesson.vue +++ b/src/views/display/menuLesson.vue @@ -3,19 +3,19 @@
- 教学模式 - 练习模式 - 测验模式 + {{ $t('display.lesson.teachingMode')}} + {{ $t('display.lesson.practiceMode')}} + {{ $t('display.lesson.testMode')}} {{ formatUsedTime }} - 得分:{{ formatScore }} + {{ $t('display.lesson.score')}}{{ formatScore }}
- 开始 - 结束 - 返回 + {{ $t('display.startBtn')}} + {{ $t('display.endBtn')}} + {{ $t('display.backBtn')}}
@@ -99,7 +99,8 @@ export default { if (opt && opt.hasOwnProperty('color') && opt.hasOwnProperty('message')) { const h = this.$createElement; this.$notify({ - title: '提示', + title: this.$t('global.tips'), + message: h('i', { style: 'color:' + opt.color }, opt.message) }); } @@ -125,7 +126,7 @@ export default { }); } else { this.startLoading = false; - this.$messageBox(`请选择实训`); + this.$messageBox(this.$t('display.lesson.selectTraining')); } }, endCommit() { @@ -143,7 +144,7 @@ export default { this.$store.dispatch('training/emitTipFresh'); }); }).catch(() => { - this.$messageBox(`结束实训错误`); + this.$messageBox(this.$t('display.lesson.endTrainingError')); }); }, end() { @@ -156,9 +157,9 @@ export default { this.endCommit(); } else { this.backDisable = true; - this.$confirm('操作未完成,是否确认结束?', '提示', { - cancelButtonText: '取消', - confirmButtonText: '确定', + this.$confirm(this.$t('display.lesson.endTrainingTip'), this.$t('global.tips'), { + cancelButtonText: this.$t('global.cancel'), + confirmButtonText: this.$t('global.confirm'), type: 'warning', center: true, zIndex: 9999 @@ -174,7 +175,7 @@ export default { } }); } else { - this.$messageBox(`请先开始实训`); + this.$messageBox(this.$t('display.lesson.startTrainingTip')); } } }, @@ -188,7 +189,7 @@ export default { trainingNotify({ trainingId: this.$route.query.trainingId }).then(resp => { this.$router.push({ path: `${UrlConfig.lesson.record}/${this.$route.query.trainingId}/${this.$route.query.trainingName}`, query: { group: resp.data } }); }).catch(error => { - this.$messageBox(`创建仿真失败: ${error.message}`); + this.$messageBox(`${this.$t('display.lesson.createSimulationError')}: ${error.message}`); }); } else { history.go(-1); diff --git a/src/views/display/menuPlan.vue b/src/views/display/menuPlan.vue index e928108fc..4ada5339c 100644 --- a/src/views/display/menuPlan.vue +++ b/src/views/display/menuPlan.vue @@ -1,9 +1,9 @@ -