mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
Merge pull request #4733 from remmz0r/gemDisplay
Gem Display Text in Modals (new) - Fixes #4645
This commit is contained in:
commit
a2eda6c91a
2 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue