COMMON: Remove unused and useless getCurrentCharset in TransMan

Now all translations use unicode.
This commit is contained in:
Thierry Crozat 2021-09-20 21:46:01 +01:00
parent f3829243a1
commit 32d4173fda
2 changed files with 0 additions and 11 deletions

View file

@ -164,12 +164,6 @@ U32String TranslationManager::getTranslation(const char *message, const char *co
return U32String(message); return U32String(message);
} }
String TranslationManager::getCurrentCharset() const {
if (_currentCharset.empty())
return "ASCII";
return _currentCharset;
}
String TranslationManager::getCurrentLanguage() const { String TranslationManager::getCurrentLanguage() const {
if (_currentLang == -1) if (_currentLang == -1)
return "en"; return "en";

View file

@ -182,11 +182,6 @@ public:
*/ */
const TLangArray getSupportedLanguageNames() const; const TLangArray getSupportedLanguageNames() const;
/**
* Return the charset specified by the selected translation language.
*/
String getCurrentCharset() const;
/** /**
* Return the currently selected translation language. * Return the currently selected translation language.
*/ */