mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +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);
|
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()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user