@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.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.itIT = void 0;
const itIT = exports.itIT = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Visualizza percorso'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Vai alla prima pagina';
}
if (type === 'last') {
return "Vai all'ultima pagina";
}
if (type === 'next') {
return 'Vai alla pagina successiva';
}
// if (type === 'previous') {
return 'Vai alla pagina precedente';
},
labelRowsPerPage: 'Righe per pagina:',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}–${to} di ${count !== -1 ? count : `più di ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Stell${value !== 1 ? 'e' : 'a'}`,
emptyLabelText: 'Vuoto'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Svuota',
closeText: 'Chiudi',
loadingText: 'Caricamento in corso…',
noOptionsText: 'Nessuna opzione',
openText: 'Apri'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Chiudi'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Navigazione impaginata',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Vai alla '}pagina ${page}`;
}
if (type === 'first') {
return 'Vai alla prima pagina';
}
if (type === 'last') {
return "Vai all'ultima pagina";
}
if (type === 'next') {
return 'Vai alla pagina successiva';
}
// if (type === 'previous') {
return 'Vai alla pagina precedente';
}
}
}
}
};