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", name: 'Name', cover: 'Cover' }, search: { 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' }, promServer: { promServerList: "Prometheus Server", //侧滑框 promId: "Prometheus Server ID", createProm: "Create Prometheus Server", editProm: "Edit Prometheus Server", type: "Type" }, }, 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;