Skip to content

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

Closed
openclaw-mantis[bot] wants to merge 0 commit into
mainfrom
automation/control-ui-locale-refresh
Closed

openclaw-mantis[bot] wants to merge 0 commit into
mainfrom
automation/control-ui-locale-refresh

Conversation

@openclaw-mantis

@openclaw-mantis openclaw-mantis Bot commented Jul 30, 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 47c39b185c0d11d706cab5f8dc67de787efcb858 and published it through a reviewable automation branch.

User Impact

No direct user-facing change beyond refreshed translations.

Evidence

@openclaw-mantis
openclaw-mantis Bot enabled auto-merge (squash) July 30, 2026 11:30
@clawsweeper clawsweeper Bot added 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. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Jul 30, 2026
@clawsweeper

clawsweeper Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 3:39 PM ET / 19:39 UTC.

ClawSweeper review

What this changes

Refreshes the 20 generated Control UI locale catalogs, translation-memory files, and fallback metadata for the current English UI strings.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep this PR open for its normal generated-output landing path. Current main has the English catalog hash 912ad83…, while its generated locale metadata still records the older 4,588-key catalog; the hydrated PR updates all 20 foreign catalogs to the corresponding 4,652-key output. The workflow is the repository’s canonical owner for this refresh and its targeted control-ui-i18n check passed, but exact-head CI is still running and structural checks cannot assess translation wording quality.

Priority: P3
Reviewed head: 1fba7576b70e407c8138d0c2ec9b6d3b6dc27d43

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch follows the canonical generated-output workflow and passes its targeted structural check; the remaining limitation is semantic review of machine-generated wording, not a demonstrated implementation defect.
Proof confidence 🌊 off-meta tidepool Not applicable: This bot-authored generated-output PR is exempt from the external-contributor real-behavior gate; the relevant evidence is the workflow-owned structural catalog check, which passed on this head.
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-output PR is exempt from the external-contributor real-behavior gate; the relevant evidence is the workflow-owned structural catalog check, which passed on this head.
Evidence reviewed 6 items Current English source matches the PR generation input: The SHA-256 of the current English catalog is 912ad83d5f70ee4463b1370efd9bf9c890017c65833f30501e8c3440da135ee7, the same sourceHash reported by the hydrated PR metadata; the PR therefore targets the current main-branch source strings rather than an obsolete catalog.
Canonical generated-output workflow: The workflow performs a final full locale sync, runs the strict check command, then publishes an isolated PR from automation/control-ui-locale-refresh with auto-merge enabled for generated paths.
Structural catalog contract: The checker rejects orphan keys, catalog-order drift, and placeholder mismatches, and derives the fallback baseline source hash from the raw English catalog.
Findings None None.
Security None None.

How this fits together

The Control UI selects a locale at runtime and lazy-loads its generated translation catalog, falling back to English when necessary. The locale-refresh workflow translates changed English strings, rebuilds metadata, validates catalog structure, and opens this isolated generated PR.

flowchart LR
  A[English UI catalog] --> B[Locale refresh workflow]
  B --> C[Translation provider]
  C --> D[Generated locale catalogs]
  D --> E[Control UI locale loader]
  B --> F[Strict catalog check]
  F --> G[Reviewable generated PR]
Loading

Before merge

  • Resolve merge risk (P1) - Exact-head CI is still in progress, so landing should wait for the required checks on 1fba7576… to finish.
  • Resolve merge risk (P2) - The strict catalog check proves keys, ordering, placeholders, and fallback metadata, but it cannot prove that every model-generated operator-facing phrase is idiomatic or semantically precise in all 20 locales.
Agent review details

Security

None.

PR surface

Source +3084. Total +3084 across 61 files.

View PR surface stats
Area Files Added Removed Net
Source 61 3346 262 +3084
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 61 3346 262 +3084

Review metrics

None.

Merge-risk options

Maintainer options:

  1. Accept the generated refresh after CI (recommended)
    Allow the workflow-owned update once the remaining exact-head checks are green, accepting the normal residual risk that structural validation cannot judge linguistic nuance.
  2. Pause for language sampling
    Hold the PR only if a reviewer can identify a specific locale or operator-facing string that needs human language review before regeneration.

Technical review

Best possible solution:

Let the canonical generated-locale workflow land this isolated refresh after exact-head CI is green; if a native-language reviewer identifies a misleading string, repair the English source or generator input and regenerate rather than hand-editing foreign bundles.

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

Not applicable: this PR is workflow-generated catalog maintenance, not a report of a failing user flow. The current English source hash and the PR’s refreshed metadata provide a high-confidence synchronization path, while semantic translation quality requires language review rather than a bug reproduction.

