docs(pt): sync 13 pages with English

Merged
ER
3d ago
+372-92

What and why

English changed on 13 pages since their pt translation. This brings each pt page back in line with main (5a2adf15f):

  • electron: the new init --engine electron setup, per-test electron.launch(), code in a window, keyboard and mouse, the Windows .exe and Squirrel notes, download naming, and the inert limit.
  • migrate/playwright: e2e init now has an Electron preset, and the Electron mapping table gains the per-test launch, window evaluate, keyboard and mouse, waitForURL, and inert rows.
  • executors, reference/agent, reference/config, reference/errors, reference/cli, explore, subscriptions: an executor can answer waitFor and extract itself through answer, and e2e explore runs on a coding agent (extend), with the new MODEL_UNAVAILABLE conditions.
  • reference/engine, reference/screen: shownText, and getByText matching the text a node shows on devices and desktop apps.
  • reference/cli, telemetry: electron as an --engine value and wizard choice, and no CI job for an Electron target.
  • integrations/revyl: the viewport default, what a set engine viewport does, and the run stopping sessions of workers that died.
  • docs/pt/README.md: glossary rows for "query engine", "display server", and the aria-owns owner.
  • After merging main, electron and explore follow main at 7c1b2b258: #2447's inert row (getByText, getByTestId, and electron.locator() find the element, and input to it fails with it is inert), #2448 moving the fixture table, Security details, and options to /reference/electron and dropping the aria-owns row, #2460's launchArguments, and the Bug bashes section #2448 moved into explore, reusing the earlier pt translation of the deleted bug-bash page. The other 11 pages stay at 5a2adf15f; #2448 trimmed most of them in English, and the next daily sync picks that up.

Issue

Part of #1890

Verified

Ran it locally: yes.

  • A per-page comparison against English (fences, inline code, links, attributes, heading levels, component tags, dashes) is ok on all 13 pages. On migrate/playwright, the only difference is the exported migrationPrompt string, which is translated prose; its code spans and URL match English.
  • A repeated-line check is clean on every page, and the changed text has no em or en dashes.
  • check-docs-examples, check-docs-package-managers, check-docs-anchors, check-docs-logos, check-docs-mdx, and check-docs-translations exit 0, with no warning for these pages.
  • A review in a fresh context caught these, all fixed:
    • Three pronouns that read ambiguously in Portuguese, in reference/errors, subscriptions, and integrations/revyl.
    • "Tela" where English means a display server, in reference/cli.
    • "Tela ocultada" for the redacted screen, in executors.
    • Two awkward phrasings in electron.
  • After merging main: electron and explore match English in code, inline code, links, anchors, and component tags, except the explore MCP card, which links to /coding-agents without English's #let-the-agent-use-the-app until pt/coding-agents catches up; the six docs checks exit 0, and the translation check has no warning for either page. A second fresh-context review caught two ambiguous pronouns (the inert row and the bug bash steps) and five wording nits; I fixed six of the seven.

Summary by CodeRabbit

  • Documentação
    • Atualizadas as páginas em português com instruções para configurar, executar e testar apps Electron, incluindo interação com janelas, teclado e mouse, diálogos, downloads e apps empacotados.
    • Esclarecidos os comportamentos de agentes e executores personalizados, incluindo quando julgamento e extração exigem um modelo.
    • Ampliadas as referências de seletores, acessibilidade, navegação, integrações, CI, migração do Playwright e telemetria.
    • Documentados testes exploratórios, execução paralela e validação de bugs reproduzíveis; também foram detalhados os limites e comportamentos da integração Revyl.
    • Acrescentadas traduções ao glossário em português.