Files

79 lines
2.0 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.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';
}
}
}
}
};