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:
@ -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 }) {
|
||||||
|
Reference in New Issue
Block a user