From: Richard Kimberly Heck Date: Wed, 25 Apr 2018 15:52:21 +0000 (-0400) Subject: Improve error message. X-Git-Tag: 2.3.1~108 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=13354c4a5357b3ce0350b1766de20a4dfa1248fb;p=features.git Improve error message. (cherry picked from commit 04f71516841ff8108c9d5d9d7b8ab2bfa6952f31) --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index d3e7e6b465..42fc7bb100 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -4356,7 +4356,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; diff --git a/status.23x b/status.23x index af3b8517e6..666a80648b 100644 --- a/status.23x +++ b/status.23x @@ -222,6 +222,8 @@ What's new - Fix crash when canceling entry of macro name in a mathed subscript (bug 11125). +- Improve error message when document path contains spaces. + * INTERNALS