mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
feat(translation): add Czech translation (#6725)
This commit is contained in:
@@ -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";
|
||||
|
||||
2199
packages/i18n/src/locales/cs/translations.json
Normal file
2199
packages/i18n/src/locales/cs/translations.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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}`);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user