diff options
Diffstat (limited to 'lib/Main.cc')
-rw-r--r-- | lib/Main.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Main.cc b/lib/Main.cc index 5571689..992f73c 100644 --- a/lib/Main.cc +++ b/lib/Main.cc @@ -3,6 +3,7 @@ #endif #include "Main.h" #include "generic.h" +#include "gettext.h" Main::Main() : setted(false) {} @@ -29,11 +30,11 @@ int Main::truemain(Main * Application, int argc, char ** argv, char ** enve) { r = e.GetCode(); } catch (GeneralException e) { - Base::printm(M_ERROR, "The application caused an exception: %s\n", e.GetMsg()); + Base::printm(M_ERROR, _("The application caused an exception: %s\n"), e.GetMsg()); return -1; } catch (...) { - Base::printm(M_ERROR, "The application caused an unknow exception\n"); + Base::printm(M_ERROR, _("The application caused an unknow exception\n")); return -1; } return r; |