]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.cpp
HyperlinkUi.ui:
[lyx.git] / src / TextClass.cpp
index 42e774756dff69f7e2e5c3bae25eae0194cbb4f3..7da1a9729e7c50ed479ef6b36e419a496ecaa728 100644 (file)
@@ -60,7 +60,7 @@ namespace lyx {
 // development/updatelayouts.sh script, to update the format of 
 // all of our layout files.
 //
-int const LAYOUT_FORMAT = 27;
+int const LAYOUT_FORMAT = 30;
        
 namespace {
 
@@ -104,7 +104,7 @@ bool layout2layout(FileName const & filename, FileName const & tempfile)
 }
 
 
-string translateRT(TextClass::ReadType rt) 
+string translateReadType(TextClass::ReadType rt) 
 {
        switch (rt) {
        case TextClass::BASECLASS:
@@ -274,7 +274,7 @@ TextClass::ReturnValues TextClass::readWithoutConv(FileName const & filename, Re
                return ERROR;
        }
 
-       LYXERR(Debug::TCLASS, "Reading " + translateRT(rt) + ": " +
+       LYXERR(Debug::TCLASS, "Reading " + translateReadType(rt) + ": " +
                to_utf8(makeDisplayPath(filename.absFileName())));
 
        // Define the plain layout used in table cells, ert, etc. Note that 
@@ -287,7 +287,7 @@ TextClass::ReturnValues TextClass::readWithoutConv(FileName const & filename, Re
        lexrc.setFile(filename);
        ReturnValues retval = read(lexrc, rt);
        
-       LYXERR(Debug::TCLASS, "Finished reading " + translateRT(rt) + ": " +
+       LYXERR(Debug::TCLASS, "Finished reading " + translateReadType(rt) + ": " +
                        to_utf8(makeDisplayPath(filename.absFileName())));
 
        return retval;
@@ -1299,9 +1299,10 @@ DocumentClass & DocumentClassBundle::makeDocumentClass(
                }
                if (!lm->isAvailable()) {
                        docstring const msg =
-                                               bformat(_("The module %1$s requires a package that is\n"
-                                               "not available in your LaTeX installation. LaTeX output\n"
-                                               "may not be possible.\n"), from_utf8(modName));
+                               bformat(_("The module %1$s requires a package that is\n"
+                               "not available in your LaTeX installation, or a converter\n"
+                               "you have not installed. LaTeX output may not be possible.\n"), 
+                               from_utf8(modName));
                        frontend::Alert::warning(_("Package not available"), msg);
                }
                FileName layout_file = libFileSearch("layouts", lm->getFilename());