]> git.lyx.org Git - features.git/commitdiff
Generate a proper error dialog title for XeTeX/LuaTeX
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 10 Jul 2016 09:14:03 +0000 (11:14 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 10 Jul 2016 09:14:03 +0000 (11:14 +0200)
(see bug #10013)

Candidate for stable

src/frontends/qt4/GuiErrorList.cpp

index cf3a300925055bad4a476590137c69c39bb71368..fdc334f282fadac4e293f67088b30a63078494e2 100644 (file)
@@ -46,7 +46,9 @@ string const guiErrorType(string const & s)
                return N_("Literate");
        else if (s == "platex")
                return N_("pLaTeX");
-       else if (s == "latex")
+       else if (s == "latex" || "xetex")
+               // All LaTeX variants except pLaTeX
+               // (LaTeX, PDFLaTeX, XeTeX, LuaTeX)
                return N_("LaTeX");
        return s;
 }