Files
IronSteelNon-ferrousMetallu…/node_modules/@mui/material/locale/ptPT.js

79 lines
1.9 KiB
JavaScript
Raw 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.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';
}
}
}
}
};