Skip to content

Prevent localization of WPF key gesture strings - #28020

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
daxian-dbw:loc-out-grid
Sep 17, 2026
Merged

Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
daxian-dbw:loc-out-grid

Conversation

@daxian-dbw

Copy link
Copy Markdown
Member

PR Summary

Fix #27994

Preserve WPF key gesture tokens used by Out-GridView and Show-Command, and protect API identifiers embedded in invariant resource messages. Those key gesture tokens were translated in the localized resources and caused those 2 commands to fail.

The localized .resx files will be automatically updated by the Localization Pipeline.

PR Checklist

Copilot AI lite review requested due to automatic review settings September 16, 2026 21:57
@daxian-dbw
Dongbo Wang (daxian-dbw) requested a review from a team as a code owner September 16, 2026 21:57
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@daxian-dbw Dongbo Wang (daxian-dbw) added CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log Backport-7.6.x-Consider labels Sep 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The reviewed resource changes preserve required tokens and identifiers with no unresolved blocking issues.

Pull request overview

Prevents localization of WPF key gesture tokens and embedded API identifiers.

Changes:

  • Protects zoom shortcut strings from translation.
  • Preserves Columns, Items, and View identifiers.
File summaries
File Description
src/Microsoft.Management.UI.Internal/resources/public.UICultureResources.resx Preserves WPF key gesture tokens.
src/Microsoft.Management.UI.Internal/resources/public.InvariantResources.resx Preserves API identifiers in messages.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.6.x-Done CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OutGridView freezes indefinitely in 7.6.6

3 participants