Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions packages/material-ui/src/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1075,9 +1075,9 @@ export const plPL: Localization = {

export const ptBR: Localization = {
props: {
// MuiBreadcrumbs: {
// expandText: 'Show path',
// },
MuiBreadcrumbs: {
expandText: 'Mostrar caminho',
},
MuiTablePagination: {
backIconButtonText: 'Página anterior',
labelRowsPerPage: 'Linhas por página:',
Expand All @@ -1086,7 +1086,7 @@ export const ptBR: Localization = {
},
MuiRating: {
getLabelText: (value) => `${value} Estrela${value !== 1 ? 's' : ''}`,
// emptyLabelText: 'Empty',
emptyLabelText: 'Vazio',
},
MuiAutocomplete: {
clearText: 'Limpar',
Expand All @@ -1098,27 +1098,27 @@ export const ptBR: Localization = {
MuiAlert: {
closeText: 'Fechar',
},
// MuiPagination: {
// 'aria-label': 'Pagination navigation',
// getItemAriaLabel: (type, page, selected) => {
// if (type === 'page') {
// return `${selected ? '' : 'Go to '}page ${page}`;
// }
// if (type === 'first') {
// return 'Go to first page';
// }
// if (type === 'last') {
// return 'Go to last page';
// }
// if (type === 'next') {
// return 'Go to next page';
// }
// if (type === 'previous') {
// return 'Go to previous page';
// }
// return undefined;
// },
// },
MuiPagination: {
'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';
}
return undefined;
},
},
},
};

Expand Down