Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .changeset/friendly-birds-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/localizations': patch
---

Add missing pt-BR translations for enterprise connections, password errors, and organization switcher
Comment on lines +1 to +5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Add or confirm tests for these localization additions.

No tests were added or updated in this PR; please add coverage or point to existing localization snapshot tests that validate the new pt-BR keys to avoid regressions. As per coding guidelines.

🤖 Prompt for AI Agents
In @.changeset/friendly-birds-dance.md around lines 1 - 5, Add or update
localization tests to cover the new pt-BR keys introduced for enterprise
connections, password errors, and the organization switcher: write a test that
imports the '@clerk/localizations' pt-BR bundle (or the existing localization
snapshot/test helper), asserts the presence and expected shape/strings of the
keys enterpriseConnections, passwordErrors, and organizationSwitcher (or update
an existing pt-BR snapshot to include these keys), and commit the updated
snapshot or new assertions so CI will catch regressions.

25 changes: 13 additions & 12 deletions packages/localizations/src/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export const ptBR: LocalizationResource = {
formFieldInputPlaceholder__password: 'Digite sua senha',
formFieldInputPlaceholder__phoneNumber: 'Digite seu número de telefone',
formFieldInputPlaceholder__username: 'Digite seu nome de usuário',
formFieldInput__emailAddress_format: undefined,
formFieldInput__emailAddress_format: 'Formato de exemplo: nome@exemplo.com',
formFieldLabel__apiKey: 'Chave API',
formFieldLabel__apiKeyDescription: 'Descrição',
formFieldLabel__apiKeyExpiration: 'Expiração',
Expand Down Expand Up @@ -510,11 +510,11 @@ export const ptBR: LocalizationResource = {
},
},
organizationSwitcher: {
action__closeOrganizationSwitcher: undefined,
action__closeOrganizationSwitcher: 'Fechar seletor de organização',
action__createOrganization: 'Criar organização',
action__invitationAccept: 'Participar',
action__manageOrganization: 'Gerenciar organização',
action__openOrganizationSwitcher: undefined,
action__openOrganizationSwitcher: 'Abrir seletor de organização',
action__suggestionsAccept: 'Solicitar participação',
notSelected: 'Nenhuma organização selecionada',
personalWorkspace: 'Conta pessoal',
Expand Down Expand Up @@ -676,8 +676,8 @@ export const ptBR: LocalizationResource = {
title: 'Verifique seu e-mail',
},
enterpriseConnections: {
subtitle: undefined,
title: undefined,
subtitle: 'Selecione a conta corporativa com a qual deseja continuar.',
title: 'Escolha sua conta corporativa',
},
forgotPassword: {
formTitle: 'Código de redefinição de senha',
Expand Down Expand Up @@ -710,13 +710,13 @@ export const ptBR: LocalizationResource = {
title: 'Insira sua senha',
},
passwordCompromised: {
title: undefined,
title: 'Senha comprometida',
},
passwordPwned: {
title: 'Senha comprometida',
},
passwordUntrusted: {
title: undefined,
title: 'Senha não confiável',
},
phoneCode: {
formTitle: 'Código de verificação',
Expand Down Expand Up @@ -814,8 +814,8 @@ export const ptBR: LocalizationResource = {
},
},
enterpriseConnections: {
subtitle: undefined,
title: undefined,
subtitle: 'Selecione a conta corporativa com a qual deseja continuar.',
title: 'Escolha sua conta corporativa',
},
legalConsent: {
checkbox: {
Expand Down Expand Up @@ -909,7 +909,7 @@ export const ptBR: LocalizationResource = {
actionLink: 'Sair',
actionText: 'Conectado como {{identifier}}',
},
subtitle: undefined,
subtitle: 'Sua conta requer uma nova senha antes de continuar',
title: 'Resetar senha',
},
unstable__errors: {
Expand All @@ -928,7 +928,7 @@ export const ptBR: LocalizationResource = {
form_identifier_exists__phone_number: 'Telefone já está em uso. Por favor, tente outro.',
form_identifier_exists__username: 'Nome de usuário já está em uso. Por favor, tente outro.',
form_identifier_not_found: 'Não foi possível encontrar o usuário.',
form_new_password_matches_current: undefined,
form_new_password_matches_current: 'A nova senha não pode ser igual à senha atual.',
form_param_format_invalid: 'Formato inválido.',
form_param_format_invalid__email_address: 'O endereço de e-mail deve ser um endereço de e-mail válido.',
form_param_format_invalid__phone_number: 'Número de telefone precisa estar num formato internacional válido.',
Expand All @@ -949,7 +949,8 @@ export const ptBR: LocalizationResource = {
form_password_pwned__sign_in: 'Esta senha foi comprometida, por favor redefina sua senha.',
form_password_size_in_bytes_exceeded:
'Sua senha excedeu o número máximo de bytes permitidos, por favor, encurte-a ou remova alguns caracteres especiais.',
form_password_untrusted__sign_in: undefined,
form_password_untrusted__sign_in:
'Sua senha pode estar comprometida. Para proteger sua conta, continue com um método de login alternativo. Você precisará redefinir sua senha após o login.',
form_password_validation_failed: 'Senha incorreta',
form_username_invalid_character: 'Nome de usuário contém caracteres inválidos. Por favor, tente outro.',
form_username_invalid_length: 'Nome de usuário deve ter entre 3 e 256 caracteres.',
Expand Down