Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[l10n] Improve Brazilian Portuguese (pt-BR) locale #5394

Merged
merged 1 commit into from
Jul 12, 2022
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
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);