+2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * MenuBackend.C (expandToc): gettext on float names.
+
2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
-
- * lyxlength.[Ch]: set default unit to UNIT_NONE,
- implement bool empty() [bug 490]
-
+
+ * lyxlength.[Ch]: set default unit to UNIT_NONE,
+ implement bool empty() [bug 490]
+
2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
* text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
label, ccit->action()));
}
MenuItem item(MenuItem::Submenu,
- floats[cit->first]->second.name());
+ _(floats[cit->first]->second.name()));
item.submenu(menu);
tomenu.add(item);
}
+2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * insetfloat.C (addToToc): use the floats name not its type
+ * insetwrap.C (addToToc): ditto
+
2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetnote.C (init): make label font smaller
2002-12-04 John Levon <levon@movementarian.org>
* insetinclude.C: ressurect setting of command name
-
+
2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
* insetquotes.C (dispString): disambiguate insert call
Paragraph * tmp = *pit;
if (tmp->layout()->name() == caplayout) {
+ string const name = floatname(type(), buf->params);
string const str =
- tostr(toclist[type()].size() + 1)
+ tostr(toclist[name].size() + 1)
+ ". " + tmp->asString(buf, false);
toc::TocItem const item(tmp, 0 , str);
- toclist[type()].push_back(item);
+ toclist[name].push_back(item);
}
}
}
Paragraph * tmp = inset.paragraph();
while (tmp) {
if (tmp->layout()->name() == caplayout) {
+ string const name = floatname(type(), buf->params);
string const str =
- tostr(toclist[type()].size() + 1)
+ tostr(toclist[name].size() + 1)
+ ". " + tmp->asString(buf, false);
toc::TocItem const item(tmp, 0 , str);
- toclist[type()].push_back(item);
+ toclist[name].push_back(item);
}
tmp = tmp->next();
}