#include "gettext.h"
#include "debug.h"
+
+using std::ostream;
using std::endl;
+
InsetFloatList::InsetFloatList()
: InsetCommand(InsetCommandParams())
{
}
-
+
InsetFloatList::InsetFloatList(string const & type)
: InsetCommand(InsetCommandParams())
{
}
-string const InsetFloatList::getScreenLabel(Buffer const *) const
+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!");
}
-void InsetFloatList::write(Buffer const *, std::ostream & os) const
+void InsetFloatList::write(Buffer const *, ostream & os) const
{
os << "FloatList " << getCmdName() << "\n";
}
-void InsetFloatList::read(Buffer const *, LyXLex & lex)
+void InsetFloatList::read(Buffer const *, LyXLex & lex)
{
string token;
}
-int InsetFloatList::latex(Buffer const *, std::ostream & os, bool, bool) const
+int InsetFloatList::latex(Buffer const *, ostream & os, bool, bool) const
{
FloatList::const_iterator cit = floatList[getCmdName()];
}
-int InsetFloatList::ascii(Buffer const * buffer, std::ostream & os, int) const
+int InsetFloatList::ascii(Buffer const * buffer, ostream & os, int) const
{
os << getScreenLabel(buffer) << "\n\n";