]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.cpp
InsetListings: change the interface of diaplay function and allow AlignLeft. Applied...
[lyx.git] / src / insets / InsetWrap.cpp
index 9b64267694d625631c8c5a0c698ab3dfd0e0c2e8..10d12d096703bd0cb4a7a90541e1e33230c89c94 100644 (file)
@@ -194,7 +194,7 @@ int InsetWrap::latex(Buffer const & buf, odocstream & os,
 int InsetWrap::plaintext(Buffer const & buf, odocstream & os,
                          OutputParams const & runparams) const
 {
-       os << '[' << _("wrap") << ' ' << floatName(params_.type, buf.params()) << ":\n";
+       os << '[' << buf.B_("wrap") << ' ' << floatName(params_.type, buf.params()) << ":\n";
        InsetText::plaintext(buf, os, runparams);
        os << "\n]";
 
@@ -270,7 +270,7 @@ void InsetWrapMailer::string2params(string const & in, InsetWrapParams & params)
                return print_mailer_error("InsetWrapMailer", in, 1, name_);
 
        // This is part of the inset proper that is usually swallowed
-       // by LyXText::readInset
+       // by Text::readInset
        string id;
        lex >> id;
        if (!lex || id != "Wrap")