Skip to content

fix(i18n): distinguish Thai question dismissal from cancellation - #155177

Merged
steipete merged 1 commit into
mainfrom
codex/frv-thai-dismissal-glossary-c8
Sep 21, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/frv-thai-dismissal-glossary-c8

Conversation

@steipete

@steipete steipete commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Keeps the Thai translation of “Question dismissed.” from describing the question as canceled. Dismissed questions remain answerable later.

User Impact

This phrase-specific glossary entry guides future locale refreshes. The runtime translation is supplied by the separate canonical generated-artifact refresh #154870, now merged.

Why This Change Was Made

Source glossary guidance and generated locale artifacts have separate owners and must be separate PRs. The entry maps only the exact dismissal notice to wording that says the question was closed.

Evidence

The source/generated isolation guard accepts this one-file source scope. JSON shape, unique term, two-space formatting, and git diff --check pass. Fresh independent P2 review found no actionable issues. No new tests were added for this four-line translation-guidance change; exact-head CI 35651460918 passed, including the Control UI i18n job (65 seconds inclusive of setup).

Security Review later published a false failure because a newer fully skipped CI run shadowed that successful run. The selector repair landed in #155231 (f7c0c42c04f44c0fd9407356645a6c6fb5a19440). This evidence update requests normal current-policy reevaluation of the unchanged PR head; no CI test rerun or status override is needed.

@clawsweeper

clawsweeper Bot commented Sep 21, 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.

@steipete
steipete marked this pull request as ready for review September 21, 2026 20:30
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XS maintainer Maintainer-authored PR labels Sep 21, 2026
@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 21, 2026
@clawsweeper

clawsweeper Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 21, 2026, 5:20 PM ET / 21:20 UTC.

ClawSweeper review

What this changes

Adds Thai translation guidance that describes dismissing a question as closing it rather than canceling it.

Merge readiness

✅ Ready for maintainer review

The glossary correction remains useful and has no actionable findings. It follows the required source/generated separation, and neither inspected main nor the latest release contains this guidance.

Priority: P3
Reviewed head: c31561ec5e43ccb3dc25ec71de1aa087f19482f2

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused correction using the established glossary owner, with no identified correctness or security defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The maintainer-authored branch changes generator terminology only, with no rendered artifact change or authority-sensitive behavior; the external-contributor proof gate does not apply.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The maintainer-authored branch changes generator terminology only, with no rendered artifact change or authority-sensitive behavior; the external-contributor proof gate does not apply.
Evidence reviewed 9 items Verified introduced change: The pinned introduction delta adds only the phrase mapping “Question dismissed.” to “ปิดคำถามแล้ว”; existing entries and runtime artifacts are unchanged.
Existing glossary consumer: The generator loads the locale glossary and adds its source/target pairs as required terminology in the translation prompt. This uses the existing owner without introducing another translation mechanism.
Dismissal remains reversible: The dismissal handler marks the presentation skipped and shows an Undo action that reopens the question; the English catalog explicitly says users can answer later.
Findings None None.
Security None None.

How this fits together

The Control UI translation generator consumes English text and locale glossaries to produce translated catalogs. This entry guides future Thai translations; the separate generated refresh supplies the runtime wording.

flowchart LR
  A[English question notice] --> C[Locale translation generator]
  B[Thai glossary guidance] --> C
  C --> D[Generated Thai catalog]
  D --> E[Control UI dismissal notice]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +4. Total +4 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 1 4 0 +4
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 1 4 0 +4

Review metrics

None.

Technical review

Best possible solution:

Keep phrase-specific terminology in the Thai glossary and deliver runtime translations through the existing generated-locale owner.

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

No runtime reproduction was performed. Source confirms that dismissal remains reversible, while this branch changes only future translation guidance.

Is this the best way to solve the issue?

Yes. A phrase-specific entry uses the existing glossary mechanism and preserves the required separation from generated runtime translations.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 9950ed5640aa.

Labels

Label changes:

  • add P3: This is a narrow translation-guidance correction with no immediate runtime or configuration change.
  • 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: The maintainer-authored branch changes generator terminology only, with no rendered artifact change or authority-sensitive behavior; the external-contributor proof gate does not apply.

Label justifications:

  • P3: This is a narrow translation-guidance correction with no immediate runtime or configuration change.
  • 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: The maintainer-authored branch changes generator terminology only, with no rendered artifact change or authority-sensitive behavior; the external-contributor proof gate does not apply.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 9f19e5b adds ui/src/i18n/.i18n/glossary.th.json:3 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 9f19e5be5253; files: ui/src/i18n/.i18n/glossary.th.json)

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.

@steipete
steipete merged commit 8adfdf1 into main Sep 21, 2026
205 of 206 checks passed
@steipete
steipete deleted the codex/frv-thai-dismissal-glossary-c8 branch September 21, 2026 23:03
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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 maintainer Maintainer-authored PR 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.

1 participant