diff --git a/src/achievements/achievement_info.hpp b/src/achievements/achievement_info.hpp index d79caa2d08a..fa3e3d24ce4 100644 --- a/src/achievements/achievement_info.hpp +++ b/src/achievements/achievement_info.hpp @@ -113,7 +113,7 @@ class AchievementInfo irr::core::stringw getDescription() const { return _(m_description.c_str()); } // ------------------------------------------------------------------------ /** Returns the name of this achievement. */ - irr::core::stringw getName() const { return _(m_name.c_str()); } + irr::core::stringw getName() const { return _LTR(m_name.c_str()); } // ------------------------------------------------------------------------ bool needsResetAfterRace() const { return m_reset_type == AFTER_RACE; } // ------------------------------------------------------------------------ diff --git a/src/states_screens/online_profile_achievements.cpp b/src/states_screens/online_profile_achievements.cpp index 0cddada2603..7e660ca5f8c 100644 --- a/src/states_screens/online_profile_achievements.cpp +++ b/src/states_screens/online_profile_achievements.cpp @@ -107,7 +107,7 @@ void BaseOnlineProfileAchievements::init() const Achievement *a = it->second; if(a->getInfo()->isSecret() && !a->isAchieved()) continue; - ListWidget::ListCell title(a->getInfo()->getName(), -1, 2); + ListWidget::ListCell title(translations->fribidize(a->getInfo()->getName()), -1, 2); ListWidget::ListCell progress(a->getProgressAsString(), -1, 1); row.push_back(title); row.push_back(progress);