From 4fddff272fcc76c45a3ecd7259e353bb3242e45c Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 17 Apr 2007 17:57:57 +0000 Subject: [PATCH] Fix for bug 3321. Changed error message. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17844 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/bufferparams.C | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bufferparams.C b/src/bufferparams.C index 2bdcf37fb4..16e787321c 100644 --- a/src/bufferparams.C +++ b/src/bufferparams.C @@ -435,8 +435,12 @@ string const BufferParams::readToken(LyXLex & lex, string const & token) // the layout file will be correctly loaded later. if (!getLyXTextClass().isTeXClassAvailable()) { docstring const msg = - bformat(_("The document uses a missing " - "TeX class \"%1$s\".\n"), from_utf8(classname)); + bformat(_("The layout file requested by this document,\n" + "%1$s.layout,\n" + "is not usable. This is probably because a LaTeX\n" + "class or style file required by it is not\n" + "available. See the Customization documentation\n" + "for more information.\n"), from_utf8(classname)); Alert::warning(_("Document class not available"), msg + _("LyX will not be able to produce output.")); } -- 2.39.2