Generate a proper error dialog title for XeTeX/LuaTeX

(see bug #10013)

Candidate for stable
This commit is contained in:
Juergen Spitzmueller 2016-07-10 11:14:03 +02:00
parent 6bcbd907a4
commit 65173b26d5

View File

@ -46,7 +46,9 @@ string const guiErrorType(string const & s)
return N_("Literate"); return N_("Literate");
else if (s == "platex") else if (s == "platex")
return N_("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 N_("LaTeX");
return s; return s;
} }