diff options
author | Ed Tanous <ed@tanous.net> | 2024-03-24 00:56:34 +0300 |
---|---|---|
committer | Surya Venkatesan <suryav@ami.com> | 2024-07-18 09:00:10 +0300 |
commit | dbd37e04f9591094623fe723d8403e542199b989 (patch) | |
tree | 5239c6d6ad0d1919406766383f5198e9901a2144 /src/i18n.js | |
parent | 9c7297932c0cc9e5ef7eb25268a8c8eed7c3757d (diff) | |
download | webui-vue-dbd37e04f9591094623fe723d8403e542199b989.tar.xz |
i18n, vue-router and vuex upgrade
1. Configuration of i18n legacy as false.
2. Translation function t is called using the useI18n.
3. Used the i18n.global.t() function from i18n instead of this.$t()
4. Event bus error that occurred during logout.
5. Implemented vue-router 4.4.0 and vuex upgrade to 4.1.0
Change-Id: I9464d82c76dcc1445ce271983ea3ab9d7b03d265
Signed-off-by: Surya Venkatesan <suryav@ami.com>
Diffstat (limited to 'src/i18n.js')
-rw-r--r-- | src/i18n.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i18n.js b/src/i18n.js index 8135a409..434ec104 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -21,7 +21,7 @@ const i18n = createI18n({ silentFallbackWarn: true, messages: loadLocaleMessages(), globalInjection: false, - legacy: true, + legacy: false, }); export default i18n; |