mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
fix(event): Localize poems
This commit is contained in:
parent
6a6a4a0e57
commit
9fddb08aeb
1 changed files with 7 additions and 16 deletions
|
|
@ -8,22 +8,13 @@ script(id='modals/valentine.html', type='text/ng-template')
|
|||
.bg-info(style='padding:10px')
|
||||
p To: {{user.profile.name}}, From: {{user.items.special.valentineReceived[0]}}
|
||||
hr
|
||||
div(ng-switch='Math.floor(Math.random()*3)')
|
||||
ul.list-unstyled(ng-switch-when='0')
|
||||
li "Roses are red
|
||||
li My Dailies are blue
|
||||
li I'm happy that I'm
|
||||
li In a Party with you!"
|
||||
ul.list-unstyled(ng-switch-when='1')
|
||||
li "Roses are red
|
||||
li Violets are nice
|
||||
li Let's get together
|
||||
li And fight against Vice!"
|
||||
ul.list-unstyled(ng-switch-default)
|
||||
li "Roses are red
|
||||
li This poem style is old
|
||||
li I hope that you like this
|
||||
li Cuz it cost ten gold."
|
||||
ul.list-unstyled(ng-switch='::Math.floor(Math.random()*3)')
|
||||
li(ng-switch-when='0')
|
||||
=env.t('valentine0')
|
||||
li(ng-switch-when='1')
|
||||
=env.t('valentine1')
|
||||
li(ng-switch-default)
|
||||
=env.t('valentine2')
|
||||
p
|
||||
small For enduring such a saccharine poem, you both receive the "Adoring Friends" badge!
|
||||
.modal-footer
|
||||
|
|
|
|||
Loading…
Reference in a new issue