Skip to content

Commit

Permalink
[l10n] Import Czech (cs-CZ) locale (from @BlastyCZ) (#8114)
Browse files Browse the repository at this point in the history
Co-authored-by: Blasty <52929675+BlastyCZ@users.noreply.github.com>
  • Loading branch information
alexfauquette and BlastyCZ authored Mar 3, 2023
1 parent 7d4ff92 commit 72d7870
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion docs/data/data-grid/localization/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"languageTag": "cs-CZ",
"importName": "csCZ",
"localeName": "Czech",
"missingKeysCount": 20,
"missingKeysCount": 0,
"totalKeysCount": 93,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/grid/x-data-grid/src/locales/csCZ.ts/"
},
Expand Down
44 changes: 22 additions & 22 deletions packages/grid/x-data-grid/src/locales/csCZ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ const csCZGrid: Partial<GridLocaleText> = {
},

// Quick filter toolbar field
// toolbarQuickFilterPlaceholder: 'Search…',
// toolbarQuickFilterLabel: 'Search',
// toolbarQuickFilterDeleteIconLabel: 'Clear',
toolbarQuickFilterPlaceholder: 'Vyhledávat…',
toolbarQuickFilterLabel: 'Vyhledat',
toolbarQuickFilterDeleteIconLabel: 'Vymazat',

// Export selector toolbar button text
toolbarExport: 'Export',
toolbarExportLabel: 'Export',
toolbarExportCSV: 'Stáhnout jako CSV',
toolbarExportPrint: 'Vytisknout',
// toolbarExportExcel: 'Download as Excel',
toolbarExportExcel: 'Stáhnout jako Excel',

// Columns panel text
columnsPanelTextFieldLabel: 'Najít sloupec',
Expand All @@ -58,7 +58,7 @@ const csCZGrid: Partial<GridLocaleText> = {
// Filter panel text
filterPanelAddFilter: 'Přidat filtr',
filterPanelDeleteIconLabel: 'Odstranit',
// filterPanelLinkOperator: 'Logic operator',
filterPanelLinkOperator: 'Logický operátor',
filterPanelOperators: 'Operátory',

// TODO v6: rename to filterPanelOperator
Expand All @@ -81,7 +81,7 @@ const csCZGrid: Partial<GridLocaleText> = {
filterOperatorOnOrBefore: 'je na nebo dříve',
filterOperatorIsEmpty: 'je prázdný',
filterOperatorIsNotEmpty: 'není prázdný',
// filterOperatorIsAnyOf: 'is any of',
filterOperatorIsAnyOf: 'je jeden z',

// Filter values text
filterValueAny: 'jakýkoliv',
Expand Down Expand Up @@ -141,10 +141,10 @@ const csCZGrid: Partial<GridLocaleText> = {

// Checkbox selection text
checkboxSelectionHeaderName: 'Výběr řádku',
// checkboxSelectionSelectAllRows: 'Select all rows',
// checkboxSelectionUnselectAllRows: 'Unselect all rows',
// checkboxSelectionSelectRow: 'Select row',
// checkboxSelectionUnselectRow: 'Unselect row',
checkboxSelectionSelectAllRows: 'Označit všechny řádky',
checkboxSelectionUnselectAllRows: 'Odznačit všechny řádky',
checkboxSelectionSelectRow: 'Označit řádek',
checkboxSelectionUnselectRow: 'Odznačit řádek',

// Boolean cell text
booleanCellTrueLabel: 'ano',
Expand All @@ -165,24 +165,24 @@ const csCZGrid: Partial<GridLocaleText> = {

// Grouping columns
groupingColumnHeaderName: 'Skupina',
groupColumn: (name) => `Zoskupit podle ${name}`,
unGroupColumn: (name) => `Přestat zoskupovat podle ${name}`,
groupColumn: (name) => `Zeskupit podle ${name}`,
unGroupColumn: (name) => `Přestat zeskupovat podle ${name}`,

// Master/detail
// detailPanelToggle: 'Detail panel toggle',
// expandDetailPanel: 'Expand',
// collapseDetailPanel: 'Collapse',
detailPanelToggle: 'Přepnout detail panelu',
expandDetailPanel: 'Rozbalit',
collapseDetailPanel: 'Sbalit',

// Row reordering text
// rowReorderingHeaderName: 'Row reordering',
rowReorderingHeaderName: 'Přeuspořádávání řádků',

// Aggregation
// aggregationMenuItemHeader: 'Aggregation',
// aggregationFunctionLabelSum: 'sum',
// aggregationFunctionLabelAvg: 'avg',
// aggregationFunctionLabelMin: 'min',
// aggregationFunctionLabelMax: 'max',
// aggregationFunctionLabelSize: 'size',
aggregationMenuItemHeader: 'Seskupování',
aggregationFunctionLabelSum: 'součet',
aggregationFunctionLabelAvg: 'průměr',
aggregationFunctionLabelMin: 'min',
aggregationFunctionLabelMax: 'max',
aggregationFunctionLabelSize: 'počet',
};

export const csCZ: Localization = getGridLocalization(csCZGrid, csCZCore);

0 comments on commit 72d7870

Please sign in to comment.