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/views/Login/Login.vue | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/views/Login') diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index d4fde8cb..10ebb930 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -17,12 +17,12 @@ @@ -94,14 +94,14 @@ export default { }, disableSubmitButton: false, languages: [ - { value: null, text: this.$t('login.languages.select') }, + { value: null, text: this.$t('global.form.selectAnOption') }, { value: 'en', - text: this.$t('login.languages.english') + text: this.$t('pageLogin.form.english') }, { value: 'es', - text: this.$t('login.languages.spanish') + text: this.$t('pageLogin.form.spanish') } ] }; -- cgit v1.2.3