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) 1.97 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ptPT = void 0; const ptPT = exports.ptPT = { components: { MuiBreadcrumbs: { defaultProps: { expandText: 'Mostrar caminho' } }, MuiTablePagination: { defaultProps: { getItemAriaLabel: type => { if (type === 'first') { return 'Primeira página'; } if (type === 'last') { return 'Última página'; } if (type === 'next') { return 'Próxima página'; } // if (type === 'previous') { return 'Página anterior'; }, labelRowsPerPage: 'Linhas por página:', labelDisplayedRows: ({ from, to, count }) => `${from}${to} de ${count !== -1 ? count : `mais de ${to}`}` } }, MuiRating: { defaultProps: { getLabelText: value => `${value} Estrela${value !== 1 ? 's' : ''}`, emptyLabelText: 'Vazio' } }, MuiAutocomplete: { defaultProps: { clearText: 'Limpar', closeText: 'Fechar', loadingText: 'A carregar…', noOptionsText: 'Sem opções', openText: 'Abrir' } }, MuiAlert: { defaultProps: { closeText: 'Fechar' } }, MuiPagination: { defaultProps: { 'aria-label': 'Navegar por páginas', getItemAriaLabel: (type, page, selected) => { if (type === 'page') { return `${selected ? '' : 'Ir para a '}página ${page}`; } if (type === 'first') { return 'Primeira página'; } if (type === 'last') { return 'Última página'; } if (type === 'next') { return 'Próxima página'; } // if (type === 'previous') { return 'Página anterior'; } } } } };