feat(lang): add Albanian display language (#2605)

This commit is contained in:
TheCatLady
2022-03-12 17:17:03 -05:00
committed by GitHub
parent 4549ed389e
commit 3d32462f50
2 changed files with 7 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ export type AvailableLocale =
| 'pt-BR'
| 'pt-PT'
| 'ru'
| 'sq'
| 'sr'
| 'sv'
| 'zh-CN'
@@ -85,6 +86,10 @@ export const availableLanguages: AvailableLanguageObject = {
code: 'pt-PT',
display: 'Português (Portugal)',
},
sq: {
code: 'sq',
display: 'Shqip',
},
sv: {
code: 'sv',
display: 'Svenska',

View File

@@ -55,6 +55,8 @@ const loadLocaleData = (locale: AvailableLocale): Promise<any> => {
return import('../i18n/locale/pt_PT.json');
case 'ru':
return import('../i18n/locale/ru.json');
case 'sq':
return import('../i18n/locale/sq.json');
case 'sr':
return import('../i18n/locale/sr.json');
case 'sv':