mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Improve error message.
This commit is contained in:
parent
389352b3fb
commit
04f7151684
@ -4363,7 +4363,9 @@ Buffer::ExportStatus Buffer::doExport(string const & target, bool put_in_tempdir
|
||||
} else if (!lyxrc.tex_allows_spaces
|
||||
&& contains(filePath(), ' ')) {
|
||||
Alert::error(_("File name error"),
|
||||
_("The directory path to the document cannot contain spaces."));
|
||||
bformat(_("The directory path to the document\n%1$s\n"
|
||||
"contains spaces, but your TeX installation does "
|
||||
"not allow them."), from_ascii(filePath())));
|
||||
return ExportTexPathHasSpaces;
|
||||
} else {
|
||||
runparams.nice = false;
|
||||
|
Loading…
Reference in New Issue
Block a user