2019-12-02 16:16:26 +08:00
|
|
|
import enLocale from 'element-ui/lib/locale/lang/en' //引入element语言包
|
|
|
|
|
const en = {
|
|
|
|
|
overall:{
|
|
|
|
|
dashboard:'dashboard',
|
|
|
|
|
project:'project',
|
2019-12-06 17:36:33 +08:00
|
|
|
alarm: "alarm",
|
2019-12-05 15:46:40 +08:00
|
|
|
asset:'asset',
|
2019-12-05 18:07:58 +08:00
|
|
|
config:'config',
|
2019-12-05 15:46:40 +08:00
|
|
|
create: 'Create',
|
|
|
|
|
edit: 'Edit',
|
|
|
|
|
delete: 'Delete',
|
|
|
|
|
esc: 'Esc',
|
|
|
|
|
cancel: 'Cancel',
|
|
|
|
|
save: 'Save',
|
|
|
|
|
search: 'Search'
|
2019-12-02 16:16:26 +08:00
|
|
|
},
|
2019-12-04 13:45:37 +08:00
|
|
|
asset:{
|
2019-12-05 16:48:23 +08:00
|
|
|
tableTitle: {
|
|
|
|
|
id: 'ID',
|
2019-12-06 16:43:04 +08:00
|
|
|
assetType: '资产类型',
|
2019-12-06 15:53:50 +08:00
|
|
|
device: 'Device SN',
|
|
|
|
|
ip: 'IP',
|
2019-12-06 16:43:04 +08:00
|
|
|
assetState: '资产状态',
|
2019-12-06 15:53:50 +08:00
|
|
|
module: 'Module',
|
|
|
|
|
alarm: 'Alarm',
|
2019-12-06 16:43:04 +08:00
|
|
|
dataCenter: '数据中心',
|
|
|
|
|
cabinet: '机柜',
|
|
|
|
|
model: '型号',
|
|
|
|
|
manufacturer: '厂商',
|
2019-12-05 16:48:23 +08:00
|
|
|
procurementDate: '采购日期',
|
|
|
|
|
warrantyDate: '保修截止期',
|
|
|
|
|
deviceDuty: '设备责任人',
|
2019-12-06 16:43:04 +08:00
|
|
|
option: "Option"
|
2019-12-05 16:48:23 +08:00
|
|
|
},
|
|
|
|
|
tagTableTitle: {
|
|
|
|
|
projectName: '项目名称',
|
|
|
|
|
moduleName: 'Module Name',
|
|
|
|
|
endPoint: 'EndPoint',
|
|
|
|
|
alarm: 'Alarm',
|
|
|
|
|
},
|
2019-12-04 13:45:37 +08:00
|
|
|
},
|
2019-12-05 15:46:40 +08:00
|
|
|
config: {
|
|
|
|
|
account: {
|
|
|
|
|
//列表表头
|
|
|
|
|
account: "Account",
|
|
|
|
|
language: "Language",
|
|
|
|
|
receiver: "Receiver",
|
|
|
|
|
createTime: "Create Time",
|
|
|
|
|
enable: "Enable",
|
|
|
|
|
option: "Option",
|
|
|
|
|
|
|
|
|
|
//侧滑框
|
|
|
|
|
accountId: "Accound ID",
|
|
|
|
|
createAccount: "Create Account",
|
|
|
|
|
editAccount: "Edit Account",
|
|
|
|
|
notCurrentlySupport: 'Not currently supported'
|
2019-12-05 18:07:58 +08:00
|
|
|
},
|
|
|
|
|
promServer: {
|
|
|
|
|
//侧滑框
|
|
|
|
|
promId: "Prometheus Server ID",
|
|
|
|
|
createProm: "Create Prometheus Server",
|
|
|
|
|
editProm: "Edit Prometheus Server"
|
|
|
|
|
},
|
2019-12-05 15:46:40 +08:00
|
|
|
},
|
2019-12-06 17:36:33 +08:00
|
|
|
alarm: {
|
|
|
|
|
alarmList: "Alarm List",
|
|
|
|
|
alarmConfig: "Alarm Config",
|
|
|
|
|
alarmName: "Alarm Name",
|
|
|
|
|
severity: "Severity",
|
|
|
|
|
description: "Desc",
|
|
|
|
|
summary: "Summary",
|
|
|
|
|
startAt: "Time",
|
|
|
|
|
endAt: "End Time",
|
|
|
|
|
list: {
|
|
|
|
|
//表头
|
|
|
|
|
linkedId: "Linked ID",
|
|
|
|
|
type: "Type",
|
|
|
|
|
state: "Status",
|
|
|
|
|
charts: "Charts",
|
|
|
|
|
|
|
|
|
|
//表内容
|
|
|
|
|
projectAlarm: "Project Alarm",
|
|
|
|
|
moduleAlarm: "Module Alarm",
|
|
|
|
|
deviceAlarm: "Device Alarm",
|
|
|
|
|
pending: "Pending",
|
|
|
|
|
expired: "Expired"
|
|
|
|
|
},
|
|
|
|
|
config: {
|
|
|
|
|
name: "Name",
|
|
|
|
|
receiver: "Receiver",
|
|
|
|
|
expr: "Expr",
|
|
|
|
|
for: "For",
|
|
|
|
|
option: "Option",
|
|
|
|
|
alarmConfig: "Alarm Config",
|
|
|
|
|
createAlarmConfig: "Create Alarm Config",
|
|
|
|
|
editAlarmConfig: "Edit Alarm Config",
|
|
|
|
|
}
|
|
|
|
|
},
|
2019-12-02 16:16:26 +08:00
|
|
|
...enLocale
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-05 15:46:40 +08:00
|
|
|
export default en;
|