Skip to content

Fix localization key to match renamed setting ID#309909

Merged
cwebster-99 merged 1 commit intomainfrom
fix/localize-key-copilot-cli
Apr 14, 2026
Merged

Fix localization key to match renamed setting ID#309909
cwebster-99 merged 1 commit intomainfrom
fix/localize-key-copilot-cli

Conversation

@cwebster-99
Copy link
Copy Markdown
Member

Missed localization change in #309866

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the localization key for the terminal initial hint setting so it matches the renamed setting ID that was changed in #309866.

Changes:

  • Renamed the localize(...) key used for the Copilot CLI initial hint setting description.
Show a summary per file
File Description
src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.ts Adjusts the localization key used by the Copilot CLI initial hint configuration to align with the renamed setting ID.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

[TerminalInitialHintSettingId.CopilotCli]: {
restricted: true,
markdownDescription: localize('terminal.integrated.initialHint.copilotCli', "When enabled, the terminal initial hint will suggest using Copilot CLI by typing {0} instead of opening Copilot Chat.", '`copilot`'),
markdownDescription: localize('terminal.integrated.initialHintCopilotCli', "When enabled, the terminal initial hint will suggest using Copilot CLI by typing {0} instead of opening Copilot Chat.", '`copilot`'),
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renaming a localize(...) key typically invalidates existing translations because translation memory is keyed off this identifier. If the message text is unchanged, consider keeping the previous localization key (terminal.integrated.initialHint.copilotCli) to preserve existing translations, and only change the setting ID separately. If the key must change for consistency, ensure the corresponding localization resources/extraction pipeline will pick up the new key so this string doesn’t regress to English in localized builds.

Suggested change
markdownDescription: localize('terminal.integrated.initialHintCopilotCli', "When enabled, the terminal initial hint will suggest using Copilot CLI by typing {0} instead of opening Copilot Chat.", '`copilot`'),
markdownDescription: localize('terminal.integrated.initialHint.copilotCli', "When enabled, the terminal initial hint will suggest using Copilot CLI by typing {0} instead of opening Copilot Chat.", '`copilot`'),

Copilot uses AI. Check for mistakes.
@github-actions
Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 107a0519 Current: 6a7ab580

Changed (3)

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabScrolled/Light
Before After
before after
editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after

@cwebster-99 cwebster-99 enabled auto-merge April 14, 2026 17:30
@cwebster-99 cwebster-99 merged commit 0528aff into main Apr 14, 2026
30 checks passed
@cwebster-99 cwebster-99 deleted the fix/localize-key-copilot-cli branch April 14, 2026 18:04
@vs-code-engineering vs-code-engineering Bot added this to the 1.117.0 milestone Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants