From: Uwe Stöhr Date: Sat, 15 May 2010 02:58:23 +0000 (+0000) Subject: - BufferParams.cpp: change string to make it more clear (requested by Jean-Pierre) X-Git-Tag: 2.0.0~3266 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1ef36920192e3e005069495a098ba1f3702ef174;p=lyx.git - 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 --- diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 95f82a5464..8e0965cd36 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -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" diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index cce924d56a..5c89e8dbed 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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; }