mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
Market "Sell..." button: add spaces, remove bracket
Fix some text appearance issues:
- Use item.text instead of item.key so that users see "Tiger Cub" rather than "TigerCub".
- Remove unwanted ) from end of gold value so that users see "3 Gold" instead of "3) Gold". Bracket had been left over from the end of the old env.t(...) function call - see 4f07ab39b0
- Add spaces between words so that users see "Sell Fox for 3 Gold" instead of "SellFoxfor3Gold". There are other shorter/neater ways to insert those spaces, but making them really obvious with nbsp is probably the best way to ensure they don't get accidentally removed again.
This commit is contained in:
parent
51bff23885
commit
a0dad56a9b
1 changed files with 6 additions and 6 deletions
|
|
@ -80,21 +80,21 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html')
|
|||
p
|
||||
button.btn.btn-primary(ng-show='selectedEgg', ng-click='sellInventory()')
|
||||
=env.t('sell')
|
||||
| {{selectedEgg.key}}
|
||||
| {{selectedEgg.text}}
|
||||
=env.t('for')
|
||||
| {{selectedEgg.value}})
|
||||
| {{selectedEgg.value}}
|
||||
=env.t('gold')
|
||||
button.btn.btn-primary(ng-show='selectedPotion', ng-click='sellInventory()')
|
||||
=env.t('sell')
|
||||
| {{selectedPotion.key}}
|
||||
| {{selectedPotion.text}}
|
||||
=env.t('for')
|
||||
| {{selectedPotion.value}})
|
||||
| {{selectedPotion.value}}
|
||||
=env.t('gold')
|
||||
button.btn.btn-primary(ng-show='selectedFood', ng-click='sellInventory()')
|
||||
=env.t('sell')
|
||||
| {{selectedFood.key}}
|
||||
| {{selectedFood.text}}
|
||||
=env.t('for')
|
||||
| {{selectedFood.value}})
|
||||
| {{selectedFood.value}}
|
||||
=env.t('gold')
|
||||
menu.inventory-list(type='list')
|
||||
li.customize-menu
|
||||
|
|
|
|||
Loading…
Reference in a new issue