diff --git a/src/i18n/langs/en.js b/src/i18n/langs/en.js index 995c839..fe0dbd5 100644 --- a/src/i18n/langs/en.js +++ b/src/i18n/langs/en.js @@ -1,168 +1,28 @@ module.exports = { - login: { - passwordlogin: 'Login', - configuration: 'Configuration', - password: 'Password', - domainnameaddress: 'Domain Address', - refreshtime: 'Refresh Time(s)', - login: 'Login', - toast1: 'Please enter one user name', - toast2: 'Please enter password' - }, - homeinfo: { - topinfo: 'Device Information', - deviceinfo: 'Device Information', - task: 'Current Task', - status: 'Task Status', - tasknum: 'Number Of Tasks', - speed: 'Current Speed', - error: 'AGV Fault', - index: 'Index' - }, - carrypoint: { - topinfo: 'Carry Point', - dialoginfo: 'Confirm Position', - dialogtip: 'If Select Return Site', - returnsite: 'Return Site', - pointcode: 'Point Code', - returnsitecode: 'Return Code', - button1: 'Auto Pickup', - button2: 'Auto Release', - button3: 'Input Target Position', - button4: 'Set Target Position', - button5: 'Task Distribution' - }, - tasklists: { - topinfo: 'Task Management', - select: 'Select', - ordernumber: 'S/N', - tasknumber: 'Task Number', - targetpoint: 'Target Point', - tasktype: 'Task Type', - taskstatus: 'Task Status', - createTime: 'Create Time', - button1: 'Move Up', - button2: 'Move Down', - button3: 'Task Cancel', - button4: 'Task Submit' - }, - errorinfo: { - topinfo: 'Error Info', - ordernumber: 'S/N', - errorname: 'Error Name', - errortype: 'Error Type', - errorcontent: 'Error Content', - solution: 'Solution' - }, - user: { - usermanagement: 'User Management', - fullname: 'Full Name', - phone: 'Phone', - gender: 'Gender', - creationdate: 'Creation Date', - adduser: 'Add User', - question1: 'Are you sure you want to reset your password?', - question2: 'Are you sure you want to delete this user?', - toast1: 'The username cannot be empty', - toast2: 'Password cannot be empty' - }, - role: { - rolemanagement: 'Role Management', - rolename: 'Role Name', - role: 'Role', - describe: 'Describe', - creationdate: 'Creation Date', - addrole: 'Add Role', - toast1: 'Role name cannot be empty' - }, - system: { - systemmanagement: 'System Management', - code: 'Code', - value: 'Value', - addparameter: 'Add Parameter', - question1: 'Are you sure to delete it?', - toast1: 'Encoding cannot be empty', - toast2: 'Name cannot be empty', - toast3: 'Value cannot be empty' - }, - remote: { - remotesupport: 'Remote support', - remote: ' Remote ', - download: ' Download' - }, - developer: { - developeroptions: 'Developer Options' - }, - vehiclestatus: { - vehiclestatus: 'Vehicle Status', - status: 'Status', - xcoordinate: 'X coordinate', - ycoordinate: 'Y coordinate', - headingangle: 'Heading Angle', - steeringwheelangle: 'Steering Wheel Angle', - distributionspeed: 'Throttle Command', - actualspeed: 'Actual Speed', - lateraldeviation: 'Lateral Deviation', - coursedeviation: 'Vertical Deviation', - workingstatus: 'Working Status', - sensorstatus: 'Sensor Status', - emergencystop: 'Emergency Stop', - obstacleavoidancedeceleration: 'Obstacle Avoidance Deceleration', - resetbutton: 'Reset Button', - obstacleavoidanceparking: 'Obstacle Avoidance Parking', - safetyedgesensor: 'Safety Edge Sensor', - sensorinducedparking: 'Sensor Induced Parking', - run: 'Run', - abnormal: 'Abnormal' - }, - vehiclecontrol: { - vehiclecontrol: 'Vehicle Control', - status: 'Status', - control: ' Control', - deviationstate: 'Deviation State', - updatestatus: 'Update Status', - displaycontrol: 'Display Control', - initializecoordinates: 'Initialize Coordinates', - coordinateinformation: 'Coordinate Information', - skipthestart: 'Skip The Start', - initializecoordinate: 'Initialize Coordinate', - fullscreen: 'Full Screen', - exitfullscreen: 'Exit Full Screen', - quit: 'Quit', - poweroff: 'Power Off', - softwarerestart: 'Software Restart', - restart: 'Restart', - skipdetection: 'Skip Detection', - toast1: 'Please select coordinates', - toast2: 'RC control and Joy control cannot be turned on simultaneously' - }, - button: { - cancel: 'Cancel', - ok: 'OK', - save: 'Save', - modify: 'Modify', - delete: 'Delete', - exit: 'Exit', - resetpassword: 'Reset Password' - }, - common: { - name: 'Name', - username: 'User Name', - number: 'S/N', - operate: 'Operate', - remark: 'Remark', - changepassword: 'Change Password', - exit: 'Exit', - oldpassword: 'Old Password', - newpassword: 'New Password', - operationfailed: 'Operation failed', - loading: 'Loading', - pleaseselect: 'Please select', - toast1: 'Old password cannot be empty', - toast2: 'The new password cannot be empty', - toast3: 'Enter a new password', - toast4: 'The new password input is inconsistent, please re-enter it', - toast5: 'Are you sure to shut down?', - warning: 'Warning' - } + index: 'Index', + Administratorauthentication: 'Administrator authentication', + Notloggedinyet: 'Not logged in yet', + Logout: 'Log out', + Login: 'Log in', + Configuration: 'Configuration', + Languageselection: 'Language selection', + Parameterconfiguration: 'Parameter configuration', + Cancel: 'Cancel', + Save: 'Save', + Administratorpassword: 'Administrator password', + Pleasepassword: 'Please enter the administrator password', + Language: 'Language', + Pleaseselect: 'Please select', + SchedulingIP: 'Scheduling IP', + PleaseIP: 'Please enter the scheduling IP', + PleaseWIFI: 'Please enter the WIFI', + Passwordnotempty: 'WIFI cannot be empty.', + Schedulingnotempty: 'Scheduling IP cannot be empty.', + WIFInotempty: 'WIFI cannot be empty.', + Name: 'Name', + Category: 'Category', + Description: 'Description', + Empty: 'Empty', + SendTask: 'Send Task', + HistoricalTasks: 'Historical Tasks' } diff --git a/src/i18n/langs/zh.js b/src/i18n/langs/zh.js index dbe90c3..6dff629 100644 --- a/src/i18n/langs/zh.js +++ b/src/i18n/langs/zh.js @@ -1,168 +1,28 @@ module.exports = { - login: { - passwordlogin: '密码登录', - configuration: '配置', - password: '密码', - domainnameaddress: '域名地址', - refreshtime: '刷新时间(秒)', - login: '登录', - toast1: '请输入用户名', - toast2: '请输入密码' - }, - homeinfo: { - topinfo: '设备信息', - deviceinfo: '设 备 信 息', - task: '当 前 任 务', - status: '任 务 状 态', - tasknum: '任 务 数 量', - speed: '当 前 速 度', - error: 'AGV 故 障', - index: '主页' - }, - carrypoint: { - topinfo: '搬运起点', - dialoginfo: '确定点位', - dialogtip: '是否选择返回点', - returnsite: '返回点', - pointcode: '点位编码', - returnsitecode: '返回编码', - button1: '自动取货', - button2: '自动放货', - button3: '输入点位', - button4: '定位目标站点', - button5: '任务下发' - }, - tasklists: { - topinfo: '任务管理', - select: '选中', - ordernumber: '序号', - tasknumber: '任务号', - targetpoint: '目标站点', - tasktype: '任务类型', - taskstatus: '任务状态', - createTime: '生成时间', - button1: '任务上移', - button2: '任务下移', - button3: '任务取消', - button4: '任务提交' - }, - errorinfo: { - topinfo: '故障信息', - ordernumber: '序号', - errorname: '故障名称', - errortype: '故障类别', - errorcontent: '故障内容', - solution: '处理办法' - }, - user: { - usermanagement: '用户管理', - fullname: '姓名', - phone: '电话', - gender: '性别', - creationdate: '创建日期', - adduser: '添加用户', - question1: '确定重置密码吗?', - question2: '确定删除该用户吗?', - toast1: '用户名不能为空', - toast2: '密码不能为空' - }, - role: { - rolemanagement: '角色管理', - rolename: '角色名', - role: '角色', - describe: '描述', - creationdate: '创建日期', - addrole: '新增角色', - toast1: '角色名称不能为空' - }, - system: { - systemmanagement: '系统管理', - code: '编码', - value: '值', - addparameter: '添加参数', - question1: '确定删除吗?', - toast1: '编码不能为空', - toast2: '名字不能为空', - toast3: '数值不能为空' - }, - remote: { - remotesupport: '远程支持', - remote: '远程', - download: '下载' - }, - developer: { - developeroptions: '开发者选项' - }, - vehiclestatus: { - vehiclestatus: '车辆状态', - status: '状态', - xcoordinate: 'X 坐标', - ycoordinate: 'Y 坐标', - headingangle: '航向角', - steeringwheelangle: '舵轮角度', - distributionspeed: '下发速度指令', - actualspeed: '实际速度', - lateraldeviation: '横向偏差', - coursedeviation: '航向偏差', - workingstatus: '工作状态', - sensorstatus: '传感器状态', - emergencystop: '急停按钮', - obstacleavoidancedeceleration: '避障减速', - resetbutton: '复位按钮', - obstacleavoidanceparking: '避障停车', - safetyedgesensor: '安全触边', - sensorinducedparking: '传感器停车', - run: '运行', - abnormal: '异常' - }, - vehiclecontrol: { - vehiclecontrol: '车辆控制', - status: '状态', - control: '控制', - deviationstate: '偏离状态', - updatestatus: '更新状态', - displaycontrol: '显示屏控制', - initializecoordinates: '初始化坐标', - coordinateinformation: '坐标信息', - skipthestart: '跳过起点', - initializecoordinate: '初始化坐标', - fullscreen: '全屏', - exitfullscreen: '退出全屏', - quit: '退出', - poweroff: '关机', - softwarerestart: '软启动', - restart: '重启', - skipdetection: '跳过检测', - toast1: '请选择坐标', - toast2: 'RC控制与Joy控制不能同时开启' - }, - button: { - cancel: '取消', - ok: '确定', - save: '保存', - modify: '修改', - delete: '删除', - exit: '退出', - resetpassword: '重置密码' - }, - common: { - name: '名称', - username: '用户名', - number: '序号', - operate: '操作', - remark: '备注', - changepassword: '修改密码', - exit: '退出', - oldpassword: '旧的密码', - newpassword: '新的密码', - operationfailed: '操作失败', - loading: '加载中', - pleaseselect: '请选择', - toast1: '旧密码不能为空', - toast2: '新密码不能为空', - toast3: '输入新密码', - toast4: '新密码输入不一致,请重新输入', - toast5: '是否确定关机?', - warning: '提示' - } + index: '主页', + Administratorauthentication: '管理员认证', + Notloggedinyet: '暂未登录', + Logout: '退出账户', + Login: '登录', + Configuration: '配置', + Languageselection: '语言选择', + Parameterconfiguration: '参数配置', + Cancel: '取消', + Save: '保存', + Administratorpassword: '管理员密码', + Pleasepassword: '请输入管理员密码', + Language: '语言', + Pleaseselect: '请选择', + SchedulingIP: '调度IP', + PleaseIP: '请输入调度IP', + PleaseWIFI: '请输入WIFI', + Passwordnotempty: '密码不能为空', + Schedulingnotempty: '调度IP不能为空', + WIFInotempty: 'WIFI不能为空', + Name: '名称', + Category: '类别', + Description: '说明', + Empty: '清空', + SendTask: '发送任务', + HistoricalTasks: '历史任务' } diff --git a/src/pages/modules/device.vue b/src/pages/modules/device.vue index df8bee3..953c6b3 100644 --- a/src/pages/modules/device.vue +++ b/src/pages/modules/device.vue @@ -12,19 +12,19 @@

{{ e.point_code }}

- +
- - + + -
历史任务
+
{{$t('HistoricalTasks')}}
diff --git a/src/pages/modules/warning.vue b/src/pages/modules/warning.vue index 961c9e5..644fa0c 100644 --- a/src/pages/modules/warning.vue +++ b/src/pages/modules/warning.vue @@ -5,17 +5,17 @@ style="width: 100%"> + :label="$t('Description')">
diff --git a/src/pages/shells/config-modal.vue b/src/pages/shells/config-modal.vue index f0415ff..2da2f49 100644 --- a/src/pages/shells/config-modal.vue +++ b/src/pages/shells/config-modal.vue @@ -1,13 +1,13 @@