Changing name of Ranks / Points
Thanks again for this amazing application and updating it to 2.2!
Quick issue I was hoping to get a little help with. I need to change the name of Ranks to Levels and Points to XP.
I tried using Locale.php to do this, and it works - kind of.
It works on the leaderboard panel. But, when I go to the Ranks page that outputs the Ranks list, it still has "All Ranks" at the top of the list and when it outputs the "This rank will be awarded once your account has 100 points" it still has points.
So, wondering if there's a good way to switch that page up so it outputs All Levels and This rank will be awarded once your account has 100 XP.
Or, just point me in the direction of the file that outputs this page and which parts I need to change. I looked all around but can't seem to find the right file.
Thanks!
Comments
This file should have all translations: https://github.com/hgtonight/Application-Yaga/blob/master/locale/en-CA.php
Copy the definitions you want to override to your
/conf/locale.php
file and change how you see fit.Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Brilliant. This is exactly what I need!
@hgtonight on the Badges page, what outputs the # points that are awarded? Can't seem to find that definition.
If I am not mistaken....
I scanned the yaga/views/badges.php
\
it looks like it is not translateable - you would need to change the word "points." manually.
might need refactor this in eventually into the code.
Wrap($Badge->AwardValue . t(' points.'), 'span',
hope that helped.
Issue filed: https://github.com/hgtonight/Application-Yaga/issues/131
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
no problem. glad it helped you both.
Thanks, @nonce and @hgtonight