From 547b5fc35b0f658f88414f8628f668af89f62734 Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Mon, 24 Feb 2020 15:42:40 -0800 Subject: Update language json structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restructure language file to use consistent pattern across pages following loose guidelines. - Create buckets for common global labels - Create common component objects–appHeader, appNavigation, appPageTitle - Page specific labels should be nested in an object with a key prefixed with 'page' followed by the page title - Any 'major' child components should be nested inside page specific objects - Avoid any complex linked locale messages - Alphabetize object keys, alphabetize nested properties at end of object block Signed-off-by: Yoshie Muranaka Change-Id: Ie4222b3ce24dec7af31b55b5a77425ca2f492789 --- src/router/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/router') diff --git a/src/router/index.js b/src/router/index.js index 9a30e976..dda4daf5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -6,7 +6,7 @@ import AppLayout from '../layouts/AppLayout.vue'; Vue.use(VueRouter); // Meta title is translated using i18n in App.vue and PageTitle.Vue -// Example meta: {title: 'pageTitle.overview'} +// Example meta: {title: 'appPageTitle.overview'} const routes = [ { path: '/', @@ -20,7 +20,7 @@ const routes = [ path: '', component: () => import('@/views/Overview'), meta: { - title: 'pageTitle.overview' + title: 'appPageTitle.overview' } }, { @@ -28,7 +28,7 @@ const routes = [ name: 'local-users', component: () => import('@/views/AccessControl/LocalUserManagement'), meta: { - title: 'pageTitle.localUserMgmt' + title: 'appPageTitle.localUserManagement' } }, { @@ -36,7 +36,7 @@ const routes = [ name: 'reboot-bmc', component: () => import('@/views/Control/RebootBmc'), meta: { - title: 'pageTitle.rebootBmc' + title: 'appPageTitle.rebootBmc' } }, { @@ -44,7 +44,7 @@ const routes = [ name: 'unauthorized', component: () => import('@/views/Unauthorized'), meta: { - title: 'pageTitle.unauthorized' + title: 'appPageTitle.unauthorized' } } ] @@ -54,7 +54,7 @@ const routes = [ name: 'login', component: () => import('@/views/Login'), meta: { - title: 'pageTitle.login' + title: 'appPageTitle.login' } } ]; -- cgit v1.2.3