#include "debug.h"
#include "gettext.h"
#include "lastfiles.h"
+#include "lyx_main.h" // for lastfiles
#include "bufferlist.h"
#include "converter.h"
#include "exporter.h"
#include "support/lstrings.h"
extern LyXAction lyxaction;
-extern LastFiles * lastfiles;
extern BufferList bufferlist;
using std::endl;
}
}
+
string const MenuItem::label() const
{
return token(label_, '|', 0);
}
+
string const MenuItem::shortcut() const
{
return token(label_, '|', 1);
}
}
+
namespace {
class compare_format {
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));
}