- indicate branch status in the tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29197
a592a061-630c-0410-9148-
cb99ea01b6c8
#include "support/debug.h"
#include "support/gettext.h"
+#include "support/lstrings.h"
#include "frontends/Application.h"
docstring InsetBranch::toolTip(BufferView const &, int, int) const
{
- return _("Branch: ") + params_.branch;
+ docstring const status = isBranchSelected() ?
+ _("active") : _("non-active");
+ return support::bformat(_("Branch (%1$s): %2$s"),
+ status,
+ params_.branch);
}