Skip to content

[release/v7.7.0] Localized file check-in: Build ID 2785816 - #28347

Closed
Justin Chung (jshigetomi) wants to merge 2 commits into
PowerShell:release/v7.7.0from
jshigetomi:backport-28288-to-7.7.0
Closed

Justin Chung (jshigetomi) wants to merge 2 commits into
PowerShell:release/v7.7.0from
jshigetomi:backport-28288-to-7.7.0

Conversation

@jshigetomi

Copy link
Copy Markdown
Collaborator

Backport of #28288 to release/v7.7.0.

Depends on #28342. This branch includes that prerequisite commit so the diff will narrow automatically after it merges.

@jshigetomi
Justin Chung (jshigetomi) requested a review from a team as a code owner November 5, 2026 00:26
Copilot AI balanced review requested due to automatic review settings November 5, 2026 00:26
@azure-pipelines

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.

🟡 Changes recommended

The version 1 catalog warning incorrectly names SHA0 instead of SHA-1 and omits the version number, with the same stale wording in all 13 culture-specific resource files.

1 open issue
What changed in this PR

Backports localization build 2785816 from #28288 to release/v7.7.0, adding resource entries for PowerShell’s legacy File Catalog warning. The current diff also includes the prerequisite warning implementation from #28342.

Changes:

  • Emits a warning when generating or validating version 1 catalogs.
  • Adds the neutral warning text and matching entries in 13 culture-specific resource files.
  • Recommends regenerating legacy catalogs with -CatalogVersion 2.
File Description
src/​System.Management.Automation/​security/​CatalogHelper.cs Adds warning calls during catalog generation and validation.
src/​System.Management.Automation/​resources/​zh-Hant/​CatalogStrings.zh-Hant.resx Adds the Traditional Chinese resource entry.
src/​System.Management.Automation/​resources/​zh-Hans/​CatalogStrings.zh-Hans.resx Adds the Simplified Chinese resource entry.
src/​System.Management.Automation/​resources/​tr/​CatalogStrings.tr.resx Adds the Turkish resource entry.
src/​System.Management.Automation/​resources/​ru/​CatalogStrings.ru.resx Adds the Russian resource entry.
src/​System.Management.Automation/​resources/​pt-BR/​CatalogStrings.pt-BR.resx Adds the Brazilian Portuguese resource entry.
src/​System.Management.Automation/​resources/​pl/​CatalogStrings.pl.resx Adds the Polish resource entry.
src/​System.Management.Automation/​resources/​ko/​CatalogStrings.ko.resx Adds the Korean resource entry.
src/​System.Management.Automation/​resources/​ja/​CatalogStrings.ja.resx Adds the Japanese resource entry.
src/​System.Management.Automation/​resources/​it/​CatalogStrings.it.resx Adds the Italian resource entry.
src/​System.Management.Automation/​resources/​fr/​CatalogStrings.fr.resx Adds the French resource entry.
src/​System.Management.Automation/​resources/​es/​CatalogStrings.es.resx Adds the Spanish resource entry.
src/​System.Management.Automation/​resources/​de/​CatalogStrings.de.resx Adds the German resource entry.
src/​System.Management.Automation/​resources/​cs/​CatalogStrings.cs.resx Adds the Czech resource entry.
src/​System.Management.Automation/​resources/​CatalogStrings.resx Defines the neutral legacy-catalog warning text.

Review effort: Balanced

<value>Catalog version is not valid. We only support catalog version {0} and version {1}.</value>
</data>
<data name="WeakCatalogHashAlgorithm" xml:space="preserve">
<value>'{0}' is a version catalog that uses SHA0 or SHA1. Consider regenerating this catalog with '-CatalogVersion 2'.</value>
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.

4 participants