Skip to content

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

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

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

Conversation

@openclaw-mantis

@openclaw-mantis openclaw-mantis Bot commented Aug 30, 2026 •

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 a8c3e4c4ffd7f15c5688de4dab4e2e13039ad86c and published it through a reviewable automation branch.

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@clawsweeper

clawsweeper Bot commented Aug 30, 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 30, 2026 15:52
@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 30, 2026
@clawsweeper

clawsweeper Bot commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 12:43 PM ET / 16:43 UTC.

ClawSweeper review

What this changes

Refreshes the Control UI’s generated translation memories, metadata, and fallback baseline for 20 locales after three English UI strings replaced one retired string.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

This is a valid isolated generated-locale refresh, and current main still carries the older locale metadata and memory. No introduced correctness or security defect was found; keep it open for its normal exact-head checks and merge path.

Priority: P3
Reviewed head: 7a0affcbc0594ed7b81e63278a308a3fdade90af

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A normal good generated-output refresh: isolated, internally consistent with the current English catalog, and aligned with the repository workflow.
Proof confidence 🌊 off-meta tidepool Not applicable: This bot-authored generated-output PR updates translation memory consumed by the locale loader; the supplied workflow is the intended owner, and no separate contributor real-behavior proof gate applies.
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-output PR updates translation memory consumed by the locale loader; the supplied workflow is the intended owner, and no separate contributor real-behavior proof gate applies.
Evidence reviewed 8 items Isolated generated-output change: The introduced branch delta contains only canonical locale memory, locale metadata, and fallback-baseline files; the Control UI policy assigns these artifacts to an isolated refresh PR.
English source and runtime callers: The three current English strings are used by cloud-worker stop and real-time voice UI paths, so their localized entries belong in the generated catalog.
Generated catalog contract: The locale loader materializes only translation-memory entries whose key and normalized English-text hash match the source catalog.
Findings None None.
Security None None.

How this fits together

The Control UI takes English catalogs as its source and materializes each localized catalog from generated translation memory. The refresh workflow reconciles that memory and metadata, which the browser’s locale-module loader consumes.

flowchart TD
  A[English UI catalog] --> B[Locale refresh workflow]
  B --> C[Translation memory]
  B --> D[Locale metadata]
  C --> E[Locale module loader]
  D --> F[Strict fallback check]
  E --> G[Localized Control UI]
  F --> G
Loading

Before merge

  • Complete next step (P2) - No repair lane is appropriate: the branch is the canonical generated-output update and has no actionable defect to fix.
Agent review details

Security

None.

PR surface

Source +40. Total +40 across 41 files.

View PR surface stats
Area Files Added Removed Net
Source 41 141 101 +40
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 141 101 +40

Review metrics

Metric Value Why it matters
Production versus test delta handwritten production +0/-0; generated locale output +141/-101; tests +0/-0 The net 40-line change is entirely canonical generated localization data; it adds no runtime logic, configuration, or test surface.

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/fa.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/fr.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/hi.tm.jsonl, persistent cache schema: ui/src/i18n/.i18n/id.tm.jsonl, and 13 more. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Let the serialized refresh workflow’s strict check and exact-head CI complete, then merge this isolated generated-output update.

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

Not applicable: this is a generated locale refresh, not a bug report; source inspection confirms the English catalog has advanced while current main’s generated memories remain behind.

Is this the best way to solve the issue?

Yes. The isolated serialized generator and strict fallback check are the repository’s intended path, rather than hand-editing locale adapters or mixing generated files into a source PR.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P3: This is low-risk generated localization maintenance with no observed runtime defect or compatibility change.
  • 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-output PR updates translation memory consumed by the locale loader; the supplied workflow is the intended owner, and no separate contributor real-behavior proof gate applies.

Evidence

What I checked:

  • Isolated generated-output change: The introduced branch delta contains only canonical locale memory, locale metadata, and fallback-baseline files; the Control UI policy assigns these artifacts to an isolated refresh PR. (ui/AGENTS.md:7, 7a0affcbc059)
  • English source and runtime callers: The three current English strings are used by cloud-worker stop and real-time voice UI paths, so their localized entries belong in the generated catalog. (ui/src/i18n/locales/en.ts:1241, 7a0affcbc059)
  • Generated catalog contract: The locale loader materializes only translation-memory entries whose key and normalized English-text hash match the source catalog. (scripts/lib/control-ui-i18n-catalog.ts:131, 7a0affcbc059)
  • Repository tests define this PR shape: The generated-ownership test accepts an isolated fallback/meta/translation-memory group and marks generated-memory-only changes strict for CI; the fallback test requires no recorded English fallbacks. (test/scripts/control-ui-i18n.test.ts:33, 7a0affcbc059)
  • Workflow validation path: The serialized refresh workflow writes the generated artifacts, runs the strict locale check, and publishes precisely the memory, metadata, and fallback paths to its automation branch. (.github/workflows/control-ui-locale-refresh.yml:301, 7a0affcbc059)
  • All locale memories are reconciled: All 20 translation-memory files add each of the three current keys and remove the retired dictation key; metadata moves from 5,961 to 5,963 translated keys with zero fallback keys. (ui/src/i18n/.i18n/ar.meta.json:1, 7a0affcbc059)

Likely related people:

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

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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-30T15:58:20.889Z sha 2dc7169 :: needs maintainer review before merge. :: none

@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from 2dc7169 to 7a0affc Compare August 30, 2026 16:34
@openclaw-mantis
openclaw-mantis Bot merged commit eed74ee into main Aug 30, 2026
157 checks passed
@openclaw-mantis
openclaw-mantis Bot deleted the automation/control-ui-locale-refresh branch August 30, 2026 16:48
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: M 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