diff options
Diffstat (limited to 'src/utils/translation/poparser.cpp')
-rw-r--r-- | src/utils/translation/poparser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/translation/poparser.cpp b/src/utils/translation/poparser.cpp index 76dae99a5..abe9fdf26 100644 --- a/src/utils/translation/poparser.cpp +++ b/src/utils/translation/poparser.cpp @@ -214,7 +214,7 @@ bool PoParser::readMsgStr() return false; } -bool PoParser::checkLine() +bool PoParser::checkLine() const { const size_t sz = mLine.size(); // check is line in format: "text" @@ -233,7 +233,7 @@ bool PoParser::checkLang(std::string lang) const return resman->exists(getFileName(lang)); } -std::string PoParser::getFileName(std::string lang) const +std::string PoParser::getFileName(std::string lang) { // get po file name from lang name // logger->log("getFileName: translations/%s.po", lang.c_str()); @@ -245,7 +245,7 @@ PoDict *PoParser::getDict() const return new PoDict(mLang); } -void PoParser::convertStr(std::string &str) const +void PoParser::convertStr(std::string &str) { if (str.empty()) return; |