Merge pull request #4733 from remmz0r/gemDisplay

Gem Display Text in Modals (new) - Fixes #4645
This commit is contained in:
Blade Barringer 2015-02-22 13:17:47 -05:00
commit a2eda6c91a
2 changed files with 2 additions and 2 deletions

View file

@ -38,6 +38,7 @@
"alreadyHave": "Whoops! You already have this item. No need to buy it again!",
"delete": "Delete",
"gems": "Gems",
"gemButton": "You have <%= number %> Gems.",
"moreInfo": "More Info",
"gemsWhatFor": "Purchased using real money. Used for buying special items and services (eggs, hatching potions, Fortify, etc.). You'll need to unlock those features before being able to use Gems.",
"veteran": "Veteran",

View file

@ -4,8 +4,7 @@ mixin gemButton(isGemsModal)
span.task-action-btn.tile.flush.bright.add-gems-btn
span.task-action-btn.tile.flush.neutral
.Pet_Currency_Gem2x.Gems
| {{user.balance * 4 | number:0}}
=env.t('gems')
=env.t('gemButton', {number: '{{user.balance * 4 | number:0}}'})
mixin aLink(url, label)
if mobile