Skip to content

Review Brazilian Portuguese translations - #15225

Open
bonijoao wants to merge 2 commits into
quarto-dev:mainfrom
bonijoao:i18n/pt-BR-review
Open

bonijoao wants to merge 2 commits into
quarto-dev:mainfrom
bonijoao:i18n/pt-BR-review

Conversation

@bonijoao

Copy link
Copy Markdown

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.

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.

2 participants