Skip to content

Commit

Permalink
[l10n] Improve Portuguese (pt-PT) locale (#15561)
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 5865644 commit 483fc6a
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 @@ -195,7 +195,7 @@
"languageTag": "pt-PT",
"importName": "ptPT",
"localeName": "Portuguese",
"missingKeysCount": 11,
"missingKeysCount": 0,
"totalKeysCount": 133,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/ptPT.ts"
},
Expand Down
23 changes: 12 additions & 11 deletions packages/x-data-grid/src/locales/ptPT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,17 @@ const ptPTGrid: Partial<GridLocaleText> = {
toolbarQuickFilterDeleteIconLabel: 'Claro',

// 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 ptPTGrid: Partial<GridLocaleText> = {
columnsManagementNoColumns: 'Sem colunas',
columnsManagementShowHideAllText: 'Mostrar/Ocultar Todas',
columnsManagementReset: 'Repor',
// columnsManagementDeleteIconLabel: 'Clear',
columnsManagementDeleteIconLabel: 'Limpar',

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

0 comments on commit 483fc6a

Please sign in to comment.