[PTRun]Improve error MessageBox title and message (#34564)

* include utility name in error MessageBox for better context

* aligned loading/init error messages

* Update src/modules/launcher/PowerLauncher/Plugin/PluginManager.cs

---------

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>
This commit is contained in:
Davide Giacometti
2024-09-23 16:50:53 +02:00
committed by GitHub
parent 688d7d9c85
commit 035d70dd04
4 changed files with 34 additions and 7 deletions

View File

@@ -910,7 +910,7 @@ namespace PowerLauncher.ViewModel
catch (Exception)
{
string errorMsg = string.Format(CultureInfo.InvariantCulture, RegisterHotkeyFailed, hotkeyStr);
MessageBox.Show(errorMsg);
MessageBox.Show(errorMsg, Properties.Resources.RegisterHotkeyFailedTitle);
}
}