feat: UDM鉴权用户多语言

This commit is contained in:
TsMask
2023-09-21 20:29:44 +08:00
parent 43f4451269
commit 1a3d1e0d49
3 changed files with 35 additions and 38 deletions

View File

@@ -3,7 +3,7 @@ export default {
i18n: 'English',
hello: 'Hello',
// 网管通用
// 通用
common: {
title: 'Core network management system',
desc: '',
@@ -12,10 +12,10 @@ export default {
msgSuccess: 'Success {msg}',
errorFields: 'Please fill in the required information in {num} correctly!',
tablePaginationTotal: 'A total of {total} items',
ok: "Ok",
cancel: "Cancel",
search: "Search",
reset: "Reset",
ok: 'Ok',
cancel: 'Cancel',
search: 'Search',
reset: 'Reset',
addText: 'Add',
editText: 'Edit',
deleteText: 'Delete',
@@ -36,16 +36,10 @@ export default {
launch: 'Launch',
fold: 'Fold',
},
rowId:"RowID",
operate: "Operate",
rowId: 'RowID',
operate: 'Operate',
},
// 网元通用
nfCommon:{
getAll:'Get ALL'
},
// 全局页脚
globalFooter: {
help: 'Help',
@@ -73,18 +67,18 @@ nfCommon:{
// 页面
views: {
index:{
hostName:"hostName",
osInfo:"osInfo",
dbInfo:"dbInfo",
ipAddress:"ipAddress",
port:"port",
version: "version",
cpuUse: "CPU Usage",
memoryUse:"memoryUse",
capability:"capability" ,
serialNum: "serialNum",
expiryDate:"expiryDate",
index: {
hostName: 'hostName',
osInfo: 'osInfo',
dbInfo: 'dbInfo',
ipAddress: 'ipAddress',
port: 'port',
version: 'version',
cpuUse: 'CPU Usage',
memoryUse: 'memoryUse',
capability: 'capability',
serialNum: 'serialNum',
expiryDate: 'expiryDate',
},
login: {
tabPane1: 'Account password login',
@@ -121,10 +115,15 @@ nfCommon:{
neTypePlease: '查询网元类型',
neType: 'Type',
fileName: 'FileName',
version: 'Version',
version: 'Version',
softwareLoadTime: '软件加载时间',
description: '功能描述',
},
},
neUser: {
auth: {
getAll: 'Get ALL',
},
},
},
};

View File

@@ -3,7 +3,7 @@ export default {
i18n: '中文',
hello: '你好',
// 网管通用
// 通用
common: {
title: '核心网管理系统',
desc: '',
@@ -40,13 +40,6 @@ export default {
operate: '操作',
},
// 网元通用
nfCommon:{
getAll:'全部获取'
},
// 全局页脚
globalFooter: {
help: '',
@@ -122,10 +115,15 @@ export default {
neTypePlease: '查询网元类型',
neType: '网元类型',
fileName: '文件名',
version: '版本',
version: '版本',
softwareLoadTime: '软件加载时间',
description: '功能描述',
},
},
neUser: {
auth: {
getAll: '全部获取',
},
},
},
};

View File

@@ -429,10 +429,10 @@ onMounted(() => {
<template #icon><PlusOutlined /></template>
{{ t('common.addText') }}
</a-button>
<!-- <a-button type="primary" @click.prevent="fnGetAll">
<a-button type="primary" @click.prevent="fnGetAll">
<template #icon><PlusOutlined /></template>
{{ t('nfCommon.getAll') }}
</a-button> -->
{{ t('views.neUser.auth.getAll') }}
</a-button>
</a-space>
</template>