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/components/Mixins/BVToastMixin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/Mixins/BVToastMixin.js') diff --git a/src/components/Mixins/BVToastMixin.js b/src/components/Mixins/BVToastMixin.js index a46f5e50..4fedc9a4 100644 --- a/src/components/Mixins/BVToastMixin.js +++ b/src/components/Mixins/BVToastMixin.js @@ -2,7 +2,7 @@ import i18n from '../../i18n'; const BVToastMixin = { methods: { - successToast(message, title = i18n.t('global.response.success')) { + successToast(message, title = i18n.t('global.status.success')) { this.$root.$bvToast.toast(message, { title, variant: 'success', @@ -11,7 +11,7 @@ const BVToastMixin = { solid: true }); }, - errorToast(message, title = i18n.t('global.response.error')) { + errorToast(message, title = i18n.t('global.status.error')) { this.$root.$bvToast.toast(message, { title, variant: 'danger', @@ -20,7 +20,7 @@ const BVToastMixin = { solid: true }); }, - warningToast(message, title = i18n.t('global.response.warning')) { + warningToast(message, title = i18n.t('global.status.warning')) { this.$root.$bvToast.toast(message, { title, variant: 'warning', -- cgit v1.2.3