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);
}
// 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()
{

View File

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

View File

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

View File

@@ -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;