add loop for language selection (#1725)

add languages

add portuguese

fix bug with singlequotes, and a vendor.json

fixup formatting

include bundle

rename files
This commit is contained in:
Tiago Vasconcelos
2023-05-24 11:43:31 +01:00
committed by GitHub
parent eab19280d5
commit 6eab3dae01
8 changed files with 222 additions and 62 deletions
+4 -1
View File
@@ -343,7 +343,8 @@ window.windowMixin = {
user: null,
wallet: null,
payments: [],
allowedThemes: null
allowedThemes: null,
langs: []
}
}
},
@@ -388,6 +389,8 @@ window.windowMixin = {
window.i18n.locale = locale
}
this.g.langs = window.langs ?? []
addEventListener('offline', event => {
this.g.offline = true
})