Skip to content

Commit 9ba7cb0

Browse files
committed
Add 'Installing Plugin' string / Adjust Notification
1 parent 4d91e10 commit 9ba7cb0

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

Plugins/Flow.Launcher.Plugin.PluginsManager/Languages/en.xaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3-
xmlns:system="clr-namespace:System;assembly=mscorlib">
1+
<ResourceDictionary
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:system="clr-namespace:System;assembly=mscorlib">
45

5-
<!--Dialogues-->
6+
<!-- Dialogues -->
67
<system:String x:Key="plugin_pluginsmanager_downloading_plugin">Downloading plugin</system:String>
78
<system:String x:Key="plugin_pluginsmanager_download_success">Successfully downloaded</system:String>
89
<system:String x:Key="plugin_pluginsmanager_download_error">Error: Unable to download the plugin</system:String>
910
<system:String x:Key="plugin_pluginsmanager_uninstall_prompt">{0} by {1} {2}{3}Would you like to uninstall this plugin? After the uninstallation Flow will automatically restart.</system:String>
1011
<system:String x:Key="plugin_pluginsmanager_install_prompt">{0} by {1} {2}{3}Would you like to install this plugin? After the installation Flow will automatically restart.</system:String>
1112
<system:String x:Key="plugin_pluginsmanager_install_title">Plugin Install</system:String>
13+
<system:String x:Key="plugin_pluginsmanager_installing_plugin">Installing Plugin</system:String>
1214
<system:String x:Key="plugin_pluginsmanager_install_from_web">Download and install {0}</system:String>
1315
<system:String x:Key="plugin_pluginsmanager_uninstall_title">Plugin Uninstall</system:String>
1416
<system:String x:Key="plugin_pluginsmanager_install_success_restart">Plugin successfully installed. Restarting Flow, please wait...</system:String>
@@ -27,14 +29,14 @@
2729
<system:String x:Key="plugin_pluginsmanager_install_unknown_source_warning_title">Installing from an unknown source</system:String>
2830
<system:String x:Key="plugin_pluginsmanager_install_unknown_source_warning">You are installing this plugin from an unknown source and it may contain potential risks!{0}{0}Please ensure you understand where this plugin is from and that it is safe.{0}{0}Would you like to continue still?{0}{0}(You can switch off this warning via settings)</system:String>
2931

30-
<!--Controls-->
31-
32-
<!--Plugin Infos-->
32+
<!-- Controls -->
33+
34+
<!-- Plugin Infos -->
3335
<system:String x:Key="plugin_pluginsmanager_plugin_name">Plugins Manager</system:String>
3436
<system:String x:Key="plugin_pluginsmanager_plugin_description">Management of installing, uninstalling or updating Flow Launcher plugins</system:String>
3537
<system:String x:Key="plugin_pluginsmanager_unknown_author">Unknown Author</system:String>
3638

37-
<!--Context menu items-->
39+
<!-- Context menu items -->
3840
<system:String x:Key="plugin_pluginsmanager_plugin_contextmenu_openwebsite_title">Open website</system:String>
3941
<system:String x:Key="plugin_pluginsmanager_plugin_contextmenu_openwebsite_subtitle">Visit the plugin's website</system:String>
4042
<system:String x:Key="plugin_pluginsmanager_plugin_contextmenu_gotosourcecode_title">See source code</system:String>
@@ -44,6 +46,6 @@
4446
<system:String x:Key="plugin_pluginsmanager_plugin_contextmenu_pluginsmanifest_title">Go to Flow's plugins repository</system:String>
4547
<system:String x:Key="plugin_pluginsmanager_plugin_contextmenu_pluginsmanifest_subtitle">Visit the PluginsManifest repository to see community-made plugin submissions</system:String>
4648

47-
<!--Settings menu items-->
49+
<!-- Settings menu items -->
4850
<system:String x:Key="plugin_pluginsmanager_plugin_settings_unknown_source">Install from unknown source warning</system:String>
4951
</ResourceDictionary>

Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ internal async Task InstallOrUpdateAsync(UserPlugin plugin)
176176
return;
177177
}
178178

179-
Context.API.ShowMsg(Context.API.GetTranslation("plugin_pluginsmanager_install_title"),
179+
Context.API.ShowMsg(Context.API.GetTranslation("plugin_pluginsmanager_installing_plugin"),
180180
Context.API.GetTranslation("plugin_pluginsmanager_install_success_restart"));
181181

182182
Context.API.RestartApp();

0 commit comments

Comments
 (0)