mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-22 16:03:09 +02:00
fix: Add some more regional language variants to langmap
This commit is contained in:
parent
8a416cd302
commit
212aaab5b7
2 changed files with 18 additions and 0 deletions
|
@ -376,6 +376,15 @@ export const iso639Langs3 = {
|
|||
export const langmapNoRegion = Object.assign({}, iso639Langs1, iso639Langs3);
|
||||
|
||||
export const iso639Regional = {
|
||||
'en-GB': {
|
||||
nativeName: 'English (UK)',
|
||||
},
|
||||
'fr-CA': {
|
||||
nativeName: 'Français (Canada)',
|
||||
},
|
||||
'pt-BR': {
|
||||
nativeName: 'Português (Brasil)',
|
||||
},
|
||||
'zh-Hans': {
|
||||
nativeName: '中文(简体)',
|
||||
},
|
||||
|
|
|
@ -376,6 +376,15 @@ export const iso639Langs3 = {
|
|||
export const langmapNoRegion = Object.assign({}, iso639Langs1, iso639Langs3);
|
||||
|
||||
export const iso639Regional = {
|
||||
'en-GB': {
|
||||
nativeName: 'English (UK)',
|
||||
},
|
||||
'fr-CA': {
|
||||
nativeName: 'Français (Canada)',
|
||||
},
|
||||
'pt-BR': {
|
||||
nativeName: 'Português (Brasil)',
|
||||
},
|
||||
'zh-Hans': {
|
||||
nativeName: '中文(简体)',
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue