feat(translation): add Czech translation (#6725)

This commit is contained in:
Ján Regeš
2025-03-10 08:11:55 +01:00
committed by GitHub
parent a953013f70
commit 099c5d50ee
4 changed files with 2203 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ export const SUPPORTED_LANGUAGES: ILanguageOption[] = [
{ label: "中文", value: "zh-CN" },
{ label: "Русский", value: "ru" },
{ label: "Italian", value: "it" },
{ label: "Čeština", value: "cs" },
];
export const STORAGE_KEY = "userLanguage";

File diff suppressed because it is too large Load Diff

View File

@@ -151,6 +151,8 @@ export class TranslationStore {
return import("../locales/ru/translations.json");
case "it":
return import("../locales/it/translations.json");
case "cs":
return import("../locales/cs/translations.json");
default:
throw new Error(`Unsupported language: ${language}`);
}

View File

@@ -1,4 +1,4 @@
export type TLanguage = "en" | "fr" | "es" | "ja" | "zh-CN" | "ru" | "it";
export type TLanguage = "en" | "fr" | "es" | "ja" | "zh-CN" | "ru" | "it" | "cs";
export interface ILanguageOption {
label: string;