mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
Localize i18n and display the environment variable configured instance in the list
This commit is contained in:
+8
-1
@@ -17,11 +17,18 @@ export const i18n = new VueI18n({
|
||||
messages
|
||||
})
|
||||
|
||||
const TIME_AGO_EXCEPTIONS = {
|
||||
export const TIME_AGO_EXCEPTIONS = {
|
||||
'bn-Beng': 'bn',
|
||||
'nb-NO': 'nb'
|
||||
}
|
||||
|
||||
export const COUNTRY_I18N_EXCEPTIONS = {
|
||||
'bn-Beng': 'bn',
|
||||
'nb-NO': 'nb',
|
||||
'zh-Hant': 'zh',
|
||||
'zh-Hans': 'zh'
|
||||
}
|
||||
|
||||
async function syncStylesPerLanguage (locale) {
|
||||
switch (locale) {
|
||||
// All the latin languages
|
||||
|
||||
Reference in New Issue
Block a user