feat(lang): add Polish display language (#2261)

pull/2315/head
TheCatLady 3 years ago committed by GitHub
parent 92732fcb42
commit c760ceaa5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,6 +14,7 @@ export type AvailableLocale =
| 'hu'
| 'nb-NO'
| 'nl'
| 'pl'
| 'pt-BR'
| 'pt-PT'
| 'ru'
@ -72,6 +73,10 @@ export const availableLanguages: AvailableLanguageObject = {
code: 'nb-NO',
display: 'Norsk Bokmål',
},
pl: {
code: 'pl',
display: 'Polski',
},
'pt-BR': {
code: 'pt-BR',
display: 'Português (Brasil)',
@ -94,7 +99,7 @@ export const availableLanguages: AvailableLanguageObject = {
},
sr: {
code: 'sr',
display: 'српски језик',
display: 'српски језик',
},
ja: {
code: 'ja',
@ -102,11 +107,11 @@ export const availableLanguages: AvailableLanguageObject = {
},
'zh-TW': {
code: 'zh-TW',
display: '繁體中文',
display: '繁體中文',
},
'zh-CN': {
code: 'zh-CN',
display: '简体中文',
display: '简体中文',
},
};

@ -47,6 +47,8 @@ const loadLocaleData = (locale: AvailableLocale): Promise<any> => {
return import('../i18n/locale/nb_NO.json');
case 'nl':
return import('../i18n/locale/nl.json');
case 'pl':
return import('../i18n/locale/pl.json');
case 'pt-BR':
return import('../i18n/locale/pt_BR.json');
case 'pt-PT':

Loading…
Cancel
Save