mirror of
https://github.com/sct/overseerr.git
synced 2025-12-27 00:34:56 +01:00
fix(langcode): fixes the ukranian language code
This changes the ukranian language code from ua to uk to fit to ISO 639-1 format that the tmdb api uses. fix #504
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user