Skip to content

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

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

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

Conversation

@openclaw-mantis

@openclaw-mantis openclaw-mantis Bot commented Sep 4, 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 bf9cbcfb064da9effb8a348c4bcd74ab069ec02c and published it through a reviewable automation branch.

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@clawsweeper

clawsweeper Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) September 4, 2026 22:54
@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 4, 2026
@clawsweeper

clawsweeper Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 4, 2026, 7:01 PM ET / 23:01 UTC.

ClawSweeper review

What this changes

Refreshes translation memory and metadata for 20 Control UI languages, translating the warning about losing unsaved session starts and the discard-and-reload button.

Merge readiness

✅ Ready for maintainer review

Keep open for normal merge: pinned current main still lacks these translations, and the generated artifacts follow the existing locale pipeline. No blocking introduced defect was found.

Priority: P3
Reviewed head: 0bf7db0b54748f0b7744796baeeaebebe3de313c

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused generated refresh with consistent hashes and complete locale coverage, using the existing pipeline without an actionable defect.
Proof confidence 🌊 off-meta tidepool Not applicable: This repository-generated bot refresh is exempt from the external-contributor proof gate and changes no authority boundary; the supplied catalog check and read-only data audit support artifact consistency, not a claim of observed browser behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This repository-generated bot refresh is exempt from the external-contributor proof gate and changes no authority boundary; the supplied catalog check and read-only data audit support artifact consistency, not a claim of observed browser behavior.
Evidence reviewed 10 items Pinned introduction and clean diff: The verified base-to-head delta contains only generated locale artifacts. Raw commit records confirm the original head's parent and the test merge's ordered base/head parents; the test merge and PR head have identical trees. Diff whitespace validation passed and the checkout remained clean.
Canonical generated-output workflow: The scoped guide makes translation memory authoritative, keeps locale TypeScript files as stable adapters, and explicitly assigns generated-only PRs to the serialized locale-refresh workflow. This patch follows that separation.
Build-time consumer and implementation boundary: The existing Vite plugin reads each language's translation memory and materializes its bundle through the shared catalog owner. That owner accepts translations only for matching English text hashes. These files are unchanged between the PR head and pinned main; the changed behavior does not depend on a Codex runtime or protocol contract.
Findings None None.
Security None None.

How this fits together

The Control UI builds language bundles from English source strings and generated translation memory. Its locale loader supplies translated text to recovery notices while preserving the existing language-selection and English-fallback behavior.

flowchart LR
  A[English source strings] --> C[Catalog generation]
  B[Translation memory] --> C
  C --> D[Language bundle]
  E[Selected language] --> F[Locale loader]
  D --> F
  F --> G[Recovery warning and reload button]
Loading

Before merge

None.

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 121 81 +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 121 81 +40

Review metrics

Metric Value Why it matters
Production versus generated LOC Production code 0; tests 0; generated artifacts net +40 Growth is translation data only, with no new runtime implementation or competing locale representation.
Translation coverage 2 recovery strings × 20 locales; 0 recorded fallbacks Both the loss warning and its action receive matching coverage across every configured non-English locale.

Technical review

Best possible solution:

Keep translations in the canonical generated-memory pipeline so recovery warnings are localized without changing reload safeguards or saved language preferences.

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

Not applicable: this is generated translation maintenance, not a reported runtime defect; the untranslated keys on pinned main and the replacement records are directly inspectable.

Is this the best way to solve the issue?

Yes: updating canonical translation memory is the established solution, and the existing build pipeline already exposes these records without editing locale adapters or duplicating bundles.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is a bounded translation refresh with unchanged recovery behavior, configuration, and authorization.
  • 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 repository-generated bot refresh is exempt from the external-contributor proof gate and changes no authority boundary; the supplied catalog check and read-only data audit support artifact consistency, not a claim of observed browser behavior.

Label justifications:

  • P3: This is a bounded translation refresh with unchanged recovery behavior, configuration, and authorization.
  • 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 repository-generated bot refresh is exempt from the external-contributor proof gate and changes no authority boundary; the supplied catalog check and read-only data audit support artifact consistency, not a claim of observed browser behavior.

Evidence

What I checked:

  • Pinned introduction and clean diff: The verified base-to-head delta contains only generated locale artifacts. Raw commit records confirm the original head's parent and the test merge's ordered base/head parents; the test merge and PR head have identical trees. Diff whitespace validation passed and the checkout remained clean. (0bf7db0b5474)
  • Canonical generated-output workflow: The scoped guide makes translation memory authoritative, keeps locale TypeScript files as stable adapters, and explicitly assigns generated-only PRs to the serialized locale-refresh workflow. This patch follows that separation. (ui/AGENTS.md:7, 0bf7db0b5474)
  • Build-time consumer and implementation boundary: The existing Vite plugin reads each language's translation memory and materializes its bundle through the shared catalog owner. That owner accepts translations only for matching English text hashes. These files are unchanged between the PR head and pinned main; the changed behavior does not depend on a Codex runtime or protocol contract. (ui/config/control-ui-locales.ts:41, 0bf7db0b5474)
  • Recovery-message entry point: The existing startup owner requests both translated keys when a reload would discard pending inputs. The chat recovery notice also uses the same discard-and-reload key. The patch changes their displayed text, not reload authorization, pending-input handling, or session persistence. (ui/src/app/session-placement-startup.ts:148, 0bf7db0b5474)
  • Read-only generated-data audit: A reviewer-authored Node audit, without importing or executing repository code, validated all 40 added records across 20 locales: target language, source path, text hash, cache key, nonempty translation, timestamps, and absence of added placeholders or markup. All memory files parse, have unique cache keys, and expand to 6,318 keys. Every metadata source hash matches the SHA-256 of the 16 canonical English source files; fallback sets remain empty. (ui/src/i18n/.i18n/catalog-fallbacks.json:3, 0bf7db0b5474)
  • Still necessary on pinned main: Neither added translation key exists in any pinned-main translation-memory file. Main's locale metadata still reports 6,316 translated keys, versus 6,318 in this PR, so prior locale refreshes do not replace this work. (ui/src/i18n/.i18n/de.meta.json:6, 825463ce1a69)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • 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.

@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from 0bf7db0 to f10b996 Compare September 5, 2026 01:05
@openclaw-mantis
openclaw-mantis Bot merged commit b1fcd67 into main Sep 5, 2026
126 checks passed
@openclaw-mantis
openclaw-mantis Bot deleted the automation/control-ui-locale-refresh branch September 5, 2026 01:14
github-actions Bot added a commit to Desicool/openclaw that referenced this pull request Sep 5, 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