]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
Remove color dependency of framed note, fix bug 3598
[lyx.git] / src / insets / InsetBranch.cpp
index 51758724bf605a3dc7adfbd958415a32e424085c..2ca92f23cd23b7d4b95779affd1b0bb8cec53aec 100644 (file)
@@ -235,7 +235,7 @@ int InsetBranch::plaintext(Buffer const & buf, odocstream & os,
        if (!isBranchSelected(buf))
                return 0;
 
-       os << '[' << _("branch") << ' ' << params_.branch << ":\n";
+       os << '[' << buf.B_("branch") << ' ' << params_.branch << ":\n";
        InsetText::plaintext(buf, os, runparams);
        os << "\n]";
 
@@ -304,7 +304,7 @@ void InsetBranchMailer::string2params(string const & in,
                return print_mailer_error("InsetBranchMailer", 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 != "Branch")