* GuiView: puzzle-constructions like this will make proper translations impossible (and it was not even correct English).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36284 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-11-13 15:47:42 +00:00
parent b7a7c1d9d6
commit a85ae19bf8

View File

@ -2909,9 +2909,14 @@ docstring GuiView::GuiViewPrivate::runAndDestroy(const T& func, Buffer const * o
bool const success = func(format, update_unincluded);
delete buffer;
busyBuffers.remove(orig);
if (msg == "preview") {
return success
? bformat(_("Successful " + msg + " to format: %1$s"), from_utf8(format))
: bformat(_("Error " + msg + " format: %1$s"), from_utf8(format));
? bformat(_("Successful preview of format: %1$s"), from_utf8(format))
: bformat(_("Error while previewing format: %1$s"), from_utf8(format));
}
return success
? bformat(_("Successful export to format: %1$s"), from_utf8(format))
: bformat(_("Error while exporting format: %1$s"), from_utf8(format));
}