NEZ-635 fix: role 角色权限国际化添加
This commit is contained in:
@@ -5,6 +5,7 @@ const cn = {
|
||||
customPicture: '上传图片',
|
||||
endpointTemplate: 'endpoint模板',
|
||||
AddByTemplate: '使用模板创建',
|
||||
exprTemp: '表达式模板',
|
||||
oneHour: '1 小时',
|
||||
twoHour: '2 小时',
|
||||
sixHour: '6 小时',
|
||||
@@ -213,6 +214,7 @@ const cn = {
|
||||
},
|
||||
dashboard: {
|
||||
title: '仪表盘',
|
||||
addChartTemp: '添加图表模板',
|
||||
panel: {
|
||||
title: '面板',
|
||||
searchItem: {
|
||||
@@ -382,7 +384,7 @@ const cn = {
|
||||
moreTitleOther: '仅显示 10 条数据。',
|
||||
showAll: '全部显示 ',
|
||||
showAllOther: '全部数据 ',
|
||||
addChartTemp: 'addChartTemp'
|
||||
addChartTemp: '添加图表'
|
||||
},
|
||||
metric: {
|
||||
name: '指标名称',
|
||||
@@ -1200,6 +1202,16 @@ const cn = {
|
||||
projectInfo: '系统信息',
|
||||
endpointInfo: 'Endpoint信息'
|
||||
},
|
||||
topo: {
|
||||
list: '列表',
|
||||
update: '更新',
|
||||
icon: {
|
||||
list: '列表',
|
||||
delete: '删除',
|
||||
save: '保存',
|
||||
info: '信息',
|
||||
}
|
||||
},
|
||||
project: {
|
||||
project: '名称',
|
||||
projectName: '系统',
|
||||
@@ -1242,6 +1254,7 @@ const cn = {
|
||||
editEndpoint: '修改 Endpoint',
|
||||
endpoint: 'Endpoint',
|
||||
endpointId: 'Endpoint ID',
|
||||
list: '列表',
|
||||
host: '主机',
|
||||
port: '端口',
|
||||
param: '参数',
|
||||
@@ -1550,7 +1563,55 @@ const cn = {
|
||||
add: '新增',
|
||||
edit: '修改',
|
||||
delete: '删除',
|
||||
expire: '过期'
|
||||
expired: '过期',
|
||||
panel: {
|
||||
addChart: '新增图标',
|
||||
editChart: '修改图表',
|
||||
deleteChart: '删除图表'
|
||||
},
|
||||
asset: {
|
||||
view: '查看',
|
||||
connect: '连接'
|
||||
},
|
||||
snmp: {
|
||||
view: '查看',
|
||||
add: '新增',
|
||||
edit: '修改',
|
||||
delete: '删除',
|
||||
mibBrowser: 'MIB浏览器',
|
||||
},
|
||||
credential: {
|
||||
view: '查看',
|
||||
add: '新增',
|
||||
edit: '修改',
|
||||
delete: '删除',
|
||||
},
|
||||
system: {
|
||||
basic: '基础设置',
|
||||
email: 'Email',
|
||||
terminal: '终端',
|
||||
ldap: 'LDAP',
|
||||
apiKey : {
|
||||
add: '新增',
|
||||
edit: '修改',
|
||||
delete: '删除',
|
||||
}
|
||||
},
|
||||
terminalLog: {
|
||||
kill: 'Kill',
|
||||
monitor: '监控'
|
||||
}
|
||||
},
|
||||
system: {
|
||||
notification: {
|
||||
notification: '通知方式'
|
||||
},
|
||||
reset: {
|
||||
reset: '重置'
|
||||
},
|
||||
apikey: {
|
||||
apiKey: 'Api Key',
|
||||
}
|
||||
},
|
||||
...zhLocale
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@ const en = {
|
||||
customPicture: 'Custom picture',
|
||||
endpointTemplate: 'Endpoint template',
|
||||
AddByTemplate: 'Add by template',
|
||||
exprTemp: 'Expr temp',
|
||||
oneHour: '1 hour',
|
||||
twoHour: '2 hours',
|
||||
sixHour: '6 hours',
|
||||
@@ -220,6 +221,7 @@ const en = {
|
||||
},
|
||||
dashboard: {
|
||||
title: 'Dashboard',
|
||||
addChartTemp: 'Add chart temp',
|
||||
panel: {
|
||||
title: 'Panel', // '面板'
|
||||
searchItem: {
|
||||
@@ -1210,6 +1212,16 @@ const en = {
|
||||
projectInfo: 'Project information',
|
||||
endpointInfo: 'Endpoint information'
|
||||
},
|
||||
topo: {
|
||||
list: 'List',
|
||||
update: 'Update',
|
||||
icon: {
|
||||
list: 'List',
|
||||
delete: 'Delete',
|
||||
save: 'Save',
|
||||
info: 'Info',
|
||||
}
|
||||
},
|
||||
project: {
|
||||
project: 'Name', // "系统"
|
||||
projectName: 'Project', // "系统名称"
|
||||
@@ -1252,6 +1264,7 @@ const en = {
|
||||
editEndpoint: 'Edit endpoint', // "编辑Endpoint"
|
||||
endpoint: 'Endpoint', // "Endpoint"
|
||||
endpointId: 'Endpoint ID', // "Endpoint ID"
|
||||
list: 'List',
|
||||
host: 'Host', // "Host"
|
||||
port: 'Port', // "端口"
|
||||
param: 'Parameter', // "参数"
|
||||
@@ -1439,7 +1452,55 @@ const en = {
|
||||
add: 'Add',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
expire: 'Expire'
|
||||
expired: 'Expired',
|
||||
panel: {
|
||||
addChart: 'Add chart',
|
||||
editChart: 'Edit chart',
|
||||
deleteChart: 'Delete chart'
|
||||
},
|
||||
asset: {
|
||||
view: 'View',
|
||||
connect: 'Connect'
|
||||
},
|
||||
snmp: {
|
||||
view: 'View',
|
||||
add: 'Add',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
mibBrowser: 'Mib browser',
|
||||
},
|
||||
credential: {
|
||||
view: 'View',
|
||||
add: 'Add',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
},
|
||||
system: {
|
||||
basic: 'Basic',
|
||||
email: 'Email',
|
||||
terminal: 'Terminal',
|
||||
ldap: 'LDAP',
|
||||
apiKey : {
|
||||
add: 'Add',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
}
|
||||
},
|
||||
terminalLog: {
|
||||
kill: 'Kill',
|
||||
monitor: 'Monitor'
|
||||
}
|
||||
},
|
||||
system: {
|
||||
notification: {
|
||||
notification: 'Notification'
|
||||
},
|
||||
reset: {
|
||||
reset: 'Reset'
|
||||
},
|
||||
apikey: {
|
||||
apiKey: 'Api Key',
|
||||
}
|
||||
},
|
||||
...enLocale
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
</div>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<!-- <el-dropdown-item :command="['edit', scope.row]"><i class="nz-icon nz-icon-edit"></i><span class="operation-dropdown-text">{{$t('overall.edit')}}</span></el-dropdown-item>-->
|
||||
<el-dropdown-item v-has="'alertSilence_expire'" :command="['delete', scope.row]"><i class="nz-icon nz-icon-delete"></i><span class="operation-dropdown-text">{{$t('buttons.expire')}}</span></el-dropdown-item>
|
||||
<el-dropdown-item v-has="'alertSilence_expire'" :command="['delete', scope.row]"><i class="nz-icon nz-icon-delete"></i><span class="operation-dropdown-text">{{$t('buttons.expired')}}</span></el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user