2019-12-02 16:16:26 +08:00
import enLocale from 'element-ui/lib/locale/lang/en' //引入element语言包
const en = {
2020-01-21 11:29:38 +08:00
//命名原则
//创建使用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.
2019-12-02 16:16:26 +08:00
overall : {
2020-01-21 11:29:38 +08:00
dashboard : 'Dashboards' , //'仪表盘'
project : 'Projects' , //'系统'
alert : 'Alerts' , //"告警"
asset : 'Assets' , //'资产'
config : 'Settings' , //'设置'
create : 'New' , //'新增'
edit : 'Edit' , //'编辑'
delete : 'Delete' , //'删除'
2020-01-16 18:11:15 +08:00
view : 'View' ,
2020-03-11 12:27:00 +08:00
type : 'Type' ,
2020-01-21 11:29:38 +08:00
esc : 'Cancel' , //'取消'
cancel : 'Cancel' , //'取消'
save : 'Save' , //'保存'
2020-04-01 14:38:08 +08:00
download : 'Download' , //下载
2020-03-28 09:57:51 +08:00
preview : 'Preview' , //预览
2020-01-21 11:29:38 +08:00
search : 'Search' , //'搜索'
add : 'Create' , //"新增"
option : 'Operation' , //"操作"
clear : 'Clear' , //"清除"
name : 'Name' , //'名称'
cover : 'Override' , //'覆盖'
signOut : 'Logout' , //'登出'
select : 'Select' , //'选择'
ok : 'Ok' , //OK
all : 'All' , //'全选'
2020-02-04 18:52:09 +08:00
other : 'Others' , //"其他"
2020-03-27 15:41:26 +08:00
detail : 'Detail' , //详情
2020-02-04 18:52:09 +08:00
query : 'Query' , //查询
2020-02-06 18:50:40 +08:00
back : 'Back' , //返回
unavailable : 'Unavailable' ,
2020-02-21 17:14:46 +08:00
available : 'Available' ,
2020-04-17 12:48:46 +08:00
changePwd : 'Change password' , //修改密码
createChart : 'Create chart' ,
createProject : 'Create project' ,
2020-05-09 16:54:41 +08:00
createEndpoint : 'Create Endpoint' ,
2020-04-17 12:48:46 +08:00
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' ,
2020-02-26 15:38:56 +08:00
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' ,
2020-04-08 19:18:30 +08:00
dragFileTip : 'Drag file here' ,
or : 'or' ,
clickUpload : 'click to upload' ,
2020-02-26 15:38:56 +08:00
upload : 'upload' ,
template : 'Template' ,
2020-03-30 19:46:03 +08:00
active : 'active' ,
2020-02-26 15:38:56 +08:00
result : {
total : 'Total' ,
failed : 'Failed' ,
success : 'Success' ,
failedDetail : 'Failed Detail'
2020-03-30 21:09:34 +08:00
} ,
reset : 'Reset' ,
2020-04-16 14:15:51 +08:00
submit : 'Submit' ,
2020-04-28 23:04:07 +08:00
noData : 'No data' ,
2020-05-15 14:54:51 +08:00
tag : 'Tag' ,
placeHolder : 'please enter'
2019-12-17 17:17:30 +08:00
} ,
2020-03-13 12:20:02 +08:00
pageSize : '/page' ,
2020-03-05 21:57:08 +08:00
webshell : {
shellTitle : 'Local Shell' ,
2020-03-11 19:16:23 +08:00
upload : 'Upload' ,
download : 'DownLoad' ,
uploadTitle : 'Upload' ,
downloadTitle : 'DownLoad' ,
uploadButtonTitle : 'Upload' ,
fileSelect : 'select' ,
downloadButtonTitle : 'Download' ,
2020-04-17 12:48:46 +08:00
filePath : 'File path' ,
2020-03-30 22:15:05 +08:00
closeTip : 'All connections will be closed, are you sure you want to close the window?' ,
remember : 'Remember my decision'
2020-03-05 21:57:08 +08:00
} ,
2020-03-12 18:04:04 +08:00
login : {
username : 'Username' ,
password : 'Password' ,
login : 'Login'
} ,
2019-12-26 13:00:22 +08:00
dashboard : {
title : 'Dashboard' ,
panel : {
2020-01-21 11:29:38 +08:00
title : 'Panel' , //'面板'
2020-01-08 16:44:41 +08:00
searchItem : {
2020-01-10 17:13:41 +08:00
name : 'name'
2020-01-08 16:44:41 +08:00
} ,
2020-04-29 16:35:58 +08:00
chartTotal : 'total' ,
2020-01-03 17:17:09 +08:00
//面板-侧滑框
2020-04-17 12:48:46 +08:00
createPanelTitle : 'New panel' , //"新增面板"
2020-01-21 11:29:38 +08:00
selectPanelTitle : 'Select' , //"选择面板"
2020-04-17 12:48:46 +08:00
createPanelTitleSec : 'New panel' , //"新增面板"
2020-01-21 11:29:38 +08:00
editPanelTitle : 'Panel' , //"面板"
2020-05-07 21:02:09 +08:00
singleStatErrorTip : 'Only queries that return single series/table is supported' ,
2019-12-26 13:00:22 +08:00
panelForm : {
2020-04-17 12:48:46 +08:00
panelName : 'Panel name' , //"面板名称"
2020-01-21 11:29:38 +08:00
panelId : "ID" //ID
2020-01-03 17:17:09 +08:00
} ,
//图表-侧滑框
2020-04-17 12:48:46 +08:00
createChartTitle : 'New chart' , //"新增图表"
2020-01-21 11:29:38 +08:00
editChartTitle : 'Edit' , //"编辑图表"
2020-01-03 17:17:09 +08:00
chartForm : {
chartId : "ID" ,
2020-04-21 20:59:58 +08:00
chartName : "Chart Name" ,
2020-01-03 17:17:09 +08:00
type : "Type" ,
2020-03-10 22:40:45 +08:00
unit : "Unit" ,
2020-04-17 08:15:13 +08:00
url : "URL" ,
2020-03-04 20:30:25 +08:00
legend : 'Legend' ,
2020-05-07 21:02:09 +08:00
statistics : 'Statistics' ,
2020-03-04 20:30:25 +08:00
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.' ,
2020-01-03 17:17:09 +08:00
typeVal : {
line : {
2020-01-21 11:29:38 +08:00
label : 'Line Chart' //"曲线图"
2020-01-03 17:17:09 +08:00
} ,
bar : {
2020-01-21 11:29:38 +08:00
label : 'Histogram' //"柱状图"
2020-01-03 17:17:09 +08:00
} ,
table : {
2020-01-21 11:29:38 +08:00
label : 'Table' //"表格"
2020-03-10 22:40:45 +08:00
} ,
stackArea : {
label : "Stack Area"
2020-04-14 21:46:38 +08:00
} ,
url : {
2020-04-17 08:15:13 +08:00
label : "URL"
2020-05-07 21:02:09 +08:00
} ,
singleStat : {
label : "SingleStat"
2020-01-03 17:17:09 +08:00
}
} ,
2020-05-07 21:02:09 +08:00
statisticsVal : {
min : 'Min' ,
max : 'Max' ,
average : 'Average' ,
total : 'Total' ,
first : 'First' ,
last : 'Last' ,
range : 'Range' ,
different : 'Different' ,
} ,
2020-01-21 11:29:38 +08:00
width : 'Width' , //"宽"
high : 'High' , //"高"
metric : 'Metric' , //"指标"
2020-03-11 18:48:05 +08:00
option : 'Option' ,
2020-01-21 11:29:38 +08:00
addMetric : 'Add metric' , //"添加指标"
2020-01-03 17:17:09 +08:00
} ,
2020-01-07 17:12:48 +08:00
chartTableColumn : {
2020-01-21 11:29:38 +08:00
metric : 'Metric' , //'指标'
label : 'Label' , //'标签'
2020-03-04 20:30:25 +08:00
element : 'Element' ,
2020-01-21 11:29:38 +08:00
time : 'Time' , //'时间'
value : 'Value' , //'值'
2020-01-07 17:12:48 +08:00
} ,
2020-01-21 11:29:38 +08:00
startTime : 'Start time' , //'开始时间'
endTime : 'End time' , //'结束时间'
2020-04-24 17:00:56 +08:00
to : 'to' , //To
2020-01-21 11:29:38 +08:00
recOne : 'Last 1 hour' , //'最近1小时'
recFour : 'Last 4 hours' , //'最近4小时'
recOneDay : 'Last 1 day' , //'最近1日'
yesterday : 'Yesterday' , //'昨日'
2020-05-07 14:21:36 +08:00
recSevenDay : 'Last 7 day' , // Last 7 days
2020-01-21 11:29:38 +08:00
recOneMonth : 'Last 1 month' , //'最近1月'
curMonth : 'This month' , //'本月'
lastMonth : 'Last month' , //'上月'
2020-04-14 21:46:38 +08:00
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' ,
2020-01-08 16:44:41 +08:00
refreshInterval : {
2020-04-24 14:20:46 +08:00
never : 'Off' , //'从不'
2020-01-21 11:29:38 +08:00
oneMinute : '1 minute' , // 1 minute
threeMinutes : '3 minutes' , //'3分钟'
fiveMinutes : '5 minutes' , //'5分钟'
tenMinutes : '10 minutes' , //'10分钟'
2020-01-10 17:13:41 +08:00
} ,
2020-01-21 11:29:38 +08:00
view : 'View' , //'查看'
confirm : 'Ok' , // OK
cancel : 'Cancel' //'取消'
2020-01-03 17:17:09 +08:00
} ,
metric : {
2020-04-17 12:48:46 +08:00
name : 'Metric name' , //"指标名称"
2020-01-21 11:29:38 +08:00
normal : 'Normal' , //"普通"
expert : "Expert" , // Expert
label : 'Label' , //"指标标签"
2020-04-17 12:48:46 +08:00
addMetric : 'Add metric' , //"添加指标"
2020-01-21 11:29:38 +08:00
expertTip : 'Add expression' , //"请输入表达式"
goPanelTip : "View created panel?" , //View created panel?
previewChart : 'Preview' , //"预览图表"
singleChartShow : 'Signle chart' , //"单图展示"
multiChartsShow : 'Multiple charts' , //"多图展示"
createPanel : 'New panel' , //"创建面板"
selectPanel : 'Exist panel' , //"选择已有面板"
2020-02-07 19:57:39 +08:00
saveChart : 'Save chart' ,
2020-01-21 11:29:38 +08:00
saveChartToPanel : "Save chart to panel" //Save chart to panel.
2019-12-26 13:00:22 +08:00
} ,
metricPreview : {
2020-03-30 22:10:59 +08:00
title : 'Explore' ,
2020-04-24 12:21:22 +08:00
inputTip : 'Enter a PromQL query' ,
runQuery : 'Run query' ,
2020-01-03 17:17:09 +08:00
} ,
2020-01-21 11:29:38 +08:00
refresh : 'Refresh' , //'刷新'
edit : 'Edit' , //'编辑'
delete : 'Delete' , //'删除'
2020-03-17 18:45:46 +08:00
screen : 'Full screen' , //'全屏',
2020-05-18 14:28:14 +08:00
duplicate : 'Duplicate' , //复制
2020-03-17 18:45:46 +08:00
overview : {
title : 'Overview' ,
contentTitle : 'Nezha Management System' ,
2020-05-06 19:29:56 +08:00
traffic : 'Traffic' ,
2020-03-18 19:22:45 +08:00
asset : {
title : 'Asset' ,
2020-04-17 12:48:46 +08:00
assetType : 'Asset type' ,
2020-03-23 18:20:19 +08:00
modelStat : 'Model' ,
2020-04-17 12:48:46 +08:00
dcStat : 'Data center' ,
2020-03-19 19:21:12 +08:00
num : 'Num' ,
2020-03-18 19:22:45 +08:00
alert : 'Alert' ,
2020-03-23 18:20:19 +08:00
alertTotal : 'Total' ,
2020-03-18 19:22:45 +08:00
alertLow : 'Low' ,
alertMedium : 'Medium' ,
alertHigh : 'High' ,
2020-04-17 12:48:46 +08:00
inStock : 'In stock' ,
outStock : 'Out stock' ,
2020-03-18 19:22:45 +08:00
pingUp : 'Up' ,
pingDown : 'Down' ,
2020-03-20 18:22:44 +08:00
host : 'Host' ,
dropDownLabel : {
type : 'type' ,
model : 'model' ,
2020-04-15 15:56:03 +08:00
dc : 'data center'
2020-04-01 21:45:05 +08:00
} ,
2020-03-19 19:21:12 +08:00
} ,
project : {
project : 'Project' ,
name : 'Name' ,
module : 'Module' ,
endpoint : 'Endpoint' ,
} ,
2020-04-22 22:27:07 +08:00
module : {
module : "Module" ,
} ,
endpoint : {
endpoint : "Endpoint" ,
} ,
2020-03-19 19:21:12 +08:00
dataCenter : {
2020-04-17 12:48:46 +08:00
dataCenter : 'Data center' ,
2020-03-19 19:21:12 +08:00
cabinet : 'Cabinet' ,
2020-04-17 12:48:46 +08:00
promServer : 'Prom server' ,
2020-03-19 19:21:12 +08:00
} ,
alert : {
2020-04-22 22:27:07 +08:00
alertMessage : 'Alert message' ,
2020-03-19 19:21:12 +08:00
level : 'Level' ,
2020-04-17 12:48:46 +08:00
alertRule : 'Alert rule' ,
ruleNum : 'Rule num' ,
alertNum : 'Alert num' ,
2020-05-11 17:17:24 +08:00
alertRuleTopN : 'Top10 alert message' ,
assetTopN : 'Top10 alert message by Asset' ,
moduleTopN : 'Top10 alert message by Module' ,
2020-03-23 18:20:19 +08:00
top : 'Top' ,
chart : {
chartTitle : 'Alert Trend'
2020-04-01 21:45:05 +08:00
} ,
2020-03-23 18:20:19 +08:00
} ,
2020-04-01 21:45:05 +08:00
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' ,
}
2020-03-17 18:45:46 +08:00
}
2019-12-26 13:00:22 +08:00
} ,
2019-12-27 17:53:17 +08:00
validate : { //校验规则
2020-01-21 11:29:38 +08:00
required : 'Required' , //'必填项'
number : 'Numberic' , //'必须是数字'
2020-04-08 08:22:58 +08:00
integer : 'Integer' ,
2020-04-17 12:48:46 +08:00
positiveInteger : 'Positive integer' ,
2020-01-21 11:29:38 +08:00
email : 'Invalid email' , //'不合法的E-mail地址'
tel : 'Invalid phone number' , //'不合法的电话号码'
2020-05-11 17:27:53 +08:00
host : 'Invalid Host' , //'不合法的Host'
2020-03-31 20:08:33 +08:00
domain : 'Invalid domain' ,
2020-04-09 16:14:32 +08:00
usize : 'Must be number(1 - 49)' ,
2020-05-07 14:21:36 +08:00
fileSize : 'File exceed max size' , //File exceed max size.
2020-04-17 12:48:46 +08:00
port : 'Invalid port' ,
2020-03-30 21:09:34 +08:00
url : 'Invalid URL' ,
2020-04-16 14:15:51 +08:00
uSize : 'Must be number(1 - 47)' ,
2020-04-30 19:55:41 +08:00
requiredIdc : 'dc is required' ,
2020-05-06 19:17:49 +08:00
key : 'Invalid key' ,
repeat : 'Repeat'
2019-12-27 17:53:17 +08:00
} ,
2019-12-17 17:17:30 +08:00
search : {
2020-01-21 11:29:38 +08:00
searchTip : 'Enter to search' , //'点击或回车执行搜索'
recentSearch : 'Search history' , //'搜索记录'
noRecentSearch : 'No Recent Search' //'无搜索记录'
2019-12-13 17:08:35 +08:00
} ,
tip : {
2020-01-21 11:29:38 +08:00
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' , //"保存成功"
2020-05-18 14:28:14 +08:00
duplicateSuccess : 'Duplicate success' , //"复制成功"
2020-01-21 11:29:38 +08:00
coverSuccess : 'Override success' , //'覆盖成功'
2020-04-01 11:12:15 +08:00
refreshLater : 'Refresh later' , //'请稍后刷新'
testSuccess : 'Test success' ,
2020-04-17 12:48:46 +08:00
downloadSuccess : 'Download success' ,
uploadSuccess : 'Upload success' ,
2020-04-01 21:45:05 +08:00
pressEnterToAdd : 'Press enter to add new line' ,
resetSuccess : 'Reset success' ,
2019-12-02 16:16:26 +08:00
} ,
2019-12-04 13:45:37 +08:00
asset : {
2020-03-29 16:33:49 +08:00
asset : 'Asset' ,
assets : 'Assets' , //'资产'
2020-01-21 11:29:38 +08:00
EditAsset : 'Edit asset' , //'编辑资产'
2020-02-07 11:22:08 +08:00
pingActive : 'active' , //可ping通
2020-03-27 17:38:54 +08:00
assetStatPre : 'Last reply:' ,
assetStatDown : 'Never' ,
2020-02-07 11:22:08 +08:00
pingInactive : 'inactive' ,
2020-04-01 21:45:05 +08:00
left : {
2020-04-17 12:48:46 +08:00
dataCenter : 'Data center' ,
assetType : 'Asset type' ,
2020-04-01 21:45:05 +08:00
vendor : 'Vendor' ,
ping : 'Ping' ,
} ,
2019-12-26 17:28:04 +08:00
createAssetTab : {
2020-01-21 11:29:38 +08:00
title : 'New asset' , //'新增资产'
sn : 'SN' , //SN
host : 'Host' , //'Host'
2020-02-14 18:07:21 +08:00
state : 'State' , //'状态'
2020-01-21 11:29:38 +08:00
selectTip : 'Please select' , //'请选择'
inStock : 'In stock' , //'在库'
notInStock : 'Not in stock' , //'出库'
assetInfo : 'Asset information' , //'资产信息'
assetType : 'Asset type' , //'资产类型'
2020-04-08 19:18:30 +08:00
impi : {
2020-04-15 15:56:03 +08:00
title : 'IPMI' ,
2020-04-08 19:18:30 +08:00
host : 'Host' ,
port : 'Port' ,
} ,
2019-12-27 17:08:39 +08:00
assetTypeTab : {
2020-01-21 11:29:38 +08:00
assetType : 'Asset type' , //'资产类型'
addAssetType : 'New asset type' , //'新增资产类型'
existAssetType : 'Existed asset type' //'已存在的资产类型'
2019-12-27 17:08:39 +08:00
} ,
2020-03-11 17:14:33 +08:00
vendorModel : 'Vendor/Model' , //'厂商/型号'
2019-12-27 17:08:39 +08:00
vendorTab : {
2020-01-21 11:29:38 +08:00
vendor : 'Vendor/Model' , //'厂商/型号'
vendorName : 'New vendor' , //'新厂商'
existVendor : 'Existed vendor' , //'已有厂商'
modelName : 'New model' , //'新型号'
existModel : 'Existed model' //'已有型号'
2019-12-27 17:08:39 +08:00
} ,
2020-01-21 11:29:38 +08:00
purchaseDate : 'Purchase date' , //'购买日期'
dataSelectTip : 'Please select date' , //'请选择日期'
2019-12-27 17:08:39 +08:00
dc : 'DC' ,
2020-04-15 12:48:30 +08:00
dcName : 'Data Center name' , //'DC名称'
2019-12-27 17:08:39 +08:00
AddIdcTab : {
2020-04-15 12:48:30 +08:00
title : 'New Data Center' , //'新增DC'
dcName : 'Data Center name' , //'DC名称'
2020-01-21 11:29:38 +08:00
location : 'Location' , //'地区'
2020-02-28 08:29:52 +08:00
principal : 'Administrator' , //'负责人'
2020-01-21 11:29:38 +08:00
tel : 'Telephone' //'电话'
2019-12-27 17:08:39 +08:00
} ,
editIdcTab : {
2020-04-15 12:48:30 +08:00
title : 'Edit Data Center' , //'编辑DC'
dcName : 'Data Center name' , //'DC名称'
2020-01-21 11:29:38 +08:00
location : 'Location' , //'地区'
2020-02-28 08:29:52 +08:00
principal : 'Administrator' , //'负责人'
2020-01-21 11:29:38 +08:00
tel : 'Telephone' //'电话'
2019-12-27 17:08:39 +08:00
} ,
2020-01-21 11:29:38 +08:00
location : 'Location' , //'地区'
2020-02-28 08:29:52 +08:00
principal : 'Administrator' , //'负责人'
2020-01-21 11:29:38 +08:00
tel : 'Telephone' , //'电话'
cabinet : 'Cabinet' , //'机柜'
2019-12-27 17:08:39 +08:00
AddCabinetTab : {
2020-01-21 11:29:38 +08:00
title : 'New cabinet' , //'新增机柜'
name : 'Name' , //'名称'
uSize : 'U size' , //'U位'
remark : 'Description' , //'描述'
2019-12-27 17:08:39 +08:00
DC : 'DC' ,
} ,
editCabinetTab : {
2020-01-21 11:29:38 +08:00
title : 'Edit cabinet' , //'编辑机柜'
name : 'Name' , //'名称'
uSize : 'U size' , //'U位'
remark : 'Description' , //'描述'
2019-12-27 17:08:39 +08:00
DC : 'DC' ,
} ,
2020-01-21 11:29:38 +08:00
uSize : 'U size' , //'U位'
remark : 'Description' , //'描述'
cli : 'CLI account' , //'CLI账号'
loginType : 'Login type' , //'登录类型'
password : 'Password' , //'密码'
ssh : 'SSH key' , //'SSH-Key'
2020-03-09 08:41:21 +08:00
protocol : "Protocol" ,
sshProtocol : "SSH" ,
telnetProtocol : "Telnet" ,
2020-03-10 22:40:45 +08:00
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' ,
2020-01-21 11:29:38 +08:00
account : 'User name' , //'用户名'
port : 'Port' , //'端口'
upload : 'Upload' , //'上传'
clickToUpload : 'Upload' , //'上传'
clickToCover : 'Cover' , //'覆盖'
sshKeyWasConfig : 'SSH-KEY configured' , //'SSH-KEY已配置'
2020-04-07 22:30:36 +08:00
exporter : 'Exporter' ,
2019-12-27 17:08:39 +08:00
} ,
editAssetTab : {
2020-01-21 11:29:38 +08:00
title : 'New asset' , //'新增资产'
sn : 'SN' , //SN
host : 'Host' , //'Host'
state : 'State' , //'状态'
modelId : 'Module' , //'组件'
alert : 'Alert information' , //'告警信息'
assetInfo : 'Asset information' , //'资产信息'
assetType : 'Asset type' , //'资产类型'
vendor : 'Vendor' , //'厂商/型号'
2019-12-26 17:28:04 +08:00
vendorTab : {
2020-01-21 11:29:38 +08:00
vendor : 'Vendor/Model' , //'厂商/型号'
vendorName : 'New vendor' , //'新厂商'
existVendor : 'Existed vendor' , //'已有厂商'
modelName : 'New model' , //'新型号'
existModel : 'Existed model' //'已有型号'
2019-12-26 17:28:04 +08:00
} ,
2020-01-21 11:29:38 +08:00
purchaseDate : 'Purchase date' , //'购买日期'
dataSelectTip : 'Please select date' , //'请选择日期'
2019-12-26 17:28:04 +08:00
dc : 'DC' ,
2020-01-21 11:29:38 +08:00
dcName : 'DC name' , //'DC名称'
2019-12-26 17:28:04 +08:00
AddIdcTab : {
2020-04-15 12:48:30 +08:00
title : 'New Data Center' , //'新增DC'
2020-01-21 11:29:38 +08:00
dcName : 'DC name' , //'DC名称'
location : 'Location' , //'地区'
2020-02-28 08:29:52 +08:00
principal : 'Administrator' , //'负责人'
2020-01-21 11:29:38 +08:00
tel : 'Telephone' //'电话'
2019-12-26 17:28:04 +08:00
} ,
editIdcTab : {
2020-01-21 11:29:38 +08:00
title : 'Edit DC' , //'编辑DC'
dcName : 'DC name' , //'DC名称'
location : 'Location' , //'地区'
2020-02-28 08:29:52 +08:00
principal : 'Administrator' , //'负责人'
2020-01-21 11:29:38 +08:00
tel : 'Telephone' //'电话'
2019-12-26 17:28:04 +08:00
} ,
2020-01-21 11:29:38 +08:00
location : 'Location' , //'地区'
2020-02-28 08:29:52 +08:00
principal : 'Administrator' , //'负责人'
2020-01-21 11:29:38 +08:00
tel : 'Telephone' , //'电话'
cabinet : 'Cabinet' , //'机柜'
2019-12-26 17:28:04 +08:00
AddCabinetTab : {
2020-01-21 11:29:38 +08:00
title : 'New cabinet' , //'新增机柜'
name : 'Name' , //'名称'
uSize : 'U size' , //'U位'
remark : 'Description' , //'描述'
DC : 'DC' , //DC
2019-12-26 17:28:04 +08:00
} ,
editCabinetTab : {
2020-01-21 11:29:38 +08:00
title : 'Edit cabinet' , //'编辑机柜'
name : 'Name' , //'名称'
uSize : 'U size' , //'U位'
remark : 'Description' , //'描述'
DC : 'DC' , //DC
2019-12-26 17:28:04 +08:00
} ,
2020-01-21 11:29:38 +08:00
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' , //'上传'
2019-12-26 17:28:04 +08:00
} ,
2019-12-05 16:48:23 +08:00
tableTitle : {
2020-01-21 11:29:38 +08:00
id : 'ID' , //ID
assetType : 'Asset type' , //'资产类型'
device : 'SN' , //SN
host : 'Host' , //'Host'
assetState : 'State' , //'状态'
2020-02-11 19:55:20 +08:00
assetPing : 'Ping' ,
2020-02-27 09:23:37 +08:00
modules : 'Endpoint' , //'组件'
2020-03-24 19:22:24 +08:00
alerts : 'Alerts' , //'告警信息'
2020-01-21 11:29:38 +08:00
dataCenter : 'DC' , //DC
cabinet : 'Cabinet' , //'机柜'
model : 'Model' , //'型号'
2020-04-02 20:57:43 +08:00
vendor : 'Vendor' , //'厂商'
2020-01-21 11:29:38 +08:00
procurementDate : 'Purchase date' , //'购买日期'
2020-02-28 08:29:52 +08:00
principal : 'Administrator' , //'负责人'
2020-01-21 11:29:38 +08:00
principalTel : 'Telephone' , //'电话'
option : 'Operation' //"操作"
2019-12-05 16:48:23 +08:00
} ,
tagTableTitle : {
2020-01-21 11:29:38 +08:00
projectName : 'Project name' , //'系统名称'
moduleName : 'Module name' , //'组件名称'
endPoint : 'End point' , //'EndPoint'
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 : {
2020-01-21 11:29:38 +08:00
config : 'Settings' , //"设置"
2019-12-05 15:46:40 +08:00
account : {
2020-01-21 11:29:38 +08:00
accountList : 'Account list' , //"用户列表"
2019-12-05 15:46:40 +08:00
//列表表头
2020-03-27 19:01:19 +08:00
account : 'Account' , //"用户"
2020-01-21 11:29:38 +08:00
language : 'Language' , //"语言"
2020-05-06 15:23:00 +08:00
receiver : 'Receiver' , //"用户组"
2020-01-21 11:29:38 +08:00
createTime : 'Create time' , //"创建时间"
enable : 'Available' , //"可用"
option : 'Operation' , //"操作"
//侧滑框//
accountId : 'Account ID' , //"用户ID"
createAccount : 'New account' , //"新增用户"
editAccount : 'Edit account' , //"编辑用户"
notCurrentlySupport : 'Not available' , //'暂不支持'
2020-02-21 17:14:46 +08:00
password : 'Password' , //'密码'
2020-04-17 12:48:46 +08:00
oldPwd : 'Old password' ,
2020-02-21 17:14:46 +08:00
inputOldPwd : 'Please input old password' ,
newPwd : 'New password' ,
inputNewPwd : 'Please input new password' ,
2020-04-17 12:48:46 +08:00
confirmPwd : 'Confirm password' ,
2020-02-21 17:14:46 +08:00
inputConfirmPwd : 'Please input confirm password' ,
invalidPwd : 'invalide password,the length at least 6' ,
confirmPwdErr : 'The two passwords are inconsistent' ,
reinputPwd : 'Enter password again'
2019-12-05 18:07:58 +08:00
} ,
promServer : {
2020-01-21 11:29:38 +08:00
promServerList : 'Prometheus server' , //"Prometheus Server"
2019-12-05 18:07:58 +08:00
//侧滑框
2020-01-21 11:29:38 +08:00
promId : 'Prometheus server ID' , //"Prometheus Server ID"
createProm : 'New prometheus server' , //"新增Prometheus Server"
editProm : 'Edit prometheus server' , //"修改Prometheus Server"
2020-02-06 18:50:40 +08:00
type : 'Type' , //"类别"
checkTime : 'Check time'
2019-12-05 18:07:58 +08:00
} ,
2020-02-21 17:57:19 +08:00
dc : {
2020-04-17 12:48:46 +08:00
dc : 'Data center' ,
2020-02-24 15:26:51 +08:00
area : "Area" ,
2020-02-24 20:27:14 +08:00
selectArea : 'Select area' ,
2020-02-27 15:47:44 +08:00
cabinetNum : "Cabinet number" ,
assets : "Assets" ,
2020-03-02 19:47:57 +08:00
remark : 'Remark' ,
2020-04-28 17:39:54 +08:00
cabinets : "Cabinets" ,
traffic : {
title : 'Traffic Setting' ,
add : 'Add' ,
2020-05-06 19:17:49 +08:00
direction : 'Direction' ,
tags : 'Tags'
2020-04-28 17:39:54 +08:00
}
2020-03-11 12:27:00 +08:00
} ,
model : {
2020-04-17 12:48:46 +08:00
model : 'Asset model' ,
2020-03-11 12:27:00 +08:00
vendor : 'Vendor' ,
assets : "Assets" ,
editModel : 'Edit model' ,
createModel : 'Create model' ,
2020-03-11 17:14:33 +08:00
remark : 'Remark' ,
type : 'Type'
2020-03-13 15:59:23 +08:00
} ,
2020-04-02 11:59:39 +08:00
terminallog : {
2020-04-17 12:48:46 +08:00
terminallog : 'Terminal log' ,
2020-04-02 11:59:39 +08:00
status : 'Status' , //"状态"
option : 'Operation' , //"操作",
host : 'Host' ,
cmd : 'CMD' ,
port : 'Port' ,
userId : 'UserID' ,
protocol : 'Protocol' ,
user : 'User' ,
detail : 'Terminal Log Detail' ,
2020-04-17 12:48:46 +08:00
resize : 'Terminal resize' ,
download : 'Terminal download' ,
upload : 'Terminal upload' ,
selectFile : 'Select file' ,
2020-04-02 11:59:39 +08:00
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'
} ,
2020-04-08 22:31:07 +08:00
operationlog : {
2020-04-17 12:48:46 +08:00
operationlog : 'Operation log' ,
2020-04-08 22:31:07 +08:00
id : 'ID' ,
username : 'User' ,
operation : 'Operation' ,
type : 'Type' ,
2020-04-21 10:16:28 +08:00
createDate : 'Time' ,
2020-04-17 17:19:33 +08:00
ip : "IP" ,
userId : "UserId" ,
2020-04-21 10:16:28 +08:00
operaId : "Resources" ,
time : "Duration" ,
2020-04-17 17:19:33 +08:00
params : "Params" ,
2020-04-21 10:16:28 +08:00
state : "State" ,
2020-05-07 19:20:40 +08:00
response : "Response" ,
operations : {
add : 'add' ,
query : 'query' ,
update : 'update' ,
import : 'import' ,
export : 'export' ,
delete : 'delete' ,
reset : 'reset' ,
unknown : 'unknown'
}
2020-04-08 22:31:07 +08:00
} ,
2020-03-13 15:59:23 +08:00
mib : {
2020-04-15 12:48:30 +08:00
mib : 'SNMP MIB' ,
2020-03-13 15:59:23 +08:00
fileName : 'FileName' ,
remark : 'Remark' ,
2020-04-17 12:48:46 +08:00
updateUser : 'Update user' ,
updateAt : 'Update time' ,
2020-04-15 12:48:30 +08:00
editMib : 'Edit MIB' ,
2020-03-26 19:58:09 +08:00
models : 'Models' ,
modelTip : 'please select models' ,
2020-04-15 12:48:30 +08:00
createMib : 'Create MIB' ,
2020-04-17 12:48:46 +08:00
mibFiles : 'MIB file' ,
2020-04-15 12:48:30 +08:00
uploadTip : 'please upload MIB file' ,
requiredMibFile : 'MIB file is required' ,
2020-03-27 14:49:29 +08:00
vendor : 'Vendor' ,
type : 'Type' ,
2020-04-15 15:56:03 +08:00
mibBrowser : 'MIB browser' ,
2020-04-15 22:01:56 +08:00
noData : "No Data"
2020-03-30 10:18:11 +08:00
} ,
system : {
system : 'System' ,
2020-03-30 21:09:34 +08:00
basic : {
basic : 'Basic' ,
alertApi : 'Alert API' ,
2020-04-17 12:48:46 +08:00
assetPingSwith : 'Asset ping' ,
2020-03-30 21:09:34 +08:00
assetPingInterval : 'Interval' ,
2020-04-17 12:48:46 +08:00
exporterTarget : 'Exporter path' ,
scrapeInterval : 'Scrape interval' ,
storageRetention : 'Local retention' ,
systemName : 'System name' ,
2020-04-07 22:30:36 +08:00
curUrl : 'Current site URL' ,
2020-04-09 16:14:32 +08:00
timezone : 'Timezone' ,
defaultCabinetUsize : 'Cabinet U Size'
2020-03-30 21:09:34 +08:00
} ,
email : {
email : 'Email' ,
2020-04-17 12:48:46 +08:00
enable : 'Enable email' ,
smtpHost : 'SMTP host' ,
smtpPort : 'SMTP port' ,
smtpAccount : 'SMTP account' ,
smtpPwd : 'SMTP password' ,
sendAccount : 'Send account' ,
testAccount : 'Test account' ,
2020-03-30 21:09:34 +08:00
useSSL : 'SSL' ,
useTLS : 'TLS' ,
2020-04-17 12:48:46 +08:00
testConnection : 'Test connection' ,
2020-03-30 21:09:34 +08:00
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' ,
2020-04-17 12:48:46 +08:00
address : 'LDAP address' ,
2020-03-30 21:09:34 +08:00
dn : 'Bind DN' ,
pwd : 'Password' ,
ou : 'User OU' ,
2020-04-17 12:48:46 +08:00
filter : 'User filter' ,
2020-03-30 21:09:34 +08:00
map : 'LDAP Field Mapping' ,
active : 'LDAP Authentication'
} ,
reset : {
reset : 'Reset' ,
type : 'Type' ,
pwd : 'Password' ,
metric : 'metric' ,
alert : 'alert' ,
2020-04-17 12:48:46 +08:00
sysConfig : 'System config' ,
2020-03-31 20:08:33 +08:00
pwdTip : 'Please input your password' ,
promptTitle : 'Confirm' ,
yes : 'Yes' ,
no : 'No' ,
2020-03-30 21:09:34 +08:00
}
2020-02-21 17:57:19 +08:00
}
2019-12-05 15:46:40 +08:00
} ,
2019-12-10 17:00:28 +08:00
alert : {
2020-02-21 17:14:46 +08:00
alert : 'Alerts' , //"告警"
2020-01-21 11:29:38 +08:00
message : 'Message' , //'信息'
rule : 'Rule' , //'规则'
2020-02-21 17:14:46 +08:00
alertList : 'Alert message' , //"告警信息"
2020-01-21 11:29:38 +08:00
alertConfig : 'Alert rule' , //"告警规则"
alertName : 'Alert name' , //"告警名称"
severity : 'Level' , //"等级"
description : 'Description' , //"描述"
summary : 'Summary' , //"概要"
startAt : 'Start time' , //"开始时间"
endAt : 'End time' , //"结束时间"
2019-12-06 17:36:33 +08:00
list : {
//表头
2020-01-21 11:29:38 +08:00
linked : 'Linked' , //"关联"
type : 'Type' , //"类别"
state : 'State' , //"状态"
charts : 'Charts' , //"图表"
2019-12-06 17:36:33 +08:00
//表内容
2020-01-21 11:29:38 +08:00
projectAlert : 'Project alert' , //"系统告警"
moduleAlert : 'Module alert' , //"组件告警"
deviceAlert : 'Device alert' , //"设备告警"
pending : 'Pending' , //"待处理"
2020-04-06 22:11:25 +08:00
expired : 'Expired' , //"已过期"
2020-05-12 19:59:08 +08:00
labels : 'Labels' ,
current : 'Current' ,
2019-12-06 17:36:33 +08:00
} ,
config : {
2020-01-21 11:29:38 +08:00
name : 'Name' , //"名称"
2020-05-06 15:23:00 +08:00
receiver : 'Receiver' , //"用户组"
2020-01-21 11:29:38 +08:00
expr : 'Expression' , //"表达式"
2020-05-15 14:54:51 +08:00
for : "Duration (s)" , //For (s)
2020-01-21 11:29:38 +08:00
link : 'Link' , //'关联'
option : 'Operation' , //"操作"
alertConfig : 'Alert rule' , //"告警规则"
createAlertConfig : 'New alert rule' , //"新增告警规则"
editAlertConfig : 'Edit alert rule' , //"修改告警规则"
medium : 'Medium' , //"中"
2020-03-24 19:22:24 +08:00
alertNum : 'Alert number' , //告警信息数量
2020-01-21 11:29:38 +08:00
high : 'High' , //"高"
low : 'Low' , //"低"
2019-12-13 17:08:35 +08:00
typeOption : {
2020-01-21 11:29:38 +08:00
project : 'Project' , //'系统'
module : 'Module' , //'组件'
asset : 'Device' //'设备'
2019-12-13 17:08:35 +08:00
}
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 : {
2020-01-21 11:29:38 +08:00
project : 'Project' , //"系统"
projectName : 'Project name' , //"系统名称"
editProject : 'Edit project' , //"编辑系统"
description : 'Description' , //"描述"
createProject : 'New project' //"新增系统"
2019-12-11 17:15:23 +08:00
} ,
module : {
2020-01-21 11:29:38 +08:00
module : 'Module' , //"组件"
moduleName : 'Module name' , //"组件名称"
editModule : 'Edit module' , //"编辑组件"
description : 'Description' , //"描述"
createModule : 'New module' , //"新增组件"
2020-04-02 11:59:39 +08:00
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' ,
2019-12-12 17:15:33 +08:00
tip : {
2020-01-21 11:29:38 +08:00
defaultEndpointSet : 'Default endpoint settings' , //"默认的Endpoint设置"
relation : 'Module associated Endpoint will configure the following ports/paths/parameters by default' //"组件关联的Endpoint将默认配置以下端口/路径/参数"
2019-12-12 17:15:33 +08:00
}
2019-12-11 17:15:23 +08:00
} ,
2019-12-10 17:00:28 +08:00
endpoint : {
2020-04-17 12:48:46 +08:00
createEndpoint : 'New endpoint' , //"新增Endpoint"
editEndpoint : 'Edit endpoint' , //"编辑Endpoint"
2020-01-21 11:29:38 +08:00
endpoint : 'Endpoint' , //"Endpoint"
endpointId : 'Endpoint ID' , //"Endpoint ID"
host : 'Host' , //"Host"
port : 'Port' , //"端口"
param : 'Parameter' , //"参数"
path : 'Path' , //"路径"
2020-03-20 21:05:31 +08:00
asset : 'Asset' , //"设备"
2020-04-17 12:48:46 +08:00
lastUpdate : 'Last reply' , //"最后更新时间"
2020-02-17 18:41:38 +08:00
moduleParameter : 'Module' , //"组件参数"
2020-04-17 12:48:46 +08:00
addGraph : 'View graph' , //添加图标
2020-02-04 18:52:09 +08:00
element : 'Element' ,
value : 'Value' ,
2020-02-06 12:04:41 +08:00
promExpr : 'Please input expression' ,
2020-03-06 09:29:53 +08:00
dialogTitle : 'View' , //endpoint 弹出dialog 标题,
2020-03-10 22:40:45 +08:00
hideSameLabels : 'Hide same labels' ,
2020-04-21 10:16:28 +08:00
stateInfo _230009 : 'promserver unavailable' ,
2020-03-10 22:40:45 +08:00
stateInfo _230010 : 'promserver can be used' ,
2020-04-21 10:16:28 +08:00
stateInfo _230011 : 'promserver can not be used' ,
2020-03-10 22:40:45 +08:00
2019-12-10 17:00:28 +08:00
} ,
2019-12-13 17:08:35 +08:00
metrics : {
2020-01-21 11:29:38 +08:00
metrics : 'Metrics' , //"指标"
name : 'Name' , //'名称'
type : 'Type' , //'类型'
description : 'Description' //'描述'
2019-12-13 17:08:35 +08:00
}
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 ;