FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix comments in `CmdletizationCoreResources.resx` by daxian-dbw · Pull Request #27879 · PowerShell/PowerShell · GitHub

Fix comments in CmdletizationCoreResources.resx - #27879

Merged
Dongbo Wang (daxian-dbw) merged 2 commits into
PowerShell:masterfrom
daxian-dbw:comment
Aug 24, 2026
Merged

Fix comments in CmdletizationCoreResources.resx#27879
Dongbo Wang (daxian-dbw) merged 2 commits into
PowerShell:masterfrom
daxian-dbw:comment

Conversation

Copy link
Copy Markdown
Member

PR Summary

The dev rules like {StrContains="CmdletParameterMetadata"} and {StrContains="PSName"} lock values that are missing in the resource string value. This PR fixes those dev rules.

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

Dongbo Wang (daxian-dbw) marked this pull request as ready for review August 21, 2026 17:51
Dongbo Wang (daxian-dbw) requested a review from a team as a code owner August 21, 2026 17:51
Copilot AI lite review requested due to automatic review settings August 21, 2026 17:51

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

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

Updates resource entries in CmdletizationCoreResources.resx to address “dev rule” {StrContains="..."} comment directives that don’t match the corresponding resource values.

Changes:

  • Removes/adjusts {StrContains="..."} directives from select <comment> nodes to avoid locking on substrings not present in the <value>.
  • Edits a few <value> strings to collapse double spaces after periods (user-visible message text change).
  • Simplifies placeholder documentation text in the affected <comment> blocks.
Suppressed comments (2)

src/System.Management.Automation/resources/CmdletizationCoreResources.resx:136

  • This PR is described as fixing dev-rule comments, but this change also alters the user-visible resource text by collapsing the double space after the period ("once. Verify" -> "once. Verify"). If this isn't intended to change message text, keep the original spacing to minimize behavioral diffs.
    <value>The {0} cmdlet defines the {1} parameter set more than once. Verify that the Cmdlet Definition XML does not have duplicate parameter set names and retry.</value>

src/System.Management.Automation/resources/CmdletizationCoreResources.resx:186

  • This PR is described as fixing dev-rule comments, but this change also alters the user-visible resource text by collapsing the double space after the period ("{0}. Verify" -> "{0}. Verify"). If the intent is comment-only changes, consider keeping the original resource string unchanged.
    <value>The value of the Name attribute is not a valid C# identifier: {0}. Verify the Name attribute in the Cmdlet Definition XML, and then try again.</value>

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

Dongbo Wang (daxian-dbw) merged commit 4870e90 into PowerShell:master Aug 24, 2026
38 checks passed
Dongbo Wang (daxian-dbw) deleted the comment branch August 24, 2026 22:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.6.x-Consider CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL