@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
87 lines (86 loc) • 2.26 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.csCZ = void 0;
const csCZ = exports.csCZ = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Ukázat cestu'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Jít na první stránku';
}
if (type === 'last') {
return 'Jít na poslední stránku';
}
if (type === 'next') {
return 'Jít na další stránku';
}
// if (type === 'previous') {
return 'Jít na předchozí stránku';
},
labelRowsPerPage: 'Řádků na stránce:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}–${to} z ${count !== -1 ? count : `více než ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => {
if (value === 1) {
return `${value} hvězdička`;
}
if (value >= 2 && value <= 4) {
return `${value} hvězdičky`;
}
return `${value} hvězdiček`;
},
emptyLabelText: 'Prázdné'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Vymazat',
closeText: 'Zavřít',
loadingText: 'Načítání…',
noOptionsText: 'Žádné možnosti',
openText: 'Otevřít'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Zavřít'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Navigace stránkováním',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Jít na '}${page}. stránku`;
}
if (type === 'first') {
return 'Jít na první stránku';
}
if (type === 'last') {
return 'Jít na poslední stránku';
}
if (type === 'next') {
return 'Jít na další stránku';
}
// if (type === 'previous') {
return 'Jít na předchozí stránku';
}
}
}
}
};