2019-12-02 16:16:26 +08:00
|
|
|
import enLocale from 'element-ui/lib/locale/lang/en' //引入element语言包
|
|
|
|
|
const en = {
|
|
|
|
|
overall:{
|
2019-12-12 17:07:33 +08:00
|
|
|
dashboard:'Dashboard',
|
|
|
|
|
project:'Projects',
|
|
|
|
|
alert: "Alert",
|
|
|
|
|
asset:'Assets',
|
|
|
|
|
config:'Config',
|
2019-12-05 15:46:40 +08:00
|
|
|
create: 'Create',
|
|
|
|
|
edit: 'Edit',
|
|
|
|
|
delete: 'Delete',
|
|
|
|
|
esc: 'Esc',
|
|
|
|
|
cancel: 'Cancel',
|
|
|
|
|
save: 'Save',
|
2019-12-10 17:00:28 +08:00
|
|
|
search: 'Search',
|
|
|
|
|
add: "Add",
|
2019-12-11 17:15:23 +08:00
|
|
|
option: "Option",
|
2019-12-13 17:08:35 +08:00
|
|
|
clearAll: "Clear All",
|
2019-12-20 22:00:04 +08:00
|
|
|
clear: "Clear",
|
2019-12-16 17:14:58 +08:00
|
|
|
name: 'Name',
|
2019-12-25 20:33:58 +08:00
|
|
|
cover: 'Cover',
|
2020-01-08 22:19:46 +08:00
|
|
|
signOut: 'Sign Out',
|
|
|
|
|
select: 'Select',
|
|
|
|
|
ok: 'Ok',
|
2020-01-09 14:57:44 +08:00
|
|
|
all: 'All',
|
|
|
|
|
other: "Other"
|
2019-12-17 17:17:30 +08:00
|
|
|
},
|
2019-12-26 13:00:22 +08:00
|
|
|
dashboard:{
|
|
|
|
|
title:'Dashboard',
|
|
|
|
|
panel:{
|
|
|
|
|
title:'Panel',
|
2020-01-08 16:44:41 +08:00
|
|
|
searchItem:{
|
|
|
|
|
name:'Title'
|
|
|
|
|
},
|
2020-01-03 17:17:09 +08:00
|
|
|
//面板-侧滑框
|
2019-12-26 13:00:22 +08:00
|
|
|
createPanelTitle: "Create Panel",
|
|
|
|
|
createPanelTitleSec:"Create New Panel",
|
|
|
|
|
editPanelTitle: "Panel",
|
|
|
|
|
panelForm:{
|
|
|
|
|
panelName:"Panel Name",
|
|
|
|
|
panelId:"ID"
|
2020-01-03 17:17:09 +08:00
|
|
|
},
|
|
|
|
|
//图表-侧滑框
|
|
|
|
|
createChartTitle: "Create Chart",
|
|
|
|
|
editChartTitle: "Edit Chart",
|
|
|
|
|
chartForm:{
|
|
|
|
|
chartId:"ID",
|
|
|
|
|
chartName:"Chart Name",
|
|
|
|
|
type:"Type",
|
|
|
|
|
typeVal:{
|
|
|
|
|
line:{
|
|
|
|
|
label:"Line"
|
|
|
|
|
},
|
|
|
|
|
bar:{
|
|
|
|
|
label:"Bar"
|
|
|
|
|
},
|
|
|
|
|
table:{
|
|
|
|
|
label:"Table"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
width:"Width",
|
|
|
|
|
high:"High",
|
|
|
|
|
metric:"Metric",
|
|
|
|
|
addMetric:"Add Metric",
|
|
|
|
|
},
|
2020-01-07 17:12:48 +08:00
|
|
|
chartTableColumn:{
|
|
|
|
|
metric:'metric',
|
|
|
|
|
label:'label',
|
|
|
|
|
time:'time',
|
|
|
|
|
value:'value',
|
|
|
|
|
},
|
|
|
|
|
startTime:'startTime',
|
|
|
|
|
endTime:'endTime',
|
|
|
|
|
to:'To',
|
|
|
|
|
recOne:'recent hour',
|
|
|
|
|
recFour:'recent 4 hours',
|
|
|
|
|
recOneDay:'recent day',
|
|
|
|
|
yesterday:'yesterday',
|
|
|
|
|
recSevenDay:'recent week',
|
|
|
|
|
recOneMonth:'recent month',
|
|
|
|
|
curMonth:'this month',
|
2020-01-08 16:44:41 +08:00
|
|
|
lastMonth:'last month',
|
|
|
|
|
refreshInterval:{
|
|
|
|
|
never:'never',
|
|
|
|
|
oneMinute:'1 min',
|
|
|
|
|
threeMinutes:'3 mins',
|
|
|
|
|
fiveMinutes:'5 mins',
|
|
|
|
|
tenMinutes:'10 mins',
|
|
|
|
|
}
|
2020-01-03 17:17:09 +08:00
|
|
|
},
|
|
|
|
|
metric:{
|
|
|
|
|
name:"Metric",
|
|
|
|
|
normal:"Normal",
|
|
|
|
|
expert:"Expert",
|
|
|
|
|
label:"MetricLabel",
|
|
|
|
|
addMetric:"Create Metric",
|
|
|
|
|
expertTip:"Please enter an expression"
|
2020-01-03 18:10:26 +08:00
|
|
|
|
2019-12-26 13:00:22 +08:00
|
|
|
},
|
|
|
|
|
metricPreview:{
|
|
|
|
|
title:'MetricPreview',
|
2020-01-03 17:17:09 +08:00
|
|
|
},
|
|
|
|
|
refresh:'refresh',
|
|
|
|
|
edit:'edit',
|
|
|
|
|
delete:'delete',
|
|
|
|
|
screen:'fullScreen'
|
2020-01-03 18:10:26 +08:00
|
|
|
|
2019-12-26 13:00:22 +08:00
|
|
|
},
|
2019-12-27 17:53:17 +08:00
|
|
|
validate: { //校验规则
|
|
|
|
|
required: 'Required',
|
|
|
|
|
number: 'Must be a number',
|
2020-01-03 17:20:36 +08:00
|
|
|
email:'E-mail is invalide',
|
|
|
|
|
tel:'Phone number is invalide',
|
|
|
|
|
host:'IP Address is invalide',
|
2020-01-09 17:58:22 +08:00
|
|
|
fileSize:'upload file is too large',
|
2019-12-27 17:53:17 +08:00
|
|
|
config: {
|
|
|
|
|
account: {
|
2019-12-26 13:00:22 +08:00
|
|
|
|
2019-12-27 17:53:17 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2019-12-17 17:17:30 +08:00
|
|
|
search: {
|
2019-12-24 17:31:51 +08:00
|
|
|
searchTip: 'Press Enter or click to search',
|
|
|
|
|
recentSearch: 'Recent Searches',
|
|
|
|
|
noRecentSearch: 'No Recent Searches'
|
2019-12-13 17:08:35 +08:00
|
|
|
},
|
|
|
|
|
tip: {
|
|
|
|
|
confirmDelete: "Confirm Delete?",
|
|
|
|
|
yes: "Yes",
|
|
|
|
|
no: "No",
|
2019-12-18 17:00:44 +08:00
|
|
|
deleteSuccess: "Successfully Deleted",
|
2019-12-24 17:31:51 +08:00
|
|
|
saveSuccess: "Successfully Saved",
|
2020-01-03 17:17:09 +08:00
|
|
|
coverSuccess: 'Successfully Covered',
|
|
|
|
|
refreshLater:'Please refresh later'
|
2019-12-02 16:16:26 +08:00
|
|
|
},
|
2019-12-04 13:45:37 +08:00
|
|
|
asset:{
|
2019-12-18 17:00:44 +08:00
|
|
|
asset: 'Asset',
|
2019-12-27 17:08:39 +08:00
|
|
|
createAsset: "Create Asset",
|
|
|
|
|
EditAsset:'Edit Asset',
|
2019-12-26 17:28:04 +08:00
|
|
|
createAssetTab:{
|
|
|
|
|
title:'Create Asset',
|
2019-12-27 17:08:39 +08:00
|
|
|
sn:'SN',
|
2020-01-03 18:10:26 +08:00
|
|
|
host:'Host',
|
|
|
|
|
state:'State',
|
2019-12-27 17:08:39 +08:00
|
|
|
selectTip:'please select',
|
2020-01-03 18:10:26 +08:00
|
|
|
inStock: 'In Stock',
|
|
|
|
|
notInStock: 'Not In Stock',
|
|
|
|
|
assetInfo:'Asset Info',
|
|
|
|
|
assetType:'Asset Type',
|
2019-12-27 17:08:39 +08:00
|
|
|
assetTypeTab:{
|
2020-01-03 18:10:26 +08:00
|
|
|
assetType:'Asset Type',
|
|
|
|
|
addAssetType:'Add Asset Type',
|
|
|
|
|
existAssetType:'Exist Asset Type'
|
2019-12-27 17:08:39 +08:00
|
|
|
},
|
2020-01-03 18:10:26 +08:00
|
|
|
vendor:'Vendor/Model',
|
2019-12-27 17:08:39 +08:00
|
|
|
vendorTab:{
|
2020-01-03 18:10:26 +08:00
|
|
|
vendor:'Vendor/Model',
|
|
|
|
|
vendorName:'New Vendor',
|
|
|
|
|
existVendor:'Exist Vendor',
|
|
|
|
|
modelName:'New Model',
|
|
|
|
|
existModel:'Exist Model'
|
2019-12-27 17:08:39 +08:00
|
|
|
},
|
2020-01-06 20:57:49 +08:00
|
|
|
purchaseDate:'Purchase',
|
2019-12-27 17:08:39 +08:00
|
|
|
dataSelectTip:'please select data',
|
|
|
|
|
dc:'DC',
|
|
|
|
|
dcName:'DC Name',
|
|
|
|
|
AddIdcTab:{
|
2020-01-03 18:10:26 +08:00
|
|
|
title:'Add DC',
|
2019-12-27 17:08:39 +08:00
|
|
|
dcName:'DC Name',
|
|
|
|
|
location:'Location',
|
2020-01-03 18:10:26 +08:00
|
|
|
principal:'Principal',
|
2019-12-27 17:08:39 +08:00
|
|
|
tel:'Tel'
|
|
|
|
|
},
|
|
|
|
|
editIdcTab:{
|
|
|
|
|
title:'Edit IDC',
|
|
|
|
|
dcName:'DC Name',
|
|
|
|
|
location:'Location',
|
2020-01-03 18:10:26 +08:00
|
|
|
principal:'Principal',
|
2019-12-27 17:08:39 +08:00
|
|
|
tel:'Tel'
|
|
|
|
|
},
|
|
|
|
|
location:'Location',
|
2020-01-03 18:10:26 +08:00
|
|
|
principal:'Principal',
|
2019-12-27 17:08:39 +08:00
|
|
|
tel:'Tel',
|
2020-01-03 18:10:26 +08:00
|
|
|
cabinet: 'Cabinet',
|
2019-12-27 17:08:39 +08:00
|
|
|
AddCabinetTab:{
|
2020-01-03 18:10:26 +08:00
|
|
|
title:'Add Cabinet',
|
2019-12-27 17:08:39 +08:00
|
|
|
name:'Name',
|
|
|
|
|
uSize:'U Size',
|
|
|
|
|
remark:'Desc',
|
|
|
|
|
DC:'DC',
|
|
|
|
|
},
|
|
|
|
|
editCabinetTab:{
|
2020-01-03 18:10:26 +08:00
|
|
|
title:'Edit Cabinet',
|
2019-12-27 17:08:39 +08:00
|
|
|
name:'Name',
|
|
|
|
|
uSize:'U Size',
|
|
|
|
|
remark:'Desc',
|
|
|
|
|
DC:'DC',
|
|
|
|
|
},
|
|
|
|
|
uSize:'U Size',
|
|
|
|
|
remark:'Desc',
|
|
|
|
|
cli:'CLI Account',
|
2020-01-03 18:10:26 +08:00
|
|
|
loginType:'Login Type',
|
|
|
|
|
password:'Password',
|
|
|
|
|
ssh:'SSH-Key',
|
2019-12-27 17:08:39 +08:00
|
|
|
account:'Account',
|
|
|
|
|
port:'Port',
|
|
|
|
|
upload:'Upload',
|
2020-01-08 18:02:41 +08:00
|
|
|
clickToUpload:'Upload',
|
|
|
|
|
clickToCover:'Cover',
|
|
|
|
|
sshKeyWasConfig:'SSH-KEY has been configured'
|
2019-12-27 17:08:39 +08:00
|
|
|
},
|
|
|
|
|
editAssetTab:{
|
|
|
|
|
title:'Create Asset',
|
|
|
|
|
sn:'SN',
|
2019-12-26 17:28:04 +08:00
|
|
|
host:'host',
|
|
|
|
|
state:'state',
|
|
|
|
|
selectTip:'please select',
|
2019-12-27 17:08:39 +08:00
|
|
|
modelId:'ModelId',
|
|
|
|
|
alert:'Alert',
|
2019-12-26 17:28:04 +08:00
|
|
|
assetInfo:'资产信息',
|
|
|
|
|
assetType:'资产类型',
|
|
|
|
|
vendor:'厂商/型号',
|
|
|
|
|
vendorTab:{
|
|
|
|
|
vendor:'厂商/型号',
|
|
|
|
|
vendorName:'新厂商名称',
|
|
|
|
|
existVendor:'已有厂商',
|
|
|
|
|
modelName:'新型号名称',
|
|
|
|
|
existModel:'已有型号'
|
|
|
|
|
},
|
2020-01-06 20:57:49 +08:00
|
|
|
purchaseDate:'Purchase',
|
2019-12-26 17:28:04 +08:00
|
|
|
dataSelectTip:'please select data',
|
|
|
|
|
dc:'DC',
|
|
|
|
|
dcName:'DC Name',
|
|
|
|
|
AddIdcTab:{
|
|
|
|
|
title:'+Add IDC',
|
|
|
|
|
dcName:'DC Name',
|
|
|
|
|
location:'Location',
|
|
|
|
|
principal:'负责人',
|
|
|
|
|
tel:'Tel'
|
|
|
|
|
},
|
|
|
|
|
editIdcTab:{
|
|
|
|
|
title:'Edit IDC',
|
|
|
|
|
dcName:'DC Name',
|
|
|
|
|
location:'Location',
|
|
|
|
|
principal:'负责人',
|
|
|
|
|
tel:'Tel'
|
|
|
|
|
},
|
|
|
|
|
location:'Location',
|
|
|
|
|
principal:'负责人',
|
|
|
|
|
tel:'Tel',
|
|
|
|
|
cabinet: '机柜',
|
|
|
|
|
AddCabinetTab:{
|
|
|
|
|
title:'+Add机柜',
|
|
|
|
|
name:'Name',
|
|
|
|
|
uSize:'U Size',
|
|
|
|
|
remark:'Desc',
|
|
|
|
|
DC:'DC',
|
|
|
|
|
},
|
|
|
|
|
editCabinetTab:{
|
2020-01-03 18:10:26 +08:00
|
|
|
title:'Edit Cabinet',
|
2019-12-26 17:28:04 +08:00
|
|
|
name:'Name',
|
|
|
|
|
uSize:'U Size',
|
|
|
|
|
remark:'Desc',
|
|
|
|
|
DC:'DC',
|
|
|
|
|
},
|
|
|
|
|
uSize:'U Size',
|
|
|
|
|
remark:'Desc',
|
|
|
|
|
cli:'CLI Account',
|
|
|
|
|
loginType:'登录方式',
|
|
|
|
|
password:'password',
|
|
|
|
|
ssh:'SSH私钥',
|
|
|
|
|
account:'Account',
|
|
|
|
|
port:'Port',
|
|
|
|
|
upload:'Upload',
|
|
|
|
|
clickToUpload:'点击上传'
|
|
|
|
|
},
|
2019-12-05 16:48:23 +08:00
|
|
|
tableTitle: {
|
|
|
|
|
id: 'ID',
|
2020-01-06 20:57:49 +08:00
|
|
|
assetType: 'Asset Type',
|
2019-12-12 17:07:33 +08:00
|
|
|
device: 'SN',
|
|
|
|
|
host: 'Host',
|
|
|
|
|
assetState: 'State',
|
2020-01-09 14:57:44 +08:00
|
|
|
endpoints: 'Endpoints',
|
|
|
|
|
alerts: 'Alerts',
|
2020-01-06 20:57:49 +08:00
|
|
|
dataCenter: 'Data Center',
|
|
|
|
|
cabinet: 'Cabinet',
|
|
|
|
|
model: 'Model',
|
|
|
|
|
manufacturer: 'Vendor',
|
|
|
|
|
procurementDate: 'Purchase',
|
|
|
|
|
principal: 'Principal',
|
|
|
|
|
principalTel: 'Tel',
|
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',
|
2019-12-10 17:00:28 +08:00
|
|
|
alert: 'alert',
|
2019-12-05 16:48:23 +08:00
|
|
|
},
|
2019-12-26 17:28:04 +08:00
|
|
|
|
2019-12-04 13:45:37 +08:00
|
|
|
},
|
2019-12-05 15:46:40 +08:00
|
|
|
config: {
|
2019-12-10 17:00:28 +08:00
|
|
|
config: "Config",
|
2019-12-05 15:46:40 +08:00
|
|
|
account: {
|
2019-12-10 17:00:28 +08:00
|
|
|
accountList: "Account List",
|
2019-12-05 15:46:40 +08:00
|
|
|
//列表表头
|
|
|
|
|
account: "Account",
|
|
|
|
|
language: "Language",
|
|
|
|
|
receiver: "Receiver",
|
|
|
|
|
createTime: "Create Time",
|
|
|
|
|
enable: "Enable",
|
|
|
|
|
option: "Option",
|
|
|
|
|
|
|
|
|
|
//侧滑框
|
|
|
|
|
accountId: "Accound ID",
|
|
|
|
|
createAccount: "Create Account",
|
|
|
|
|
editAccount: "Edit Account",
|
2019-12-24 17:31:51 +08:00
|
|
|
notCurrentlySupport: 'Not currently supported',
|
|
|
|
|
password: 'Password'
|
2019-12-05 18:07:58 +08:00
|
|
|
},
|
|
|
|
|
promServer: {
|
2019-12-10 17:00:28 +08:00
|
|
|
promServerList: "Prometheus Server",
|
2019-12-05 18:07:58 +08:00
|
|
|
//侧滑框
|
|
|
|
|
promId: "Prometheus Server ID",
|
|
|
|
|
createProm: "Create Prometheus Server",
|
2019-12-13 17:08:35 +08:00
|
|
|
editProm: "Edit Prometheus Server",
|
|
|
|
|
type: "Type"
|
2019-12-05 18:07:58 +08:00
|
|
|
},
|
2019-12-05 15:46:40 +08:00
|
|
|
},
|
2019-12-10 17:00:28 +08:00
|
|
|
alert: {
|
|
|
|
|
alert: "Alert",
|
2020-01-03 18:10:26 +08:00
|
|
|
alertList: "Alert Message",
|
|
|
|
|
alertConfig: "Alert Rule",
|
2019-12-10 17:00:28 +08:00
|
|
|
alertName: "Alert Name",
|
2019-12-06 17:36:33 +08:00
|
|
|
severity: "Severity",
|
|
|
|
|
description: "Desc",
|
|
|
|
|
summary: "Summary",
|
2019-12-27 17:53:17 +08:00
|
|
|
startAt: "Start Time",
|
2019-12-06 17:36:33 +08:00
|
|
|
endAt: "End Time",
|
|
|
|
|
list: {
|
|
|
|
|
//表头
|
2020-01-09 14:57:44 +08:00
|
|
|
linked: "Linked",
|
2019-12-06 17:36:33 +08:00
|
|
|
type: "Type",
|
|
|
|
|
state: "Status",
|
|
|
|
|
charts: "Charts",
|
|
|
|
|
|
|
|
|
|
//表内容
|
2019-12-13 17:08:35 +08:00
|
|
|
projectAlert: "Project Alert",
|
|
|
|
|
moduleAlert: "Module Alert",
|
|
|
|
|
deviceAlert: "Device Alert",
|
2019-12-06 17:36:33 +08:00
|
|
|
pending: "Pending",
|
|
|
|
|
expired: "Expired"
|
|
|
|
|
},
|
|
|
|
|
config: {
|
|
|
|
|
name: "Name",
|
|
|
|
|
receiver: "Receiver",
|
|
|
|
|
expr: "Expr",
|
2019-12-13 17:08:35 +08:00
|
|
|
for: "For (s)",
|
|
|
|
|
link: 'Link',
|
2019-12-06 17:36:33 +08:00
|
|
|
option: "Option",
|
2020-01-03 18:10:26 +08:00
|
|
|
alertConfig: "Alert Rule",
|
|
|
|
|
createAlertConfig: "Create Alert Rule",
|
|
|
|
|
editAlertConfig: "Edit Alert Rule",
|
2019-12-13 17:08:35 +08:00
|
|
|
medium: "Medium",
|
|
|
|
|
high: "High",
|
|
|
|
|
low: "Low",
|
|
|
|
|
typeOption: {
|
|
|
|
|
project: 'Project',
|
|
|
|
|
module: 'Module',
|
|
|
|
|
asset: 'Asset'
|
|
|
|
|
}
|
2019-12-06 17:36:33 +08:00
|
|
|
}
|
|
|
|
|
},
|
2019-12-10 17:00:28 +08:00
|
|
|
project: {
|
2019-12-11 17:15:23 +08:00
|
|
|
project: {
|
2019-12-12 17:15:33 +08:00
|
|
|
project: "Project",
|
|
|
|
|
projectName: "Project Name",
|
|
|
|
|
editProject: "Edit Project",
|
2019-12-13 17:08:35 +08:00
|
|
|
description: "Description",
|
|
|
|
|
createProject: "Create Project"
|
2019-12-11 17:15:23 +08:00
|
|
|
},
|
|
|
|
|
module: {
|
2019-12-12 17:15:33 +08:00
|
|
|
module: "Module",
|
|
|
|
|
moduleName: "Module Name",
|
|
|
|
|
editModule: "Edit Module",
|
|
|
|
|
description: "Description",
|
2019-12-13 17:08:35 +08:00
|
|
|
createModule: "Create Module",
|
2019-12-12 17:15:33 +08:00
|
|
|
tip: {
|
|
|
|
|
defaultEndpointSet: "Default Endpoint Set",
|
|
|
|
|
relation: "Endpoints associated with Module will reference Port/Path/Param/Params by default"
|
|
|
|
|
}
|
2019-12-11 17:15:23 +08:00
|
|
|
},
|
2019-12-10 17:00:28 +08:00
|
|
|
endpoint: {
|
|
|
|
|
createEndpoint: "Create Endpoint",
|
|
|
|
|
editEndpoint: "Edit Endpoint",
|
|
|
|
|
endpoint: "Endpoint",
|
|
|
|
|
endpointId: "Endpoint ID",
|
|
|
|
|
host: "Host",
|
|
|
|
|
port: "Port",
|
|
|
|
|
param: "Param",
|
|
|
|
|
path: "Path",
|
|
|
|
|
asset: "Asset",
|
|
|
|
|
lastUpdate: "Last Update",
|
2019-12-20 22:00:04 +08:00
|
|
|
moduleParameter: "Module's Parameter"
|
2019-12-10 17:00:28 +08:00
|
|
|
},
|
2019-12-13 17:08:35 +08:00
|
|
|
metrics: {
|
|
|
|
|
metrics: "Metrics",
|
|
|
|
|
name: 'name',
|
|
|
|
|
type: 'Type',
|
|
|
|
|
description: 'Desc'
|
|
|
|
|
}
|
2019-12-10 17:00:28 +08:00
|
|
|
},
|
2019-12-02 16:16:26 +08:00
|
|
|
...enLocale
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-05 15:46:40 +08:00
|
|
|
export default en;
|