From 792328130e8ca47802b9c6f03264404dc923a4d9 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 19 Oct 2023 00:15:06 +0200 Subject: [PATCH] Removed pseudo language from selection --- src/frontend/src/contexts/LanguageContext.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/contexts/LanguageContext.tsx b/src/frontend/src/contexts/LanguageContext.tsx index 4f08955bbb..a08e88d570 100644 --- a/src/frontend/src/contexts/LanguageContext.tsx +++ b/src/frontend/src/contexts/LanguageContext.tsx @@ -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 = { cs: t`Czech`, @@ -38,8 +38,7 @@ export const languages: Record = { 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 }) {