InternalError message changed

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@37 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-19 19:28:03 +00:00
parent ff96f1522a
commit 5f721e461c
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ bool MSE::OnInit() {
// we don't throw std::exception ourselfs, so this is probably something serious
handle_error(InternalError(String(e.what(), IF_UNICODE(wxConvLocal, wxSTRING_MAXLEN) )), false);
} catch (...) {
handle_error(InternalError(_("An unexpected exception occurred, this is a bug!\nPlease save your work (use 'save as' to so you don't overwrite things),\n and restart Magic Set Editor.\n\nYou can leave a bug report on http://magicseteditor.sourceforge.net/")), false);
handle_error(InternalError(_("An unexpected exception occurred!")), false);
}
packages.destroy();
return false;
@@ -78,7 +78,7 @@ bool MSE::OnExceptionInMainLoop() {
// we don't throw std::exception ourselfs, so this is probably something serious
handle_error(InternalError(String(e.what(), IF_UNICODE(wxConvLocal, wxSTRING_MAXLEN) )), false);
} catch (...) {
handle_error(InternalError(_("An unexpected exception occurred, this is a bug!\nPlease save your work (use 'save as' to so you don't overwrite things),\n and restart Magic Set Editor.\n\nYou can leave a bug report on http://magicseteditor.sourceforge.net/")), false);
handle_error(InternalError(_("An unexpected exception occurred!")), false);
}
return true;
}
+2 -1
View File
@@ -36,7 +36,8 @@ class Error {
class InternalError : public Error {
public:
inline InternalError(const String& str)
: Error(_("An internal error occured, please contact the author:\n") + str)
: Error(_("An internal error occured:\n\n") + str
+_("\n\nPlease save your work (use 'save as' to so you don't overwrite things),\n and restart Magic Set Editor.\n\nYou should leave a bug report on http://magicseteditor.sourceforge.net/"))
{}
};