@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.06 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.frFR = void 0;
const frFR = exports.frFR = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Montrer le chemin'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Aller à la première page';
}
if (type === 'last') {
return 'Aller à la dernière page';
}
if (type === 'next') {
return 'Aller à la page suivante';
}
// if (type === 'previous') {
return 'Aller à la page précédente';
},
labelRowsPerPage: 'Lignes par page :',
labelDisplayedRows: ({
from,
to,
count
}) => `${from}–${to} sur ${count !== -1 ? count : `plus que ${to}`}`
}
},
MuiRating: {
defaultProps: {
getLabelText: value => `${value} Etoile${value !== 1 ? 's' : ''}`,
emptyLabelText: 'Vide'
}
},
MuiAutocomplete: {
defaultProps: {
clearText: 'Vider',
closeText: 'Fermer',
loadingText: 'Chargement…',
noOptionsText: 'Pas de résultats',
openText: 'Ouvrir'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Fermer'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'navigation de pagination',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Aller à la '}page ${page}`;
}
if (type === 'first') {
return 'Aller à la première page';
}
if (type === 'last') {
return 'Aller à la dernière page';
}
if (type === 'next') {
return 'Aller à la page suivante';
}
// if (type === 'previous') {
return 'Aller à la page précédente';
}
}
}
}
};