mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(lang): add Greek display language (#1605)
* feat(lang): add Greek & Polish display languages Also: * rename zh-TW display language to 繁體中文 * fix plurality of AvailableLocale type name * consistently use 'en' as fallback/default language * revert(lang): remove Polish display language due to lack of translation activity
This commit is contained in:
@@ -10,7 +10,7 @@ import { UserSettingsGeneralResponse } from '../../../server/interfaces/api/user
|
||||
import type { MainSettings } from '../../../server/lib/settings';
|
||||
import {
|
||||
availableLanguages,
|
||||
AvailableLocales,
|
||||
AvailableLocale,
|
||||
} from '../../context/LanguageContext';
|
||||
import useLocale from '../../hooks/useLocale';
|
||||
import { Permission, useUser } from '../../hooks/useUser';
|
||||
@@ -160,7 +160,7 @@ const SettingsMain: React.FC = () => {
|
||||
setLocale(
|
||||
(userData?.locale
|
||||
? userData.locale
|
||||
: values.locale) as AvailableLocales
|
||||
: values.locale) as AvailableLocale
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user