(AB-506289) Fix overlocalization for about_Module_Manifests#12708
Conversation
Prior to this change, some keywords for the module manifest were overlocalized because the keywords are also general language, like `Author` and `Description`. This change: - Adds a set of words and phrases not to localize to reduce confusion. - Makes minor changes for clarity in localization. - Fixes AB#506289
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
There was a problem hiding this comment.
Pull request overview
Updates the about_Module_Manifests reference pages to prevent overlocalization of specific module manifest keywords/phrases and to improve localization clarity.
Changes:
- Adds
no-locfront-matter entries to prevent localization of select manifest-related terms (for multiple PowerShell versions). - Updates
ms.dateacross the touched documents. - Tweaks wording/formatting around the “Required” explanation to improve localization clarity.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| reference/7.6/Microsoft.PowerShell.Core/About/about_Module_Manifests.md | Adds no-loc exclusions and minor localization-oriented wording updates. |
| reference/7.5/Microsoft.PowerShell.Core/About/about_Module_Manifests.md | Adds no-loc exclusions and minor localization-oriented wording updates. |
| reference/7.4/Microsoft.PowerShell.Core/About/about_Module_Manifests.md | Adds no-loc exclusions and minor localization-oriented wording updates. |
| reference/5.1/Microsoft.PowerShell.Core/About/about_Module_Manifests.md | Adds no-loc exclusions and minor localization-oriented wording updates. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| no-loc: | ||
| - Windows PowerShell 5.1 Workflow | ||
| - PowerShell Gallery | ||
| - Author | ||
| - Copyright | ||
| - Description |
There was a problem hiding this comment.
Front-matter no-loc is consistently expressed as a flow-style YAML array in this repo (for example reference/7.6/Microsoft.PowerShell.Core/About/about_Alias_Provider.md:5 uses no-loc: [Alias, ...]). To match the established convention (and minimize diffs across versions), consider changing this block to a single-line no-loc: [Windows PowerShell 5.1 Workflow, PowerShell Gallery, Author, Copyright, Description].
| no-loc: | ||
| - Windows PowerShell 5.1 Workflow | ||
| - PowerShell Gallery | ||
| - Author | ||
| - Copyright | ||
| - Description |
There was a problem hiding this comment.
Front-matter no-loc is consistently expressed as a flow-style YAML array in this repo (for example reference/7.6/Microsoft.PowerShell.Core/About/about_Alias_Provider.md:5 uses no-loc: [Alias, ...]). To match the established convention (and minimize diffs across versions), consider changing this block to a single-line no-loc: [Windows PowerShell 5.1 Workflow, PowerShell Gallery, Author, Copyright, Description].
| no-loc: | ||
| - Windows PowerShell 5.1 Workflow | ||
| - PowerShell Gallery | ||
| - Author | ||
| - Copyright | ||
| - Description |
There was a problem hiding this comment.
Front-matter no-loc is consistently expressed as a flow-style YAML array in this repo (for example reference/7.6/Microsoft.PowerShell.Core/About/about_Alias_Provider.md:5 uses no-loc: [Alias, ...]). To match the established convention (and minimize diffs across versions), consider changing this block to a single-line no-loc: [Windows PowerShell 5.1 Workflow, PowerShell Gallery, Author, Copyright, Description].
| no-loc: | ||
| - Windows PowerShell 5.1 Workflow | ||
| - PowerShell Gallery | ||
| - Author | ||
| - Copyright | ||
| - Description |
There was a problem hiding this comment.
Front-matter no-loc is consistently expressed as a flow-style YAML array in this repo (for example reference/7.6/Microsoft.PowerShell.Core/About/about_Alias_Provider.md:5 uses no-loc: [Alias, ...]). To match the established convention (and minimize diffs across versions), consider changing this block to a single-line no-loc: [Windows PowerShell 5.1 Workflow, PowerShell Gallery, Author, Copyright, Description].
|
Learn Build status updates of commit a3eab11: ✅ Validation status: passed
For more details, please refer to the build report. |
PR Summary
Prior to this change, some keywords for the module manifest were overlocalized because the keywords are also general language, like
AuthorandDescription.This change:
PR Checklist