diff --git a/mepm-fe/src/app/PackageList.vue b/mepm-fe/src/app/PackageList.vue index d405ca734f9afc7be4bb1b7c353bd0ff269c6e28..13b90b565fe1fc1d83af86445e79c36ab27da49d 100755 --- a/mepm-fe/src/app/PackageList.vue +++ b/mepm-fe/src/app/PackageList.vue @@ -34,7 +34,7 @@ type="primary" @click="uploadPackage" > - {{ $t('New Package') }} + {{ $t('app.packageList.newPackage') }}
diff --git a/mepm-fe/src/data/NavDataCn.js b/mepm-fe/src/data/NavDataCn.js index 86103aa223ff3a5edf88e27182026dfce2db89c0..4ef730d352f1cfbedc2f5e04e55fdee312b8023a 100755 --- a/mepm-fe/src/data/NavDataCn.js +++ b/mepm-fe/src/data/NavDataCn.js @@ -48,10 +48,17 @@ const NavDataCn = [ }, { 'id': '2.3', - 'name': '边缘节点', + 'name': '边缘节点管理', 'path': '/mecm/node/list', 'pageId': '2.0.2', 'display': false + }, + { + 'id': '2.7', + 'name': '关于', + 'path': '/mecm/about', + 'pageId': '2.0.3', + 'display': false } ] diff --git a/mepm-fe/src/host/List.vue b/mepm-fe/src/host/List.vue index 0104e316ab0995b4db23412f8481f1acbff45165..673077398b061a58b4a80cd0e3e5c4e8e799b7c8 100755 --- a/mepm-fe/src/host/List.vue +++ b/mepm-fe/src/host/List.vue @@ -130,7 +130,7 @@ size="small" @click="showDetails(scope.row)" > - {{ $t('Details') }} + {{ $t('edgeNode.detail') }} - {{ $t('AppDetails') }} + {{ $t('edgeNode.appDetails') }} diff --git a/mepm-fe/src/locales/cn.js b/mepm-fe/src/locales/cn.js index b45de799942429e644ee965f17c4b53ce1a45bd9..b50997e6e4a2f0ec146457ba990b9c4a7c6ce727 100755 --- a/mepm-fe/src/locales/cn.js +++ b/mepm-fe/src/locales/cn.js @@ -95,7 +95,8 @@ const cn = { pacVersion: '应用版本', status: '状态', sync: '同步', - syncTip: '请至少选择一个应用进行同步!' + syncTip: '请至少选择一个应用进行同步!', + newPackage: '新的应用程序包' }, distriList: { mecHost: 'MEC 主机', @@ -182,7 +183,9 @@ const cn = { edgeNexusPort: 'Edge Repo端口', applcmIp: 'App LCM IP', k8sUrl: 'K8S URL', - monitor: '监控' + monitor: '监控', + detail: '细节', + appDetails: '应用程式详细资料' }, system: { appLcm: { @@ -226,7 +229,8 @@ const cn = { hwCapability: '硬件能力', coordinates: '坐标', chooseLocation: '选择部署位置', - vim: '虚拟机' + vim: '虚拟机', + newEdge: '新边缘' } }, common: { @@ -377,6 +381,19 @@ const cn = { qingdao: '青岛市', haier: '海尔青岛工厂' }, + dashboard: { + nodeDetails: '节点详细信息', + appDetails: '申请详情', + appList: '应用实例管理', + nodeList: '边缘节点', + appName: '名称', + appId: '应用程式识别码', + deploymentStatus: '状态', + applicationStatistics: '统计', + available: '可用的应用程序包', + distributed: '分布式应用', + deployed: '部署的应用程序' + }, ...zhLocale } diff --git a/mepm-fe/src/locales/en.js b/mepm-fe/src/locales/en.js index 0e8a2b9f3b0da1af394c612a4b7f326cc02c7b9f..1fe3405e9b133bac8f816975006754dfcf6d2e75 100755 --- a/mepm-fe/src/locales/en.js +++ b/mepm-fe/src/locales/en.js @@ -49,7 +49,7 @@ const en = { softwareCapa: 'SW Capabilities', capa: 'Capabilities', vendor: 'Vendor', - model: 'Model', + model: 'Model :', desc: 'Description', app: 'App', manage: 'Manage', @@ -58,12 +58,12 @@ const en = { services: 'Services', containers: 'Containers', containerUsage: 'Container Usage', - name: 'Name: ', + name: 'Name : ', register: 'Register', alarms: 'Alarms', nodeinfo: 'Node Info', statistics: 'Statistics', - nodeIp: 'Node IP: ', + nodeIp: 'IP : ', nodeName: 'Node Name: ', nodeAddress: 'Node Address: ', nodeInfo: 'Node Information', @@ -96,7 +96,8 @@ const en = { pacVersion: 'Package Version', status: 'Status', sync: 'Sync', - syncTip: 'Select at lease one application for synchronization!' + syncTip: 'Select at lease one application for synchronization!', + newPackage: 'New Package' }, distriList: { mecHost: 'MEC Hosts', @@ -184,7 +185,9 @@ const en = { applcmIp: 'App LCM IP', k8sUrl: 'K8S URL', monitor: 'Monitor', - vim: 'VIM' + vim: 'VIM', + detail: 'Details', + appDetails: 'AppDetails' }, system: { appLcm: { @@ -379,6 +382,19 @@ const en = { qingdao: 'Qingdao', haier: 'Haier Qingdao' }, + dashboard: { + nodeDetails: 'Node details', + appDetails: 'App details', + appList: 'Application List', + nodeList: 'EdgeNodes List', + appName: 'Application Name', + appId: 'Application ID', + deploymentStatus: 'Deployment status', + applicationStatistics: 'Application Statistics', + available: 'Available', + distributed: 'Distributed', + deployed: 'Deployed' + }, ...enLocale } diff --git a/mepm-fe/src/overview/Dashboard.vue b/mepm-fe/src/overview/Dashboard.vue index ee37171603b2e71439f227379e1b84ca345cae00..18dae2a4f91a94afc716a4a2cab8864f320b8bff 100755 --- a/mepm-fe/src/overview/Dashboard.vue +++ b/mepm-fe/src/overview/Dashboard.vue @@ -19,7 +19,7 @@

- Application Statistics + {{ $t('dashboard.applicationStatistics') }}

{{ packageUploadedCount }}
- Available + {{ $t('dashboard.available') }}
@@ -74,7 +74,7 @@ {{ distributedCount }}
- Distributed + {{ $t('dashboard.distributed') }}
@@ -101,7 +101,7 @@ {{ deployedCount }}
- Deployed + {{ $t('dashboard.deployed') }}
@@ -112,7 +112,7 @@

- Application List + {{ $t('dashboard.appList') }}