dodgey intl fixish

This commit is contained in:
darkrose 2016-04-18 04:10:06 +10:00
parent 849950830d
commit cd4d027755
2 changed files with 10 additions and 2 deletions

View File

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

View File

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