Skip to content

Commit

Permalink
[l10n] Improve Brazilian Portuguese (pt-BR) locale (#5394)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepxa authored Jul 12, 2022
1 parent 4a67952 commit cb2ae10
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/grid/x-data-grid/src/locales/ptBR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ const ptBRGrid: Partial<GridLocaleText> = {
`${count} ${count !== 1 ? 'filtros' : 'filtro'} ${count !== 1 ? 'ativos' : 'ativo'}`,

// Quick filter toolbar field
// toolbarQuickFilterPlaceholder: 'Search...',
// toolbarQuickFilterLabel: 'Search',
// toolbarQuickFilterDeleteIconLabel: 'Clear',
toolbarQuickFilterPlaceholder: 'Procurar...',
toolbarQuickFilterLabel: 'Procurar',
toolbarQuickFilterDeleteIconLabel: 'Limpar',

// Export selector toolbar button text
toolbarExport: 'Exportar',
toolbarExportLabel: 'Exportar',
toolbarExportCSV: 'Baixar como CSV',
toolbarExportPrint: 'Print',
toolbarExportPrint: 'Imprimir',
toolbarExportExcel: 'Baixar como Excel',

// Columns panel text
Expand Down Expand Up @@ -72,7 +72,7 @@ const ptBRGrid: Partial<GridLocaleText> = {
filterOperatorOnOrBefore: 'em ou antes de',
filterOperatorIsEmpty: 'está vazio',
filterOperatorIsNotEmpty: 'não está vazio',
// filterOperatorIsAnyOf: 'is any of',
filterOperatorIsAnyOf: 'é qualquer um dos',

// Filter values text
filterValueAny: 'qualquer',
Expand Down Expand Up @@ -127,9 +127,9 @@ const ptBRGrid: Partial<GridLocaleText> = {
unpin: 'Desafixar',

// Tree Data
// treeDataGroupingHeaderName: 'Group',
// treeDataExpand: 'see children',
// treeDataCollapse: 'hide children',
treeDataGroupingHeaderName: 'Grupo',
treeDataExpand: 'mostrar filhos',
treeDataCollapse: 'esconder filhos',

// Grouping columns
groupingColumnHeaderName: 'Grupo',
Expand All @@ -142,7 +142,7 @@ const ptBRGrid: Partial<GridLocaleText> = {
collapseDetailPanel: 'Esconder',

// Row reordering text
// rowReorderingHeaderName: 'Row reordering',
rowReorderingHeaderName: 'Reorganizar linhas',
};

export const ptBR: Localization = getGridLocalization(ptBRGrid, ptBRCore);

0 comments on commit cb2ae10

Please sign in to comment.