]> git.lyx.org Git - lyx.git/commitdiff
fix some non-localizable strings
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 28 Mar 2002 13:27:25 +0000 (13:27 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 28 Mar 2002 13:27:25 +0000 (13:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3861 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/MenuBackend.C
src/insets/ChangeLog
src/insets/insetfloatlist.C

index 9dc92e4d2d7a8b4b95df4058cdc91421548ee045..f1f26de529241c4489a4ec793afa316d2f98b7b7 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * MenuBackend.C (expand): another translation that I missed
+
 2002-03-28  Juergen Vigna  <jug@sad.it>
 
        * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
index 7c7cd00ffb484160181127762cc092d2a53bf98f..f094ef3ed8827c952080857663178d56b6715ad5 100644 (file)
@@ -377,7 +377,7 @@ void Menu::expand(Menu & tomenu, Buffer * buf) const
                                int const action =  lyxaction
                                        .getPseudoAction(LFUN_FLOAT_LIST,
                                                         cit->second.type());
-                               string const label = cit->second.name() + _(" List");
+                               string const label = _(cit->second.name()) + _(" List");
                                tomenu.add(MenuItem(MenuItem::Command,
                                                    label, action));
                        }
index b39b21599bb0560b2ab3698b83439f12cc00b96f..b4ed3da291ac8844a6b3f0d27dc783b85436c420 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
+
+       * insetfloatlist.C (getScreenLabel): translate the GUI label.
+
 2002-03-28  Juergen Vigna  <jug@sad.it>
 
        * insettabular.C (insetAllowed): return true as default value otherwise
index b73220a097161f969c3b4bd986a6fb2e225a0003..e40876460ef34a0686f9d84b3bc5e696f33a8b7f 100644 (file)
@@ -35,7 +35,7 @@ string const InsetFloatList::getScreenLabel(Buffer const *) const
 {
        string const guiName = floatList[getCmdName()]->second.name();
        if (!guiName.empty()) {
-               string const res = guiName + _(" List");
+               string const res = _(guiName) + _(" List");
                return res;
        }
        return _("ERROR: Nonexistent float type!");