Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Czech translations and include in i18n configuration #245

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions src/i18n/cs.ts
Original file line number Diff line number Diff line change
@@ -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;
4 changes: 4 additions & 0 deletions src/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -21,6 +22,9 @@ const resources: Resource = {
de: {
translation: deTranslations,
},
cs: {
translation: csTranslations,
},
};

i18.use(initReactI18next).init({
Expand Down