Skip to content

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

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

@openclaw-mantis openclaw-mantis Bot commented Aug 28, 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 de12e0a06c1b1f3300823c001607ad3608edcc61 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 08:00
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor 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, 4:06 AM ET / 08:06 UTC.

ClawSweeper review

What this changes

The branch refreshes generated translation memory and metadata for the Control UI’s “Load more sessions” label in all supported non-English locales.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open: this is a complete, workflow-owned locale refresh with no introduced correctness or security defect; exact-head CI remains the final merge gate.

Priority: P3
Reviewed head: d58888a997d9642c0e92f563832cb12a104fdcc1

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) PR readiness rating was derived from proof quality, review findings, security review, and reviewer confidence.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): ClawSweeper live verification passed on the reviewed terminal surface.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): ClawSweeper live verification passed on the reviewed terminal surface.
Evidence reviewed 6 items Complete generated artifact set: The introduced diff contains only 20 locale translation-memory entries, their 20 metadata files, and the fallback baseline; this matches the configured 20 non-English locales and introduces no source or workflow edits.
Source hash matches current catalog: The refreshed fallback baseline and each locale metadata file use source hash 3929516…, which independently matches the SHA-256 of the four current English source catalogs consumed by the generator.
Runtime consumer and validation owner: The Vite locale loader reads each locale’s translation-memory file and materializes entries only when their source-text hashes match; the refresh workflow runs the strict generated-catalog check before publishing this isolated auto-merge PR.
Findings None None.
Security None None.

Live Verification

Command: pnpm ui:i18n:check

Result: PASS (completed)

control-ui-i18n: [6/20] ja-JP: done changed=false fallbacks=0 elapsed=193ms
control-ui-i18n: [7/20] ko: no provider configured, using English fallback for pending keys
control-ui-i18n: [7/20] ko: done changed=false fallbacks=0 elapsed=180ms
control-ui-i18n: [8/20] fr: no provider configured, using English fallback for pending keys
control-ui-i18n: [8/20] fr: done changed=false fallbacks=0 elapsed=155ms
control-ui-i18n: [9/20] hi: no provider configured, using English fallback for pending keys
control-ui-i18n: [9/20] hi: done changed=false fallbacks=0 elapsed=156ms
control-ui-i18n: [10/20] ar: no provider configured, using English fallback for pending keys
control-ui-i18n: [10/20] ar: done changed=false fallbacks=0 elapsed=151ms
control-ui-i18n: [11/20] it: no provider configured, using English fallback for pending keys
control-ui-i18n: [11/20] it: done changed=false fallbacks=0 elapsed=146ms
control-ui-i18n: [12/20] tr: no provider configured, using English fallback for pending keys
control-ui-i18n: [12/20] tr: done changed=false fallbacks=0 elapsed=160ms
control-ui-i18n: [13/20] uk: no provider configured, using English fallback for pending keys
control-ui-i18n: [13/20] uk: done changed=false fallbacks=0 elapsed=181ms
control-ui-i18n: [14/20] id: no provider configured, using English fallback for pending keys
control-ui-i18n: [14/20] id: done changed=false fallbacks=0 elapsed=159ms
control-ui-i18n: [15/20] pl: no provider configured, using English fallback for pending keys
control-ui-i18n: [15/20] pl: done changed=false fallbacks=0 elapsed=159ms
control-ui-i18n: [16/20] th: no provider configured, using English fallback for pending keys
control-ui-i18n: [16/20] th: done changed=false fallbacks=0 elapsed=168ms
control-ui-i18n: [17/20] vi: no provider configured, using English fallback for pending keys
control-ui-i18n: [17/20] vi: done changed=false fallbacks=0 elapsed=160ms
control-ui-i18n: [18/20] nl: no provider configured, using English fallback for pending keys
control-ui-i18n: [18/20] nl: done changed=false fallbacks=0 elapsed=150ms
control-ui-i18n: [19/20] fa: no provider configured, using English fallback for pending keys
control-ui-i18n: [19/20] fa: done changed=false fallbacks=0 elapsed=181ms
control-ui-i18n: [20/20] ru: no provider configured, using English fallback for pending keys
control-ui-i18n: [20/20] ru: done changed=false fallbacks=0 elapsed=172ms
zh-CN: clean (fallbacks=0)
zh-TW: clean (fallbacks=0)
pt-BR: clean (fallbacks=0)
de: clean (fallbacks=0)
es: clean (fallbacks=0)
ja-JP: clean (fallbacks=0)
ko: clean (fallbacks=0)
fr: clean (fallbacks=0)
hi: clean (fallbacks=0)
ar: clean (fallbacks=0)
it: clean (fallbacks=0)
tr: clean (fallbacks=0)
uk: clean (fallbacks=0)
id: clean (fallbacks=0)
pl: clean (fallbacks=0)
th: clean (fallbacks=0)
vi: clean (fallbacks=0)
nl: clean (fallbacks=0)
fa: clean (fallbacks=0)
ru: clean (fallbacks=0)

