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:
@@ -8,7 +8,7 @@ import useSWR from 'swr';
|
||||
import { UserSettingsGeneralResponse } from '../../../../../server/interfaces/api/userSettingsInterfaces';
|
||||
import {
|
||||
availableLanguages,
|
||||
AvailableLocales,
|
||||
AvailableLocale,
|
||||
} from '../../../../context/LanguageContext';
|
||||
import useLocale from '../../../../hooks/useLocale';
|
||||
import useSettings from '../../../../hooks/useSettings';
|
||||
@@ -124,7 +124,7 @@ const UserGeneralSettings: React.FC = () => {
|
||||
setLocale(
|
||||
(values.locale
|
||||
? values.locale
|
||||
: currentSettings.locale) as AvailableLocales
|
||||
: currentSettings.locale) as AvailableLocale
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user