mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* 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:
parent
b7a7c1d9d6
commit
a85ae19bf8
@ -2909,9 +2909,14 @@ docstring GuiView::GuiViewPrivate::runAndDestroy(const T& func, Buffer const * o
|
|||||||
bool const success = func(format, update_unincluded);
|
bool const success = func(format, update_unincluded);
|
||||||
delete buffer;
|
delete buffer;
|
||||||
busyBuffers.remove(orig);
|
busyBuffers.remove(orig);
|
||||||
|
if (msg == "preview") {
|
||||||
|
return success
|
||||||
|
? bformat(_("Successful preview of format: %1$s"), from_utf8(format))
|
||||||
|
: bformat(_("Error while previewing format: %1$s"), from_utf8(format));
|
||||||
|
}
|
||||||
return success
|
return success
|
||||||
? bformat(_("Successful " + msg + " to format: %1$s"), from_utf8(format))
|
? bformat(_("Successful export to format: %1$s"), from_utf8(format))
|
||||||
: bformat(_("Error " + msg + " format: %1$s"), from_utf8(format));
|
: bformat(_("Error while exporting format: %1$s"), from_utf8(format));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user