Skip to content

docs(pt): translate the web, errors, and environment reference pages - #2389

Merged
okwasniewski merged 1 commit into
e2e-inc:mainfrom
eriveltonelias:docs-pt-reference-web
Nov 27, 2026
Merged

okwasniewski merged 1 commit into
e2e-inc:mainfrom
eriveltonelias:docs-pt-reference-web

Conversation

@eriveltonelias

@eriveltonelias eriveltonelias commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

What and why

Step 8 in #1890's order continues with the rest of Reference. This PR is reference/web, reference/errors, and reference/environment.

  • Translates the three pages into docs/pt/reference/. The titles are "Navegador", "Erros", and "Variáveis de ambiente", as the ja, zh, and hi pages translate them. Headings that are code or a type name stay as in English, so every anchor other pages link to still lands.
  • On errors, the error class names (test, configuration, infrastructure, internal, interrupted) stay in English, since they are the category values; the exit-code meanings match the "Códigos de saída" section of the pt cli page.
  • docs/pt/README.md gets 10 glossary rows: rota, responder, and abortar for routes, predicado and gatilho, acessor, dispensar for a dialog, curinga, contexto persistente, script de inicialização, contêiner, classe de erro, and oficial for first-party. They sit after the "origin" row, apart from the rows other open pt PRs add.

Issue

Part of #1890

Verified

Ran it locally: yes

  • The six docs checks behind pnpm docs:check pass with no warnings for these pages: 424 pages compile, and 6640 anchor links resolve.
  • On all three pages, the code blocks are byte-identical to English, and the inline code spans, link targets, #anchors, ids, and component tags match English in the same order. No em or en dashes.
  • web was translated in three parts and joined. Fresh-context second reads found nothing critical. On web they caught "toda aba aberta depois dela", which pointed at the active tab instead of the setViewport call (checked against packages/web/src/attempt-session.ts), and terms that changed at the seams ("acessor" against "método de acesso", "containers" against "contêineres"). On errors and environment they caught ENVIRONMENT_UNAVAILABLE reading as if the app were down too, and the 6-character minimum widened from passwords and secrets to any value. All are fixed.
  • Local Mintlify preview: the three pages render with the same heading, table, and code block counts as English.

View guided diff

- reference/web: the browser engine's options, the `browser` fixture,
  installing browsers, semantic capture recovery, and types. Title
  "Navegador".
- reference/errors: exit codes, `AgentError`, and the agent and runner
  codes. Title "Erros".
- reference/environment: every variable e2e reads, and what app processes
  inherit. Title "Variáveis de ambiente".
- README: glossary rows for the browser and error terms
@github-actions github-actions Bot added the size:XXL 1,000+ changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 27, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 4 files

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

View guided diff | Re-trigger cubic

@okwasniewski

Copy link
Copy Markdown
Member

Automated review (AI triage pass), not yet read by a maintainer.

Reviewed f1eedd848. Adds docs/pt/reference/web.mdx, errors.mdx, and environment.mdx plus 10 glossary rows; structure and code match English.

Checks run against main 72b4f071d (English docs unchanged since the PR base 1535215b2):

Spot-read side by side: all of errors prose (exit-code precedence, cleanup exit code, internal reserved, login/logout exit codes) and web frameLocator. Faithful; class names kept in English as the category values.

cubic: no issues reported, no threads.

No must-fix.

CI: green (runner test jobs were pending at review start; all finished green).

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 27, 2026
@okwasniewski
okwasniewski added this pull request to the merge queue Nov 27, 2026
Merged via the queue into e2e-inc:main with commit 4a1ed18 Nov 27, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:XXL 1,000+ changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants