Repository navigation
chore(ui): refresh control ui locales - #138401
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 4, 2026, 12:54 PM ET / 16:54 UTC. ClawSweeper reviewWhat this changesThe branch adds the “Parallel tasks” translation-memory entry for each of 20 Control UI locales and refreshes the corresponding generated metadata and fallback baseline. Merge readiness✅ Ready for maintainer review This PR remains necessary: current main has the English Swarm heading but the generated locale data predates that key. The added records follow the canonical Vite materialization path and no blocking defect was found. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI’s Vite configuration turns translation-memory records into locale modules loaded after a user selects a language. The Swarm progress card requests this heading for multi-task groups and otherwise falls back to English. flowchart LR
A[English Swarm heading] --> B[Translation memory]
B --> C[Vite locale module]
C --> D[I18n manager]
D --> E[Swarm progress card]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +20. Total +20 across 41 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Merge the canonical generated locale artifacts so every supported Control UI locale materializes a translation for the existing Swarm heading. Do we have a high-confidence way to reproduce the issue? Yes: current main has the English key but pre-PR locale memory lacks its record, and the loader omits missing translations before the i18n manager falls back to English. The proposed records satisfy the source-hash contract that controls materialization. Is this the best way to solve the issue? Yes: the Control UI guide assigns this work to the canonical generated translation-memory workflow, and the PR changes only those inputs rather than adding another runtime path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2fc8eb0e7b1a. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
What Problem This Solves
Translates the new “Parallel tasks” Swarm heading in all 20 Control UI locales. The English key was added in #138183 after the full refresh in #138219 had finished its review.
Why This Change Was Made
The canonical incremental workflow translated one pending string per locale, retaining the completed full refresh. This adds 20 translation-memory records and updates the source hash and catalog counts. All 127,700 previous locale/key pairs and their complete translation-memory records are byte-identical.
User Impact
The multi-task Swarm heading now follows the selected locale, such as “Tâches parallèles” in French. Each locale covers all 6,386 English keys with zero recorded fallbacks.
Evidence
node --import tsx scripts/control-ui-i18n.ts check: passed across all 20 locales.node scripts/run-vitest.mjs ui/src/pages/chat/components/chat-swarm-progress.test.ts ui/src/i18n/lib/registry.test.ts: 57 tests passed.Generated artifacts: +101/-81 across 41 files. Runtime and test LOC: unchanged.
The first image is the English language baseline on the same application head; the second shows French selected. All visible session and model data is synthetic.
The recording shows selecting French in settings and returning to the same chat:
https://github.com/user-attachments/assets/0303165e-0103-43f4-b5bd-2a925c474db5
Local changed-check passed all 13 preceding guard, format and catalog steps, then could not resolve existing
mermaiddeclarations in the borrowed dependency tree. No dependency changes were made; exact-head hosted production and test typechecks passed.