From c47b4617015a2cffd8307c7441fc2f455e853656 Mon Sep 17 00:00:00 2001 From: John McPherson Date: Wed, 18 Feb 2026 09:05:08 -0800 Subject: [PATCH 1/3] FIx CaSINg --- .../Shared/Strings/en-us/winget.resw | 52 +++++++++++-------- 1 file changed, 31 insertions(+), 21 deletions(-) diff --git a/src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw b/src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw index ccda4e6f68..6c83da83c9 100644 --- a/src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw +++ b/src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw @@ -271,8 +271,8 @@ They can be configured through the settings file 'winget settings'. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. - This package is provided through Microsoft Store. winget may need to acquire the package from Microsoft Store on behalf of the current user. - {Locked="winget"} + This package is provided through Microsoft Store. WinGet may need to acquire the package from Microsoft Store on behalf of the current user. + {Locked="WinGet"} Installs the selected package, either found by searching a configured source or directly from a manifest. By default, the query must case-insensitively match the id, name, or moniker of the package. Other fields can be used by passing their appropriate option. By default, install command will check package installed status and try to perform an upgrade if applicable. Override with --force to perform a direct install. @@ -616,8 +616,8 @@ They can be configured through the settings file 'winget settings'. {Locked="source reset"} - Failed to open the predefined source; please report to winget maintainers. - {Locked="winget"} + Failed to open the predefined source; please report to WinGet maintainers. + {Locked="WinGet"} Removing all sources... @@ -672,7 +672,8 @@ They can be configured through the settings file 'winget settings'. Filter results by tag - Thank you for using winget + Thank you for using WinGet + {Locked="WinGet"} Third Party Notices @@ -814,8 +815,8 @@ They can be configured through the settings file 'winget settings'. Successfully uninstalled - winget cannot locate the uninstall command for this package. Please reach out to the package publisher for support. - {Locked="winget"} + WinGet cannot locate the uninstall command for this package. Please reach out to the package publisher for support. + {Locked="WinGet"} Uninstallation abandoned @@ -1461,7 +1462,8 @@ Please specify one of them using the --source option to proceed. Purging install directory... - Cannot purge install directory as it was not created by winget + Cannot purge install directory as it was not created by WinGet + {Locked="WinGet"} Related Link @@ -1724,7 +1726,8 @@ Please specify one of them using the --source option to proceed. {Locked="{0}"} {0} is a placeholder that is replaced by an integer number of packages with pins that prevent upgrade - The package cannot be upgraded using winget. Please use the method provided by the publisher for upgrading this package. + The package cannot be upgraded using WinGet. Please use the method provided by the publisher for upgrading this package. + {Locked="WinGet"} Upgrade packages even if they have a non-blocking pin @@ -2111,7 +2114,8 @@ Please specify one of them using the --source option to proceed. Enable Windows Package Manager Configuration - Retrieve information about errors. Given a number, the output will contain details about the error, including the symbol name if it is a winget specific error. Given a string, the winget specific errors are searched for this value. + Retrieve information about errors. Given a number, the output will contain details about the error, including the symbol name if it is a WinGet specific error. Given a string, the WinGet specific errors are searched for this value. + {Locked="WinGet"} Get information on errors @@ -2210,7 +2214,8 @@ Please specify one of them using the --source option to proceed. The Microsoft Store app is blocked by policy - The feature is currently under development. It can be enabled using winget settings. + The feature is currently under development. It can be enabled using `winget settings`. + {Locked="winget settings"} Failed to install the Microsoft Store app @@ -2780,8 +2785,8 @@ Please specify one of them using the --source option to proceed. Specify the account to be used for authentication - Failed to add source. This winget version does not support the source's authentication method. Try upgrading to latest winget version. - {Locked="winget"} + Failed to add source. This WinGet version does not support the source's authentication method. Try upgrading to latest WinGet version. + {Locked="WinGet"} The {0} source requires authentication. Authentication prompt may appear when necessary. Authenticated information will be shared with the source for access authorization. @@ -3225,8 +3230,8 @@ Please specify one of them using the --source option to proceed. The package installer requires authentication. Authentication prompt may appear when necessary. Authenticated information will be shared with the installer download url. - Failed to download installer. This winget version does not support the installer download authentication method. Try upgrading to latest winget version. - {Locked="winget"} + Failed to download installer. This WinGet version does not support the installer download authentication method. Try upgrading to latest WinGet version. + {Locked="WinGet"} Failed to download installer. Authentication failed. @@ -3239,7 +3244,8 @@ Please specify one of them using the --source option to proceed. DSC stands for "Desired State Configuration". It should already have a locked translation. - The sub-commands here implement Desired State Configuration (DSC) v3 resources for configuring winget and packages. + The sub-commands here implement Desired State Configuration (DSC) v3 resources for configuring WinGet and packages. + {Locked="WinGet"} Get the resource state @@ -3278,7 +3284,8 @@ Please specify one of them using the --source option to proceed. Manage package state - Manage packages through winget. + Manage packages through WinGet. + {Locked="WinGet"} Indicates whether an instance should or does exist. @@ -3314,7 +3321,8 @@ Please specify one of them using the --source option to proceed. Manage user settings file - Manage the user settings of winget. + Manage the user settings of WinGet. + {Locked="WinGet"} The settings json file content. @@ -3329,7 +3337,8 @@ Please specify one of them using the --source option to proceed. Manage source configuration - Manage the sources of winget. + Manage the sources of WinGet. + {Locked="WinGet"} The name to use for the source. @@ -3389,7 +3398,8 @@ Please specify one of them using the --source option to proceed. Manage administrator settings - Manage the administrator settings of winget. + Manage the administrator settings of WinGet. + {Locked="WinGet"} Resets all admin settings @@ -3556,4 +3566,4 @@ An unlocalized JSON fragment will follow on another line. Results have been filtered to the highest matched source priority. A warning message to indicate to the user that the results of a search have been filtered by choosing only those matching the highest source priority amongst the results. - \ No newline at end of file + From 5640fd6f6e6ef306a987cdab593fdb380754a977 Mon Sep 17 00:00:00 2001 From: John McPherson Date: Wed, 18 Feb 2026 15:07:58 -0800 Subject: [PATCH 2/3] test change --- src/AppInstallerCLIE2ETests/UpgradeCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AppInstallerCLIE2ETests/UpgradeCommand.cs b/src/AppInstallerCLIE2ETests/UpgradeCommand.cs index 11bfc5dbf5..821c1bd406 100644 --- a/src/AppInstallerCLIE2ETests/UpgradeCommand.cs +++ b/src/AppInstallerCLIE2ETests/UpgradeCommand.cs @@ -159,7 +159,7 @@ public void UpgradeBehaviorDeny() var result2 = TestCommon.RunAICLICommand("upgrade", $"{packageId} -v 2.0.0.0"); Assert.AreEqual(Constants.ErrorCode.APPINSTALLER_CLI_ERROR_INSTALL_UPGRADE_NOT_SUPPORTED, result2.ExitCode); - Assert.True(result2.StdOut.Contains("package cannot be upgraded using winget")); + Assert.True(result2.StdOut.Contains("package cannot be upgraded using WinGet")); } /// From 588c328037edd1249894d8ae18c1355fd77030b2 Mon Sep 17 00:00:00 2001 From: John McPherson Date: Thu, 19 Feb 2026 08:21:36 -0800 Subject: [PATCH 3/3] Another sneaky mixed case --- src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw b/src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw index 6c83da83c9..7ee024e54d 100644 --- a/src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw +++ b/src/AppInstallerCLIPackage/Shared/Strings/en-us/winget.resw @@ -323,8 +323,8 @@ They can be configured through the settings file 'winget settings'. {Locked="{0}"} Error message displayed when the user provides an unrecognized command line argument name for the selected command. {0} is a placeholder replaced by the user's argument name input (e.g. '--example'). - Winget Directories - Header for a table detailing the directories Winget uses for key operations like logging and portable installs + WinGet Directories + {Locked="WinGet"} Header for a table detailing the directories WinGet uses for key operations like logging and portable installs Locale to use (BCP47 format)