@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.28 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.skSK = void 0;
const skSK = exports.skSK = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Ukázať cestu '
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Ísť na prvú stránku';
}
if (type === 'last') {
return 'Ísť na poslednú stránku';
}
if (type === 'next') {
return 'Ísť na ďaľšiu stránku';
}
// if (type === 'previous') {
return 'Ísť na predchádzajúcu stránku';
},
labelRowsPerPage: 'Riadkov na stránke:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}–${to} z ${count !== -1 ? count : `viac ako ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => {
if (value === 1) {
return `${value} hviezdička`;
}
if (value >= 2 && value <= 4) {
return `${value} hviezdičky`;
}
return `${value} hviezdičiek`;
},
emptyLabelText: 'Prázdne'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Vymazať',
closeText: 'Zavrieť',
loadingText: 'Načítanie…',
noOptionsText: 'Žiadne možnosti',
openText: 'Otvoriť'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Zavrieť'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Navigácia stránkovanim',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Ísť na '}stránku ${page}`;
}
if (type === 'first') {
return 'Ísť na prvú stránku';
}
if (type === 'last') {
return 'Ísť na poslednú stránku';
}
if (type === 'next') {
return 'Ísť na ďaľšiu stránku';
}
// if (type === 'previous') {
return 'Ísť na predchádzajúcu stránku';
}
}
}
}
};