19 MSGID_PLURAL_FOUND = 2
44 std::vector<CStrEntry> msgStrPlural;
58 bool LoadFile(
const std::string &pofilename);
91 void ParseEntry(
bool bisSourceLang);
96 const std::string&
GetMsgctxt()
const {
return m_Entry.msgCtxt.Str;}
101 const std::string&
GetMsgid()
const {
return m_Entry.msgID.Str;}
106 const std::string&
GetMsgstr()
const {
return m_Entry.msgStr.Str;}
112 const std::string& GetPlurMsgstr (
size_t plural)
const;
121 std::string UnescapeString(
const std::string &strInput);
129 bool FindLineStart(
const std::string &strToFind,
size_t &FoundPos);
148 void ConvertLineEnds(
const std::string &filename);
151 std::string m_strBuffer;
153 size_t m_POfilelength;
158 size_t m_nextEntryPos;
uint32_t GetEntryID() const
Parses the numeric ID from current entry. This function can only be called right after GetNextEntry()...
Definition: POUtils.h:83
int GetEntryType() const
Gets the type of entry found with GetNextEntry.
Definition: POUtils.h:76
const std::string & GetMsgstr() const
Gets the msgstr string previously parsed by ParseEntry().
Definition: POUtils.h:106
const std::string & GetMsgid() const
Gets the msgid string previously parsed by ParseEntry().
Definition: POUtils.h:101
const std::string & GetMsgctxt() const
Gets the msgctxt string previously parsed by ParseEntry().
Definition: POUtils.h:96