fix: LOCALE global variable still used in extension (#3659)

This commit is contained in:
dni ⚡ 2025-12-11 13:03:38 +01:00 committed by GitHub
parent 68b607ecbc
commit 8867b27b09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -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',