diff --git a/common/translation.cpp b/common/translation.cpp index 13835fa3180..b1599db0775 100644 --- a/common/translation.cpp +++ b/common/translation.cpp @@ -164,12 +164,6 @@ U32String TranslationManager::getTranslation(const char *message, const char *co return U32String(message); } -String TranslationManager::getCurrentCharset() const { - if (_currentCharset.empty()) - return "ASCII"; - return _currentCharset; -} - String TranslationManager::getCurrentLanguage() const { if (_currentLang == -1) return "en"; diff --git a/common/translation.h b/common/translation.h index 1b47ad0a470..583718aac23 100644 --- a/common/translation.h +++ b/common/translation.h @@ -182,11 +182,6 @@ public: */ const TLangArray getSupportedLanguageNames() const; - /** - * Return the charset specified by the selected translation language. - */ - String getCurrentCharset() const; - /** * Return the currently selected translation language. */