Skip to content

Commit

Permalink
[l10n] Improve Portuguese (pt-BR) locale (#14725)
Browse files Browse the repository at this point in the history
Co-authored-by: Arthur Balduini <[email protected]>
  • Loading branch information
arthurbalduini and Arthur Balduini authored Sep 25, 2024
1 parent b899eb8 commit 42b7b13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/data/date-pickers/localization/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
"languageTag": "pt-BR",
"importName": "ptBR",
"localeName": "Portuguese (Brazil)",
"missingKeysCount": 1,
"missingKeysCount": 0,
"totalKeysCount": 50,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-date-pickers/src/locales/ptBR.ts"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/x-date-pickers/src/locales/ptBR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const ptBRPickers: Partial<PickersLocaleText<any>> = {
nextMonth: 'Próximo mês',

// View navigation
openPreviousView: 'Abrir próxima seleção',
openNextView: 'Abrir seleção anterior',
openPreviousView: 'Abrir seleção anterior',
openNextView: 'Abrir próxima seleção',
calendarViewSwitchingButtonAriaLabel: (view) =>
view === 'year'
? 'Seleção de ano está aberta, alternando para seleção de calendário'
Expand Down Expand Up @@ -67,7 +67,7 @@ const ptBRPickers: Partial<PickersLocaleText<any>> = {
formattedTime || (value !== null && utils.isValid(value))
? `Escolha uma hora, hora selecionada ${formattedTime ?? utils.format(value, 'fullTime')}`
: 'Escolha uma hora',
// fieldClearLabel: 'Clear',
fieldClearLabel: 'Limpar valor',

// Table labels
timeTableLabel: 'escolha uma hora',
Expand Down

0 comments on commit 42b7b13

Please sign in to comment.