]> git.lyx.org Git - features.git/commitdiff
* InsetInclude.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Sun, 11 Oct 2009 09:34:13 +0000 (09:34 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sun, 11 Oct 2009 09:34:13 +0000 (09:34 +0000)
- use bformat for syntactically proper translatable message.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31586 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetInclude.cpp

index 6a09af87a4f75058ecc6e8ff3c1ae503d3571d3d..1169dff4cebff9cdf9dd52475e72aed020ce97a0 100644 (file)
@@ -653,9 +653,9 @@ docstring InsetInclude::xhtml(odocstream & os, OutputParams const &rp) const
                makeAbsPath(to_utf8(params()["filename"]), onlyPath(parent_filename));
        if (!isLyXFilename(included_file.absFilename())) {
                frontend::Alert::warning(_("Unsupported Inclusion"),
-                                        _("LyX does not know how to include non-LyX files when "
-                                          "generating HTML output. Offending file: ") +
-                                           params()["filename"]);
+                                        bformat(_("LyX does not know how to include non-LyX files when "
+                                                  "generating HTML output. Offending file:\n%1$s"),
+                                                   params()["filename"]));
                return docstring();
        }