diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index d9a223ec97..bdf75caade 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -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())));