]> git.lyx.org Git - features.git/commitdiff
Fix bug #7045.
authorRichard Heck <rgheck@comcast.net>
Fri, 26 Nov 2010 17:11:02 +0000 (17:11 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 26 Nov 2010 17:11:02 +0000 (17:11 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36518 a592a061-630c-0410-9148-cb99ea01b6c8

src/Converter.cpp

index f5102fee48c2a889317a8f1b32593f48af0227bd..24acd22be85158976e6ff8e0b89c5ab8fde9cf86 100644 (file)
@@ -472,8 +472,8 @@ bool Converters::convert(Buffer const * buffer,
 // FIXME: this should go out of here. For example, here we cannot say if
 // it is a document (.lyx) or something else. Same goes for elsewhere.
                                        Alert::error(_("Cannot convert file"),
-                                               bformat(_("An error occurred whilst running %1$s"),
-                                               from_utf8(command.substr(0, 50))));
+                                               bformat(_("An error occurred while running:\n%1$s"),
+                                               wrapParas(from_utf8(command))));
                                }
                                return false;
                        }