mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Immediate but dumb partial fix for #7044.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36385 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d748a0a6f1
commit
db5713332a
@ -1299,9 +1299,10 @@ DocumentClass & DocumentClassBundle::makeDocumentClass(
|
|||||||
}
|
}
|
||||||
if (!lm->isAvailable()) {
|
if (!lm->isAvailable()) {
|
||||||
docstring const msg =
|
docstring const msg =
|
||||||
bformat(_("The module %1$s requires a package that is\n"
|
bformat(_("The module %1$s requires a package that is\n"
|
||||||
"not available in your LaTeX installation. LaTeX output\n"
|
"not available in your LaTeX installation, or a converter\n"
|
||||||
"may not be possible.\n"), from_utf8(modName));
|
"you have not installed. LaTeX output may not be possible.\n"),
|
||||||
|
from_utf8(modName));
|
||||||
frontend::Alert::warning(_("Package not available"), msg);
|
frontend::Alert::warning(_("Package not available"), msg);
|
||||||
}
|
}
|
||||||
FileName layout_file = libFileSearch("layouts", lm->getFilename());
|
FileName layout_file = libFileSearch("layouts", lm->getFilename());
|
||||||
|
Loading…
Reference in New Issue
Block a user