Delete unused resources from CliCommandStrings#53858
Open
Conversation
Copilot
AI
changed the title
[WIP] Remove unused resources from CliCommandStrings
Delete unused resources from CliCommandStrings
Apr 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Removes dead localized CLI resource entries to keep CliCommandStrings clean and reduce localization surface area.
Changes:
- Removed 15 unused string resources from
CliCommandStrings.resx. - Removed the corresponding
<trans-unit>entries from all 13 localized.xlffiles.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Cli/dotnet/Commands/CliCommandStrings.resx | Deletes unused base (en) resource entries. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.cs.xlf | Removes corresponding unused Czech translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.de.xlf | Removes corresponding unused German translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.es.xlf | Removes corresponding unused Spanish translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.fr.xlf | Removes corresponding unused French translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.it.xlf | Removes corresponding unused Italian translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.ja.xlf | Removes corresponding unused Japanese translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.ko.xlf | Removes corresponding unused Korean translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.pl.xlf | Removes corresponding unused Polish translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.pt-BR.xlf | Removes corresponding unused Portuguese (Brazil) translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.ru.xlf | Removes corresponding unused Russian translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.tr.xlf | Removes corresponding unused Turkish translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hans.xlf | Removes corresponding unused Chinese (Simplified) translation units. |
| src/Cli/dotnet/Commands/xlf/CliCommandStrings.zh-Hant.xlf | Removes corresponding unused Chinese (Traditional) translation units. |
Agent-Logs-Url: https://github.com/dotnet/sdk/sessions/341abcad-aabd-4e36-aa32-36455bff3394 Co-authored-by: marcpopMSFT <12663534+marcpopMSFT@users.noreply.github.com>
17bdf0f to
7441743
Compare
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.
Removes 15 dead resource entries from
CliCommandStrings.resxthat have no remaining references in the codebase.Removed entries
CmdPackageDescriptionVerbRun/VerbTestCouldNotConvertToBoolean/CouldNotConvertToStringFailedWithErrorsAndWarnings/FailedWithWarningsInvalidSemVerVersionStringProjectConvertWouldMoveFile/ProjectConvertWouldDeleteFileToolInstallPackageIdArgumentDescription/ToolInstallPackageIdArgumentNameToolUpdatePackageIdArgumentDescription/ToolUpdatePackageIdArgumentNameValueMustBeAnObjectCorresponding entries removed from all 13 localized
.xlffiles (cs, de, es, fr, it, ja, ko, pl, pt-BR, ru, tr, zh-Hans, zh-Hant).