docs(pt): translate the test and agent reference pages
Merged
ER
2d ago+2711+2711+0123456789012345678901234567890123456789-0-0-0123456789
What and why
Step 8 in #1890's order: after reference/cli and reference/config (#2263), this PR is reference/test and reference/agent.
- Translates both pages into
docs/pt/reference/. The titles staytestandagent. Headings that are code (### `TestAPI`,#### `timeout`,### agent.act,## unique,## AgentError) stay as in English, so every anchor other pages link to still lands. docs/pt/README.mdgets 10 glossary rows: fixture embutida, pulo and motivo do pulo, falha esperada and sucesso inesperado, linha for atest.eachrow, sob demanda for lazy fixtures, truthy and falsy kept in English, observação, evidências, rodada de reparo, and lista virtualizada. They sit after the "wins" 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:checkpass with no warnings for either page: 423 pages compile, and 6636 anchor links resolve. - On both 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. testwas translated in two halves joined at### Fixtures; I unified the terms that changed at the seam ("fornece" for what an engine contributes, "nomeia" for an error naming a fixture, and the link text to "Fixtures de engine em vários alvos").- A fresh-context second read of each page found nothing critical. On
agent, it caught "um julgamento de que a tela está vazia" for "a judgment about an empty screen", which narrowed the meaning. Ontest, it caught "nas duas" with no antecedent in the--agentline, "ganha nova tentativa" where the page elsewhere says "é tentada novamente", and "fixture do núcleo", since "núcleo" means CPU cores on other pt pages. All are fixed. - Local Mintlify preview: both pages render with the same heading, table, and code block counts as English.