1 echarts图表增加toolbox fix:修改问题 1 echarts图表对于返回数据metric为空图表不显示数据情况进行处理 2 tooltip背景色修改 3 echarts图表对于返回数据metric为空图表,tooltip无法正常显示修改(列表及全屏,预览及全屏,explore及全屏)
786 lines
24 KiB
JavaScript
786 lines
24 KiB
JavaScript
import enLocale from 'element-ui/lib/locale/lang/en' //引入element语言包
|
||
const en = {
|
||
//命名原则
|
||
//创建使用New
|
||
//表示创建状态用Created,如创建时间Created Time
|
||
//告警使用Alert,而不是Alarm
|
||
//账号用Account,username、password等都属于account的一部分
|
||
// A user is the person who uses the account, the account is an inanimate object that is merely registered to an e-mail address.
|
||
overall:{
|
||
dashboard:'Dashboards',//'仪表盘'
|
||
project:'Projects',//'系统'
|
||
alert: 'Alerts',//"告警"
|
||
asset:'Assets', //'资产'
|
||
config:'Settings', //'设置'
|
||
create: 'New', //'新增'
|
||
edit: 'Edit', //'编辑'
|
||
delete: 'Delete', //'删除'
|
||
view: 'View',
|
||
type: 'Type',
|
||
esc: 'Cancel', //'取消'
|
||
cancel: 'Cancel', //'取消'
|
||
save: 'Save', //'保存'
|
||
download: 'Download', //下载
|
||
preview:'Preview',//预览
|
||
search: 'Search', //'搜索'
|
||
add: 'Create', //"新增"
|
||
option: 'Operation', //"操作"
|
||
clear: 'Clear', //"清除"
|
||
name: 'Name', //'名称'
|
||
cover: 'Override', //'覆盖'
|
||
signOut: 'Logout',//'登出'
|
||
select: 'Select',//'选择'
|
||
ok: 'Ok',//OK
|
||
all: 'All',//'全选'
|
||
other: 'Others',//"其他"
|
||
detail: 'Detail', //详情
|
||
query: 'Query', //查询
|
||
back: 'Back', //返回
|
||
unavailable: 'Unavailable',
|
||
available: 'Available',
|
||
changePwd:'Change Password',//修改密码
|
||
createChart:'create chart',
|
||
createProject:'create project',
|
||
createAsset:'create asset',
|
||
createAlertRule:'create alert rule',
|
||
createAccount:'create account',
|
||
createPrometheusServer:'create prometheus server',
|
||
createDatacenter:'create Data Center',
|
||
createCabinet:'create cabinet',
|
||
createModel:'create model',
|
||
createMib:'create MIB',
|
||
exportExcel:'Export',
|
||
importExcel:'Import',
|
||
importExcelLower:'import',
|
||
exportExcelLower:'export',
|
||
rollbackImport:'rollback',
|
||
exportCur:'current page',
|
||
exportAll:'all',
|
||
importFile:'please upload file',
|
||
importTip:'only allowed xlsx/xls file',
|
||
dragFileTip:'Drag file here',
|
||
or:'or',
|
||
clickUpload:'click to upload',
|
||
upload:'upload',
|
||
template:'Template',
|
||
active: 'active',
|
||
result:{
|
||
total:'Total',
|
||
failed:'Failed',
|
||
success:'Success',
|
||
failedDetail:'Failed Detail'
|
||
},
|
||
reset:'Reset',
|
||
submit:'Submit',
|
||
noData:'No data'
|
||
},
|
||
pageSize: '/page',
|
||
webshell:{
|
||
shellTitle:'Local Shell',
|
||
upload:'Upload',
|
||
download:'DownLoad',
|
||
uploadTitle:'Upload',
|
||
downloadTitle:'DownLoad',
|
||
uploadButtonTitle:'Upload',
|
||
fileSelect:'select',
|
||
downloadButtonTitle:'Download',
|
||
filePath:'file path',
|
||
closeTip:'All connections will be closed, are you sure you want to close the window?',
|
||
remember:'Remember my decision'
|
||
},
|
||
login: {
|
||
username: 'Username',
|
||
password: 'Password',
|
||
login: 'Login'
|
||
},
|
||
dashboard:{
|
||
title:'Dashboard',
|
||
panel:{
|
||
title:'Panel', //'面板'
|
||
searchItem:{
|
||
name:'name'
|
||
},
|
||
//面板-侧滑框
|
||
createPanelTitle: 'New Panel', //"新增面板"
|
||
selectPanelTitle:'Select', //"选择面板"
|
||
createPanelTitleSec:'New Panel',//"新增面板"
|
||
editPanelTitle: 'Panel', //"面板"
|
||
panelForm:{
|
||
panelName:'Panel Name', //"面板名称"
|
||
panelId:"ID" //ID
|
||
},
|
||
//图表-侧滑框
|
||
createChartTitle: 'New Chart', //"新增图表"
|
||
editChartTitle: 'Edit',//"编辑图表"
|
||
chartForm:{
|
||
chartId:"ID",
|
||
chartName:"Chart Name",
|
||
type:"Type",
|
||
unit:"Unit",
|
||
url:"URL",
|
||
legend:'Legend',
|
||
legendTip:'Controls the name of the time series, using name or pattern. For example {{hostname}} will be replaced with label value for the label hostname.',
|
||
typeVal:{
|
||
line:{
|
||
label:'Line Chart' //"曲线图"
|
||
},
|
||
bar:{
|
||
label:'Histogram' //"柱状图"
|
||
},
|
||
table:{
|
||
label:'Table' //"表格"
|
||
},
|
||
stackArea:{
|
||
label:"Stack Area"
|
||
},
|
||
url:{
|
||
label:"URL"
|
||
}
|
||
},
|
||
width:'Width', //"宽"
|
||
high:'High', //"高"
|
||
metric:'Metric', //"指标"
|
||
option:'Option',
|
||
addMetric:'Add metric', //"添加指标"
|
||
},
|
||
chartTableColumn:{
|
||
metric:'Metric', //'指标'
|
||
label:'Label', //'标签'
|
||
element:'Element',
|
||
time:'Time', //'时间'
|
||
value:'Value', //'值'
|
||
},
|
||
startTime:'Start time', //'开始时间'
|
||
endTime:'End time',//'结束时间'
|
||
to:'To', //To
|
||
recOne:'Last 1 hour', //'最近1小时'
|
||
recFour:'Last 4 hours',//'最近4小时'
|
||
recOneDay:'Last 1 day',//'最近1日'
|
||
yesterday:'Yesterday', //'昨日'
|
||
recSevenDay:'最近7日',// Last 7 days
|
||
recOneMonth:'Last 1 month',//'最近1月'
|
||
curMonth:'This month',//'本月'
|
||
lastMonth:'Last month',//'上月'
|
||
customTimeRange:'Custom time range',
|
||
lastFiveMin:'Last 5 minutes',
|
||
lastFifteenMin:'Last 15 minutes',
|
||
lastThirtyMin:'Last 30 minutes',
|
||
lastOneHour:'Last 1 hour',
|
||
lastThreeHour:'Last 3 hours',
|
||
lastSixHour:'Last 6 hours',
|
||
lastTwelveHour:'Last 12 hours',
|
||
lastTwentyFourHour:'Last 24 hours',
|
||
lastTwoDay:'Last 2 days',
|
||
lastSevenDay:'Last 7 days',
|
||
lastThirtyDay:'Last 30 days',
|
||
refreshInterval:{
|
||
never:'Never', //'从不'
|
||
oneMinute:'1 minute', // 1 minute
|
||
threeMinutes:'3 minutes', //'3分钟'
|
||
fiveMinutes:'5 minutes', //'5分钟'
|
||
tenMinutes:'10 minutes', //'10分钟'
|
||
},
|
||
view:'View',//'查看'
|
||
confirm:'Ok',// OK
|
||
cancel:'Cancel'//'取消'
|
||
},
|
||
metric:{
|
||
name:'Metric Name', //"指标名称"
|
||
normal:'Normal', //"普通"
|
||
expert:"Expert",// Expert
|
||
label:'Label', //"指标标签"
|
||
addMetric:'Add Metric',//"添加指标"
|
||
expertTip:'Add expression',//"请输入表达式"
|
||
goPanelTip:"View created panel?",//View created panel?
|
||
previewChart:'Preview',//"预览图表"
|
||
singleChartShow:'Signle chart',//"单图展示"
|
||
multiChartsShow:'Multiple charts',//"多图展示"
|
||
createPanel:'New panel', //"创建面板"
|
||
selectPanel:'Exist panel',//"选择已有面板"
|
||
saveChart: 'Save chart',
|
||
saveChartToPanel:"Save chart to panel"//Save chart to panel.
|
||
},
|
||
metricPreview:{
|
||
title:'Explore',
|
||
},
|
||
refresh:'Refresh',//'刷新'
|
||
edit:'Edit',//'编辑'
|
||
delete:'Delete',//'删除'
|
||
screen:'Full screen',//'全屏',
|
||
overview:{
|
||
title:'Overview',
|
||
contentTitle:'Nezha Management System',
|
||
asset:{
|
||
title:'Asset',
|
||
assetType:'Asset Type',
|
||
modelStat:'Model',
|
||
dcStat:'Data Center',
|
||
num:'Num',
|
||
alert:'Alert',
|
||
alertTotal:'Total',
|
||
alertLow:'Low',
|
||
alertMedium:'Medium',
|
||
alertHigh:'High',
|
||
inStock:'In Stock',
|
||
outStock:'Out Stock',
|
||
pingUp:'Up',
|
||
pingDown:'Down',
|
||
host:'Host',
|
||
dropDownLabel:{
|
||
type:'type',
|
||
model:'model',
|
||
dc:'data center'
|
||
},
|
||
},
|
||
project:{
|
||
project:'Project',
|
||
name:'Name',
|
||
module:'Module',
|
||
endpoint:'Endpoint',
|
||
},
|
||
dataCenter:{
|
||
dataCenter:'Data Center',
|
||
cabinet:'Cabinet',
|
||
promServer:'Prom Server',
|
||
},
|
||
alert:{
|
||
level:'Level',
|
||
alertRule:'Alert Rule',
|
||
ruleNum:'Rule Num',
|
||
alertNum:'Alert Num',
|
||
alertRuleTopN:'According to Alert Rule',
|
||
assetTopN:'According to Asset',
|
||
top:'Top',
|
||
chart:{
|
||
chartTitle:'Alert Trend'
|
||
},
|
||
},
|
||
mapTooltip:{
|
||
asset:'asset',
|
||
state:'state',
|
||
ping:'ping',
|
||
inStock:'in stock',
|
||
outStock:'out stock',
|
||
active:'active',
|
||
inactive:'inactive',
|
||
alert:'alert',
|
||
high:'high',
|
||
medium:'medium',
|
||
low:'low',
|
||
endpoint:'endpoint',
|
||
total:'total',
|
||
up:'up',
|
||
down:'down',
|
||
prometheus:'prometheus',
|
||
}
|
||
}
|
||
},
|
||
validate: { //校验规则
|
||
required: 'Required',//'必填项'
|
||
number: 'Numberic',//'必须是数字'
|
||
integer:'Integer',
|
||
positiveInteger:'Positive Integer',
|
||
email:'Invalid email',//'不合法的E-mail地址'
|
||
tel:'Invalid phone number',//'不合法的电话号码'
|
||
host:'Invalid IP',//'不合法的IP'
|
||
domain:'Invalid domain',
|
||
usize:'Must be number(1 - 49)',
|
||
fileSize:'文件过大',//File exceed max size.
|
||
port:'Invalid Port',
|
||
url:'Invalid URL',
|
||
uSize:'Must be number(1 - 47)',
|
||
requiredIdc:'dc is required'
|
||
},
|
||
search: {
|
||
searchTip: 'Enter to search',//'点击或回车执行搜索'
|
||
recentSearch: 'Search history',//'搜索记录'
|
||
noRecentSearch: 'No Recent Search'//'无搜索记录'
|
||
},
|
||
tip: {
|
||
confirmDelete: "Are you sure you want to delete?", //Are you sure you want to delete?
|
||
assetConfirmDelete: 'Related endpoints and alerts will be removed, are you sure you want to delete this asset?',//Related endpoints and alerts will be removed, are you sure you want to delete this asset?
|
||
yes: 'Yes', //"是"
|
||
no: "No",//No
|
||
deleteSuccess: 'Delete success',//"删除成功"
|
||
saveSuccess: 'Save success', //"保存成功"
|
||
coverSuccess: 'Override success',//'覆盖成功'
|
||
refreshLater:'Refresh later',//'请稍后刷新'
|
||
testSuccess:'Test success',
|
||
downloadSuccess : 'Download Success',
|
||
uploadSuccess: 'Upload Success',
|
||
pressEnterToAdd: 'Press enter to add new line',
|
||
resetSuccess:'Reset success',
|
||
},
|
||
asset:{
|
||
asset: 'Asset',
|
||
assets: 'Assets',//'资产'
|
||
EditAsset:'Edit asset',//'编辑资产'
|
||
pingActive: 'active',//可ping通
|
||
assetStatPre:'Last reply:',
|
||
assetStatDown:'Never',
|
||
pingInactive:'inactive',
|
||
left:{
|
||
dataCenter:'Data Center',
|
||
assetType:'Asset Type',
|
||
vendor:'Vendor',
|
||
ping:'Ping',
|
||
},
|
||
createAssetTab:{
|
||
title:'New asset',//'新增资产'
|
||
sn:'SN',//SN
|
||
host:'Host',//'Host'
|
||
state:'State',//'状态'
|
||
selectTip:'Please select',//'请选择'
|
||
inStock: 'In stock',//'在库'
|
||
notInStock: 'Not in stock',//'出库'
|
||
assetInfo:'Asset information',//'资产信息'
|
||
assetType:'Asset type',//'资产类型'
|
||
impi:{
|
||
title:'IPMI',
|
||
host:'Host',
|
||
port:'Port',
|
||
},
|
||
assetTypeTab:{
|
||
assetType:'Asset type',//'资产类型'
|
||
addAssetType:'New asset type',//'新增资产类型'
|
||
existAssetType:'Existed asset type'//'已存在的资产类型'
|
||
},
|
||
vendorModel:'Vendor/Model',//'厂商/型号'
|
||
vendorTab:{
|
||
vendor:'Vendor/Model',//'厂商/型号'
|
||
vendorName:'New vendor',//'新厂商'
|
||
existVendor:'Existed vendor',//'已有厂商'
|
||
modelName:'New model',//'新型号'
|
||
existModel:'Existed model'//'已有型号'
|
||
},
|
||
purchaseDate:'Purchase date',//'购买日期'
|
||
dataSelectTip:'Please select date',//'请选择日期'
|
||
dc:'DC',
|
||
dcName:'Data Center name',//'DC名称'
|
||
AddIdcTab:{
|
||
title:'New Data Center',//'新增DC'
|
||
dcName:'Data Center name',//'DC名称'
|
||
location:'Location',//'地区'
|
||
principal:'Administrator',//'负责人'
|
||
tel:'Telephone'//'电话'
|
||
},
|
||
editIdcTab:{
|
||
title:'Edit Data Center',//'编辑DC'
|
||
dcName:'Data Center name',//'DC名称'
|
||
location:'Location',//'地区'
|
||
principal:'Administrator',//'负责人'
|
||
tel:'Telephone'//'电话'
|
||
},
|
||
location:'Location',//'地区'
|
||
principal:'Administrator',//'负责人'
|
||
tel:'Telephone',//'电话'
|
||
cabinet: 'Cabinet',//'机柜'
|
||
AddCabinetTab:{
|
||
title:'New cabinet',//'新增机柜'
|
||
name:'Name',//'名称'
|
||
uSize:'U size',//'U位'
|
||
remark:'Description',//'描述'
|
||
DC:'DC',
|
||
},
|
||
editCabinetTab:{
|
||
title:'Edit cabinet',//'编辑机柜'
|
||
name:'Name',//'名称'
|
||
uSize:'U size',//'U位'
|
||
remark:'Description',//'描述'
|
||
DC:'DC',
|
||
},
|
||
uSize:'U size',//'U位'
|
||
remark:'Description',//'描述'
|
||
cli:'CLI account',//'CLI账号'
|
||
loginType:'Login type',//'登录类型'
|
||
password:'Password',//'密码'
|
||
ssh:'SSH key',//'SSH-Key'
|
||
protocol:"Protocol",
|
||
sshProtocol:"SSH",
|
||
telnetProtocol:"Telnet",
|
||
userTip:"UserTip",//用户名提示
|
||
passwordTip:"PasswordTip",//密码提示
|
||
reloginPasswordTip:"Relogin",//密码提示
|
||
userPwdIntroduce:'Please specify a user name and password so that the telenet login process can automatically log in',
|
||
reLoginPwdIntroduce:'Please specify the password prompt so that the login process can run automatically',
|
||
account:'User name',//'用户名'
|
||
port:'Port',//'端口'
|
||
upload:'Upload',//'上传'
|
||
clickToUpload:'Upload',//'上传'
|
||
clickToCover:'Cover',//'覆盖'
|
||
sshKeyWasConfig:'SSH-KEY configured',//'SSH-KEY已配置'
|
||
exporter:'Exporter',
|
||
},
|
||
editAssetTab:{
|
||
title:'New asset',//'新增资产'
|
||
sn:'SN',//SN
|
||
host:'Host',//'Host'
|
||
state:'State',//'状态'
|
||
modelId:'Module',//'组件'
|
||
alert:'Alert information',//'告警信息'
|
||
assetInfo:'Asset information',//'资产信息'
|
||
assetType:'Asset type',//'资产类型'
|
||
vendor:'Vendor',//'厂商/型号'
|
||
vendorTab:{
|
||
vendor:'Vendor/Model',//'厂商/型号'
|
||
vendorName:'New vendor',//'新厂商'
|
||
existVendor:'Existed vendor',//'已有厂商'
|
||
modelName:'New model',//'新型号'
|
||
existModel:'Existed model'//'已有型号'
|
||
},
|
||
purchaseDate:'Purchase date',//'购买日期'
|
||
dataSelectTip:'Please select date',//'请选择日期'
|
||
dc:'DC',
|
||
dcName:'DC name',//'DC名称'
|
||
AddIdcTab:{
|
||
title:'New Data Center',//'新增DC'
|
||
dcName:'DC name',//'DC名称'
|
||
location:'Location',//'地区'
|
||
principal:'Administrator',//'负责人'
|
||
tel:'Telephone'//'电话'
|
||
},
|
||
editIdcTab:{
|
||
title:'Edit DC',//'编辑DC'
|
||
dcName:'DC name',//'DC名称'
|
||
location:'Location',//'地区'
|
||
principal:'Administrator',//'负责人'
|
||
tel:'Telephone'//'电话'
|
||
},
|
||
location:'Location',//'地区'
|
||
principal:'Administrator',//'负责人'
|
||
tel:'Telephone',//'电话'
|
||
cabinet: 'Cabinet',//'机柜'
|
||
AddCabinetTab:{
|
||
title:'New cabinet',//'新增机柜'
|
||
name:'Name',//'名称'
|
||
uSize:'U size',//'U位'
|
||
remark:'Description',//'描述'
|
||
DC:'DC',//DC
|
||
},
|
||
editCabinetTab:{
|
||
title:'Edit cabinet',//'编辑机柜'
|
||
name:'Name',//'名称'
|
||
uSize:'U size',//'U位'
|
||
remark:'Description',//'描述'
|
||
DC:'DC',//DC
|
||
},
|
||
uSize:'U size',//'U位'
|
||
remark:'Description',//'描述'
|
||
cli:'CLI account',//'CLI账号'
|
||
loginType:'Login type',//'登录类型'
|
||
password:'Password',//'密码'
|
||
ssh:'SSH-Key',//'SSH-Key'
|
||
account:'Username',//'用户名'
|
||
port:'Port',//'端口'
|
||
upload:'Upload',//'上传'
|
||
clickToUpload:'Upload',//'上传'
|
||
},
|
||
tableTitle: {
|
||
id: 'ID',//ID
|
||
assetType: 'Asset type',//'资产类型'
|
||
device: 'SN',//SN
|
||
host: 'Host',//'Host'
|
||
assetState: 'State',//'状态'
|
||
assetPing: 'Ping',
|
||
modules: 'Endpoint',//'组件'
|
||
alerts: 'Alerts',//'告警信息'
|
||
dataCenter: 'DC',//DC
|
||
cabinet: 'Cabinet',//'机柜'
|
||
model: 'Model',//'型号'
|
||
vendor: 'Vendor',//'厂商'
|
||
procurementDate: 'Purchase date',//'购买日期'
|
||
principal: 'Administrator',//'负责人'
|
||
principalTel: 'Telephone',//'电话'
|
||
option: 'Operation'//"操作"
|
||
},
|
||
tagTableTitle: {
|
||
projectName: 'Project name',//'系统名称'
|
||
moduleName: 'Module name',//'组件名称'
|
||
endPoint: 'End point',//'EndPoint'
|
||
alert: 'Alert',//'告警'
|
||
},
|
||
|
||
},
|
||
config: {
|
||
config: 'Settings',//"设置"
|
||
account: {
|
||
accountList: 'Account list',//"用户列表"
|
||
//列表表头
|
||
account: 'Account',//"用户"
|
||
language: 'Language',//"语言"
|
||
receiver: 'Account group',//"用户组"
|
||
createTime: 'Create time',//"创建时间"
|
||
enable: 'Available',//"可用"
|
||
option: 'Operation',//"操作"
|
||
//侧滑框//
|
||
accountId: 'Account ID',//"用户ID"
|
||
createAccount: 'New account',//"新增用户"
|
||
editAccount: 'Edit account',//"编辑用户"
|
||
notCurrentlySupport: 'Not available',//'暂不支持'
|
||
password: 'Password',//'密码'
|
||
oldPwd:'Old Password',
|
||
inputOldPwd:'Please input old password',
|
||
newPwd:'New password',
|
||
inputNewPwd:'Please input new password',
|
||
confirmPwd:'Confirm Password',
|
||
inputConfirmPwd:'Please input confirm password',
|
||
invalidPwd:'invalide password,the length at least 6',
|
||
confirmPwdErr:'The two passwords are inconsistent',
|
||
reinputPwd:'Enter password again'
|
||
},
|
||
promServer: {
|
||
promServerList: 'Prometheus server',//"Prometheus Server"
|
||
//侧滑框
|
||
promId: 'Prometheus server ID',//"Prometheus Server ID"
|
||
createProm: 'New prometheus server',//"新增Prometheus Server"
|
||
editProm: 'Edit prometheus server',//"修改Prometheus Server"
|
||
type: 'Type',//"类别"
|
||
checkTime: 'Check time'
|
||
},
|
||
dc: {
|
||
dc: 'Data Center',
|
||
area: "Area",
|
||
selectArea: 'Select area',
|
||
cabinetNum: "Cabinet number",
|
||
assets: "Assets",
|
||
remark:'Remark',
|
||
cabinets: "Cabinets"
|
||
},
|
||
model: {
|
||
model: 'Asset Model',
|
||
vendor: 'Vendor',
|
||
assets: "Assets",
|
||
editModel: 'Edit model',
|
||
createModel: 'Create model',
|
||
remark: 'Remark',
|
||
type: 'Type'
|
||
},
|
||
terminallog: {
|
||
terminallog: 'Terminal Log',
|
||
status: 'Status',//"状态"
|
||
option: 'Operation',//"操作",
|
||
host: 'Host',
|
||
cmd: 'CMD',
|
||
port: 'Port',
|
||
userId: 'UserID',
|
||
protocol: 'Protocol',
|
||
user: 'User',
|
||
detail: 'Terminal Log Detail',
|
||
resize: 'Terminal Resize',
|
||
download: 'Terminal Download',
|
||
upload: 'Terminal Upload',
|
||
selectFile: 'Select File',
|
||
SSH: 'SSH',
|
||
TELNET: 'TELNET',
|
||
id: 'ID',
|
||
time: 'Time',
|
||
width: 'Width',
|
||
height: 'Height',
|
||
cols: 'Cols',
|
||
rows: 'Rows',
|
||
uuid: 'UUID',
|
||
path: 'Path',
|
||
file: 'File',
|
||
success: 'Success',
|
||
fail: 'Fail'
|
||
},
|
||
operationlog: {
|
||
operationlog: 'Operation Log',
|
||
id : 'ID',
|
||
username: 'User',
|
||
operation: 'Operation',
|
||
type: 'Type',
|
||
createDate: 'CreateDate',
|
||
ip: "IP"
|
||
},
|
||
mib:{
|
||
mib:'SNMP MIB',
|
||
fileName:'FileName',
|
||
remark:'Remark',
|
||
updateUser:'Update User',
|
||
updateAt:'Update Time',
|
||
editMib:'Edit MIB',
|
||
models:'Models',
|
||
modelTip:'please select models',
|
||
createMib:'Create MIB',
|
||
mibFiles:'MIB File',
|
||
uploadTip:'please upload MIB file',
|
||
requiredMibFile:'MIB file is required',
|
||
vendor:'Vendor',
|
||
type:'Type',
|
||
mibBrowser: 'MIB browser',
|
||
noData: "No Data"
|
||
},
|
||
system:{
|
||
system:'System',
|
||
basic:{
|
||
basic:'Basic',
|
||
alertApi:'Alert API',
|
||
assetPingSwith:'Asset Ping',
|
||
assetPingInterval:'Interval',
|
||
exporterTarget:'Exporter Path',
|
||
scrapeInterval:'Scrape Interval',
|
||
storageRetention:'Local Retention',
|
||
systemName:'System Name',
|
||
curUrl:'Current site URL',
|
||
timezone:'Timezone',
|
||
defaultCabinetUsize:'Cabinet U Size'
|
||
},
|
||
email:{
|
||
email:'Email',
|
||
enable:'Enable Email',
|
||
smtpHost:'SMTP Host',
|
||
smtpPort:'SMTP Port',
|
||
smtpAccount:'SMTP Account',
|
||
smtpPwd:'SMTP Password',
|
||
sendAccount:'Send Account',
|
||
testAccount:'Test Account',
|
||
useSSL:'SSL',
|
||
useTLS:'TLS',
|
||
testConnection:'Test Connection',
|
||
pwdTip:'Tip:Some email providers need to enter token',
|
||
sendAccountTip:'Tip:The SMTP account is used as the sending account by default',
|
||
testAccountTip:'Tip:Used only as test mail recipient',
|
||
sslTip:'If the SMTP port is 465, you usually need to enable SSL',
|
||
tlsTip:'If the SMTP port is 587, you usually need to enable TLS'
|
||
},
|
||
terminal:{
|
||
terminal:'Terminal',
|
||
terminalNum:'Max Terminal Number'
|
||
},
|
||
ldap:{
|
||
ldap:'LDAP',
|
||
address:'LDAP Address',
|
||
dn:'Bind DN',
|
||
pwd:'Password',
|
||
ou:'User OU',
|
||
filter:'User Filter',
|
||
map:'LDAP Field Mapping',
|
||
active:'LDAP Authentication'
|
||
},
|
||
reset:{
|
||
reset:'Reset',
|
||
type:'Type',
|
||
pwd:'Password',
|
||
metric:'metric',
|
||
alert:'alert',
|
||
sysConfig:'system config',
|
||
pwdTip:'Please input your password',
|
||
promptTitle:'Confirm',
|
||
yes:'Yes',
|
||
no:'No',
|
||
}
|
||
}
|
||
},
|
||
alert: {
|
||
alert: 'Alerts',//"告警"
|
||
message: 'Message',//'信息'
|
||
rule: 'Rule',//'规则'
|
||
alertList: 'Alert message',//"告警信息"
|
||
alertConfig: 'Alert rule',//"告警规则"
|
||
alertName: 'Alert name',//"告警名称"
|
||
severity: 'Level',//"等级"
|
||
description: 'Description',//"描述"
|
||
summary: 'Summary',//"概要"
|
||
startAt: 'Start time',//"开始时间"
|
||
endAt: 'End time',//"结束时间"
|
||
list: {
|
||
//表头
|
||
linked: 'Linked',//"关联"
|
||
type: 'Type',//"类别"
|
||
state: 'State',//"状态"
|
||
charts: 'Charts',//"图表"
|
||
//表内容
|
||
projectAlert: 'Project alert',//"系统告警"
|
||
moduleAlert: 'Module alert',//"组件告警"
|
||
deviceAlert: 'Device alert',//"设备告警"
|
||
pending: 'Pending',//"待处理"
|
||
expired: 'Expired',//"已过期"
|
||
labels: 'Labels'
|
||
},
|
||
config: {
|
||
name: 'Name',//"名称"
|
||
receiver: 'User group',//"用户组"
|
||
expr: 'Expression',//"表达式"
|
||
for: "For (s)",//For (s)
|
||
link: 'Link',//'关联'
|
||
option: 'Operation',//"操作"
|
||
alertConfig: 'Alert rule',//"告警规则"
|
||
createAlertConfig: 'New alert rule',//"新增告警规则"
|
||
editAlertConfig: 'Edit alert rule',//"修改告警规则"
|
||
medium: 'Medium',//"中"
|
||
alertNum: 'Alert number', //告警信息数量
|
||
high: 'High',//"高"
|
||
low: 'Low',//"低"
|
||
typeOption: {
|
||
project: 'Project',//'系统'
|
||
module: 'Module',//'组件'
|
||
asset: 'Device'//'设备'
|
||
}
|
||
}
|
||
},
|
||
project: {
|
||
project: {
|
||
project: 'Project',//"系统"
|
||
projectName: 'Project name',//"系统名称"
|
||
editProject: 'Edit project',//"编辑系统"
|
||
description: 'Description',//"描述"
|
||
createProject: 'New project'//"新增系统"
|
||
},
|
||
module: {
|
||
module: 'Module',//"组件"
|
||
moduleName: 'Module name',//"组件名称"
|
||
editModule: 'Edit module',//"编辑组件"
|
||
description: 'Description',//"描述"
|
||
createModule: 'New module',//"新增组件"
|
||
version: 'Version',
|
||
walk: 'Walk',
|
||
maxRepetitions: 'Max repetitions',
|
||
retries: 'Retries',
|
||
timeout: 'Timeout',
|
||
community: 'Community',
|
||
securityLevel: 'Security level',
|
||
authProtocol: 'Auth protocol',
|
||
privProtocol: 'Priv protocol',
|
||
contextName: 'Context name',
|
||
privPassword: 'Priv password',
|
||
tip: {
|
||
defaultEndpointSet: 'Default endpoint settings',//"默认的Endpoint设置"
|
||
relation: 'Module associated Endpoint will configure the following ports/paths/parameters by default'//"组件关联的Endpoint将默认配置以下端口/路径/参数"
|
||
}
|
||
},
|
||
endpoint: {
|
||
createEndpoint: 'New Endpoint',//"新增Endpoint"
|
||
editEndpoint: 'Edit Endpoint',//"编辑Endpoint"
|
||
endpoint: 'Endpoint',//"Endpoint"
|
||
endpointId: 'Endpoint ID',//"Endpoint ID"
|
||
host: 'Host',//"Host"
|
||
port: 'Port',//"端口"
|
||
param: 'Parameter',//"参数"
|
||
path: 'Path',//"路径"
|
||
asset: 'Asset',//"设备"
|
||
lastUpdate: 'Last Reply',//"最后更新时间"
|
||
moduleParameter: 'Module',//"组件参数"
|
||
addGraph: 'View Graph', //添加图标
|
||
element: 'Element',
|
||
value: 'Value',
|
||
promExpr: 'Please input expression',
|
||
dialogTitle:'View', //endpoint 弹出dialog 标题,
|
||
hideSameLabels:'Hide same labels',
|
||
stateInfo_230009:'promserver available',
|
||
stateInfo_230010:'promserver can be used',
|
||
stateInfo_230011:'promserver can not beused ',
|
||
|
||
},
|
||
metrics: {
|
||
metrics: 'Metrics',//"指标"
|
||
name: 'Name',//'名称'
|
||
type: 'Type',//'类型'
|
||
description: 'Description'//'描述'
|
||
}
|
||
},
|
||
...enLocale
|
||
}
|
||
|
||
export default en;
|