Skip to content

chore(ui): refresh control ui locales - #133708

Merged
openclaw-mantis[bot] merged 1 commit into
mainfrom
automation/control-ui-locale-refresh
Aug 31, 2026
Merged

openclaw-mantis[bot] merged 1 commit into
mainfrom
automation/control-ui-locale-refresh

Conversation

@openclaw-mantis

Copy link
Copy Markdown
Contributor

What Problem This Solves

Keeps generated Control UI locales synchronized without bypassing protected-branch checks.

Why This Change Was Made

The Control UI Locale Refresh workflow generated this update from 67433ff438133a9c0797dab4dc35a82de5ae256f and published it through a reviewable automation branch.

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@clawsweeper

clawsweeper Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) August 31, 2026 01:43
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 31, 2026
@clawsweeper

clawsweeper Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 9:49 PM ET / August 31, 2026, 01:49 UTC.

ClawSweeper review

What this changes

The PR updates generated translation-memory and metadata artifacts for all 20 supported Control UI locales after the English permission-control copy changed.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep open. This is the repository-prescribed generated-locale refresh: the branch’s memory and metadata match the current English catalog hash, and no introduced correctness or security defect was found. Exact-head CI is still in progress.

Priority: P3
Reviewed head: 192582600bcd1ceb9d488ae8d6ff7389bcce551a

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, internally consistent generated refresh with no actionable review finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This bot-authored generated-artifact refresh does not change the interactive implementation; static consistency is supported by the matched current catalog hash and the workflow’s strict generated-catalog check.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This bot-authored generated-artifact refresh does not change the interactive implementation; static consistency is supported by the matched current catalog hash and the workflow’s strict generated-catalog check.
Evidence reviewed 5 items Scoped generated-output contract: The Control UI guide assigns translation memory and metadata to the serialized post-merge locale-refresh workflow and says source PRs must not mix source with these generated artifacts; this PR changes only that generated set.
Current runtime consumer: The chat permission picker renders the refreshed applying label and session-specific help label, while the Control UI locale plugin loads translation memory and materializes the corresponding catalog at runtime.
Generated-artifact consistency: The current English source catalog hashes to c94de4d7e42dadc8d38d294802141bd9eaaf8d910f185772756da3ee26f1281e; all 20 locale metadata files plus the fallback baseline carry that hash, and all 20 memories contain each current permission-control entry with no stale prior copy.
Findings None None.
Security None None.

How this fits together

The Control UI renders translated chat controls from locale catalogs. Its locale-refresh workflow generates per-language translation memory and metadata from the English catalog, which Vite materializes into runtime locale modules.

flowchart LR
  A[English Control UI catalog] --> B[Locale refresh workflow]
  B --> C[Translation memory]
  B --> D[Locale metadata]
  C --> E[Runtime locale loader]
  D --> F[Strict locale validator]
  E --> G[Translated chat controls]
  F --> G
Loading

Before merge

  • Complete next step (P2) - No repair work is indicated; this is a complete isolated generated refresh awaiting normal exact-head CI.
Agent review details

Security

None.

PR surface

Source 0. Total 0 across 41 files.

View PR surface stats
Area Files Added Removed Net
Source 41 81 81 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 41 81 81 0

Review metrics

Metric Value Why it matters
Production versus generated delta production +0/-0, tests +0/-0, generated artifacts +81/-81 The branch is a net-neutral refresh of generated locale memory and metadata, with no runtime or test source change.

Stored data model

Persistent data-model change detected: persistent cache schema: ui/src/i18n/.i18n/ar.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/de.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/es.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/fa.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/fr.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/hi.tm.jsonl, and 14 more. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Land the isolated generated refresh after the exact-head locale and required CI checks complete successfully, preserving the source-versus-generated ownership split.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR refreshes generated localization artifacts rather than addressing a reported defect. Static inspection confirms their current source hash and expected 20-locale coverage.

Is this the best way to solve the issue?

Yes. The isolated workflow-generated update is the repository’s designated way to propagate English catalog changes without mixing generated artifacts into the source PR.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against c00b5f4f7b2e.

Labels

Label changes:

  • add P3: This is routine generated localization maintenance with no reported runtime regression.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This bot-authored generated-artifact refresh does not change the interactive implementation; static consistency is supported by the matched current catalog hash and the workflow’s strict generated-catalog check.

Label justifications:

  • P3: This is routine generated localization maintenance with no reported runtime regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This bot-authored generated-artifact refresh does not change the interactive implementation; static consistency is supported by the matched current catalog hash and the workflow’s strict generated-catalog check.

Evidence

What I checked:

  • Scoped generated-output contract: The Control UI guide assigns translation memory and metadata to the serialized post-merge locale-refresh workflow and says source PRs must not mix source with these generated artifacts; this PR changes only that generated set. (ui/AGENTS.md:3, c00b5f4f7b2e)
  • Current runtime consumer: The chat permission picker renders the refreshed applying label and session-specific help label, while the Control UI locale plugin loads translation memory and materializes the corresponding catalog at runtime. (ui/src/pages/chat/components/chat-permission-picker.ts:93, c00b5f4f7b2e)
  • Generated-artifact consistency: The current English source catalog hashes to c94de4d7e42dadc8d38d294802141bd9eaaf8d910f185772756da3ee26f1281e; all 20 locale metadata files plus the fallback baseline carry that hash, and all 20 memories contain each current permission-control entry with no stale prior copy. (ui/src/i18n/.i18n/catalog-fallbacks.json:3, 192582600bcd)
  • Validator and workflow coverage: The strict check builds expected generated artifacts, rejects drift, and rejects recorded English fallbacks; the workflow runs sync followed by that check before opening the generated PR. (scripts/control-ui-i18n.ts:1271, c00b5f4f7b2e)
  • Relevant feature history: Commit 67433ff is the current-main source change whose permission behavior this refresh propagates; recent main history also contains the prior generated locale refresh 83b6125. (ui/src/i18n/locales/en.ts:6054, 67433ff43813)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • openclaw-mantis[bot]: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Allow the already-running exact-head locale and required CI checks to finish before merge.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@openclaw-mantis
openclaw-mantis Bot merged commit 14f8679 into main Aug 31, 2026
160 checks passed
@openclaw-mantis
openclaw-mantis Bot deleted the automation/control-ui-locale-refresh branch August 31, 2026 01:58
github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Aug 31, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants