fix: LOCALE global variable still used in extension (#3659)
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -138,6 +138,9 @@ window.router = VueRouter.createRouter({
|
|||||||
routes
|
routes
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// BACKWARDS compatibility extensions
|
||||||
|
window.LOCALE = window.g.locale
|
||||||
|
|
||||||
window.i18n = new VueI18n.createI18n({
|
window.i18n = new VueI18n.createI18n({
|
||||||
locale: window.g.locale,
|
locale: window.g.locale,
|
||||||
fallbackLocale: 'en',
|
fallbackLocale: 'en',
|
||||||
|
|||||||
Reference in New Issue
Block a user