summaryrefslogtreecommitdiff
path: root/src/utils/translation
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/translation')
-rw-r--r--src/utils/translation/poparser.cpp2
-rw-r--r--src/utils/translation/poparser.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/translation/poparser.cpp b/src/utils/translation/poparser.cpp
index abe9fdf26..f0ab95005 100644
--- a/src/utils/translation/poparser.cpp
+++ b/src/utils/translation/poparser.cpp
@@ -226,7 +226,7 @@ PoDict *PoParser::getEmptyDict()
return new PoDict("");
}
-bool PoParser::checkLang(std::string lang) const
+bool PoParser::checkLang(std::string lang)
{
// check is po file exists
const ResourceManager *const resman = ResourceManager::getInstance();
diff --git a/src/utils/translation/poparser.h b/src/utils/translation/poparser.h
index b4dc8a6bd..08a6ac7b1 100644
--- a/src/utils/translation/poparser.h
+++ b/src/utils/translation/poparser.h
@@ -39,7 +39,7 @@ class PoParser final
const std::string &restrict fileName = "",
PoDict *restrict const dict = nullptr);
- bool checkLang(std::string lang) const;
+ static bool checkLang(std::string lang);
static PoDict *getEmptyDict();