Skip to content

Review Brazilian Portuguese translations - #15225

Merged
cderv merged 4 commits into
quarto-dev:mainfrom
bonijoao:i18n/pt-BR-review
Nov 4, 2026
Merged

cderv merged 4 commits into
quarto-dev:mainfrom
bonijoao:i18n/pt-BR-review

Conversation

@bonijoao

Copy link
Copy Markdown
Contributor

Description

A review of _language-pt-BR.yml by a native Brazilian Portuguese speaker. Most of the file was copied from _language-pt.yml, so a few mistranslations and European Portuguese forms reached pt-BR documents. _language-pt.yml is left unchanged.

Mistranslations and grammar:

key before after why
environment-proof-title Comprovação Demonstração the mathematical term; matches Pandoc's pt-BR translations and babel
copy-button-tooltip-success Copiada Copiado! agreement with "código"; keeps the ! of the English string
toggle-navigation Alternar de navegação Alternar navegação stray preposition
listing-page-field-subtitle Legenda Subtítulo "legenda" means caption
listing-page-order-by-number-asc Baixo para alto Crescente pairs with "Decrescente"
listing-page-order-by-date-desc O mais novo Mais recente pairs with "Mais antigo"
listing-page-field-filemodified Modificada Modificado agreement with "arquivo"
listing-page-minutes-compact {0}Min {0} min missing space, capital M

Brazilian usage:

key before after why
toc-title-document Índice Sumário in Brazil "índice" is the back-of-book index; "sumário" is the table of contents (ABNT NBR 6027, Pandoc's pt-BR Contents)
scrollable-code-label Código deslocável Código rolável Brazilian Portuguese says "rolar" for scrolling; these were marked needs review
scrollable-output-label Saída deslocável Saída rolável same
code-tools-view-source, repo-action-links-source Ver o código fonte Ver código-fonte "código-fonte" is hyphenated
code-tools-source-code Código fonte Código-fonte same
back-to-top De volta ao topo Voltar ao topo more natural
toggle-reader-mode Alternar modo de leitor Alternar modo de leitura "reading mode"
section-title-copyright Direito autoral Direitos autorais usual form in Brazil

Missing key (#14822): link-external-newwindow-label → "(abre em uma nova aba)".

The toc-title-document change is the most visible one, since it renames the table of contents of every lang: pt-BR document. I can drop it from this PR if you prefer.

I rendered an HTML test document with lang: pt-BR and this file as language: and checked that "Sumário", "Demonstração" and "Copiado!" appear in the output.

Checklist

  • updated the appropriate changelog in the PR
AI-assisted PR
  • AI tool used: Claude Code
  • Codebase grounding: local clone; compared against _language.yml, _language-pt.yml, Pandoc's pt/pt-BR translations and babel's pt locale
  • Human review: I have reviewed, tested, and verified the AI-generated content before submitting. I am a native Brazilian Portuguese speaker and chose every translation.

Note: autonomous AI agents submitting PRs without human oversight are not permitted — see the Code of Conduct.

Fix mistranslations and grammar in _language-pt-BR.yml (proof title, copy button, subtitle, sort order, minutes format), use Brazilian terms (Sumário, rolável, código-fonte) and translate link-external-newwindow-label.
@posit-snyk-bot

posit-snyk-bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cscheid

cscheid commented Oct 30, 2026

Copy link
Copy Markdown
Member

Obrigado! Sou brasileiro e nunca tinha olhado o nosso pt-BR com cuidado 😬!

(For the non-portuguese speakers: these changes are all good. Let's take them.)

@cderv cderv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the careful review of the file, LGTM. I'll move the changelog entry to the 1.12 file and update the branch with main on our side, so no need to push anything meanwhile.

Main is on 1.12 and the 1.11 release has shipped, so the entry for the Brazilian Portuguese review belongs in news/changelog-1.12.md. news/changelog-1.11.md is left as on main.
@cderv
cderv merged commit c6ea753 into quarto-dev:main Nov 4, 2026
52 of 92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants