Issue 2042: added language support
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include "rawimagesource.h"
|
#include "rawimagesource.h"
|
||||||
#include "../rtgui/ppversion.h"
|
#include "../rtgui/ppversion.h"
|
||||||
|
#include "../rtgui/multilangmgr.h"
|
||||||
//#include "mytime.h"
|
//#include "mytime.h"
|
||||||
|
|
||||||
#undef THREAD_PRIORITY_NORMAL
|
#undef THREAD_PRIORITY_NORMAL
|
||||||
@@ -682,7 +683,7 @@ void batchProcessingThread (ProcessingJob* job, BatchProcessingListener* bpl, bo
|
|||||||
int errorCode;
|
int errorCode;
|
||||||
IImage16* img = processImage (currentJob, errorCode, bpl, tunnelMetaData);
|
IImage16* img = processImage (currentJob, errorCode, bpl, tunnelMetaData);
|
||||||
if (errorCode) {
|
if (errorCode) {
|
||||||
bpl->error ("Can not load input image.");
|
bpl->error (M("MAIN_MSG_CANNOTLOAD"));
|
||||||
currentJob = NULL;
|
currentJob = NULL;
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
@@ -594,7 +594,7 @@ rtengine::ProcessingJob* BatchQueue::imageReady (rtengine::IImage16* img) {
|
|||||||
err = img->saveAsJPEG (fname, saveFormat.jpegQuality, saveFormat.jpegSubSamp);
|
err = img->saveAsJPEG (fname, saveFormat.jpegQuality, saveFormat.jpegSubSamp);
|
||||||
img->free ();
|
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) {
|
if (saveFormat.saveParams) {
|
||||||
// We keep the extension to avoid overwriting the profile when we have
|
// We keep the extension to avoid overwriting the profile when we have
|
||||||
|
Reference in New Issue
Block a user