add plugin name to error msg popup

This commit is contained in:
Jeremy Wu 2021-01-01 19:03:06 +11:00
parent a65e17dba0
commit 54f6858937
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
<system:String x:Key="plugin_pluginsmanager_please_wait">Please wait...</system:String>
<system:String x:Key="plugin_pluginsmanager_download_success">Successfully downloaded</system:String>
<system:String x:Key="plugin_pluginsmanager_download_error_title">Error downloading plugin</system:String>
<system:String x:Key="plugin_pluginsmanager_download_error_subtitle">Error occured while trying to download the plugin</system:String>
<system:String x:Key="plugin_pluginsmanager_download_error_subtitle">Error occured while trying to download {0}</system:String>
<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>
<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>
<system:String x:Key="plugin_pluginsmanager_install_title">Plugin Install</system:String>

View file

@ -135,7 +135,7 @@ namespace Flow.Launcher.Plugin.PluginsManager
catch (Exception e)
{
Context.API.ShowMsg(Context.API.GetTranslation("plugin_pluginsmanager_download_error_title"),
Context.API.GetTranslation("plugin_pluginsmanager_download_error_subtitle"));
string.Format(Context.API.GetTranslation("plugin_pluginsmanager_download_error_subtitle"), plugin.Name));
Log.Exception("PluginsManager", "An error occured while downloading plugin", e, "PluginDownload");
}