From 1dec80902d06ba1541f960e8733c9b48808866ff Mon Sep 17 00:00:00 2001 From: Alekhya Date: Fri, 11 Sep 2020 13:45:32 -0700 Subject: [PATCH] unify the name as it is present in the plugin.json file (#6547) --- src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs | 2 -- .../Microsoft.Plugin.Indexer/Properties/Resources.Designer.cs | 2 +- .../Plugins/Microsoft.Plugin.Indexer/Properties/Resources.resx | 2 +- src/modules/launcher/PowerLauncher/SettingsWatcher.cs | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs index 26992addaf..9c6906f4ac 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs @@ -206,14 +206,12 @@ namespace Microsoft.Plugin.Indexer UpdateIconPath(newTheme); } - // TODO: Localize the strings // Set the Plugin Title public string GetTranslatedPluginTitle() { return Properties.Resources.Microsoft_plugin_indexer_plugin_name; } - // TODO: Localize the string // Set the plugin Description public string GetTranslatedPluginDescription() { diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.Designer.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.Designer.cs index e0c04a3c6a..b25772fc31 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.Designer.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.Designer.cs @@ -160,7 +160,7 @@ namespace Microsoft.Plugin.Indexer.Properties { } /// - /// Looks up a localized string similar to Windows Indexer Plugin. + /// Looks up a localized string similar to Windows Indexer. /// public static string Microsoft_plugin_indexer_plugin_name { get { diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.resx b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.resx index b765a5dde8..9efd728a0d 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.resx +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Properties/Resources.resx @@ -154,7 +154,7 @@ Returns files and folders - Windows Indexer Plugin + Windows Indexer Search diff --git a/src/modules/launcher/PowerLauncher/SettingsWatcher.cs b/src/modules/launcher/PowerLauncher/SettingsWatcher.cs index 08714f24ba..d08bbe8a1e 100644 --- a/src/modules/launcher/PowerLauncher/SettingsWatcher.cs +++ b/src/modules/launcher/PowerLauncher/SettingsWatcher.cs @@ -86,7 +86,7 @@ namespace PowerLauncher _settings.IgnoreHotkeysOnFullscreen = overloadSettings.Properties.IgnoreHotkeysInFullscreen; } - var indexer = PluginManager.AllPlugins.Find(p => p.Metadata.Name.Equals("Windows Indexer Plugin", StringComparison.OrdinalIgnoreCase)); + var indexer = PluginManager.AllPlugins.Find(p => p.Metadata.Name.Equals("Windows Indexer", StringComparison.OrdinalIgnoreCase)); if (indexer != null) { var indexerSettings = indexer.Plugin as ISettingProvider;