UNPKG

@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
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.caES = void 0; const caES = exports.caES = { components: { MuiBreadcrumbs: { defaultProps: { expandText: 'Mostra el camí' } }, MuiTablePagination: { defaultProps: { getItemAriaLabel: type => { if (type === 'first') { return 'Ves a la primera pàgina'; } if (type === 'last') { return "Ves a l'última pàgina"; } if (type === 'next') { return 'Ves a la pàgina següent'; } // if (type === 'previous') { return 'Ves a la pàgina anterior'; }, labelRowsPerPage: 'Files per pàgina:', labelDisplayedRows: ({ from, to, count }) => `${from}${to} de ${count !== -1 ? count : `més de ${to}`}` } }, MuiRating: { defaultProps: { getLabelText: value => `${value} ${value !== 1 ? 'Estrelles' : 'Estrella'}`, emptyLabelText: 'Buit' } }, MuiAutocomplete: { defaultProps: { clearText: 'Netejar', closeText: 'Tancar', loadingText: 'Carregant…', noOptionsText: 'Sense opcions', openText: 'Obert' } }, MuiAlert: { defaultProps: { closeText: 'Tancat' } }, MuiPagination: { defaultProps: { 'aria-label': 'Navegació entre pàgines', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Ves a la '}pàgina ${page}`; } if (type === 'first') { return 'Ves a la primera pàgina'; } if (type === 'last') { return "Ves a l'última pàgina"; } if (type === 'next') { return 'Ves a la pàgina següent'; } // if (type === 'previous') { return 'Ves a la pàgina anterior'; } } } } };