Skip to content

fix(translations): use Brazilian Portuguese wording for pt auth strings - #19437

Open
KAYOKG wants to merge 1 commit into
payloadcms:mainfrom
KAYOKG:fix/pt-br-auth-strings
Open

KAYOKG wants to merge 1 commit into
payloadcms:mainfrom
KAYOKG:fix/pt-br-auth-strings

Conversation

@KAYOKG

@KAYOKG KAYOKG commented Nov 7, 2026

Copy link
Copy Markdown

What?

Updates a few pt authentication strings (and general:email) to the wording Brazilian Portuguese users expect:

key before after
authentication:loginUser Iniciar sessão Entrar
authentication:logoutUser Encerrar sessão Sair
authentication:logOut / logout Log out / Logout Sair
authentication:loggedOutSuccessfully Log out efetuado com sucesso. Você saiu com sucesso.
authentication:logoutSuccessful Logout bem sucedido. Você saiu com sucesso.
authentication:loggedIn / loginWithAnotherUser …você deve fazer o <0>log out</0> antes. Para entrar como outro usuário, você deve <0>sair</0> antes.
general:email Email E-mail

Why?

The rest of pt.ts already uses Brazilian vocabulary (usuário, arquivo, salvar, excluir, tela). These strings were the outliers: two use European Portuguese phrasing ("Iniciar/Encerrar sessão") and the others leave English words (Log out, Logout, Email) in an otherwise translated admin — which is what end users see first on the login screen and in the account menu. "Entrar"/"Sair" and "E-mail" are the standard terms in Brazilian UIs.

How?

String-only change in packages/translations/src/languages/pt.ts: no keys added or removed, <0>…</0> placeholders preserved, no changes to dateFNSKey. Does not overlap with #19430 (validation messages).

Found while setting up the admin in Portuguese for two Brazilian NGO/real-estate sites migrated from WordPress.

@coderabbitai

coderabbitai Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Portuguese authentication translations now use “sair” wording for login and logout prompts and labels. The general email label changes from “Email” to “E-mail”.

Changes: Portuguese translations

Layer / File(s) Summary
Update Portuguese labels
packages/translations/src/languages/pt.ts
Authentication prompts and logout labels use “sair” wording. The general email label changes to “E-mail”.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: jarrodmflesch

Merge Risk: Minimal · up to 0f803

The Portuguese labels are updated without an identified merge-blocking issue.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly describes the Brazilian Portuguese authentication translation changes.
Description check Passed The description accurately covers the authentication and email translation changes.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 25dfb24 and 0f803a4.

Files selected for processing: 1

  • packages/translations/src/languages/pt.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant