diff --git a/rtengine/simpleprocess.cc b/rtengine/simpleprocess.cc index ffdff6162..72a07a617 100644 --- a/rtengine/simpleprocess.cc +++ b/rtengine/simpleprocess.cc @@ -28,6 +28,7 @@ #include #include "rawimagesource.h" #include "../rtgui/ppversion.h" +#include "../rtgui/multilangmgr.h" //#include "mytime.h" #undef THREAD_PRIORITY_NORMAL @@ -682,7 +683,7 @@ void batchProcessingThread (ProcessingJob* job, BatchProcessingListener* bpl, bo int errorCode; IImage16* img = processImage (currentJob, errorCode, bpl, tunnelMetaData); if (errorCode) { - bpl->error ("Can not load input image."); + bpl->error (M("MAIN_MSG_CANNOTLOAD")); currentJob = NULL; } else { try { diff --git a/rtgui/batchqueue.cc b/rtgui/batchqueue.cc index 37365e72e..2ed7055e8 100644 --- a/rtgui/batchqueue.cc +++ b/rtgui/batchqueue.cc @@ -594,7 +594,7 @@ rtengine::ProcessingJob* BatchQueue::imageReady (rtengine::IImage16* img) { err = img->saveAsJPEG (fname, saveFormat.jpegQuality, saveFormat.jpegSubSamp); img->free (); - if (err) throw Glib::FileError(Glib::FileError::FAILED, "Unable to save output file"); + if (err) throw Glib::FileError(Glib::FileError::FAILED, M("MAIN_MSG_CANNOTSAVE")); if (saveFormat.saveParams) { // We keep the extension to avoid overwriting the profile when we have