Skip to content

Commit

Permalink
Fix achievements RTL display
Browse files Browse the repository at this point in the history
  • Loading branch information
Flakebi committed Apr 25, 2015
1 parent 6e0b96c commit 56aecdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/achievements/achievement_info.hpp
Expand Up @@ -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; }
// ------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/states_screens/online_profile_achievements.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 56aecdb

Please sign in to comment.