mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
- BufferParams.cpp: change string to make it more clear (requested by Jean-Pierre)
- GuiView.cpp: fix grammar/logic git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34406 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
27c79955e9
commit
1ef3692019
@ -532,7 +532,7 @@ string BufferParams::readToken(Lexer & lex, string const & token,
|
|||||||
docstring desc =
|
docstring desc =
|
||||||
translateIfPossible(from_utf8(baseClass()->description()));
|
translateIfPossible(from_utf8(baseClass()->description()));
|
||||||
docstring const msg =
|
docstring const msg =
|
||||||
bformat(_("The document class requested\n"
|
bformat(_("The used document class\n"
|
||||||
"\t%1$s\n"
|
"\t%1$s\n"
|
||||||
"requires external files that are not available.\n"
|
"requires external files that are not available.\n"
|
||||||
"The document class can still be used, but LyX\n"
|
"The document class can still be used, but LyX\n"
|
||||||
|
@ -671,7 +671,7 @@ void GuiView::closeEvent(QCloseEvent * close_event)
|
|||||||
LYXERR(Debug::DEBUG, "GuiView::closeEvent()");
|
LYXERR(Debug::DEBUG, "GuiView::closeEvent()");
|
||||||
|
|
||||||
if (!GuiViewPrivate::busyBuffers.isEmpty()) {
|
if (!GuiViewPrivate::busyBuffers.isEmpty()) {
|
||||||
Alert::warning(_("Exit LyX"), _("Could not exit LyX, because documents are processed by LyX."));
|
Alert::warning(_("Exit LyX"), _("LyX could not be closed because documents are processed by LyX."));
|
||||||
close_event->setAccepted(false);
|
close_event->setAccepted(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -2286,7 +2286,7 @@ bool GuiView::closeWorkArea(GuiWorkArea * wa, bool close_buffer)
|
|||||||
Buffer & buf = wa->bufferView().buffer();
|
Buffer & buf = wa->bufferView().buffer();
|
||||||
|
|
||||||
if (close_buffer && GuiViewPrivate::busyBuffers.contains(&buf)) {
|
if (close_buffer && GuiViewPrivate::busyBuffers.contains(&buf)) {
|
||||||
Alert::warning(_("Close document "), _("Could not close document, because it is processed by LyX."));
|
Alert::warning(_("Close document "), _("Document could not be closed because it is processed by LyX."));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user