Repository navigation
refactor(ui): remove unused English text from chat side panels - #201452
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Co-authored-by: vyctorbrzezowski <[email protected]>
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 32359a08-da6f-86b4-81de-e0c5dbb4226b
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR removes 35 unused English translation entries and updates catalog ordering and existing assertions. Example: Generating translation work for chat side panels
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it provides a focused, behavior-preserving cleanup of unused translation entries, with no actionable defect found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherEnglish locale fragments feed both runtime translation registration and the host-side catalog used for translation generation and verification. flowchart LR
A[English locale fragments] --> B[Runtime registration]
B --> C[Panel translation lookups]
A --> D[Ordered source catalog]
D --> E[Translation generation]
D --> F[Catalog verification]
Technical reviewBest possible solution: Remove the unused entries through the existing catalog owners while retaining displayed labels, lazy registration, and surviving translation order. Do we have a high-confidence way to reproduce the issue? This is a cleanup rather than a reported runtime failure; source inspection confirms the removed entries lack consumers, including the relevant dynamic lookup paths. Is this the best way to solve the issue? The diff is the smallest complete cleanup: it deletes unused source entries and their obsolete assertions while preserving the existing composition owner and ordering contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f7ec5006f0ea. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -37, Tests -10, Other -2. Total -49 across 5 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 18, 2026, 4:07 PM ET / 21:07 UTC. |
Related: #201187
What Problem This Solves
Translators are still asked to translate 35 English strings that the chat side panels no longer display. They cover side chat, subagents, processes, session files, changes and context.
User Impact
There is no visible change. The panels keep their current labels and behavior. Translated locales and translation memory are untouched.
Why This Change Was Made
Remove the unused English entries and the code that only ordered or tested those entries. Surviving strings keep their catalog order. Below, chat is
ui/src/i18n/locales/en-chat-session-optional.ts; processes isui/src/i18n/locales/en-processes.ts. “No reader” means the full key, suffix and leaf searches plus the runtime-key check found no lookup that displays that entry.chat.rail.subtitle("Ask about this session or its project")chat.rail.expand("Expand side chat")chat.rail.close("Close side chat")chat.rail.finished("Finished {time}")chat.rail.health.on-track("On track")chat.rail.health.grinding("Working")chat.rail.health.stuck("Stuck")chat.rail.health.waiting-on-user("Waiting on you")chat.rail.health.wrapping-up("Wrapping up")chat.rail.health.done("Done")chat.rail.health.failed("Failed")chat.taskSuggestions.started("Task started")chat.subagentsPanel.desktopFilter.all("All")desktopFilter.${group}; stopped useschat.sessionDetails.stoppedand failed usescommon.failed. There is no all group.chat.subagentsPanel.desktopFilterLabel("Filter subagents")chat.subagentsPanel.desktopSearch("Search subagents")chat.subagentsPanel.desktopCloseSearch("Close search")chat.subagentsPanel.desktopNoResults("No subagents match your search.")chat.subagentsPanel.desktopNoResultsDescription("Try a different name or filter.")chat.subagentsPanel.refresh("Refresh subagents")chat.processesPanel.openOutput("Open output")chat.sessionDetails.contextFree("Free space")contextFreeShort; only catalog ordering and tests namedcontextFreechat.sessionDiff.jump("Jump")chat.sessionDiff.fileCount("{count} files")chat.sessionDiff.fileCountOne("{count} file")chat.sessionDiff.disconnected("Reconnect to view changes.")chat.workspaceConflict.description("OpenClaw kept your local versions and applied the other …")chat.workspaceFiles.desktop.project("Project")chat.workspaceFiles.dockRight("Dock to the right")chat.workspaceFiles.dockBottom("Dock to the bottom")chat.workspaceFiles.workspace("Session")chat.workspaceFiles.refresh("Refresh session workspace")chat.workspaceFiles.session("Session")chat.workspaceFiles.changedCount("{count} changed")chat.workspaceFiles.readCount("{count} read")chat.workspaceFiles.artifactCount("{count} artifacts")contextFreeinsertion aftercontextSystemcontextFreestringdesktopCloseSearchinsertion pointdesktopFilterrefreshinsertion pointnoRunningcontextFreelookup assertionEvidence
fddaf3132c34against main42f8c5bcb9f5. The desktop filter constructs keys only for active, waiting and done. Stopped and failed use different namespaces. Comparing the complete ordered source catalog with main minus the 35 listed keys found no other value or order change; the canonical script and optional-English suites cover the registration and insertion boundaries. The keyless verifier and both suites passed on that integration.Contributor: @vyctorbrzezowski
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by