Skip to content

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

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

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@clawsweeper

clawsweeper Bot commented Sep 1, 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) September 1, 2026 00:25
@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 Sep 1, 2026
@clawsweeper

clawsweeper Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 31, 2026, 8:30 PM ET / September 1, 2026, 00:30 UTC.

ClawSweeper review

What this changes

The branch refreshes 20 Control UI locale translation memories and their metadata, replacing retired pending-input copy with the current messages.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep open: static review found no introduced defect; this is a normal workflow-owned generated refresh awaiting its exact-head checks.

Priority: P3
Reviewed head: 792372a539e4ff0b715d2abc4fa317573f210704

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A clean, narrowly scoped generated refresh with static source-to-artifact consistency verified; normal exact-head checks remain pending.
Proof confidence 🌊 off-meta tidepool Not applicable: This bot-created PR changes only workflow-owned generated i18n artifacts; static inspection ties the changed memories to the Control UI locale loader and current English catalog, while the normal exact-head workflow check remains the validation gate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This bot-created PR changes only workflow-owned generated i18n artifacts; static inspection ties the changed memories to the Control UI locale loader and current English catalog, while the normal exact-head workflow check remains the validation gate.
Evidence reviewed 6 items Complete generated-output scope: The introduced delta contains only translation-memory, locale-metadata, and fallback-metadata artifacts; it does not modify runtime UI, generator, workflow, dependency, or configuration code.
Generated data matches current source: A read-only parse of all 20 translation memories and metadata files found the five current pending-input strings in every locale, no retired count entry, zero fallback keys, 6,002 translated keys, and the same source hash as the current four-file English source catalog.
Runtime consumption boundary: The Control UI locale plugin loads each translation-memory file, rejects an empty memory, and materializes translations only when their source-text hash matches the English catalog.
Findings None None.
Security None None.

How this fits together

The Control UI loads locale-specific catalogs from generated translation-memory files. The locale refresh workflow updates those files after English source strings change, and the UI’s locale-module plugin materializes them for the chat interface.

flowchart LR
  A[English locale sources] --> B[Locale refresh workflow]
  B --> C[Translation memory]
  B --> D[Locale metadata]
  C --> E[Locale module plugin]
  D --> E
  E --> F[Localized Control UI chat]
Loading

Before merge

  • Complete next step (P2) - No repair job is warranted because no actionable defect was found; this PR only needs its ordinary exact-head validation.
Agent review details

Security

None.

PR surface

Source -20. Total -20 across 41 files.

View PR surface stats
Area Files Added Removed Net
Source 41 181 201 -20
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 181 201 -20

Review metrics

Metric Value Why it matters
Production versus generated delta production 0, tests 0, generated −20 lines All 181 additions and 201 deletions are workflow-declared generated i18n artifacts, not runtime or test-code growth.

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:

Retain the workflow-generated refresh and merge it after the exact-head validation checks complete successfully.

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

Not applicable: this PR is a generated locale refresh rather than a reported defect. Static inspection verifies the artifact-to-source contract but did not execute the external bot branch.

Is this the best way to solve the issue?

Yes. The branch uses the repository’s canonical post-merge locale-refresh path and changes only its declared generated outputs; manually altering UI runtime code would be the wrong layer.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is routine generated localization maintenance with no identified behavioral 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-created PR changes only workflow-owned generated i18n artifacts; static inspection ties the changed memories to the Control UI locale loader and current English catalog, while the normal exact-head workflow check remains the validation gate.

Label justifications:

  • P3: This is routine generated localization maintenance with no identified behavioral 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-created PR changes only workflow-owned generated i18n artifacts; static inspection ties the changed memories to the Control UI locale loader and current English catalog, while the normal exact-head workflow check remains the validation gate.

Evidence

What I checked:

  • Complete generated-output scope: The introduced delta contains only translation-memory, locale-metadata, and fallback-metadata artifacts; it does not modify runtime UI, generator, workflow, dependency, or configuration code. (ui/src/i18n/.i18n/catalog-fallbacks.json:3, 792372a539e4)
  • Generated data matches current source: A read-only parse of all 20 translation memories and metadata files found the five current pending-input strings in every locale, no retired count entry, zero fallback keys, 6,002 translated keys, and the same source hash as the current four-file English source catalog. (ui/src/i18n/.i18n/catalog-fallbacks.json:3, 792372a539e4)
  • Runtime consumption boundary: The Control UI locale plugin loads each translation-memory file, rejects an empty memory, and materializes translations only when their source-text hash matches the English catalog. (ui/config/control-ui-locales.ts:50, 5dd4c6e3b087)
  • Current English contract: The current English catalog defines the five pending-input messages represented by the refresh, including the revised queued, cancelled, interrupted, earlier, and latest copy. (ui/src/i18n/locales/en.ts:6224, 5dd4c6e3b087)
  • Workflow and test ownership: The repository workflow finalizes and checks exactly these generated paths before opening this automation PR, while the existing test contract permits a generated-only artifact change and requires strict i18n validation for translation-memory changes. (.github/workflows/control-ui-locale-refresh.yml:301, 5dd4c6e3b087)
  • Diff integrity: The full base-to-head diff has no whitespace errors and is net 20 lines smaller; all changed lines are generated i18n artifacts. (ui/src/i18n/.i18n/ar.tm.jsonl:268, 792372a539e4)

Likely related people:

  • Ayaan Zaidi: 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.

@openclaw-mantis
openclaw-mantis Bot merged commit 04d73ea into main Sep 1, 2026
179 checks passed
@openclaw-mantis
openclaw-mantis Bot deleted the automation/control-ui-locale-refresh branch September 1, 2026 00:33
github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Sep 1, 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