fix: LOCALE global variable still used in extension (#3659)
This commit is contained in:
parent
68b607ecbc
commit
8867b27b09
2 changed files with 4 additions and 1 deletions
2
lnbits/static/bundle-components.min.js
vendored
2
lnbits/static/bundle-components.min.js
vendored
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',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue