This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nezha-fronted/nezha-fronted/src/components/common/language/en.js

1338 lines
42 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import enLocale from 'element-ui/lib/locale/lang/en' // 引入element语言包
const en = {
// 命名原则
// 创建使用New
// 表示创建状态用Created如创建时间Created Time
// 告警使用Alert而不是Alarm
// 账号用Accountusername、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', // '系统'
monitor: 'Monitor', // 监控
alert: 'Alerts', // "告警"
asset: 'Assets', // '资产'
config: 'Settings', // '设置'
administration: 'Administration',
configuration: 'configuration',
create: 'New', // '新增'
edit: 'Edit', // '编辑'
delete: 'Delete', // '删除'
view: 'View',
type: 'Type',
esc: 'Cancel', // '取消'
cancel: 'Cancel', // '取消'
save: 'Save', // '保存'
download: 'Download', // 下载
preview: 'Preview', // 预览
search: 'Search', // '搜索'
add: 'Create', // "新增"
addProject: 'Add',
addAssetList: 'Add',
batchEdit: 'Batch Edit',
option: 'Operation', // "操作"
remark: 'Description',
clear: 'Clear', // "清除"
name: 'Name', // '名称'
version: 'Version', // 版本
components: 'Components', // 组件
cover: 'Override', // '覆盖'
signOut: 'Logout', // '登出'
select: 'Select', // '选择'
ok: 'Ok', // OK
entity: 'Entity',
all: 'All', // '全选'
value: 'Value',
other: 'Others', // "其他"
about: 'About', // 关于
detail: 'Detail', // 详情
query: 'Query', // 查询
back: 'Back', // 返回
unavailable: 'Unavailable',
available: 'Available',
changePwd: 'Change password', // 修改密码
createChart: 'Create chart',
createProject: 'Create project',
createEndpoint: 'Create endpoint',
createAsset: 'Create asset',
createAlertRule: 'Create alert rule',
createUser: 'Create user',
createRole: 'Create role',
createPrometheusServer: 'Create prometheus server',
createDatacenter: 'Create Data center',
createCabinet: 'Create cabinet',
createModel: 'Create model',
createModule: 'Create module',
createMib: 'Create MIB',
createAssetType: 'Create asset type',
createAssetState: 'Create asset state',
createTemplate: 'Create template',
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',
importTipImg: 'Only allowed jpg/png 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',
line: 'Line {0}:'
},
reset: 'Reset',
submit: 'Save',
noData: 'No data',
tag: 'Tag',
placeHolder: 'Please enter',
syncChart: 'Synchronize chart',
toolBox: {
zoom: 'Area scaling',
back: 'Area scaling restore',
stack: 'Show stack chart',
stackBack: 'Back to original chart'
},
SyncSave: 'Save&Sync',
copySuccess: 'Copy success'
},
pageSize: '/page',
setup: {
step0: 'Welcome',
step1: 'Database',
step2: 'Redis',
step3: 'System',
host: 'Host',
port: 'Port',
language: 'Language',
welcome: {
header: 'Welcome to Nezha setup wizard!',
guid: 'What will the wizard do for you?',
guid_1: 'Create a basic configuration',
guid_2: 'Tries to find problems within your Database and Redis setup',
toContinue: 'To continue',
creatFile: 'For security reasons you need to authenticate for the installation by creating the file',
createFileTip: 'This can be done by executing the following command',
next: "Click the 'Next' button when you've finished."
},
database: {
configTitle: 'Configure DB connection',
configTip: "Please create database manually,and set the configuration parameters for connection to this database,Press 'Next' button when done"
},
redis: {
configTitle: 'Configure Redis connection',
configTip: "Please set the configuration parameters for connection to this redis,Press 'Next' button when done"
},
system: {
configTitle: 'System configuration',
configTip: 'Please enter username and password for administrator ,and set the Nezha WEB module install information,like IP:port'
},
name: 'Database name',
username: 'Username',
password: 'Password',
alertPath: 'Site URL',
alertPrefix: 'Alert prefix',
haMode: 'HA mode',
haVip: 'Virtual IP',
next: 'Next',
back: 'Back',
finish: 'Finish',
invalidDb: 'There may be some errors in the configuration of the database',
invalidRedis: 'There may be some errors in the configuration of the Redis',
invalidPassword: "Redis's password may be wrong",
requirePassword: 'The password may be required by the Redis',
wait: 'The configuration has been saved, please wait patiently for it to take effect',
reloadTimeout: 'It took too much time to restart the server, there may be some problems when you install',
hadConfig: 'Someone has started to configure the system',
invalidCode: "The authentication is invalid ,please follow the description in {page} 'To continue'",
welcomePage: 'Welcome page',
inited: 'The system has been initialized'
},
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'
},
chartTotal: 'total',
// 面板-侧滑框
createPanelTitle: 'New panel', // "新增面板"
selectPanelTitle: 'Select', // "选择面板"
createPanelTitleSec: 'New panel', // "新增面板"
editPanelTitle: 'Panel', // "面板"
singleStatErrorTip: 'Only queries that return single series/table is supported',
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',
statistics: 'Statistics',
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.',
valueMappingTip: 'Use {{name}} and {{value}} to display the original name and value\n' +
'For example: Total Alive: {{value}}\n' +
'The result is: Total Alive: 100',
sync: 'Sync to assets',
last: 'Last',
threshold: 'Threshold',
thresholds: 'Thresholds',
group: 'Group',
remark: 'Description',
typeVal: {
line: {
label: 'Line Chart' // "曲线图"
},
bar: {
label: 'Bar Chart' // "柱状图"
},
table: {
label: 'Table' // "表格"
},
stackArea: {
label: 'Stack Area'
},
url: {
label: 'URL',
staticTip: 'The content in the double curly braces will be replaced on the Asset page'
},
singleStat: {
label: 'Single value'
},
pie: {
label: 'Pie Chart'
},
alertList: {
label: 'Alert list'
},
text: {
label: 'Text'
},
group: {
label: 'group'
}
},
statisticsVal: {
min: 'Min',
max: 'Max',
average: 'Average',
total: 'Total',
first: 'First',
last: 'Last',
range: 'Range',
different: 'Different',
null: 'None'
},
width: 'Width', // "宽"
high: 'High', // "高"
metric: 'Metric', // "指标"
option: 'Option',
addMetric: 'Add metric', // "添加指标"
alertParam: {
param: 'Parameters',
select: 'Select',
alertRule: 'Alert rule',
level: 'Priority',
state: 'State'
},
valMapping: {
name: 'Value mapping',
from: 'From',
to: 'To',
text: 'Text',
value: 'Value',
range: 'Range'
},
legendValue: 'Legend option',
content: 'Content',
tooltip: 'Tooltip',
displayChart: 'Display chart',
aggregation: 'Aggregation'
},
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: 'Last 7 day', // Last 7 days
recOneMonth: 'Last 1 month', // '最近1月'
curMonth: 'This month', // '本月'
lastMonth: 'Last month', // '上月'
customTimeRange: 'Custom time range',
noDate: 'Empty',
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',
beforeFiveMin: 'Previous 5 minutes',
beforeFifteenMin: 'Previous 15 minutes',
beforeThirtyMin: 'Previous 30 minutes',
beforeOneHour: 'Previous 1 hour',
beforeThreeHour: 'Previous 3 hours',
beforeSixHour: 'Previous 6 hours',
beforeTwelveHour: 'Previous 12 hours',
beforeTwentyFourHour: 'Previous 24 hours',
beforeTwoDay: 'Previous 2 days',
beforeSevenDay: 'Previous 7 days',
beforeThirtyDay: 'Previous 30 days',
refreshInterval: {
never: 'Off', // '从不'
oneMinute: '1 minute', // 1 minute
threeMinutes: '3 minutes', // '3分钟'
fiveMinutes: '5 minutes', // '5分钟'
tenMinutes: '10 minutes' // '10分钟'
},
view: 'View', // '查看'
confirm: 'Ok', // OK
cancel: 'Cancel', // '取消',
moreTitle: 'Showing only 20 time series. ',
moreTitleOther: 'Showing only 10 the data. ',
showAll: 'Show all ',
showAllOther: 'All Data'
},
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',
inputTip: 'Enter a PromQL query',
runQuery: 'Run query',
historyTip: 'Queried {time} times in the last {hour}h'
},
refresh: 'Refresh', // '刷新'
edit: 'Edit', // '编辑'
delete: 'Delete', // '删除'
screen: 'Full screen', // '全屏',
duplicate: 'Duplicate', // 复制
overview: {
title: 'Overview',
contentTitle: 'Nezha Management System',
traffic: 'Traffic',
projectTopoLogy: 'Project Topology',
asset: {
title: 'Assets',
assetType: 'Asset type',
modelStat: 'Model',
dcStat: 'Data center',
num: 'Num',
alert: 'Alert',
alertTotal: 'Total',
alertP3: 'P3',
alertP2: 'P2',
alertP1: 'P1',
inStock: 'In stock',
outStock: 'Out stock',
pingUp: 'Up',
pingDown: 'Down',
host: 'Host',
dropDownLabel: {
type: 'type',
model: 'model',
dc: 'data center'
}
},
project: {
project: 'Projects',
name: 'Name',
module: 'Module',
endpoint: 'Endpoint'
},
module: {
module: 'Modules'
},
endpoint: {
endpoint: 'Endpoints'
},
dataCenter: {
dataCenter: 'Data center',
cabinet: 'Cabinet',
promServer: 'Prom server'
},
alert: {
alertMessage: 'Alert messages',
level: 'Priority',
alertRule: 'Alert rule',
ruleNum: 'Rule num',
alertNum: 'Alert num',
alertRuleTopN: 'Top10 alert message',
assetTopN: 'Top alert message by Asset',
moduleTopN: 'Top alert message by Module',
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',
P1: 'P1',
P2: 'P2',
P3: 'P3',
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 Host', // '不合法的Host'
domain: 'Invalid domain',
usize: 'Must be number(1 - 47)',
fileSize: 'File exceed max size', // File exceed max size.
port: 'Invalid port',
url: 'Invalid URL',
uSize: 'Must be number(1 - 47)',
requiredIdc: 'dc is required',
key: 'Invalid key',
repeat: 'Repeat',
tooLong: 'Too long content',
onlyWord: 'only input a-z、A-Z、0-9、"_" '
},
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?
confirmOvertime: "Are you sure it's off?",
killTerm: 'Are you sure you want to kill terminal?',
confirmBatchDelete: 'Are you sure to delete these {0} pieces of data',
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', // "保存成功"
addSuccess: 'Add success', // "保存成功"
duplicateSuccess: 'Duplicate 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',
syncSuccess: 'Synchronize success',
syncTip: 'This operation may cause the original data or chart to be overwritten. Are you sure to synchronize?',
noImportFile: 'No import file found',
noAccess: 'No access',
confirmDuplicate: 'Are you sure to duplicate this chart?',
confirmCancel: 'Changes you made are not saved?',
copySuccess: 'Copy success'
},
asset: {
asset: 'Asset',
assets: 'Assets', // '资产'
editAsset: 'Edit asset', // '编辑资产'
createAsset: 'New asset', // '编辑资产'
batchEditAsset: 'Bulk edit',
selectAsset: 'Selected assets',
host: 'Host',
state: 'State', // '状态'
pingActive: 'active', // 可ping通
assetStatPre: 'Last reply:',
assetStatDown: 'Never',
remark: 'Description', // '描述'
cli: 'CLI account', // 'CLI账号'
loginType: 'Login type', // '登录类型'
password: 'Password', // '密码'
ssh: 'SSH key', // 'SSH-Key'
protocol: 'Protocol',
sshProtocol: 'SSH',
telnetProtocol: 'Telnet',
userTip: 'User tip', // 用户名提示
passwordTip: 'Password tip', // 密码提示
reloginPasswordTip: 'Relogin tip', // 密码提示
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',
pingInactive: 'inactive',
assetInfo: 'Asset information', // '资产信息'
vendorModel: 'Vendor/Model', // '厂商/型号'
purchaseDate: 'Purchase date', // '购买日期'
location: 'Location', // '地区'
sn: 'SN',
uSize: 'U size',
inStock: 'In stock', // '在库'
notInStock: 'Not in stock', // '出库'
suspended: 'Suspended',
assetType: 'Asset type', // '资产类型'
principal: 'Administrator', // '负责人'
tel: 'Telephone', // '电话'
left: {
dataCenter: 'Data center',
vendor: 'Vendor',
ping: 'Ping'
},
featureTitle: 'Attribute',
endpointUpNum: 'It\'s a normal number',
endpointNum: 'Represents the total quantity',
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: 'Data center',
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: 'Data center'// DC
},
editCabinetTab: {
title: 'Edit cabinet', // '编辑机柜'
name: 'Name', // '名称'
uSize: 'U size', // 'U位'
remark: 'Description', // '描述'
DC: 'Data center'// 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',
lastReply: 'Ping last reply',
modules: 'Endpoint', // '组件'
alerts: 'Alerts', // '告警信息'
dataCenter: 'Data center', // DC
cabinet: 'Cabinet', // '机柜'
model: 'Model', // '型号'
vendor: 'Vendor', // '厂商'
procurementDate: 'Purchase date', // '购买日期'
principal: 'Administrator', // '负责人'
principalTel: 'Telephone', // '电话'
option: 'Operation', // "操作"
sn: 'SN',
name: 'Name',
manageIp: 'manageIp',
brand: 'BrandID',
dc: 'DataCenter',
type: 'typeIds',
state: 'state'
},
tagTableTitle: {
projectName: 'Project name', // '系统名称'
moduleName: 'Module name', // '组件名称'
endPoint: 'End point', // 'EndPoint'
alert: 'Alert'// '告警'
},
active: 'Alive', // "存活",
total: 'Total', // "总数",
down: 'Down'
},
config: {
config: 'Settings', // "设置"
user: {
userList: 'User list', // "用户列表"
user: 'User',
// 列表表头
name: 'Name', // "用户"
username: 'Username', // 登录名
roles: 'Role',
language: 'Language', // "语言"
receiver: 'Receiver', // "用户组"
createTime: 'Create time', // "创建时间"
enable: 'Enable', // "可用"
option: 'Operation', // "操作"
lastLoginTime: 'Last login time', // 最后登录时间
lastLoginIp: 'Last login IP', // 最后登录IP
source: 'Source',
// 侧滑框//
userId: 'User ID', // "用户ID"
createUser: 'New user', // "新增用户"
editUser: 'Edit user', // "编辑用户"
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',
notification: 'Notification'
},
roles: {
roles: 'Roles',
name: 'Name',
description: 'Description',
option: 'Operation', // "操作"
permission: 'Permission',
menu: 'Menu',
createRole: 'Create role',
editRole: 'Edit role',
remark: 'Remark'
},
menus: {
menus: 'Menus',
name: 'Name',
remark: 'Remark',
option: 'Operation', // "操作",
code: 'Code',
i18n: 'I18n',
type: 'Type',
route: 'Route',
perms: 'Permission',
button: 'Button',
menu: 'Menu',
tab: 'Tab',
parent: 'Previous menu',
mainMenu: 'Primary menu',
createMenu: 'Create menu',
editMenu: 'Edit menu',
orderNum: 'Order',
icon: 'Icon'
},
agent: {
// 侧滑框
promId: 'Prometheus server ID', // "Prometheus Server ID"
createProm: 'New prometheus server', // "新增Prometheus Server"
editProm: 'Edit prometheus server', // "修改Prometheus Server"
type: 'Type', // "类别"
checkTime: 'Check time',
dataCenter: 'Data center',
agent: {
agent: 'Agent',
title: 'Download agent',
download: 'Download',
osType: 'OS type',
autoScript: 'Auto install script',
type: 'Agent type'
}
},
dc: {
dc: 'Data center',
area: 'Area',
dcName: 'Data center name',
selectArea: 'Select area',
cabinetNum: 'Cabinet number',
assets: 'Assets',
remark: 'Remark',
cabinets: 'Cabinets',
createDc: 'Create data center',
editDc: 'Edit data center',
editCabinet: 'Edit cabinet',
traffic: {
title: 'Traffic Setting',
add: 'Add',
direction: 'Direction',
tags: 'Tags',
snmpSetting: 'SNMP setting'
},
usable: 'Usable',
suspended: 'Suspended',
state: 'State',
longitude: 'Longitude',
latitude: 'Latitude',
lnglat: 'Coordinate'
},
model: {
model: 'Asset model',
vendor: 'Vendor',
assets: 'Assets',
editModel: 'Edit model',
createModel: 'Create model',
remark: 'Remark',
type: 'Type'
},
terminallog: {
terminallog: 'Terminal log',
status: 'Status', // "状态"
statusItem: {
connecting: 'Connecting',
connectionFailed: 'Connection failed',
over: 'Over',
kickedOut: 'Kicked out',
unknownError: 'Unknown error'
},
option: 'Operation', // "操作",
host: 'Host',
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',
password: 'Password',
key: 'Key',
endTime: 'EndTime',
id: 'ID',
time: 'Time',
width: 'Width',
height: 'Height',
cols: 'Cols',
rows: 'Rows',
uuid: 'UUID',
path: 'Path',
file: 'File',
success: 'Success',
fail: 'Fail',
startTime: 'Start time',
duration: 'Duration',
remote: 'Remote',
log: 'Log',
source: 'Source IP',
killErrorTip: 'Killing failed',
monitor: { monitor: 'monitoring' },
cmd: {
cmd: 'Command',
history: 'History command',
dangerTip: 'This command may be dangerous',
legendTip: 'Legend description'
},
record: {
record: 'Record',
pause: 'Pause',
play: 'Play',
replay: 'Replay',
skipTip: 'Skip no operation time'
}
},
operationlog: {
operationlog: 'Operation log',
id: 'ID',
username: 'User',
operation: 'Operation',
type: 'Type',
createDate: 'Time',
ip: 'IP',
userId: 'UserId',
operaId: 'Resources',
time: 'Duration',
params: 'Params',
state: 'State',
response: 'Response',
operations: {
add: 'add',
query: 'query',
update: 'update',
import: 'import',
export: 'export',
delete: 'delete',
reset: 'reset',
unknown: 'unknown'
}
},
mib: {
mib: 'MIB file',
fileName: 'File name',
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',
credentials: 'Credentials',
noData: 'No Data',
credential: {
type: 'Protocol type',
port: 'Port',
remark: 'Description',
edit: 'Edit',
create: 'Create',
auth: 'Authentication',
method: 'Method',
encryption: 'Encryption',
pin: 'Password'
}
},
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',
second: 'second',
day: 'day',
maxSeries: 'Query max series',
unsaved: 'Unsaved tip',
mapConfig: 'Map center',
mapTitle: 'Configurate map',
lat: 'latitude',
lng: 'longitude',
zoom: 'zoom',
lnglat: 'coordinate'
},
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',
ouTip: 'Use the "|" symbol to separate OU',
filter: 'User filter',
filterTip: 'The possible options are: (cn or uid or sAMAccountName=%(user)s)',
map: 'Attribute mapping',
mapTip: 'Attribute mapping represents how to map LDAP user attributes to NEZHA users; username,email are the attributes of NEZHA',
active: 'LDAP authentication'
},
link: {
link: 'Link',
name: 'Name',
url: 'Url',
operation: 'Operation',
add: 'Add',
update: 'Update',
del: 'Delete',
nameMaxLength: 'The length should be less than 64',
uriRequired: 'Please fill in the correct url'
},
notification: {
notification: 'Notification',
name: 'Name',
filePath: 'File path',
operation: 'Operation',
add: 'Add',
update: 'Update',
del: 'Delete',
nameMaxLength: 'The length should be less than 64',
uriRequired: 'Required',
filePathReg: 'Please enter the correct file path'
},
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'
}
},
assetType: {
assetType: 'Asset Type',
parent: 'Parent',
pname: 'Parent name',
editAssetType: 'Edit asset type',
createAssetType: 'Create asset type'
},
assetState: {
assetState: 'Asset State',
monitor: 'Monitor',
alert: 'Alert',
assetTotal: 'Total assets',
createAssetState: 'Create asset state',
editAssetState: 'Edit asset state'
},
assetLabel: {
example: 'Example',
assetLabel: 'Asset labels',
all: 'All',
addGroup: 'Create group',
editGroup: 'Edit group',
addLabel: 'Create label',
editLabel: 'Edit label',
groupName: 'Name',
key: 'Key',
name: 'Name',
group: 'Group',
search: 'Search',
display: 'Display',
type: 'Type',
params: 'Params',
updateLabel: 'Update label',
deleteLabel: 'Delete label',
infoLabel: 'Label Info',
text: 'TEXT',
multitext: 'MULTITEXT',
textarea: 'TEXTAREA',
radio: 'RADIO',
checkbox: 'CHECKBOX',
select: 'SELECT',
integer: 'INTEGER',
double: 'DOUBLE',
datetime: 'DATETIME',
email: 'EMAIL',
option: 'Options',
isCheck: 'Is check',
operate: 'Operate',
default: 'Default',
dateType: 'Date type',
date: 'Date',
time: 'Time',
datetimes: 'Date + Time',
interval: 'Interval',
decimals: 'Decimals',
moreOptionsError: 'There are up to 20 options',
onlyOptionError: 'You need at least one option',
labelOptionNull: 'Please input option'
},
exprTemp: {
exprTemp: 'Expression template',
exprTempInfo: 'Expression template Info',
exprTempRender: 'expression template render',
exprTempDown: 'expression template download',
exprTempImport: 'expression template import',
exprTempExport: 'expression template export',
exprTempImportCancel: 'expression template import rollback',
copy: 'Copy',
name: 'Name',
gname: 'Group',
expression: 'Expression',
remark: 'Description',
errorStr: 'Please fill in the {errorStr} value',
edit: 'Edit expression template',
create: 'New expression template',
expressionError: 'Please fill in the "expression" value'
}
},
alert: {
alert: 'Alerts', // "告警"
message: 'Message', // '信息'
rule: 'Rule', // '规则'
alertMessage: 'Alert message', // "告警信息"
alertRule: 'Alert rule', // "告警规则"
alertName: 'Alert name', // "告警名称"
severity: 'Priority', // "等级"
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',
current: 'Current',
remark: 'Remark',
id: 'ID'
},
config: {
name: 'Name', // "名称"
receiver: 'Receiver', // "用户组"
expr: 'Expression', // "表达式"
for: 'Duration (s)', // For (s)
second: 'second',
link: 'Link', // '关联'
option: 'Operation', // "操作"
alertConfig: 'Alert rule', // "告警规则"
createAlertConfig: 'New alert rule', // "新增告警规则"
editAlertConfig: 'Edit alert rule', // "修改告警规则"
alertNum: 'Alert number', // 告警信息数量
P1: 'P1',
P2: 'P2',
P3: 'P3',
typeOption: {
project: 'Project', // '系统'
module: 'Module', // '组件'
asset: 'Device'// '设备'
},
operator: 'Operator',
threshold: 'Threshold',
unit: 'Unit',
chart: {
alertRuleInfo: 'Alert rule information',
alertNumTrend: 'Alert num trend',
affectEntity: 'Affect entity'
}
},
silence: {
silence: 'Alert silence',
create: 'New alert silence',
edit: 'Edit alert silence',
time: 'Time',
matcher: 'Matcher',
reason: 'Description',
selectTime: 'Please select time',
selectMather: 'Required',
datacenter: 'datacenter',
project: 'project',
module: 'module',
endpoint: 'endpoint',
asset: 'asset',
timeError: 'The end time must be greater than the start time'
},
P1Rule: 'P1: Critical, alert that can cause business paralysis',
P2Rule: 'P2: Major, alert that requires urgent attention, but does not affect the business yet',
P3Rule: 'P3: Minor, alert that needs to be dealt with, but not urgent'
},
project: {
chart: {
basicTitle: 'Basic info',
alertStat: 'Alert state',
endpointStat: 'Endpoint state',
projectInfo: 'Project information',
endpointInfo: 'Endpoint information'
},
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',
type: 'Type',
maxRepetitions: 'Max repetitions',
retries: 'Retries',
timeout: 'Timeout',
community: 'Community',
securityLevel: 'Security level',
authProtocol: 'Auth protocol',
privProtocol: 'Priv protocol',
contextName: 'Context name',
privPassword: 'Priv password',
alerts: 'Alerts',
asset: 'Asset',
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: 'History value', // endpoint 弹出dialog 标题,
hideSameLabels: 'Hide same labels',
stateInfo_230009: 'Promserver unavailable',
stateInfo_230010: 'Promserver can be used',
stateInfo_230011: 'Endpoint connection refused',
alerts: 'Alerts',
labels: 'Labels',
pattern: 'Name pattern',
credentials: 'Credentials',
scrape_interval: 'Scrape interval',
scrape_interval_placeholder: 'default global scrape interval',
scrape_timeout: 'Scrape timeout',
scrape_timeout_placeholder: 'default global scrape timeout',
type: 'Type',
bearer_token: 'bearer token',
username: 'Username',
password: 'Password',
authTypeNull: 'None',
authTypeWord: 'basic auth',
authTypeToken: 'bearer token'
},
metrics: {
metrics: 'Metrics', // "指标"
name: 'Name', // '名称'
type: 'Type', // '类型'
description: 'Description'// '描述'
},
topology: {
module: 'Module element',
add: 'Add',
selTwoNode: 'Please select two module',
save: 'Save',
cancel: 'Cancel',
exit: 'Exit',
preview: 'Preview',
addLine: 'Add line',
editLine: 'Edit line',
lineName: 'Line Name',
width: 'Width',
height: 'Height',
dashes: 'dotted line',
option: 'Option',
arrows: 'arrows',
color: 'color',
chartName: 'Name',
unit: 'Unit',
addModule: 'Add module',
editModule: 'Edit module',
edit: 'edit',
refresh: 'refresh',
endpoint: 'Endpoint',
asset: 'Asset',
total: 'Chart',
info: 'Module Info',
alert: 'Alert Message',
lineType: 'Line type',
straight: 'straight',
upload: 'upload',
requiredName: 'The name of the required',
imgFormat: 'Upload picture can only be JPG/ PNG format!',
imgSize: 'Upload image size should not exceed 2MB!',
imgMeasure: 'The width and height of uploaded pictures must be greater than 100!',
data: 'Data',
style: 'Style',
title: 'Title',
level: 'Level',
value: 'Value',
animation: 'Animation',
animationType: 'Animation type',
animationColor: 'Animation color',
link: 'Link',
fill: 'Fill',
lines: 'Line',
text: 'Text',
name: 'Name',
bac: 'Background',
bacImage: 'Background image',
defaultLineWidth: 'Default line width',
defaultLineType: 'Default line type',
lineWidth: 'Line width',
grids: 'Grids',
gridSize: 'Grid Size',
gridColor: 'Grid Color',
rule: 'Ruler',
ruleColor: 'Rule Color',
defaultStartArrow: 'Default start arrow',
defaultEndArrow: 'Default end arrow',
positionAndSize: 'Position&Size',
circularBead: 'Circular bead',
rotate: 'Rotate',
pl: 'Padding left',
pt: 'Padding top',
pr: 'Padding right',
pb: 'Padding bottom',
gradient: 'Gradient',
lineStyle: 'Line dash',
lineColor: 'Line color',
lineDash: 'lineDash',
fromArrow: 'From arrow',
toArrow: 'To arrow',
arrowColor: 'Arrow color',
fontSize: 'Font Size',
fontColor: 'Font Color',
align: 'Align',
opacity: 'Opacity',
bounce: 'bounce',
shakeX: 'shakeX',
swing: 'swing',
heartBeat: 'heartBeat',
flash: 'flash',
fade: 'fade',
flow: 'flow',
beads: 'beads',
dot: 'dot',
comet: 'comet',
curve: 'curve',
polyline: 'polyline',
line: 'line',
placeholderImg: 'Please enter name',
unitError: 'Please select the folder',
imgError: 'Please upload pictures',
folder: 'Folder',
selMod: 'Please bind module for all nodes'
}
},
date: {
week: {
one: 'MON',
two: 'TUE',
three: 'WED',
four: 'THU',
five: 'FRI',
six: 'SAT',
seven: 'SUN'
}
},
buttons: {
view: 'View',
add: 'Add',
edit: 'Edit',
delete: 'Delete',
expire: 'Expire'
},
...enLocale
}
export default en