summaryrefslogtreecommitdiff
path: root/src/utils/translation/podict.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/translation/podict.cpp')
-rw-r--r--src/utils/translation/podict.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/translation/podict.cpp b/src/utils/translation/podict.cpp
index 37b1b2fe8..56fd42467 100644
--- a/src/utils/translation/podict.cpp
+++ b/src/utils/translation/podict.cpp
@@ -54,3 +54,8 @@ const char *PoDict::getChar(const char *const str)
return str;
return mPoLines[str].c_str();
}
+
+bool PoDict::haveStr(const std::string &str) const
+{
+ return mPoLines.find(str) != mPoLines.end();
+}