Merge pull request #671 from lioncash/non-panic

DolphinWX: Use a regular wxMessageBox instead of a PanicAlert for non-panic errors.
This commit is contained in:
Pierre Bourdon
2014-08-03 21:27:27 -07:00
18 changed files with 106 additions and 89 deletions

View File

@ -430,14 +430,14 @@ void DolphinApp::InitLanguageSupport()
if (!m_locale->IsOk())
{
PanicAlertT("Error loading selected language. Falling back to system default.");
wxMessageBox(_("Error loading selected language. Falling back to system default."), _("Error"));
delete m_locale;
m_locale = new wxLocale(wxLANGUAGE_DEFAULT);
}
}
else
{
PanicAlertT("The selected language is not supported by your system. Falling back to system default.");
wxMessageBox(_("The selected language is not supported by your system. Falling back to system default."), _("Error"));
m_locale = new wxLocale(wxLANGUAGE_DEFAULT);
}
}