docs(pt): bring 12 reference pages back in line with English

Merged
ER
2d ago
+1454-2019

What and why

#2451 synced six reference pages against English from before #2448, so they kept the old text through its reference trim. pnpm docs:check lists them among the 10 pt pages that no longer match English (#1890). This brings them, six smaller reference pages, and ci back in line with the current English. The guide pages that lag are in https://github.com/e2e-inc/e2e/pull/2546.

  • reference/engine, cli, config, screen, agent, errors: #2448's trim. JSDoc and implementation detail English cut are gone, the new field tables are translated, and cli, config, and errors gain the sections #2448 moved there (step mode, plugins and skill registries, what a run captures, what a trace page holds, common errors). Also #2444, #2462, #2492, #2496, #2502, #2515, the with-electron example in cli (#2547), and isE2EError in engine (#2560).
  • reference/electron: expect(electron) and waitForURL (#2439), where downloads go and what the window and download waits count (#2504), the new launch failure and the macOS switch that stops the reopen-windows alert (#2500), and shared and overridden Electron downloads (#2555). reference/desktop: the ENG-1533 fixes. reference/core: driving a Mac app (#2499). Both engine pages carry the experimental warning (#2540, #2541). reference/test, web, mobile: #2411, #2496, #2498. ci: #2519.
  • The 15 #anchors an earlier round dropped from links into reference/config, cli, errors, and agent are back in ci, debugging, coding-agents, reference/reporters, desktop, electron, and web, since those pages now have the sections and the same outline as English.
  • docs/pt/README.md: ten glossary rows, among them "asserção negativa", "transcrição do modelo", and "armazenamento em arquivos".

Issue

Part of #1890

Verified

Ran it locally: yes

  • Code blocks, inline code spans, link targets, #anchors, ids, and component tags match English in the same order on all 16 pages. The per-page comparison flags only a double-backtick span in reference/desktop, which a span-aware compare confirms (370 of 370 identical).
  • The six checks behind pnpm docs:check exit 0. The translation check reports nothing for any reference page; on this branch alone it still lists core, electron, and migrate/playwright, which https://github.com/e2e-inc/e2e/pull/2546 fixes.
  • No em or en dashes in the changed prose, no repeated line tails, and no keywords frontmatter.
  • Seven fresh-context reviews found no wrong fact. They caught a scrollTo rule that lost "along that axis", a pronoun that read as an interrupt cancelling prepare instead of finish, participles in errors and config that agreed with the wrong noun, "registros de skills" (the glossary keeps "registry"), and about 40 wording nits. All are fixed but one: the cache hand-off keeps "o agente assume", the settled term the pt cache page uses.

Summary by CodeRabbit

  • Documentation
    • Expanded the Portuguese glossary and updated guidance across CI, CLI, configuration, debugging, errors, reporting, and troubleshooting.
    • Clarified desktop and Electron support, setup requirements, options, behavior, limitations, and error conditions.
    • Updated agent, engine, screen, mobile, web, and test references with details on actions, accessibility, polling, artifacts, and test behavior.
    • Revised links to point directly to relevant documentation sections.