Skip to content

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

Merged
openclaw-mantis[bot] merged 1 commit into
mainfrom
automation/control-ui-locale-refresh
Aug 28, 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 c17d442a6e2121bf2f4edb5d6c1397d6e45cf84c and published it through a reviewable automation branch.

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@clawsweeper

clawsweeper Bot commented Aug 28, 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 28, 2026 17:33
@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 28, 2026
@clawsweeper

clawsweeper Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 28, 2026, 1:40 PM ET / 17:40 UTC.

ClawSweeper review

What this changes

The branch refreshes generated Control UI translation-memory and metadata files for the plugin install and removal confirmation strings.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep this PR open for normal merge gating: it is the repository-designated, isolated generated-locale refresh, and static integrity checks found no introduced defect. The base already contains the new English confirmation strings while its generated locale state is stale; this branch updates all 20 locales without changing runtime code.

Priority: P3
Reviewed head: d092b013293267bafb578e5f3141ea2ea0ac6a33

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Static source-to-memory validation supports the generated update; the remaining confidence gate is the repository's exact-head deterministic check.
Proof confidence 🌊 off-meta tidepool Not applicable: This bot-authored generated-data PR is exempt from the external-contributor real-behavior-proof gate; the applicable proof is the repository's deterministic locale 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-data PR is exempt from the external-contributor real-behavior-proof gate; the applicable proof is the repository's deterministic locale check.
Evidence reviewed 7 items Triggering source change: The three new confirmation strings are in the merged source commit and that commit is an ancestor of this PR's base, so generated locale state needed a refresh.
Generated-artifact contract: The workflow runs sync and strict check before publishing only translation-memory, metadata, and fallback files to this automation branch.
Runtime consumer: The Control UI materializes each virtual locale module from the translation memory and only accepts records whose source hash matches the current English text.
Findings None None.
Security None None.

How this fits together

Control UI language adapters are loaded lazily and Vite materializes their catalogs from English source strings plus translation-memory records. The locale-refresh workflow updates those generated records after source strings merge, then publishes them in an isolated PR.

flowchart LR
  A[English plugin confirmation strings] --> B[Locale refresh workflow]
  B --> C[Translation memory records]
  C --> D[Locale metadata]
  C --> E[Virtual locale modules]
  E --> F[Lazy locale registry]
  F --> G[Localized Control UI]
Loading

Before merge

  • Resolve merge risk (P1) - The strict locale check could not run locally because this read-only worktree lacks tsx; exact-head CI should complete the repository-owned check before merge.
  • Complete next step (P2) - No repair lane is needed: this is the intended generated-artifact update, pending normal exact-head validation.
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 161 121 +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 161 121 +40

Review metrics

Metric Value Why it matters
Production versus generated delta production +0/-0; generated artifacts +161/-121 All changed lines are workflow-owned locale memory or metadata; no runtime source, API, configuration, or test surface changes.

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.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Merge the isolated generated artifacts once the workflow's strict locale validation and exact-head CI complete, preserving the source-PR then refresh-PR ownership split.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Merge the isolated generated artifacts once the workflow's strict locale validation and exact-head CI complete, preserving the source-PR then refresh-PR ownership split.

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

Not applicable: this PR reconciles generated locale data rather than fixing a reported runtime defect. Static parsing verified the changed records against the current source keys across all configured locales.

Is this the best way to solve the issue?

Yes: the branch follows the documented isolated workflow that owns generated translation memory, rather than mixing it into the English-source change or adding a parallel path.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is a low-risk generated localization synchronization PR with no runtime code change.
  • 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-data PR is exempt from the external-contributor real-behavior-proof gate; the applicable proof is the repository's deterministic locale check.

Label justifications:

  • P3: This is a low-risk generated localization synchronization PR with no runtime code 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-data PR is exempt from the external-contributor real-behavior-proof gate; the applicable proof is the repository's deterministic locale check.

Evidence

What I checked:

Likely related people:

  • steipete: Git blame ties the workflow's final sync and strict-check steps to the current Control UI locale-refresh architecture. (role: recent workflow contributor; confidence: high; commits: 099fc6b056fc; files: .github/workflows/control-ui-locale-refresh.yml, scripts/control-ui-i18n.ts)
  • Patrick Erichsen: The merged source commit adding the plugin lifecycle confirmation strings is the direct input that this generated refresh reconciles. (role: source-change author; confidence: high; commits: c17d442a6e21; files: ui/src/i18n/locales/en.ts)

Rank-up moves

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

  • Let the exact-head locale and CI checks complete; retain the workflow-generated proof in the PR body.

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 d402305 into main Aug 28, 2026
165 of 166 checks passed
@openclaw-mantis
openclaw-mantis Bot deleted the automation/control-ui-locale-refresh branch August 28, 2026 17:48
github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Aug 29, 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