forked from oerkki/voxelands
dodgey intl fixish
This commit is contained in:
parent
849950830d
commit
cd4d027755
|
@ -2812,6 +2812,14 @@ void ClosedBookNodeMetadata::serializeBody(std::ostream &os)
|
||||||
os<<serializeString(m_content);
|
os<<serializeString(m_content);
|
||||||
os<<itos(m_page) << " ";
|
os<<itos(m_page) << " ";
|
||||||
}
|
}
|
||||||
|
std::string ClosedBookNodeMetadata::getText()
|
||||||
|
{
|
||||||
|
return gettext(m_title.c_str());
|
||||||
|
}
|
||||||
|
std::wstring ClosedBookNodeMetadata::infoText()
|
||||||
|
{
|
||||||
|
return narrow_to_wide(gettext(m_title.c_str()eeeeeee));
|
||||||
|
}
|
||||||
bool ClosedBookNodeMetadata::nodeRemovalDisabled()
|
bool ClosedBookNodeMetadata::nodeRemovalDisabled()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -566,8 +566,8 @@ public:
|
||||||
NodeMetadata* clone();
|
NodeMetadata* clone();
|
||||||
static NodeMetadata* create(std::istream &is);
|
static NodeMetadata* create(std::istream &is);
|
||||||
virtual void serializeBody(std::ostream &os);
|
virtual void serializeBody(std::ostream &os);
|
||||||
virtual std::string getText() {return m_title;}
|
virtual std::string getText();
|
||||||
virtual std::wstring infoText() {return narrow_to_wide(m_title);}
|
virtual std::wstring infoText();
|
||||||
virtual bool nodeRemovalDisabled();
|
virtual bool nodeRemovalDisabled();
|
||||||
virtual bool import(NodeMetadata *meta);
|
virtual bool import(NodeMetadata *meta);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue