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
This commit is contained in:
Angus Leeming 2001-08-16 10:28:56 +00:00
parent ab09cf6fc9
commit 10231c3538
4 changed files with 10 additions and 3 deletions

View File

@ -21,6 +21,10 @@
* lyxfunc.C: remove unneeded assert, fix typo
2001-08-16 John Levon <moz@compsoc.man.ac.uk>
* MenuBackend.C: use "Floatname List"
2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
* buffer.C (parseSingleLyXformat2Token): Do not generate errors

View File

@ -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));
}

View File

@ -6,6 +6,10 @@
* inset.h: added more FINISHED states for cursor right,up,down
2001-08-16 John Levon <moz@compsoc.man.ac.uk>
* insetfloatlist.C: use "FloatName List"
2001-08-14 Juergen Vigna <jug@sad.it>
* insetert.C (edit): forgot to set status_ in edit calls!

View File

@ -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!");