unify the name as it is present in the plugin.json file (#6547)

This commit is contained in:
Alekhya
2020-09-11 13:45:32 -07:00
committed by GitHub
parent 0478d99aac
commit 1dec80902d
4 changed files with 3 additions and 5 deletions

View File

@@ -206,14 +206,12 @@ namespace Microsoft.Plugin.Indexer
UpdateIconPath(newTheme); UpdateIconPath(newTheme);
} }
// TODO: Localize the strings
// Set the Plugin Title // Set the Plugin Title
public string GetTranslatedPluginTitle() public string GetTranslatedPluginTitle()
{ {
return Properties.Resources.Microsoft_plugin_indexer_plugin_name; return Properties.Resources.Microsoft_plugin_indexer_plugin_name;
} }
// TODO: Localize the string
// Set the plugin Description // Set the plugin Description
public string GetTranslatedPluginDescription() public string GetTranslatedPluginDescription()
{ {

View File

@@ -160,7 +160,7 @@ namespace Microsoft.Plugin.Indexer.Properties {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Windows Indexer Plugin. /// Looks up a localized string similar to Windows Indexer.
/// </summary> /// </summary>
public static string Microsoft_plugin_indexer_plugin_name { public static string Microsoft_plugin_indexer_plugin_name {
get { get {

View File

@@ -154,7 +154,7 @@
<value>Returns files and folders</value> <value>Returns files and folders</value>
</data> </data>
<data name="Microsoft_plugin_indexer_plugin_name" xml:space="preserve"> <data name="Microsoft_plugin_indexer_plugin_name" xml:space="preserve">
<value>Windows Indexer Plugin</value> <value>Windows Indexer</value>
</data> </data>
<data name="Microsoft_plugin_indexer_subtitle_header" xml:space="preserve"> <data name="Microsoft_plugin_indexer_subtitle_header" xml:space="preserve">
<value>Search</value> <value>Search</value>

View File

@@ -86,7 +86,7 @@ namespace PowerLauncher
_settings.IgnoreHotkeysOnFullscreen = overloadSettings.Properties.IgnoreHotkeysInFullscreen; _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) if (indexer != null)
{ {
var indexerSettings = indexer.Plugin as ISettingProvider; var indexerSettings = indexer.Plugin as ISettingProvider;