]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetMarginal.cpp
Remove color dependency of framed note, fix bug 3598
[lyx.git] / src / insets / InsetMarginal.cpp
index aa0214f22f2fe0a936068633c4a9de4d75430ac8..52a4d83defddefe25fb260ecd90418eef07a2dd1 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "InsetMarginal.h"
 
+#include "Buffer.h"
 #include "gettext.h"
 #include "Paragraph.h"
 #include "OutputParams.h"
@@ -66,7 +67,7 @@ int InsetMarginal::latex(Buffer const & buf, odocstream & os,
 int InsetMarginal::plaintext(Buffer const & buf, odocstream & os,
                              OutputParams const & runparams) const
 {
-       os << '[' << _("margin") << ":\n";
+       os << '[' << buf.B_("margin") << ":\n";
        InsetText::plaintext(buf, os, runparams);
        os << "\n]";