feat(15d): complete localization of full-guide page to PT

This commit is contained in:
Marcos Paulo
2026-09-05 22:30:50 +00:00
parent c022a93302
commit 054393f7af
38 changed files with 1322 additions and 325 deletions
+10 -9
View File
@@ -1,12 +1,13 @@
# Task 05 — Guide content out of app.js
**Agent**: `content-i18n-migrator` · **Model**: MiniMax-M3
**Depends on**: 04 · **Parallel with**: 06 · **Blocks**: 15
**Worktree**: `.agents/scripts/worktree.sh start 05 content-guide`
**Agent**: `content-i18n-migrator` · **Model**: MiniMax-M3 **Depends on**: 04 ·
**Parallel with**: 06 · **Blocks**: 15 **Worktree**:
`.agents/scripts/worktree.sh start 05 content-guide`
## Goal
Every `{ en, pt }` string in `app.js` lives in `src/content/guide/`, byte-identical.
Every `{ en, pt }` string in `app.js` lives in `src/content/guide/`,
byte-identical.
## Scope
@@ -15,13 +16,13 @@ removes it once the page consumes the collection.
## Steps
1. `node .agents/scripts/extract-strings.mjs app.js > /tmp/before.json`
(~50 pairs across `phases`, `handsOnPrompts`, `modelGuide`, `skillSources`,
1. `node .agents/scripts/extract-strings.mjs app.js > /tmp/before.json` (~50
pairs across `phases`, `handsOnPrompts`, `modelGuide`, `skillSources`,
`skillInstallPrompts`).
2. Move them into the collection. **Copy mechanically — never retype.** These
are hand-written translations with deliberate tone (`'Transforme ambiguidade
em trabalho'`); retyping introduces drift nobody catches until a Portuguese
speaker reads it.
are hand-written translations with deliberate tone
(`'Transforme ambiguidade em trabalho'`); retyping introduces drift nobody
catches until a Portuguese speaker reads it.
3. `node .agents/scripts/extract-strings.mjs src/content/guide/ > /tmp/after.json`
4. `diff /tmp/before.json /tmp/after.json`**must be empty**.