Assertions:

  • PASS expect_output: control-ui-i18n: catalog: fallback_keys=0 fallback_pairs=0
  • PASS expect_output: ar: clean (fallbacks=0)

How this fits together

The Control UI loads generated translation memory to materialize each locale’s catalog at build time. This update supplies translated text for a newly referenced sidebar control so localized UIs do not fall back to English.

flowchart LR
  A[English UI catalog] --> B[Locale refresh workflow]
  B --> C[Translation memory]
  B --> D[Locale metadata]
  C --> E[Build-time locale loader]
  D --> E
  E --> F[Localized Control UI]
Loading

Before merge

  • Resolve merge risk (P1) - The local strict check could not run because this read-only checkout lacks tsx; rely on the linked locale-refresh run and completion of exact-head CI before merge.
  • Complete next step (P2) - No repair lane is needed; wait for exact-head CI under the existing generated-PR auto-merge flow.
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 101 81 +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 101 81 +20

Review metrics

Metric Value Why it matters
Runtime code vs generated artifacts runtime +0/-0; generated locale data +101/-81; tests +0/-0 The entire change is workflow-owned translation memory and metadata, with no executable production-code or test 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.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Retain the isolated generated refresh and let the repository’s strict locale check and existing auto-merge policy land it once the exact head is green.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Retain the isolated generated refresh and let the repository’s strict locale check and existing auto-merge policy land it once the exact head is green.

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

Not applicable: this PR updates generated locale artifacts rather than reporting a defect; source inspection establishes the affected caller and generated-data contract.

Is this the best way to solve the issue?

Yes: the isolated generated refresh is the repository-defined path, and its metadata matches the current English catalog hash and configured locale inventory.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is a low-risk generated translation synchronization update with no reported user-facing regression.
  • add proof: sufficient: Contributor real behavior proof is sufficient. ClawSweeper live verification passed on the reviewed terminal surface.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): ClawSweeper live verification passed on the reviewed terminal surface.

Label justifications:

  • P3: This is a low-risk generated translation synchronization update with no reported user-facing regression.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): ClawSweeper live verification passed on the reviewed terminal surface.
  • proof: sufficient: Contributor real behavior proof is sufficient. ClawSweeper live verification passed on the reviewed terminal surface.

Evidence

What I checked:

  • Complete generated artifact set: The introduced diff contains only 20 locale translation-memory entries, their 20 metadata files, and the fallback baseline; this matches the configured 20 non-English locales and introduces no source or workflow edits. (scripts/lib/control-ui-i18n-config.json:2, d58888a997d9)
  • Source hash matches current catalog: The refreshed fallback baseline and each locale metadata file use source hash 3929516…, which independently matches the SHA-256 of the four current English source catalogs consumed by the generator. (ui/src/i18n/.i18n/catalog-fallbacks.json:3, d58888a997d9)
  • Runtime consumer and validation owner: The Vite locale loader reads each locale’s translation-memory file and materializes entries only when their source-text hashes match; the refresh workflow runs the strict generated-catalog check before publishing this isolated auto-merge PR. (ui/config/control-ui-locales.ts:50, d58888a997d9)
  • Visible caller is covered: The sidebar’s roster-pagination button references chat.selectors.loadMoreRosterSessions for both its accessible name and rendered label; the PR adds that key once to every configured locale memory. (ui/src/components/app-sidebar-session-list-render.ts:270, d58888a997d9)
  • Area provenance: Blame attributes the current generator, generated-artifact isolation, locale loader, and refresh workflow lines to the same recent Control UI/i18n change, identifying the present owner trail rather than the PR bot as an owner. (scripts/control-ui-i18n.ts:50, 3f4cefc4d3ac)
  • Local validation limitation: The strict check is the appropriate deterministic proof, but this read-only checkout has no installed tsx package, so it could not be run locally; the PR body links the producing workflow and exact-head CI remains pending. (scripts/control-ui-i18n.ts:1271, d58888a997d9)

Likely related people:

  • Peter Steinberger: Current blame ties the locale generator, generated-output isolation rule, Vite loader, and refresh workflow to the same recent commit. (role: recent Control UI i18n owner; confidence: high; commits: 3f4cefc4d3ac; files: scripts/control-ui-i18n.ts, .github/workflows/control-ui-locale-refresh.yml, scripts/ci-changed-scope.mjs)

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 d58888a to 64af7d7 Compare August 28, 2026 10:08
@openclaw-mantis
openclaw-mantis Bot merged commit 811e32c into main Aug 28, 2026
159 checks passed
@openclaw-mantis
openclaw-mantis Bot deleted the automation/control-ui-locale-refresh branch August 28, 2026 10:21
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. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor 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