- use bformat for proper syntactic translatability
(the tooltips of this inset look rather weird in generals, though).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27242
a592a061-630c-0410-9148-
cb99ea01b6c8
docstring InsetInfo::toolTip(BufferView const &, int, int) const
{
- odocstringstream os;
- os << _("Information regarding ")
- << _(infoType()) << " " << from_utf8(name_);
- return os.str();
+ return bformat(_("Information regarding %1$s '%2$s'"),
+ _(infoType()), from_utf8(name_));
}