diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-02-25 02:42:40 +0300 |
---|---|---|
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-02-26 23:39:55 +0300 |
commit | 547b5fc35b0f658f88414f8628f668af89f62734 (patch) | |
tree | 2bd051f3a16b05cd41995085e898651d76c18013 /src/views/Overview/OverviewQuickLinks.vue | |
parent | 1b1c1005905c0d5a0145377718ad773fe08d0863 (diff) | |
download | webui-vue-547b5fc35b0f658f88414f8628f668af89f62734.tar.xz |
Update language json structure
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 <yoshiemuranaka@gmail.com>
Change-Id: Ie4222b3ce24dec7af31b55b5a77425ca2f492789
Diffstat (limited to 'src/views/Overview/OverviewQuickLinks.vue')
-rw-r--r-- | src/views/Overview/OverviewQuickLinks.vue | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/views/Overview/OverviewQuickLinks.vue b/src/views/Overview/OverviewQuickLinks.vue index 036576da..0dc7adff 100644 --- a/src/views/Overview/OverviewQuickLinks.vue +++ b/src/views/Overview/OverviewQuickLinks.vue @@ -2,22 +2,22 @@ <div class="quicklinks"> <div> <dl> - <dt>{{ $t('overview.quicklinks.bmcTime') }}</dt> + <dt>{{ $t('pageOverview.quicklinks.bmcTime') }}</dt> <dd>{{ bmcTime | date('MMM, DD YYYY HH:MM:SS A ZZ') }}</dd> </dl> </div> <div> <!-- TODO: add toggle LED on/off funtionality --> <dl> - <dt>{{ $t('overview.quicklinks.serverLed') }}</dt> + <dt>{{ $t('pageOverview.quicklinks.serverLed') }}</dt> <dd> <b-form-checkbox v-model="serverLedChecked" name="check-button" switch > - <span v-if="!serverLedChecked">{{ $t('global.on') }}</span> - <span v-else>{{ $t('global.off') }}</span> + <span v-if="serverLedChecked">{{ $t('global.status.on') }}</span> + <span v-else>{{ $t('global.status.off') }}</span> </b-form-checkbox> </dd> </dl> @@ -29,7 +29,7 @@ variant="secondary" class="d-flex justify-content-between align-items-center" > - <span>{{ $t('overview.quicklinks.editNetworkSettings') }}</span> + <span>{{ $t('pageOverview.quicklinks.editNetworkSettings') }}</span> <icon-arrow-right /> </b-button> </div> @@ -40,7 +40,7 @@ variant="secondary" class="d-flex justify-content-between align-items-center" > - <span>{{ $t('overview.quicklinks.solConsole') }}</span> + <span>{{ $t('pageOverview.quicklinks.solConsole') }}</span> <icon-arrow-right /> </b-button> </div> |