]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.cpp
BUG 3598: display framed and shaded notes in a separate paragraph, require package...
[lyx.git] / src / insets / InsetGraphics.cpp
index c4aaf12d1f57be44a399b0ff35fb41015f2117a9..ad144d2428af5c8d24704402bf51ddfafebb5f67 100644 (file)
@@ -807,7 +807,7 @@ int InsetGraphics::latex(Buffer const & buf, odocstream & os,
 }
 
 
-int InsetGraphics::plaintext(Buffer const &, odocstream & os,
+int InsetGraphics::plaintext(Buffer const & buf, odocstream & os,
                              OutputParams const &) const
 {
        // No graphics in ascii output. Possible to use gifscii to convert
@@ -818,7 +818,7 @@ int InsetGraphics::plaintext(Buffer const &, odocstream & os,
        // FIXME UNICODE
        // FIXME: We have no idea what the encoding of the filename is
 
-       docstring const str = bformat(_("Graphics file: %1$s"),
+       docstring const str = bformat(buf.B_("Graphics file: %1$s"),
                                      from_utf8(params().filename.absFilename()));
        os << '<' << str << '>';