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

79 lines
2.0 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.ptBR = void 0;
const ptBR = exports.ptBR = {
components: {
MuiBreadcrumbs: {
defaultProps: {
expandText: 'Mostrar caminho'
}
},
MuiTablePagination: {
defaultProps: {
getItemAriaLabel: type => {
if (type === 'first') {
return 'Ir para a primeira página';
}
if (type === 'last') {
return 'Ir para a última página';
}
if (type === 'next') {
return 'Ir para a próxima página';
}
// if (type === 'previous') {
return 'Ir para a 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: 'Carregando…',
noOptionsText: 'Sem opções',
openText: 'Abrir'
}
},
MuiAlert: {
defaultProps: {
closeText: 'Fechar'
}
},
MuiPagination: {
defaultProps: {
'aria-label': 'Navegar pela paginação',
getItemAriaLabel: (type, page, selected) => {
if (type === 'page') {
return `${selected ? '' : 'Ir para a '}página ${page}`;
}
if (type === 'first') {
return 'Ir para a primeira página';
}
if (type === 'last') {
return 'Ir para a última página';
}
if (type === 'next') {
return 'Ir para a próxima página';
}
// if (type === 'previous') {
return 'Ir para a página anterior';
}
}
}
}
};