Repository navigation
Conversation
…0: Build ID 2792922
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Dongbo Wang (daxian-dbw)
approved these changes
Nov 3, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The Chinese diagnostics at lines 667 and 673 repeat 模式 (“mode”); both should use 约束语言模式下 to remove the duplication.
1 open issue
What changed in this PR
This automated OneLocBuild check-in updates localized PowerShell diagnostics across the engine, console host, and utility cmdlets. Changes affect resource text only, not runtime logic.
Changes:
- Translates the weak catalog hash warning into 12 languages.
- Revises French language-mode and runspace terminology.
- Updates Simplified Chinese terminology and quotation marks.
| File | Description |
|---|---|
| src/System.Management.Automation/resources/zh-Hant/CatalogStrings.zh-Hant.resx | Translates the catalog warning into Traditional Chinese. |
| src/System.Management.Automation/resources/zh-Hans/SessionStateStrings.zh-Hans.resx | Updates variable-name quotation marks. |
| src/System.Management.Automation/resources/zh-Hans/RemotingErrorIdStrings.zh-Hans.resx | Revises quotation marks and language-mode terminology. |
| src/System.Management.Automation/resources/zh-Hans/ParserStrings.zh-Hans.resx | Revises data-section and language-mode terminology. |
| src/System.Management.Automation/resources/zh-Hans/Modules.zh-Hans.resx | Updates module diagnostic terminology and punctuation. |
| src/System.Management.Automation/resources/zh-Hans/CatalogStrings.zh-Hans.resx | Translates the catalog warning into Simplified Chinese. |
| src/System.Management.Automation/resources/ru/CatalogStrings.ru.resx | Translates the catalog warning into Russian. |
| src/System.Management.Automation/resources/pt-BR/CatalogStrings.pt-BR.resx | Translates the catalog warning into Brazilian Portuguese. |
| src/System.Management.Automation/resources/pl/CatalogStrings.pl.resx | Translates the catalog warning into Polish. |
| src/System.Management.Automation/resources/ko/CatalogStrings.ko.resx | Translates the catalog warning into Korean. |
| src/System.Management.Automation/resources/ja/CatalogStrings.ja.resx | Translates the catalog warning into Japanese. |
| src/System.Management.Automation/resources/it/CatalogStrings.it.resx | Translates the catalog warning into Italian. |
| src/System.Management.Automation/resources/fr/RunspaceStrings.fr.resx | Revises language-mode terminology. |
| src/System.Management.Automation/resources/fr/RunspacePoolStrings.fr.resx | Revises runspace-pool terminology. |
| src/System.Management.Automation/resources/fr/RemotingErrorIdStrings.fr.resx | Revises language-mode terminology in remoting messages. |
| src/System.Management.Automation/resources/fr/ParserStrings.fr.resx | Revises parser terminology and ConstrainedLanguage capitalization. |
| src/System.Management.Automation/resources/fr/ParameterBinderStrings.fr.resx | Revises language-mode terminology in binding diagnostics. |
| src/System.Management.Automation/resources/fr/Modules.fr.resx | Revises language-mode terminology in module diagnostics. |
| src/System.Management.Automation/resources/fr/Metadata.fr.resx | Revises trusted-argument diagnostic terminology. |
| src/System.Management.Automation/resources/fr/InternalCommandStrings.fr.resx | Revises method-invocation diagnostic terminology. |
| src/System.Management.Automation/resources/fr/ExtendedTypeSystem.fr.resx | Revises conversion-error terminology. |
| src/System.Management.Automation/resources/fr/DiscoveryExceptions.fr.resx | Revises dot-sourcing diagnostic terminology. |
| src/System.Management.Automation/resources/fr/CommandBaseStrings.fr.resx | Revises script-block diagnostic terminology. |
| src/System.Management.Automation/resources/fr/CatalogStrings.fr.resx | Translates the catalog warning into French. |
| src/System.Management.Automation/resources/fr/AutomationExceptions.fr.resx | Revises script-block audit terminology. |
| src/System.Management.Automation/resources/es/CatalogStrings.es.resx | Translates the catalog warning into Spanish. |
| src/System.Management.Automation/resources/de/CatalogStrings.de.resx | Translates the catalog warning into German. |
| src/System.Management.Automation/resources/cs/CatalogStrings.cs.resx | Translates the catalog warning into Czech. |
| src/Microsoft.PowerShell.ConsoleHost/resources/fr/ManagedEntranceStrings.fr.resx | Revises language-mode banner text. |
| src/Microsoft.PowerShell.Commands.Utility/resources/zh-Hans/NewObjectStrings.zh-Hans.resx | Updates quotation marks in creation diagnostics. |
| src/Microsoft.PowerShell.Commands.Utility/resources/fr/NewObjectStrings.fr.resx | Revises type-creation diagnostic terminology. |
| src/Microsoft.PowerShell.Commands.Utility/resources/fr/ImportLocalizedDataStrings.fr.resx | Revises localized-data import diagnostic terminology. |
| src/Microsoft.PowerShell.Commands.Utility/resources/fr/Debugger.fr.resx | Revises breakpoint diagnostic terminology. |
| src/Microsoft.PowerShell.Commands.Utility/resources/fr/AddTypeStrings.fr.resx | Revises type-definition diagnostic terminology. |
Review effort: Balanced
| </data> | ||
| <data name="WDACModuleDotSourceLogMessage" xml:space="preserve"> | ||
| <value>模块 "{0}" 的导入在 Constrained Language 模式下会失败,因为它在使用点源运算符的同时,还使用通配符导出函数。</value> | ||
| <value>模块“{0}”的导入在约束语言模式模式下会失败,因为它在使用点源运算符的同时,还使用通配符导出函数。</value> |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This is the pull request automatically created by the OneLocBuild task in the build process to check-in localized files generated based upon translation source files (.lcl files) handed-back from the downstream localization pipeline. If there are issues in translations, visit https://aka.ms/icxLocBug and log bugs for fixes. The OneLocBuild wiki is https://aka.ms/onelocbuild and the localization process in general is documented at https://aka.ms/AllAboutLoc.