refactor(i18n): route command + settings manifest labels through the catalog (T-462)
Apply the manifest-i18n foundation across every extension: each CommandContribution (45, command-palette + menu) gains titleKey + i18nNamespace, and each SettingsCategory/section/field/option gains its key — with the English text added to the owning extension's catalog. The settings renderer (settings_category_view + settings_modal) threads the category's i18nNamespace down and resolves every label/help/option through it; new catalogs created for view, cli-install, keybindings-ui. No en_US behaviour change — the command palette, menus, and settings panel now localize from the catalog (D-21). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -165,5 +165,37 @@
|
||||
"teamChat.composer.placeholder": { "translation": "@name or @team …" },
|
||||
"teamChat.pane.title": { "translation": "Team Chat" },
|
||||
"teamChat.interrupt.semantics": { "translation": "Interrupt target session" },
|
||||
"teamChat.interrupt.label": { "translation": "Interrupt" }
|
||||
"teamChat.interrupt.label": { "translation": "Interrupt" },
|
||||
"command.newSecondary": { "translation": "Claude: open a secondary session" },
|
||||
"command.killAllSessions": { "translation": "Claude: kill all sessions for this repo" },
|
||||
"command.sessionStorage": { "translation": "Claude: session storage (disk usage + cleanup)" },
|
||||
"command.activity.foldLevel": { "translation": "Claude: cycle activity fold level" },
|
||||
"command.agent.show": { "translation": "Claude: show an agent session pane" },
|
||||
"command.agent.hide": { "translation": "Claude: hide an agent session pane" },
|
||||
"command.agent.close": { "translation": "Claude: close (kill) an agent session" },
|
||||
"command.agent.mute": { "translation": "Claude: mute broker delivery to an agent session" },
|
||||
"command.agent.unmute": { "translation": "Claude: unmute broker delivery to an agent session" },
|
||||
"command.agent.injectMessage": { "translation": "Claude: inject a text turn into an agent session" },
|
||||
"command.agent.setPermissionMode": { "translation": "Claude: set permission mode for an agent session" },
|
||||
"command.mode.cycle": { "translation": "Claude: Cycle permission mode" },
|
||||
"command.task.reassign": { "translation": "Claude: reassign a shared task to an agent" },
|
||||
"command.teamChat.open": { "translation": "Claude: open the team chat pane" },
|
||||
"command.teamChat.post": { "translation": "Claude: post a message into the team channel as the user" },
|
||||
"command.agent.fork": { "translation": "Claude: fork a managed session into a new branch session" },
|
||||
"settings.activity.title": { "translation": "Activity" },
|
||||
"settings.activity.conversation.label": { "translation": "Conversation" },
|
||||
"settings.activity.foldLevel.label": { "translation": "Fold level" },
|
||||
"settings.activity.foldLevel.help": { "translation": "How aggressively the conversation folds tool calls, thinking, and results." },
|
||||
"settings.activity.opt.none": { "translation": "Show everything" },
|
||||
"settings.activity.opt.tools": { "translation": "Fold tool calls" },
|
||||
"settings.activity.opt.thinking": { "translation": "Fold tools + thinking" },
|
||||
"settings.activity.opt.everything": { "translation": "Fold all but prose" },
|
||||
"settings.claude.title": { "translation": "Claude" },
|
||||
"settings.claude.newSessionDefaults.label": { "translation": "New session defaults" },
|
||||
"settings.claude.model.label": { "translation": "Model" },
|
||||
"settings.claude.model.help": { "translation": "Model for new sessions." },
|
||||
"settings.claude.effort.label": { "translation": "Effort" },
|
||||
"settings.claude.effort.help": { "translation": "Reasoning effort for new sessions (applied via --effort at spawn)." },
|
||||
"settings.claude.permissionMode.label": { "translation": "Permission mode" },
|
||||
"settings.claude.permissionMode.help": { "translation": "Starting permission mode for new sessions." }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"command.clide.installCli": { "translation": "clide: Install 'clide' command in PATH" }
|
||||
}
|
||||
@@ -3,5 +3,6 @@
|
||||
"dialog.body": { "translation": "A clide:// link from outside the app is asking to:" },
|
||||
"dialog.warning": { "translation": "Only allow this if you trust where the link came from." },
|
||||
"button.cancel": { "translation": "Cancel" },
|
||||
"button.open": { "translation": "Open" }
|
||||
"button.open": { "translation": "Open" },
|
||||
"command.deeplink.invoke": { "translation": "Open a clide:// deep link" }
|
||||
}
|
||||
|
||||
@@ -1,4 +1,21 @@
|
||||
{
|
||||
"command.reset": { "translation": "Layout: Reset to Classic" },
|
||||
"preset.classic": { "translation": "Classic" }
|
||||
"preset.classic": { "translation": "Classic" },
|
||||
"command.palette.toggle": { "translation": "Command Palette" },
|
||||
"command.sidebar.collapse": { "translation": "Toggle Sidebar Collapse" },
|
||||
"command.context.collapse": { "translation": "Toggle Context Panel Collapse" },
|
||||
"command.panel.focus.left": { "translation": "Focus Left Panel" },
|
||||
"command.panel.focus.middle": { "translation": "Focus Middle Panel" },
|
||||
"command.panel.focus.right": { "translation": "Focus Right Panel" },
|
||||
"command.panel.focusMode": { "translation": "Toggle Focus Mode" },
|
||||
"command.panel.focusMode.exit": { "translation": "Exit Focus Mode" },
|
||||
"command.editor.open": { "translation": "Open Editor" },
|
||||
"command.editor.close": { "translation": "Close Editor" },
|
||||
"command.workspace.tab.next": { "translation": "Next Workspace Tab" },
|
||||
"command.workspace.tab.previous": { "translation": "Previous Workspace Tab" },
|
||||
"command.sidebar.section.1": { "translation": "Sidebar: Section 1" },
|
||||
"command.sidebar.section.2": { "translation": "Sidebar: Section 2" },
|
||||
"command.sidebar.section.3": { "translation": "Sidebar: Section 3" },
|
||||
"command.sidebar.section.4": { "translation": "Sidebar: Section 4" },
|
||||
"command.sidebar.section.5": { "translation": "Sidebar: Section 5" }
|
||||
}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"notice.title": { "translation": "Extension management is coming" },
|
||||
"notice.body": { "translation": "Installing, enabling, and disabling extensions arrives with third-party (Lua) extension support. For now the built-in extensions are always on." },
|
||||
"notice.tracked": { "translation": "Tracked in T-8 (Tier 6) · D-16" }
|
||||
"notice.tracked": { "translation": "Tracked in T-8 (Tier 6) · D-16" },
|
||||
"settings.extensions.title": { "translation": "Extensions" },
|
||||
"settings.extensions.section.notice": { "translation": "" },
|
||||
"settings.extensions.field.notice.label": { "translation": "" }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"command.preset.default": { "translation": "Keymap: Default" },
|
||||
"command.preset.vim": { "translation": "Keymap: Vim" },
|
||||
"command.preset.vscode": { "translation": "Keymap: VS Code" },
|
||||
"command.preset.jetbrains": { "translation": "Keymap: JetBrains" },
|
||||
"settings.keymap.title": { "translation": "Keymap" },
|
||||
"settings.keymap.section.preset": { "translation": "Preset" },
|
||||
"settings.keymap.field.preset.label": { "translation": "Active preset" },
|
||||
"settings.keymap.field.preset.help": { "translation": "Keyboard layout for the whole app." },
|
||||
"settings.keymap.field.preset.option.default": { "translation": "Default" },
|
||||
"settings.keymap.field.preset.option.vim": { "translation": "Vim" },
|
||||
"settings.keymap.field.preset.option.vscode": { "translation": "VS Code" },
|
||||
"settings.keymap.field.preset.option.jetbrains": { "translation": "JetBrains" }
|
||||
}
|
||||
@@ -18,5 +18,9 @@
|
||||
"dialog.openProject.body": { "translation": "Enter the path to a git repository." },
|
||||
"dialog.openProject.error": { "translation": "Not a git repository" },
|
||||
"dialog.notRepo.title": { "translation": "No git repo found" },
|
||||
"dialog.notRepo.body": { "translation": "A clide project root requires a git repository." }
|
||||
"dialog.notRepo.body": { "translation": "A clide project root requires a git repository." },
|
||||
"command.file.openFolder": { "translation": "File: Open Folder…" },
|
||||
"command.file.newWindow": { "translation": "File: New Window" },
|
||||
"command.file.closeWorkspace": { "translation": "File: Close Project" },
|
||||
"command.help.about": { "translation": "Help: About clide" }
|
||||
}
|
||||
|
||||
@@ -10,5 +10,6 @@
|
||||
"a11y.jumpToLatest": { "translation": "jump to latest" },
|
||||
"jump.label": { "translation": "Jump to latest ↓" },
|
||||
"a11y.toggleDock": { "translation": "toggle output dock" },
|
||||
"dock.label": { "translation": "Output" }
|
||||
"dock.label": { "translation": "Output" },
|
||||
"command.dock.toggle": { "translation": "Toggle output dock" }
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"command.open": { "translation": "Settings…" },
|
||||
"modal.title": { "translation": "Settings" },
|
||||
"modal.close": { "translation": "Close" },
|
||||
"modal.close.hint": { "translation": "Close settings without changing anything" },
|
||||
|
||||
@@ -1,9 +1,22 @@
|
||||
{
|
||||
"command.pick": { "translation": "Theme: Pick…" },
|
||||
"command.pick": { "translation": "Theme…" },
|
||||
"modal.title": { "translation": "Select theme" },
|
||||
"modal.cancel": { "translation": "Cancel" },
|
||||
"modal.cancel.hint": { "translation": "Close the theme picker without changing the current theme" },
|
||||
"row.select.hint": { "translation": "Activate this theme" },
|
||||
"section.appearance": { "translation": "Appearance" },
|
||||
"toggle.highContrast": { "translation": "High contrast" }
|
||||
"toggle.highContrast": { "translation": "High contrast" },
|
||||
"settings.appearance.title": { "translation": "Appearance" },
|
||||
"settings.appearance.section.theme": { "translation": "Theme" },
|
||||
"settings.appearance.section.typography": { "translation": "Typography" },
|
||||
"settings.appearance.field.theme.label": { "translation": "Theme" },
|
||||
"settings.appearance.field.theme.help": { "translation": "Color theme; high contrast switches to the accessible variant." },
|
||||
"settings.appearance.field.uiFont.label": { "translation": "UI font" },
|
||||
"settings.appearance.field.uiFont.help": { "translation": "Typeface for the app interface; applies live." },
|
||||
"settings.appearance.field.uiFont.option.josefinSans": { "translation": "Josefin Sans" },
|
||||
"settings.appearance.field.uiFont.option.inter": { "translation": "Inter" },
|
||||
"settings.appearance.field.monoFont.label": { "translation": "Monospace font" },
|
||||
"settings.appearance.field.monoFont.help": { "translation": "Terminal, diffs, code, and IDs; applies live." },
|
||||
"settings.appearance.field.monoFont.option.jetBrainsMono": { "translation": "JetBrains Mono" },
|
||||
"settings.appearance.field.monoFont.option.firaMono": { "translation": "Fira Mono" }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"command.view.zoomIn": { "translation": "View: Zoom In" },
|
||||
"command.view.zoomOut": { "translation": "View: Zoom Out" },
|
||||
"command.view.zoomReset": { "translation": "View: Reset Zoom" }
|
||||
}
|
||||
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"mode.normal": { "translation": "NORMAL" },
|
||||
"mode.insert": { "translation": "INSERT" },
|
||||
"mode.visual": { "translation": "VISUAL" }
|
||||
"mode.visual": { "translation": "VISUAL" },
|
||||
"command.vim.mode.normal": { "translation": "Vim: Normal mode" },
|
||||
"command.vim.mode.insert": { "translation": "Vim: Insert mode" },
|
||||
"command.vim.mode.visual": { "translation": "Vim: Visual mode" }
|
||||
}
|
||||
|
||||
@@ -30,5 +30,6 @@
|
||||
"button.opening": { "translation": "Opening…" },
|
||||
"button.ok": { "translation": "OK" },
|
||||
"dialog.notRepo.title": { "translation": "No git repo found" },
|
||||
"dialog.notRepo.body": { "translation": "A clide project root requires a git repository." }
|
||||
"dialog.notRepo.body": { "translation": "A clide project root requires a git repository." },
|
||||
"command.workspace.open-project": { "translation": "Workspace: Open project…" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user