@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.
79 lines (78 loc) • 2.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.roRO = void 0;
const roRO = exports.roRO = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Arată calea'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Mergi la prima pagină';
}
if (type === 'last') {
return 'Mergi la ultima pagină';
}
if (type === 'next') {
return 'Mergi la pagina următoare';
}
// if (type === 'previous') {
return 'Mergi la pagina precedentă';
},
labelRowsPerPage: 'Rânduri pe pagină:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}–${to} din ${count !== -1 ? count : `mai mult de ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} St${value !== 1 ? 'ele' : 'ea'}`,
emptyLabelText: 'Gol'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Șterge',
closeText: 'Închide',
loadingText: 'Se încarcă…',
noOptionsText: 'Nicio opțiune',
openText: 'Deschide'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Închide'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Navigare prin paginare',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Mergi la '}pagina ${page}`;
}
if (type === 'first') {
return 'Mergi la prima pagină';
}
if (type === 'last') {
return 'Mergi la ultima pagină';
}
if (type === 'next') {
return 'Mergi la pagina următoare';
}
// if (type === 'previous') {
return 'Mergi la pagina precedentă';
}
}
}
}
};