From 58b219f671e601cc49329d7f35703282b05822e9 Mon Sep 17 00:00:00 2001 From: Heiko <61519853+htcfreek@users.noreply.github.com> Date: Tue, 22 Mar 2022 12:40:23 +0100 Subject: [PATCH] [PTRun][Settings]explain ip/mac setting in description(#17195) --- .../Microsoft.PowerToys.Run.Plugin.System/Main.cs | 1 + .../Properties/Resources.Designer.cs | 12 ++++++++++-- .../Properties/Resources.resx | 6 ++++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Main.cs b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Main.cs index a639823fba..0c6cb8c3a1 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Main.cs +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Main.cs @@ -51,6 +51,7 @@ namespace Microsoft.PowerToys.Run.Plugin.System { Key = "ReduceNetworkResultScore", DisplayLabel = Resources.Reduce_Network_Result_Score, + DisplayDescription = Resources.Reduce_Network_Result_Score_Description, Value = true, }, }; diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Properties/Resources.Designer.cs index 25433a6c08..6ac808810b 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Properties/Resources.Designer.cs +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Properties/Resources.Designer.cs @@ -628,8 +628,7 @@ namespace Microsoft.PowerToys.Run.Plugin.System.Properties { } /// - /// Looks up a localized string similar to Reduce the priority of 'IP' and 'MAC' results to improve the order in the global results - ///(With this setting enabled, you have to type more characters to find the results.). + /// Looks up a localized string similar to Reduce the priority of 'IP' and 'MAC' results to improve the order in the global results. /// internal static string Reduce_Network_Result_Score { get { @@ -637,6 +636,15 @@ namespace Microsoft.PowerToys.Run.Plugin.System.Properties { } } + /// + /// Looks up a localized string similar to With this setting enabled, you have to type more characters to find the results.. + /// + internal static string Reduce_Network_Result_Score_Description { + get { + return ResourceManager.GetString("Reduce_Network_Result_Score_Description", resourceCulture); + } + } + /// /// Looks up a localized string similar to Use localized system commands instead of English ones. /// diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Properties/Resources.resx index 46353dd2b1..1167520da3 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Properties/Resources.resx +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.System/Properties/Resources.resx @@ -340,8 +340,10 @@ Wireless LAN - Reduce the priority of 'IP' and 'MAC' results to improve the order in the global results -(With this setting enabled, you have to type more characters to find the results.) + Reduce the priority of 'IP' and 'MAC' results to improve the order in the global results + + + With this setting enabled, you have to type more characters to find the results. Use localized system commands instead of English ones