From 5460b00c8b47122e7f41c9660cee5016ca01ddcc Mon Sep 17 00:00:00 2001 From: Heiko <61519853+htcfreek@users.noreply.github.com> Date: Mon, 27 Dec 2021 19:19:07 +0100 Subject: [PATCH] [PT Run] Settings plugin: Update naming of remove program results (#15119) * update remove program names * fix dup alt name --- .../Properties/Resources.Designer.cs | 40 ++++++++++++++++++- .../Properties/Resources.resx | 16 +++++++- .../WindowsSettings.json | 3 +- 3 files changed, 54 insertions(+), 5 deletions(-) diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.Designer.cs index 0070c3089e..63d2ecf0c3 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.Designer.cs +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.Designer.cs @@ -160,7 +160,7 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties { } /// - /// Looks up a localized string similar to Add/Remove Programs. + /// Looks up a localized string similar to Add or remove programs. /// internal static string AddRemovePrograms { get { @@ -295,7 +295,7 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties { } /// - /// Looks up a localized string similar to Apps and Features. + /// Looks up a localized string similar to Apps & Features. /// internal static string AppsAndFeatures { get { @@ -843,6 +843,15 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties { } } + /// + /// Looks up a localized string similar to Change programs. + /// + internal static string ChangePrograms { + get { + return ResourceManager.GetString("ChangePrograms", resourceCulture); + } + } + /// /// Looks up a localized string similar to Change User Account Control settings. /// @@ -3057,6 +3066,24 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties { } } + /// + /// Looks up a localized string similar to Remove programs. + /// + internal static string RemovePrograms { + get { + return ResourceManager.GetString("RemovePrograms", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Repair programs. + /// + internal static string RepairPrograms { + get { + return ResourceManager.GetString("RepairPrograms", resourceCulture); + } + } + /// /// Looks up a localized string similar to Scanners and cameras. /// @@ -3633,6 +3660,15 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings.Properties { } } + /// + /// Looks up a localized string similar to Uninstall programs. + /// + internal static string UninstallPrograms { + get { + return ResourceManager.GetString("UninstallPrograms", resourceCulture); + } + } + /// /// Looks up a localized string similar to USB. /// diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.resx index 058572f487..50e10f323c 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.resx +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/Properties/Resources.resx @@ -162,7 +162,7 @@ Area Control Panel (legacy settings) - Add/Remove Programs + Add or remove programs Area Control Panel (legacy settings) @@ -218,7 +218,7 @@ Short/modern name for application - Apps and Features + Apps & Features Area Apps @@ -433,6 +433,9 @@ Cellular and SIM Area NetworkAndInternet + + Change programs + Change User Account Control settings @@ -1357,6 +1360,12 @@ Remote Desktop Area System + + Remove programs + + + Repair programs + Scanners and cameras Area Control Panel (legacy settings) @@ -1599,6 +1608,9 @@ Uninstall Area MixedReality, only available if the Mixed Reality Portal app is installed. + + Uninstall programs + USB Area Device diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/WindowsSettings.json b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/WindowsSettings.json index 93d19335b0..bb04bb22a7 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/WindowsSettings.json +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.WindowsSettings/WindowsSettings.json @@ -81,6 +81,7 @@ "Name": "AppsAndFeatures", "Areas": [ "AreaApps" ], "Type": "AppSettingsApp", + "AltNames": [ "UninstallPrograms", "RemovePrograms", "ChangePrograms", "RepairPrograms" ], "Command": "ms-settings:appsfeatures" }, { @@ -1280,7 +1281,7 @@ "Name": "AddRemovePrograms", "Areas": [ "AreaHardwareAndSound" ], "Type": "AppControlPanel", - "AltNames": [ "appwiz.cpl" ], + "AltNames": [ "appwiz.cpl", "UninstallPrograms", "ChangePrograms", "RepairPrograms" ], "Command": "control appwiz.cpl" }, {