Merge pull request #525 from Fallenbagel/fix-ukranian-lang-code

fix(langcode): fixes the ukranian language code
This commit is contained in:
Fallenbagel
2023-11-07 03:37:00 +05:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ export type AvailableLocale =
| 'sq'
| 'sr'
| 'sv'
| 'ua'
| 'uk'
| 'zh-CN'
| 'zh-TW';
@@ -127,8 +127,8 @@ export const availableLanguages: AvailableLanguageObject = {
code: 'ja',
display: '日本語',
},
ua: {
code: 'ua',
uk: {
code: 'uk',
display: 'українська',
},
ko: {

View File

@@ -73,8 +73,8 @@ const loadLocaleData = (locale: AvailableLocale): Promise<any> => {
return import('../i18n/locale/sr.json');
case 'sv':
return import('../i18n/locale/sv.json');
case 'ua':
return import('../i18n/locale/ua.json');
case 'uk':
return import('../i18n/locale/uk.json');
case 'zh-CN':
return import('../i18n/locale/zh_Hans.json');
case 'zh-TW':