Skip to content

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

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

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 baef6e0ed070853d1a25b35bf7b57841c3a0b294 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 09:32
@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, 5:37 AM ET / 09:37 UTC.

ClawSweeper review

What this changes

The PR adds translations for four Control UI chat attachment-outbox error messages across all 20 supported non-English locales and refreshes their generated metadata.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

No blocking findings. This is the repository-prescribed isolated generated-locale refresh; its 20 locale memories and metadata align with the current 5,950-key English catalog. Keep it open for normal exact-head CI and generated-PR processing.

Priority: P3
Reviewed head: 4cd0ac7b88f08b6b54e3fc6f2809be87fcfbe842

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A normal, well-scoped generated refresh whose static contents match the current catalog and automation contract.
Proof confidence 🌊 off-meta tidepool Not applicable: This repository-generated bot PR updates translation artifacts only; the contributor real-behavior-proof gate does not apply, while the workflow's generated-artifact validation remains the relevant check.
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 PR updates translation artifacts only; the contributor real-behavior-proof gate does not apply, while the workflow's generated-artifact validation remains the relevant check.
Evidence reviewed 7 items Generated-artifact policy: The scoped UI policy designates English strings and generator wiring as source of truth, and specifies a serialized workflow that opens isolated generated locale PRs.
Current runtime path: The locale build plugin reads each locale's translation-memory file and materializes it into the catalog consumed by lazy locale modules.
Current source keys and caller: Current main defines the four attachment-outbox recovery messages, while the outbox owner selects the capacity, missing, and unavailable variants and explicitly uses the copied-message key.
Findings None None.
Security None None.

How this fits together

The Control UI turns English source strings and generated translation memory into lazily loaded locale catalogs during its build. Chat outbox attachment failures select these keys, so the resulting catalog supplies localized recovery guidance to users.

flowchart LR
  A[English Control UI strings] --> B[Locale refresh workflow]
  B --> C[Generated translation memory]
  C --> D[Locale catalog builder]
  D --> E[Lazy locale modules]
  A --> F[Chat outbox error states]
  E --> G[Localized recovery message]
  F --> G
Loading

Before merge

  • Complete next step (P2) - No repair lane is warranted; normal exact-head CI and the established generated-PR publication flow are the remaining gates.
Agent review details

Security

None.

PR surface

Source +80. Total +80 across 41 files.

View PR surface stats
Area Files Added Removed Net
Source 41 161 81 +80
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 81 +80

Review metrics

Metric Value Why it matters
Runtime locale-data delta generated runtime locale data +80 net lines; tests 0 The net growth is the four new localized recovery strings in each of 20 runtime catalogs; no production logic 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.

Technical review

Best possible solution:

Preserve the generated-only refresh flow and let the normal exact-head validation and auto-merge path publish these synchronized locale artifacts.

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

Not applicable: this PR is generated localization data, not a report of a separately reproducible defect. Static inspection ties every new entry to existing English chat-outbox error keys.

Is this the best way to solve the issue?

Yes. The branch follows the established isolated generated-output workflow instead of mixing translation memory with English source changes, and it covers all configured locales.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is routine automated localization maintenance with no changed control-flow, configuration, or security behavior.
  • 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 PR updates translation artifacts only; the contributor real-behavior-proof gate does not apply, while the workflow's generated-artifact validation remains the relevant check.

Label justifications:

  • P3: This is routine automated localization maintenance with no changed control-flow, configuration, or security behavior.
  • 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 PR updates translation artifacts only; the contributor real-behavior-proof gate does not apply, while the workflow's generated-artifact validation remains the relevant check.

Evidence

What I checked:

  • Generated-artifact policy: The scoped UI policy designates English strings and generator wiring as source of truth, and specifies a serialized workflow that opens isolated generated locale PRs. (ui/AGENTS.md:4, 4cd0ac7b88f0)
  • Current runtime path: The locale build plugin reads each locale's translation-memory file and materializes it into the catalog consumed by lazy locale modules. (ui/config/control-ui-locales.ts:50, 8b7d685b2a92)
  • Current source keys and caller: Current main defines the four attachment-outbox recovery messages, while the outbox owner selects the capacity, missing, and unavailable variants and explicitly uses the copied-message key. (ui/src/pages/chat/outbox-payloads.ts:25, 8b7d685b2a92)
  • Artifact consistency: The introduced data contains each of the four keys once for each of 20 locales; all refreshed metadata uses the SHA-256 hash computed from the current combined English catalog. (ui/src/i18n/.i18n/catalog-fallbacks.json:3, 4cd0ac7b88f0)
  • Automation contract: The current workflow validates the generated artifacts before publishing an auto-merge PR restricted to translation memory, locale metadata, and the fallback baseline. (.github/workflows/control-ui-locale-refresh.yml:301, 8b7d685b2a92)
  • Existing guard coverage: The i18n tests distinguish isolated generated locale artifacts from prohibited source/generated mixes, matching this branch's generated-only shape. (test/scripts/control-ui-i18n.test.ts:33, 4cd0ac7b88f0)

Likely related people:

  • 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.

@openclaw-mantis
openclaw-mantis Bot merged commit 75342ad into main Aug 30, 2026
163 checks passed
@openclaw-mantis
openclaw-mantis Bot deleted the automation/control-ui-locale-refresh branch August 30, 2026 09:44
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