]> git.lyx.org Git - lyx.git/commitdiff
- BufferParams.cpp: change string to make it more clear (requested by Jean-Pierre)
authorUwe Stöhr <uwestoehr@web.de>
Sat, 15 May 2010 02:58:23 +0000 (02:58 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 15 May 2010 02:58:23 +0000 (02:58 +0000)
- GuiView.cpp: fix grammar/logic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34406 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferParams.cpp
src/frontends/qt4/GuiView.cpp

index 95f82a5464ed5c2c2f0c086df9f25c697ac9638a..8e0965cd363b4da623416382819a6422f0359bd4 100644 (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"
index cce924d56ae0c6201683e698c984804f52c1f7df..5c89e8dbed916661396d51f05c69f26fbc85a6ab 100644 (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;
        }