'前后端内容修改、样式、中英文'

This commit is contained in:
Fanzink
2023-01-13 16:54:26 +08:00
parent 3265b4a580
commit 5798e5b6e0
56 changed files with 761 additions and 142 deletions

View File

@@ -6,6 +6,7 @@ t.createTime = 'Create Time'
t.brand = {}
t.brand.lg = 'SCADA Platform'
t.brand.mini = 'SCADA'
t.brand.home = 'Home'
t.routes = {}
t.routes['产品池'] = 'Products Pool'
@@ -71,6 +72,7 @@ t.andeng.btnVal = 'Button Value'
t.andeng.btnBoxModel = 'Button Box Model'
t.copyright = 'Intelligent Automation Research Institute Co., Ltd'
t.dictValueList = 'View Details'
t.save = 'Save'
t.add = 'Add'
@@ -136,11 +138,15 @@ t.min = 'Min Value'
t.max = 'Max Value'
t.status = 'Status'
t.normal = 'Normal'
t.shutdown = 'Shut Down'
t.malfunction = 'Malfunction' // ?
t.diagram = 'Device Status Sequence Diagram'
t.addr = 'Address'
t.planStop = 'Plan to stop'
t.startTime = 'Start Time'
t.endTime = 'End Time'
t.today = 'Today'
t.time = 'Time'
t.graph = 'Graph'
t.category = 'Category'
@@ -373,6 +379,13 @@ t.pl.status = 'Product Line Status'
t.pl.belong = 'Product Line'
t.pl.tvalue = 'TT Value'
t.pl.factoryHints = 'Please select a factory'
t.pl.process = 'Working procedure'
t.pl.add = 'Add Euipment'
t.pl.queryFirst = 'Please Query First'
t.pl.choose = 'Please select equipment'
t.pl.confirm = 'Confirm'
t.pl.cancel = 'Cancel'
t.pl.success = 'The new device data is obtained successfully'
t.prompt = {}

View File

@@ -4,7 +4,7 @@
* @Author: fzq
* @Date: 2022-11-25 09:51:46
* @LastEditors: fzq
* @LastEditTime: 2022-12-13 19:27:24
* @LastEditTime: 2023-01-12 11:19:00
*/
import Vue from 'vue'
import VueI18n from 'vue-i18n'
@@ -49,7 +49,8 @@ export function getLanguage() {
}
export default new VueI18n({
// locale: Cookies.get('language') || 'zh-CN',
// 默认语言
locale: Cookies.get('language') || 'en',
locale: getLanguage(), // 先默认中文
messages,
//抑制警告

View File

@@ -6,6 +6,7 @@ t.createTime = '添加时间'
t.brand = {}
t.brand.lg = '深加工SCADA平台'
t.brand.mini = 'SCADA'
t.brand.home = '首页'
t.routes = {}
// 一级
@@ -71,6 +72,7 @@ t.andeng.btnVal = '按钮值'
t.andeng.btnBoxModel = '按钮盒模式'
t.copyright = '中建材智能自动化研究院有限公司'
t.dictValueList = '查看值列表'
t.save = '保存'
t.add = '新增' // 1
@@ -136,12 +138,16 @@ t.min = '最小值' // 1
t.max = '最大值' // 1
t.status = '状态' // 1
t.normal = '正常' // ?
t.shutdown = '停机' // ?
t.malfunction = '故障' // ?
t.diagram = '设备状态时序图'
t.addr = '地址' // 1
t.planStop = '计划停机' // ?
t.startTime = '开始时间' // 1
t.endTime = '结束时间' // 1
t.to = '至' // 1
t.today = '今天' // 1
t.time = '选择时间'
t.graph = '图形'
t.category = '分类'
@@ -373,6 +379,14 @@ t.pl.status = '产线状态'
t.pl.belong = '所属产线'
t.pl.tvalue = '产线TT值(每小时下片数量)'
t.pl.factoryHints = '请选择所属工厂'
t.pl.process = '工序'
t.pl.add = '添加设备'
t.pl.queryFirst = '请先查询数据'
t.pl.success = '新设备数据获取成功'
t.pl.choose = '请选择设备'
t.pl.confirm = '确定'
t.pl.cancel = '取消'
t.prompt = {}
t.prompt.title = '提示'