From cddf32f1527c0786d93cad080b624c9c20932b6f Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 2 Nov 2010 20:31:52 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/Menus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())));