Fix achievements RTL display
This commit is contained in:
parent
6e0b96c21f
commit
56aecdb692
@ -113,7 +113,7 @@ public:
|
||||
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; }
|
||||
// ------------------------------------------------------------------------
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user