From d6540db953ff387277d6c4b41145df4801855ee6 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 6 Aug 2026 16:33:18 -0700 Subject: [PATCH] chore(ui): remove stale i18n keys (#120064) --- ui/src/i18n/locales/en-agents.ts | 2 - ui/src/i18n/locales/en.ts | 152 ------------------------------- 2 files changed, 154 deletions(-) diff --git a/ui/src/i18n/locales/en-agents.ts b/ui/src/i18n/locales/en-agents.ts index 5ea9433b69a1..6275cb2aa17a 100644 --- a/ui/src/i18n/locales/en-agents.ts +++ b/ui/src/i18n/locales/en-agents.ts @@ -2,8 +2,6 @@ export const agentChip = { menuLabel: "Agent menu", agents: "Agents", - openChat: "Chat with {name}", - offlineOpenSettings: "Offline — open Settings", switchAgent: "Switch agent", working: "Working…", ready: "Ready to chat", diff --git a/ui/src/i18n/locales/en.ts b/ui/src/i18n/locales/en.ts index 3ad3380dfba1..cd2adfa12f3d 100644 --- a/ui/src/i18n/locales/en.ts +++ b/ui/src/i18n/locales/en.ts @@ -12,7 +12,6 @@ export const en: TranslationMap = { active: "Active", loading: "Loading…", refreshing: "Refreshing…", - online: "Online", offline: "Offline", connect: "Connect", connected: "Connected", @@ -62,7 +61,6 @@ export const en: TranslationMap = { baseUrl: "Base URL", lastStart: "Last start", lastProbe: "Last probe", - lastInbound: "Last inbound", lastConnect: "Last connect", lastMessage: "Last message", authAge: "Auth age", @@ -78,10 +76,8 @@ export const en: TranslationMap = { version: "Version", docs: "Docs", learnMore: "Learn more", - theme: "Theme", colorMode: "Color mode", colorModeOption: "Color mode: {mode}", - resources: "Resources", search: "Search", save: "Save", saving: "Saving…", @@ -91,7 +87,6 @@ export const en: TranslationMap = { showAdvanced: "Show Advanced", hideAdvanced: "Hide Advanced", unsavedChanges: "You have unsaved changes", - secondsAgo: "{count}s ago", working: "Working…", showQr: "Show QR", relink: "Relink", @@ -359,7 +354,6 @@ export const en: TranslationMap = { }, }, lazyView: { - loadingTitle: "Loading panel", errorTitle: "Panel failed to load", genericSubtitle: "Something went wrong while loading this panel.", staleTitle: "A new version is available", @@ -468,7 +462,6 @@ export const en: TranslationMap = { summaryPending: "{count} awaiting approval", cleanupStale: "Clean up {count} stale", pendingApproval: "Pending approval", - paired: "Paired", empty: "No paired devices.", connectedWithoutPairing: "Connected without pairing", olderPairing: "{count} older pairing of {name}", @@ -484,7 +477,6 @@ export const en: TranslationMap = { inputAgo: "input {time} ago", seen: "seen {time}", approved: "approved {time}", - more: "+{count} more", details: "Details", deviceId: "Device ID: {id}", remoteIp: "Remote IP: {ip}", @@ -557,7 +549,6 @@ export const en: TranslationMap = { autoAllowSkillsHint: "Allow skill executables listed by the Gateway.", usingDefault: "Using default ({value}).", override: "Override ({value}).", - enabled: "Enabled", useDefault: "Use default", allowlist: "Allowlist", allowlistHint: "Case-insensitive glob patterns.", @@ -585,18 +576,6 @@ export const en: TranslationMap = { title: "Managed Worktrees", subtitle: "Isolated repository checkouts owned by OpenClaw.", cleanNow: "Clean up now", - cleanupTitle: "Cleanup", - cleanupSubtitle: - "OpenClaw periodically removes old worktrees to free disk space. Tune how aggressively cleanup runs.", - cleanupMaxCount: "Max worktrees", - cleanupMaxCountHelp: - "Maximum number of managed worktrees to retain across all repositories. Older worktrees are snapshotted and removed first. Set to 0 to disable the count limit.", - cleanupMaxSize: "Max total size (GB)", - cleanupMaxSizeHelp: - "Maximum total size in GB across all managed worktrees. Set to 0 to disable the size limit.", - cleanupDecrease: "Decrease {label}", - cleanupIncrease: "Increase {label}", - cleanupSaveFailed: "Saving cleanup limits failed.", name: "Name", repo: "Repository", empty: "No managed worktrees.", @@ -679,7 +658,6 @@ export const en: TranslationMap = { store: "Store: {path}", active: "Updated within", limit: "Limit", - filters: "Filters", createdBy: "Created by {name}", archivedBy: "Archived by {name}", people: "People", @@ -752,14 +730,11 @@ export const en: TranslationMap = { rowsPerPage: "{count} per page", showAll: "Show all", inherit: "inherit", - defaultOption: "Default ({value})", offExplicit: "off (explicit)", auto: "auto", on: "on", off: "off", full: "full", - stream: "stream", - customOption: "{value} (custom)", manual: "manual", autoThreshold: "auto-threshold", overflowRetry: "overflow retry", @@ -810,7 +785,6 @@ export const en: TranslationMap = { archived: "Archived", pinned: "Pinned", unread: "Unread", - worktreeSession: "Worktree thread", automationAttached: "Automation attached", incognito: "Incognito thread", cloudWorkerPlacement: "Cloud worker: {state}", @@ -895,11 +869,8 @@ export const en: TranslationMap = { description: "Defaults every agent inherits unless overridden.", }, copyId: "Copy ID", - copyIdTitle: "Copy agent ID to clipboard", default: "Default", setDefault: "Set Default", - alreadyDefaultTitle: "Already the default agent", - setDefaultTitle: "Set as the default agent", ...agentEn.pinning, selectTitle: "Select an agent", selectSubtitle: "Pick an agent to inspect its workspace and tools.", @@ -1042,7 +1013,6 @@ export const en: TranslationMap = { empty: "No files found.", missing: "missing", selectFile: "Select a file to edit.", - previewMarkdownTitle: "Preview rendered markdown", willCreateOnSave: "Will Create on Save", liveDraftPreview: "Live Draft Preview", savedPreview: "Saved Preview", @@ -1315,44 +1285,10 @@ export const en: TranslationMap = { runtime: "Node {version} · PID {pid}", }, personal: { - title: "Personal", - profileTitle: "Profile", - user: "User", - you: "You", - assistant: "Assistant", - localIdentity: "Your local chat identity", - profileIdentity: "Your gateway profile", - assistantIdentity: "Assistant identity", - displayName: "Display name", - displayNamePlaceholder: "Your name", - saveProfile: "Save name", - saving: "Saving…", - uploading: "Processing…", - profileHint: "JPEG, PNG, or WebP. Images are center-cropped and resized to 512px.", - profileLoadFailed: "Could not load your profile.", - profileSaveFailed: "Could not save your profile.", - avatarInvalid: "Choose a valid JPEG, PNG, or WebP image.", - avatarTooLarge: "The processed avatar is still too large.", - avatarText: "Avatar text / emoji", - avatarPlaceholder: "JD or 🦞", - chooseImage: "Choose image", - clearAvatar: "Clear avatar", browserOnly: "Stored in this browser only.", - configuredAvatar: "Configured avatar", - fallbackAvatar: "Fallback avatar", - fallbackLogo: "Fallback logo", - avatarIssues: { - remoteBlocked: "Remote URLs are blocked by Control UI image policy", - missing: "File not found", - unsupported: "Unsupported image type", - outsideWorkspace: "Outside workspace", - tooLarge: "Image is too large", - cannotRender: "Cannot render avatar", - }, }, }, configPage: { - content: "Settings content", themeImported: "Imported {name}.", themeRemoved: "Custom theme removed.", }, @@ -1483,7 +1419,6 @@ export const en: TranslationMap = { }, chatPrefs: { title: "Chat", - hint: "Browser-local chat preferences.", messageWidth: "Message width", messageWidthHint: "Optional CSS width for the centered transcript, such as 960px, 82%, or min(1280px, 82%).", @@ -1715,7 +1650,6 @@ export const en: TranslationMap = { }, skillsPage: { title: "Skills", - subtitle: "Installed skills and their status.", tabs: { all: "All", ready: "Ready", @@ -1778,7 +1712,6 @@ export const en: TranslationMap = { account: "Account", back: "Back", forward: "Forward", - chat: "Chat", settings: "Settings", askOpenClaw: "Ask OpenClaw", settingsGroupConnections: "Connections", @@ -1790,7 +1723,6 @@ export const en: TranslationMap = { settingsSearchNoResults: "No matching settings.", settingsSearchClear: "Clear settings search", exitSettings: "Back to app", - close: "Close navigation", expand: "Expand sidebar", collapse: "Collapse sidebar", resize: "Resize sidebar", @@ -1810,7 +1742,6 @@ export const en: TranslationMap = { newSession: "New terminal session", addFiles: "Add files to terminal", dropFiles: "Drop files to add them", - uploading: "Uploading files…", uploadProgress: "Uploading {current} of {total}", uploadFailed: "Upload failed", retryUpload: "Retry", @@ -1823,7 +1754,6 @@ export const en: TranslationMap = { sessionAttached: "attached", attachSession: "Attach session", attachFailed: "Could not attach terminal session", - starting: "Starting terminal…", connecting: "Connecting to session…", connectionTimedOut: "Session did not connect within 30 seconds.", tabLabel: "shell {n}", @@ -1861,16 +1791,13 @@ export const en: TranslationMap = { annotateClear: "Clear", annotateDone: "Exit annotate mode", annotateHint: "Draw on the page, then send the markup to your chat.", - inspectHint: "Hover to inspect; click to send the element to your chat.", inspectName: "Name", inspectRole: "Role", inspectFocusable: "Focusable", loading: "Loading page…", - starting: "Starting browser…", notRunning: "The gateway browser is not running.", start: "Start browser", empty: "No open tabs. Enter a URL above to browse.", - refresh: "Refresh view", noChatTarget: "Open a chat thread first so the annotation has somewhere to go.", inspectUnavailable: "Element inspection is disabled (browser.evaluateEnabled=false).", annotationSent: "Annotation added to the chat composer.", @@ -1923,7 +1850,6 @@ export const en: TranslationMap = { chat: "Chat", dashboards: "Dashboards", custodian: "OpenClaw", - config: "Config", profile: "Profile", communications: "Communications", appearance: "Appearance", @@ -2072,7 +1998,6 @@ export const en: TranslationMap = { body: "OpenClaw received a real reply from {modelRef}. You can start chatting now.", activeModel: "Active model", latency: "Verified in {latencyMs} ms", - detail: "{modelRef} · {latencyMs} ms", openChat: "Start chatting", continueSetup: "Continue setup", stayHere: "Stay in settings", @@ -2587,9 +2512,6 @@ export const en: TranslationMap = { minPatternStrengthHelp: "Strength a recurring pattern must reach to be reported.", }, agentScope: { - title: "Agent view", - description: - "Overview, dream diary, short-term counts, and maintenance actions belong to one agent.", rowTitle: "Agent", }, unsupported: { @@ -2719,8 +2641,6 @@ export const en: TranslationMap = { install: "Install", installing: "Installing…", installNamed: "Install {name}", - enableNamed: "Enable {name}", - disableNamed: "Disable {name}", acknowledgeRisk: "Acknowledge risk and install", defaultRiskWarning: "Review the ClawHub warning before installing this plugin.", connectToChange: "Connect to the gateway to change plugins.", @@ -2751,7 +2671,6 @@ export const en: TranslationMap = { swarm: { title: "Swarm", description: "Let Code Mode orchestrate groups of subagents in parallel.", - empty: "No active swarms.", defaultPhase: "Unphased", }, toolSearch: { @@ -2870,7 +2789,6 @@ export const en: TranslationMap = { rosterLabel: "Show who's online", rosterTitle: "Online", serverRegion: "Server", - you: "you", }, profilePage: { offline: "Connect to the gateway to meet your agent.", @@ -2893,7 +2811,6 @@ export const en: TranslationMap = { displayNameDescription: "Shown to other people using this gateway.", linkedEmails: "Linked emails", linkedEmailsDescription: "Email addresses connected to this profile.", - openSettings: "Open identity settings for {name}", avatarErrors: { invalid: "That image could not be processed.", sourceTooLarge: "Choose an image that is 10 MB or smaller.", @@ -3127,9 +3044,7 @@ export const en: TranslationMap = { }, activity: { title: "Activity", - subtitle: "Ephemeral agent activity derived from live session events.", visibleCount: "{visible} of {total}", - filtersLabel: "Activity filters", search: "Search", searchPlaceholder: "Filter by activity, summary, run, session", toolFilter: "Tool", @@ -3162,11 +3077,6 @@ export const en: TranslationMap = { done: "Done", error: "Error", }, - duration: { - ms: "{count} ms", - seconds: "{count} s", - minutes: "{minutes}m {seconds}s", - }, }, gatewayLogs: { title: "Logs", @@ -3189,10 +3099,6 @@ export const en: TranslationMap = { "The plugin that owns this tab is not active on the connected gateway, or it did not provide a panel.", }, logbook: { - duration: { - minutes: "{minutes}m", - hours: "{hours}h {minutes}m", - }, nav: { previousDay: "Previous day", nextDay: "Next day", @@ -3362,7 +3268,6 @@ export const en: TranslationMap = { dashboardTitle: "Dashboard", dashboardEmpty: "No dashboard yet — the working agent can pin widgets.", openSession: "Open thread", - openLinkedSession: "Open linked thread", defaultAgent: "Default agent", allAgents: "All agents", agentFilter: "Filter by agent", @@ -3418,12 +3323,6 @@ export const en: TranslationMap = { dispatchSummary: "Dispatch complete: started {started}, promoted {promoted}, blocked {blocked}, reclaimed {reclaimed}, orchestrated {orchestrated}, failures {failures}.", dispatchSummaryEmpty: "Dispatch complete: no ready work changed.", - autoRefresh: "Auto-refresh", - autoRefreshOff: "Off", - autoRefresh5s: "5s", - autoRefresh15s: "15s", - autoRefresh30s: "30s", - autoRefresh60s: "60s", lastRefreshed: "Updated {time}", refreshError: "Refresh failed", healthLabel: "Workboard health", @@ -3433,7 +3332,6 @@ export const en: TranslationMap = { healthReadyUnassigned: "ready unassigned", healthMissingProof: "missing proof", healthFailedAttempts: "failed attempts", - ageHours: "{count}h", live: "live", fieldTitle: "Title", fieldNotes: "Notes", @@ -3470,14 +3368,9 @@ export const en: TranslationMap = { badgeHeartbeat: "heartbeat {age}", badgeArtifacts: "{count} artifacts", badgeAttachments: "{count} attachments", - badgeWorkerLogs: "{count} worker logs", - badgeWorkerProtocol: "worker {state}", - badgeTenant: "tenant {tenant}", - badgeSkills: "{count} skills", badgeDispatches: "{count} dispatches", badgeTaskLinked: "task linked", badgeClaimed: "claimed by {owner}", - badgeDiagnostics: "{count} diagnostics", badgeStale: "stale", titlePlaceholder: "Card title", notesPlaceholder: "Notes, acceptance criteria, links", @@ -3647,12 +3540,8 @@ export const en: TranslationMap = { plugins: "Plugins", settings: "Settings", agents: "Agents", - shellCommand: "Shell Command", - debugMode: "Debug Mode", }, descriptions: { - shellCommand: "Run shell", - debugMode: "Toggle debug", verboseMode: "Toggle verbose mode.", }, footer: { @@ -3732,22 +3621,8 @@ export const en: TranslationMap = { updatedPrefix: "updated", }, stats: { - shortTerm: "Short-term", grounded: "Grounded", signals: "Signals", - promoted: "Promoted", - phaseHits: "Phase Hits", - }, - trace: { - shortTerm: "Short-term", - grounded: "Grounded", - signals: "Signals", - promoted: "Promoted", - groundedLed: "grounded-led", - emptyShortTerm: "No active short-term items.", - emptyGrounded: "No staged grounded items.", - emptySignals: "No active signals.", - emptyPromoted: "Nothing promoted yet today.", }, diary: { title: "Dream Diary", @@ -3755,8 +3630,6 @@ export const en: TranslationMap = { noDreamsHint: "Dreams will appear here after the first dreaming cycle runs.", waitingTitle: "The diary is waiting", waitingHint: "Narrative entries will appear after the next dreaming cycle.", - older: "Older", - newer: "Newer", reload: "Reload", reloading: "Reloading…", }, @@ -4089,7 +3962,6 @@ export const en: TranslationMap = { timeZoneUtc: "UTC", pin: "Pin", pinned: "Pinned", - unpin: "Unpin filters", selectAll: "Select All", clear: "Clear", clearAll: "Clear All", @@ -4235,7 +4107,6 @@ export const en: TranslationMap = { more: "+{count} more", selected: "Selected ({count})", copy: "Copy", - copyName: "Copy session name", limitReached: "Showing first 1,000 sessions. Narrow date range for complete results.", }, details: { @@ -4413,7 +4284,6 @@ export const en: TranslationMap = { }, }, chat: { - disconnected: "Disconnected from gateway.", sendErrors: { activeLeafChanged: "The thread switched branches — review and resend.", }, @@ -4563,7 +4433,6 @@ export const en: TranslationMap = { dismissed: "Dismissed", }, }, - loadOlder: "Load older", sessionHeader: { renameTooltip: "Rename thread", renameAria: "Rename thread {title}", @@ -4579,7 +4448,6 @@ export const en: TranslationMap = { incognito: "Incognito thread", branches: "Thread branches", branchSwitchUnavailable: "Branch switch is unavailable while the agent is working.", - branchSwitchRequiresAdmin: "Branch switching requires operator admin access.", untitledBranch: "Untitled branch", oneMessage: "{count} message", messages: "{count} messages", @@ -4680,10 +4548,8 @@ export const en: TranslationMap = { onboardingDisabled: "Disabled during setup", commandPaletteTitle: "Search or jump to… (⌘K)", openCommandPalette: "Open command palette", - docsOpensInNewTab: "{label} (opens in new tab)", updating: "Updating…", dismissUpdateBanner: "Dismiss update banner", - switchedSession: "Switched to {session}", actions: { copyAsMarkdown: "Copy as markdown", dismissError: "Dismiss error", @@ -4788,10 +4654,8 @@ export const en: TranslationMap = { dropOpenHere: "Open here", }, sidebar: { - updateAvailable: "Update available", updateMacAndGateway: "Update Mac app + Gateway", updateGateway: "Update Gateway", - allSessions: "All threads", threads: "Threads", groups: "Groups", coding: "Coding", @@ -4826,7 +4690,6 @@ export const en: TranslationMap = { }, runControls: { newSession: "New thread", - newSessionDisconnected: "Connect to create a new thread", newSessionWorktree: "New thread in worktree", export: "Export", exportChat: "Export chat", @@ -4839,10 +4702,8 @@ export const en: TranslationMap = { }, queue: { retry: "Retry", - retrySend: "Retry send", retryQueuedMessage: "Retry queued message", steer: "Steer", - steered: "Steered", steerQueuedMessage: "Steer queued message", removeQueuedMessage: "Remove queued message", states: { @@ -4864,7 +4725,6 @@ export const en: TranslationMap = { hideDetails: "Hide goal details", }, questions: { - title: "Codex needs input", other: "Type your own answer here", submit: "Submit", next: "Next", @@ -4875,7 +4735,6 @@ export const en: TranslationMap = { collapse: "Collapse question", expand: "Expand question", eyebrow: "Question", - cardLabel: "Question from the assistant", summaryLabel: "Question outcome", timeRemaining: "Time remaining", ownAnswer: "Your own answer…", @@ -4886,7 +4745,6 @@ export const en: TranslationMap = { answeredElsewhere: "Answered elsewhere", unavailable: "Unavailable", expired: "Expired", - cancelled: "Cancelled", disconnected: "Not connected. Try again after reconnecting.", }, imageLightbox: { @@ -4939,7 +4797,6 @@ export const en: TranslationMap = { default: "Default", reasoning: "Reasoning", speed: "Speed", - sessionOverride: "Thread override", useDefault: "Use default", usingDefault: "Using default from Settings", resetToDefault: "Reset to default ({model})", @@ -5072,7 +4929,6 @@ export const en: TranslationMap = { composer: { placeholder: "Message {name}", placeholderWithAttachments: "Add a message or paste more images...", - placeholderDisconnected: "Connect to the gateway to start chatting...", offlineHint: "Offline — messages will be queued and sent when the connection returns.", offlineQueuedHint: "Offline — {count} queued; messages send when the connection returns.", preparingModel: "Preparing model...", @@ -5135,7 +4991,6 @@ export const en: TranslationMap = { skillBlocked: "not available for this agent", sessionTag: "session", offlineBlocked: "Connect to the gateway to change session capabilities.", - readOnlyBlocked: "Write access is required to change session capabilities.", adminBlocked: "Admin access is required to manage connectors.", savingBlocked: "Wait for the current session capability change to finish.", }, @@ -5226,9 +5081,6 @@ export const en: TranslationMap = { listening: "Listening...", }, selectors: { - session: "Chat thread", - sessionSearch: "Search threads", - clearSessionSearch: "Clear thread search", loadMoreSessions: "Show more", model: "Chat model", modelSection: "Model", @@ -5353,7 +5205,6 @@ export const en: TranslationMap = { statusModified: "Modified", }, sessionDiscussion: { - title: "Discussion", show: "Show discussion", hide: "Hide discussion", disconnected: "Gateway is disconnected.", @@ -5366,7 +5217,6 @@ export const en: TranslationMap = { }, workspaceFiles: { label: "Thread workspace", - expand: "Expand thread workspace", collapse: "Collapse thread workspace", showFiles: "Show thread files", dockRight: "Dock to the right", @@ -5381,7 +5231,6 @@ export const en: TranslationMap = { read: "Read", artifacts: "Artifacts", browser: "Project files", - path: "Workspace path", root: "Root", search: "Search files", searchResults: "Search results", @@ -5452,7 +5301,6 @@ export const en: TranslationMap = { }, suggestions: { title: "Starter automations", - add: "Add", schedules: { weekdayMornings: "Weekdays at 9:00 AM", everyMorning: "Daily at 8:00 AM",