mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
unify the name as it is present in the plugin.json file (#6547)
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user