aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/translation.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/translation.cpp b/common/translation.cpp
index 925da26407..1d8295f5a2 100644
--- a/common/translation.cpp
+++ b/common/translation.cpp
@@ -236,14 +236,30 @@ TranslationManager::~TranslationManager() {}
void TranslationManager::setLanguage(const char *lang) {}
+const char *TranslationManager::getLangById(int id) {
+ return "";
+}
+
+int TranslationManager::parseLanguage(const String lang) {
+ return kTranslationBuiltinId;
+}
+
const char *TranslationManager::getTranslation(const char *message) {
return message;
}
+String TranslationManager::getTranslation(const String &message) {
+ return message;
+}
+
const char *TranslationManager::convertTerm(const char *message) {
return message;
}
+const TLangArray TranslationManager::getSupportedLanguages() const {
+ return TLangArray();
+}
+
#endif // USE_TRANSLATION
} // End of namespace Common