2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 13:35:40 +00:00

Removed pseudo language from selection

This commit is contained in:
Matthias Mair
2023-10-19 00:15:06 +02:00
parent 1c36dd4366
commit 792328130e

View File

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