FloatList const & floats = buf.params().getLyXTextClass().floats();
FloatList::const_iterator it = floats[getCmdName()];
if (it != floats.end())
- return _(it->second.listName());
+ return buf.B_(it->second.listName());
else
return _("ERROR: Nonexistent float type!");
}
} else
lex.printError("InsetFloatList: Parse error: `$$Token'");
while (lex.isOK()) {
- lex.nextToken();
+ lex.next();
token = lex.getString();
if (token == "\\end_inset")
break;
}
} else {
os << "\\listof{" << getCmdName() << "}{"
- << cit->second.listName() << "}\n";
+ << buf.B_(cit->second.listName()) << "}\n";
}
} else {
os << "%%\\listof{" << getCmdName() << "}{"