Removed pseudo language from selection

This commit is contained in:
Matthias Mair 2023-10-19 00:15:06 +02:00
parent 1c36dd4366
commit 792328130e
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A

View File

@ -7,7 +7,7 @@ import { api } from '../App';
import { useLocalState } from '../states/LocalState';
// Definitions
export type Locales = keyof typeof languages;
export type Locales = keyof typeof languages | 'pseudo-LOCALE';
export const languages: Record<string, string> = {
cs: t`Czech`,
@ -38,8 +38,7 @@ export const languages: Record<string, string> = {
tr: t`Turkish`,
vi: t`Vietnamese`,
'zh-hans': t`Chinese (Simplified)`,
'zh-hant': t`Chinese (Traditional)`,
'pseudo-LOCALE': t`Pseudo Locale`
'zh-hant': t`Chinese (Traditional)`
};
export function LanguageContext({ children }: { children: JSX.Element }) {