corrected message text

This commit is contained in:
Philipp Crocoll 2013-10-11 03:17:40 +02:00
parent 8c69a0b5bd
commit 2f3bbff841

View File

@ -69,7 +69,7 @@ namespace keepass2android
// Override the message shown with the last (hopefully most recent) inner exception // Override the message shown with the last (hopefully most recent) inner exception
Kp2aLog.Log("Exception: " + message); Kp2aLog.Log("Exception: " + message);
} }
Finish(false, UiStringKey.ErrorOcurred + " " + message); Finish(false, _app.GetResourceString(UiStringKey.ErrorOcurred) + " " + message);
return; return;
} }
catch (OldFormatException ) catch (OldFormatException )
@ -80,7 +80,7 @@ namespace keepass2android
catch (Exception e) catch (Exception e)
{ {
Kp2aLog.Log("Exception: " + e); Kp2aLog.Log("Exception: " + e);
Finish(false, UiStringKey.ErrorOcurred + " " + e.Message); Finish(false, _app.GetResourceString(UiStringKey.ErrorOcurred) + " " + e.Message);
return; return;
} }