]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.cpp
Choose a delimiter for lstinline (braces can not be used for some listings version)
[lyx.git] / src / insets / InsetFoot.cpp
index bdf967553d7579b1192e1d00d3860ce2c3c43442..4c0a95999ab78518baece08a196bcd3fd4f76ca4 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "InsetFoot.h"
 
+#include "Buffer.h"
 #include "gettext.h"
 // the following are needed just to get the layout of the enclosing
 // paragraph. This seems a bit too much to me (JMarc)
@@ -82,7 +83,7 @@ int InsetFoot::latex(Buffer const & buf, odocstream & os,
 int InsetFoot::plaintext(Buffer const & buf, odocstream & os,
                          OutputParams const & runparams) const
 {
-       os << '[' << _("footnote") << ":\n";
+       os << '[' << buf.B_("footnote") << ":\n";
        InsetText::plaintext(buf, os, runparams);
        os << "\n]";