]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.cpp
Make listings dialog translatable (mostly strings from InsetListingsParams), fix...
[lyx.git] / src / insets / InsetFoot.cpp
index 21d32ac8ac5031226adf1f166fabe30ee1d2c9b3..4c0a95999ab78518baece08a196bcd3fd4f76ca4 100644 (file)
 
 #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)
-#include "LyXLayout.h"
+#include "Layout.h"
 #include "OutputParams.h"
 #include "Paragraph.h"
 #include "paragraph_funcs.h"
@@ -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]";