From 6daf450aa0d290c92f7184b7201a9b77399c60e1 Mon Sep 17 00:00:00 2001 From: lukaspivarnik Date: Tue, 10 Dec 2024 10:18:25 +0100 Subject: [PATCH] Add Czech translations and include in i18n configuration --- src/i18n/cs.ts | 33 +++++++++++++++++++++++++++++++++ src/i18n/i18n.ts | 4 ++++ 2 files changed, 37 insertions(+) create mode 100644 src/i18n/cs.ts diff --git a/src/i18n/cs.ts b/src/i18n/cs.ts new file mode 100644 index 00000000..ee01b829 --- /dev/null +++ b/src/i18n/cs.ts @@ -0,0 +1,33 @@ +const translations = { + Upload: "Nahrát", + "Select Header": "Vybrat hlavičku", + "Map Columns": "Mapovat sloupce", + "Expected Column": "Očekávaný sloupec", + Required: "Povinné", + "Drop your file here": "Přetáhněte soubor sem", + or: "nebo", + "Browse files": "Procházet soubory", + "Download Template": "Stáhnout šablonu", + "Only CSV, XLS, and XLSX files can be uploaded": "Lze nahrát pouze soubory CSV, XLS a XLSX", + "Select Header Row": "Vybrat řádek hlavičky", + "Select the row which contains the column headers": "Vyberte řádek obsahující hlavičky sloupců", + "Only the first sheet ("{{sheet}}") of the Excel file will be imported. To import multiple sheets, please upload each sheet individually.": "Importuje se pouze první list ("{{sheet}}") Excel souboru. Pro import více listů nahrajte prosím každý list samostatně.", + "Cancel": "Zrušit", + "Continue": "Pokračovat", + "Your File Column": "Sloupec vašeho souboru", + "Your Sample Data": "Vaše vzorová data", + "Destination Column": "Cílový sloupec", + "Include": "Zahrnout", + "Submit": "Odeslat", + "Loading...": "Načítání...", + "Please include all required columns": "Prosím zahrňte všechny povinné sloupce", + "Back": "Zpět", + "- Select one -": "- Vyberte jeden -", + "- empty -": "- prázdné -", + "Import Successful": "Import byl úspěšný", + "Upload Successful": "Nahrání bylo úspěšné", + "Done": "Hotovo", + "Upload another file": "Nahrát další soubor", +}; + +export default translations; diff --git a/src/i18n/i18n.ts b/src/i18n/i18n.ts index 1e141c60..8d49dc2d 100644 --- a/src/i18n/i18n.ts +++ b/src/i18n/i18n.ts @@ -4,6 +4,7 @@ import esTranslation from "./es"; import frTranslation from "./fr"; import itTranslations from "./it"; import deTranslations from "./de"; +import csTranslations from "./cs"; const resources: Resource = { en: { @@ -21,6 +22,9 @@ const resources: Resource = { de: { translation: deTranslations, }, + cs: { + translation: csTranslations, + }, }; i18.use(initReactI18next).init({