Skip to content

Commit

Permalink
[l10n] Improve Portuguese (Brazil) (pt-BR) locale (#15562)
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Lúcio <[email protected]>
Co-authored-by: Olivier Tassinari <[email protected]>
  • Loading branch information
mathzdev and oliviertassinari authored Nov 23, 2024
1 parent 1b75aa7 commit 5865644
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/data/data-grid/localization/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
"languageTag": "pt-BR",
"importName": "ptBR",
"localeName": "Portuguese (Brazil)",
"missingKeysCount": 11,
"missingKeysCount": 0,
"totalKeysCount": 133,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/ptBR.ts"
},
Expand Down
23 changes: 12 additions & 11 deletions packages/x-data-grid/src/locales/ptBR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,17 @@ const ptBRGrid: Partial<GridLocaleText> = {
toolbarQuickFilterDeleteIconLabel: 'Limpar',

// Prompt toolbar field
// toolbarPromptControlPlaceholder: 'Type a prompt…',
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
// toolbarPromptControlLabel: 'Prompt input',
// toolbarPromptControlDeleteIconLabel: 'Clear',
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
// toolbarPromptControlSendActionLabel: 'Send',
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
toolbarPromptControlPlaceholder: 'Digite um prompt…',
toolbarPromptControlWithRecordingPlaceholder: 'Digite ou grave um prompt…',
toolbarPromptControlRecordingPlaceholder: 'Ouvindo o prompt…',
toolbarPromptControlLabel: 'Entrada de prompt',
toolbarPromptControlDeleteIconLabel: 'Limpar',
toolbarPromptControlRecordButtonDefaultLabel: 'Gravar',
toolbarPromptControlRecordButtonActiveLabel: 'Parar gravação',
toolbarPromptControlSendActionLabel: 'Enviar',
toolbarPromptControlSendActionAriaLabel: 'Enviar prompt',
toolbarPromptControlErrorMessage:
'Ocorreu um erro ao processar a solicitação. Por favor, tente novamente com um prompt diferente.',

// Export selector toolbar button text
toolbarExport: 'Exportar',
Expand All @@ -55,7 +56,7 @@ const ptBRGrid: Partial<GridLocaleText> = {
columnsManagementNoColumns: 'Nenhuma coluna',
columnsManagementShowHideAllText: 'Mostrar/Ocultar Todas',
columnsManagementReset: 'Redefinir',
// columnsManagementDeleteIconLabel: 'Clear',
columnsManagementDeleteIconLabel: 'Limpar',

// Filter panel text
filterPanelAddFilter: 'Adicionar filtro',
Expand Down

0 comments on commit 5865644

Please sign in to comment.