docs(pt): translate the web, errors, and environment reference pages
Merged
ER
2h ago+2361+2361+0123456789012345678901234567890123456789-0-0-0123456789
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 thecategoryvalues; the exit-code meanings match the "Códigos de saída" section of the ptclipage. docs/pt/README.mdgets 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:checkpass 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. webwas translated in three parts and joined. Fresh-context second reads found nothing critical. Onwebthey caught "toda aba aberta depois dela", which pointed at the active tab instead of thesetViewportcall (checked againstpackages/web/src/attempt-session.ts), and terms that changed at the seams ("acessor" against "método de acesso", "containers" against "contêineres"). Onerrorsandenvironmentthey caughtENVIRONMENT_UNAVAILABLEreading 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.