Use bformat so we get RTL etc correct here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36005 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-11-02 20:31:52 +00:00
parent 189bad70ac
commit cddf32f152

View File

@ -1393,8 +1393,8 @@ void MenuDefinition::expandIndicesContext(Buffer const * buf, bool listof)
addWithStatusCheck(MenuItem(MenuItem::Command, toqstr(cit->index()),
FuncRequest(LFUN_INSET_MODIFY, data)));
} else {
docstring label = _("Index Entry");
label += " (" + cit->index() + ")";
docstring const label =
bformat(_("Index Entry (%1$s)"), cit->index());
addWithStatusCheck(MenuItem(MenuItem::Command, toqstr(label),
FuncRequest(LFUN_INSET_MODIFY,
from_ascii("changetype ") + cit->shortcut())));