diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/translation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/translation.cpp b/common/translation.cpp index 3512edb494..9e81816234 100644 --- a/common/translation.cpp +++ b/common/translation.cpp @@ -451,7 +451,7 @@ String TranslationManager::getLangById(int id) const { return String(); } -int TranslationManager::parseLanguage(const String lang) const { +int TranslationManager::parseLanguage(const String &lang) const { return kTranslationBuiltinId; } @@ -479,7 +479,7 @@ String TranslationManager::getCurrentCharset() const { return "ASCII"; } -String *TranslationManager::getCurrentLanguage() const { +String TranslationManager::getCurrentLanguage() const { return "C"; } |