Is this the best way to solve the issue?

Yes: the serialized control-ui-locale-refresh workflow is the repository-defined owner for foreign locale bundles, and the scoped UI guidance explicitly says not to hand-edit or independently maintain them.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P3: This is low-risk generated localization maintenance rather than a runtime, security, or delivery regression.
  • merge-risk: 🚨 other: The PR changes model-generated operator-facing wording across 20 locales, a semantic quality risk that key and placeholder checks do not settle.
  • 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-output PR is exempt from the external-contributor real-behavior gate; the relevant evidence is the workflow-owned structural catalog check, which passed on this head.

Evidence

What I checked:

  • Current English source matches the PR generation input: The SHA-256 of the current English catalog is 912ad83d5f70ee4463b1370efd9bf9c890017c65833f30501e8c3440da135ee7, the same sourceHash reported by the hydrated PR metadata; the PR therefore targets the current main-branch source strings rather than an obsolete catalog. (ui/src/i18n/locales/en.ts:1, ae4f1bbf26c9)
  • Canonical generated-output workflow: The workflow performs a final full locale sync, runs the strict check command, then publishes an isolated PR from automation/control-ui-locale-refresh with auto-merge enabled for generated paths. (.github/workflows/control-ui-locale-refresh.yml:303, 67bde2fc3f85)
  • Structural catalog contract: The checker rejects orphan keys, catalog-order drift, and placeholder mismatches, and derives the fallback baseline source hash from the raw English catalog. (scripts/control-ui-i18n-verify.ts:155, ae4f1bbf26c9)
  • Runtime consumer: The Control UI keeps English loaded by default and uses the locale registry to lazy-load a selected foreign catalog, so this generated output directly affects operator-facing UI text without changing the loading contract. (ui/src/i18n/lib/translate.ts:33, ae4f1bbf26c9)
  • Hydrated PR and CI evidence: The supplied PR data shows each updated locale metadata file moving from 4,588 to 4,652 translated keys with no fallback keys, and the control-ui-i18n GitHub check completed successfully on the current head. (ui/src/i18n/.i18n/de.meta.json:1, 1fba7576b70e)
  • Inspection limitation: The checkout is a partial promisor clone and DNS could not resolve GitHub when Git attempted to materialize some PR/base blobs. The review therefore uses the hydrated PR patch, the locally available head commit, and current-main source/workflow contracts; it does not claim a full local PR-tree diff.

Likely related people:

  • vincentkoc: Current workflow and generator guidance lines blame to Vincent Koc, and the locale-refresh input commit 47c39b1 is a merged Control UI settings change authored by Vincent Koc. (role: workflow author and recent Control UI contributor; confidence: high; commits: 67bde2fc3f85, 47c39b185c0d; files: .github/workflows/control-ui-locale-refresh.yml, scripts/control-ui-i18n.ts, ui/src/i18n/locales/en.ts)

Rank-up moves

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

  • Wait for the remaining exact-head CI checks before landing.
  • If feasible, sample newly added settings, update, and session strings in a few high-use locales for operator-facing wording.

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.

History

Review history (8 earlier review cycles)
  • reviewed 2026-07-30T11:34:21.810Z sha de3e8a0 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-30T14:34:40.412Z sha d8eb21813c53b434ece8970acab5d3447efefef7 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-30T15:26:25.931Z sha 0daf3227a153a9bee3896dd4ec3b16743b0e1ae8 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-30T16:02:11.333Z sha adf4528 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T02:23:36.230Z sha f1ee4b4 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T05:52:28.741Z sha 9926ffc :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T10:05:36.512Z sha 55e8e41 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T11:13:06.342Z sha ec1fad1 :: needs maintainer review before merge. :: none

@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch 5 times, most recently from f1ee4b4 to 9926ffc Compare July 31, 2026 05:48
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. label Jul 31, 2026
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch 2 times, most recently from 55e8e41 to ec1fad1 Compare July 31, 2026 11:08
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jul 31, 2026
@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from ec1fad1 to 1fba757 Compare July 31, 2026 19:33
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Jul 31, 2026
@clawsweeper clawsweeper Bot closed this Aug 1, 2026
auto-merge was automatically disabled August 1, 2026 02:49

Pull request was closed

@clawsweeper
clawsweeper Bot force-pushed the automation/control-ui-locale-refresh branch from 1fba757 to 7e78de7 Compare August 1, 2026 02:49

This branch had an error being deployed

1 failed deployment
qa-live-shared — 7e78de74 Deployed Aug 1, 2026 by vincentkoc via Run isolated Telegram candidate #514
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 merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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