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

174 lines
4.0 KiB
JavaScript
Raw Normal View History

import enLocale from 'element-ui/lib/locale/lang/en' //引入element语言包
const en = {
overall:{
dashboard:'Dashboard',
project:'Projects',
alert: "Alert",
asset:'Assets',
config:'Config',
create: 'Create',
edit: 'Edit',
delete: 'Delete',
esc: 'Esc',
cancel: 'Cancel',
save: 'Save',
search: 'Search',
add: "Add",
option: "Option",
clearAll: "Clear All",
clear: "Clear",
2019-12-16 17:14:58 +08:00
name: 'Name',
cover: 'Cover'
},
search: {
2019-12-16 17:14:58 +08:00
searchTip: 'Press Enter or click to search'
},
tip: {
confirmDelete: "Confirm Delete?",
yes: "Yes",
no: "No",
deleteSuccess: "Successfully Deleted",
saveSuccess: "Successfully Saved"
},
asset:{
createAsset: "Create Asset",
asset: 'Asset',
tableTitle: {
id: 'ID',
assetType: '资产类型',
device: 'SN',
host: 'Host',
assetState: 'State',
module: 'Module',
alert: 'Alert',
dataCenter: '数据中心',
cabinet: '机柜',
model: '型号',
manufacturer: '厂商',
procurementDate: '购买日期',
principal: '责任人',
principalTel: '责任人电话',
option: "Option"
},
tagTableTitle: {
projectName: '项目名称',
moduleName: 'Module Name',
endPoint: 'EndPoint',
alert: 'alert',
},
},
config: {
config: "Config",
account: {
accountList: "Account List",
//列表表头
account: "Account",
language: "Language",
receiver: "Receiver",
createTime: "Create Time",
enable: "Enable",
option: "Option",
//侧滑框
accountId: "Accound ID",
createAccount: "Create Account",
editAccount: "Edit Account",
notCurrentlySupport: 'Not currently supported'
2019-12-05 18:07:58 +08:00
},
promServer: {
promServerList: "Prometheus Server",
2019-12-05 18:07:58 +08:00
//侧滑框
promId: "Prometheus Server ID",
createProm: "Create Prometheus Server",
editProm: "Edit Prometheus Server",
type: "Type"
2019-12-05 18:07:58 +08:00
},
},
alert: {
alert: "Alert",
alertList: "Alert List",
alertConfig: "Alert Config",
alertName: "Alert Name",
severity: "Severity",
description: "Desc",
summary: "Summary",
startAt: "Time",
endAt: "End Time",
list: {
//表头
linkedId: "Linked ID",
type: "Type",
state: "Status",
charts: "Charts",
//表内容
projectAlert: "Project Alert",
moduleAlert: "Module Alert",
deviceAlert: "Device Alert",
pending: "Pending",
expired: "Expired"
},
config: {
name: "Name",
receiver: "Receiver",
expr: "Expr",
for: "For (s)",
link: 'Link',
option: "Option",
alertConfig: "Alert Config",
createAlertConfig: "Create Alert Config",
editAlertConfig: "Edit Alert Config",
medium: "Medium",
high: "High",
low: "Low",
typeOption: {
project: 'Project',
module: 'Module',
asset: 'Asset'
}
}
},
project: {
project: {
project: "Project",
projectName: "Project Name",
editProject: "Edit Project",
description: "Description",
createProject: "Create Project"
},
module: {
module: "Module",
moduleName: "Module Name",
editModule: "Edit Module",
description: "Description",
createModule: "Create Module",
tip: {
defaultEndpointSet: "Default Endpoint Set",
relation: "Endpoints associated with Module will reference Port/Path/Param/Params by default"
}
},
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",
moduleParameter: "Module's Parameter"
},
metrics: {
metrics: "Metrics",
name: 'name',
type: 'Type',
description: 'Desc'
}
},
...enLocale
}
export default en;