Files

87 lines
2.2 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
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';
}
}
}
}
};