- 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:
Uwe Stöhr 2010-05-15 02:58:23 +00:00
parent 27c79955e9
commit 1ef3692019
2 changed files with 3 additions and 3 deletions

View File

@ -532,7 +532,7 @@ string BufferParams::readToken(Lexer & lex, string const & token,
docstring desc =
translateIfPossible(from_utf8(baseClass()->description()));
docstring const msg =
bformat(_("The document class requested\n"
bformat(_("The used document class\n"
"\t%1$s\n"
"requires external files that are not available.\n"
"The document class can still be used, but LyX\n"

View File

@ -671,7 +671,7 @@ void GuiView::closeEvent(QCloseEvent * close_event)
LYXERR(Debug::DEBUG, "GuiView::closeEvent()");
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);
return;
}
@ -2286,7 +2286,7 @@ bool GuiView::closeWorkArea(GuiWorkArea * wa, bool close_buffer)
Buffer & buf = wa->bufferView().buffer();
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;
}