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

[l10n] Import Czech (cs-CZ) locale #8114

Merged
merged 1 commit into from
Mar 3, 2023
Merged
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
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);