From: Angus Leeming Date: Thu, 16 Aug 2001 10:28:56 +0000 (+0000) Subject: John's patch resulting in grammatically correct but clumsy names for X-Git-Tag: 1.6.10~20822 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=10231c3538178c9472ea9448d86b0d40765cd24c;p=features.git John's patch resulting in grammatically correct but clumsy names for the various lists of floats. Awaiting Dekel's fix to add a multilingual plural to the float name ;-) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2523 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index b585260753..8bbdf52891 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -21,6 +21,10 @@ * lyxfunc.C: remove unneeded assert, fix typo +2001-08-16 John Levon + + * MenuBackend.C: use "Floatname List" + 2001-08-14 Dekel Tsur * buffer.C (parseSingleLyXformat2Token): Do not generate errors diff --git a/src/MenuBackend.C b/src/MenuBackend.C index 4f44e3fa60..2525758134 100644 --- a/src/MenuBackend.C +++ b/src/MenuBackend.C @@ -366,8 +366,7 @@ void Menu::expand(Menu & tomenu, Buffer * buf) const int const action = lyxaction .getPseudoAction(LFUN_FLOAT_LIST, cit->second.type()); - string label = _("List of "); - label += cit->second.name(); + string const label = cit->second.name() + _(" List"); tomenu.add(MenuItem(MenuItem::Command, label, action)); } diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index ce461cfbb5..27f4ab5c95 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -6,6 +6,10 @@ * inset.h: added more FINISHED states for cursor right,up,down +2001-08-16 John Levon + + * insetfloatlist.C: use "FloatName List" + 2001-08-14 Juergen Vigna * insetert.C (edit): forgot to set status_ in edit calls! diff --git a/src/insets/insetfloatlist.C b/src/insets/insetfloatlist.C index f6378fa87c..4d63ab69cc 100644 --- a/src/insets/insetfloatlist.C +++ b/src/insets/insetfloatlist.C @@ -16,7 +16,7 @@ string const InsetFloatList::getScreenLabel(Buffer const *) const { string const guiName = floatList[float_type]->second.name(); if (!guiName.empty()) { - string const res = _("List of ") + guiName; + string const res = guiName + _(" List"); return res; } return _("ERROR nonexistant float type!");