diff --git a/views/shared/modals/achievements.jade b/views/shared/modals/achievements.jade
index ef14be21bf..b8f4982d82 100644
--- a/views/shared/modals/achievements.jade
+++ b/views/shared/modals/achievements.jade
@@ -1,54 +1,59 @@
-
// Streak
div(modal='modals.achievements.streak')
.modal-header
- h3 Achievement!
+ h3=env.t('modalAchievement')
.modal-body
.achievement.achievement-thermometer
- | You have stacked your "Streaker" Achievement! Every 21 days of streak, you gain 1 achievement point here.
+ =env.t('streakerAchievement')
.modal-footer
- button.btn.btn-default.cancel(ng-click='modals.achievements.streak = false') OK
+ button.btn.btn-default.cancel(ng-click='modals.achievements.streak = false')=env.t('ok')
// Max Gear
div(modal='modals.achievements.ultimateGear')
.modal-header
- h3 Achievement!
+ h3=env.t('modalAchievement')
.modal-body
.achievement.achievement-armor
- | You have earned the "Ultimate Gear" Achievement for upgrading to the maximum gear set!
+ =env.t('gearAchievement')
.modal-footer
- button.btn.btn-default.cancel(ng-click='modals.achievements.ultimateGear = false') OK
+ button.btn.btn-default.cancel(ng-click='modals.achievements.ultimateGear = false')=env.t('ok')
// Beast Master
div(modal='modals.achievements.beastMaster')
.modal-header
- h3 Achievement!
+ h3=env.t('modalAchievement')
.modal-body
p
.achievement.achievement-rat
- | You have earned the "Beast Master" Achievement for collecting all the pets!
+ =env.t('beastAchievement')
.modal-footer
- button.btn.btn-default.cancel(ng-click='modals.achievements.beastMaster = false') OK
+ button.btn.btn-default.cancel(ng-click='modals.achievements.beastMaster = false')=env.t('ok')
// Contributor
div(modal='user.flags.contributor')
.modal-header
- h3 Contributor Achievement!
+ h3=env.t('modalContribAchievement')
.modal-body
.npc_justin.float-left
- p.
- {{user.profile.name}}, you awesome person! You're now a level {{user.contributor.level}} contributor for helping HabitRPG. See what prizes you've earned for your contribution!
-
+ p
+ | {{user.profile.name}},
+ =env.t('contribText1')
+ | {{user.contributor.level}}
+ =env.t('contribText2')
+ a(href='http://habitrpg.wikia.com/wiki/Contributor_Rewards' target='_blank')=env.t('contribText3')
.modal-footer
- button.btn.btn-default.cancel(ng-click='set({"flags.contributor":false})') OK
+ button.btn.btn-default.cancel(ng-click='set({"flags.contributor":false})')=env.t('ok')
//Rebirth
div(modal='modals.achievements.rebirth')
.modal-header
- h3 Achievement!
+ h3=env.t('modalAchievement')
.modal-body
.achievement.achievement-sun
- | You've begun a new adventure! This is Rebirth {{user.achievements.rebirths}} for you, and the highest Level you've attained is {{user.achievements.rebirthLevel}}. To stack this Achievement, begin your next new adventure when you've reached an even higher Level!
+ =env.t('rebirthAchievement1')
+ | {{user.achievements.rebirths}}
+ =env.t('rebirthAchievement2')
+ | {{user.achievements.rebirthLevel}}.
+ =env.t('rebirthAchievement3')
.modal-footer
- button.btn.btn-default.cancel(ng-click='modals.achievements.rebirth = false') OK
-
+ button.btn.btn-default.cancel(ng-click='modals.achievements.rebirth = false')=env.t('ok')
diff --git a/views/shared/modals/buy-gems.jade b/views/shared/modals/buy-gems.jade
index c284b5e6f2..42f5aeedad 100644
--- a/views/shared/modals/buy-gems.jade
+++ b/views/shared/modals/buy-gems.jade
@@ -1,7 +1,7 @@
div(modal='modals.buyGems')
.modal-header
include ../gems
- h3 Buy Gems / Donate
+ h3=env.t('buyGemsDonate')
.modal-body
table
@@ -12,28 +12,24 @@ div(modal='modals.buyGems')
.popover.static-popover.fade.right.in.wide-popover
.arrow
h3.popover-title
- a(target='_blank', href='https://twitter.com/bowenNstuff') Justin
+ a(target='_blank', href='https://twitter.com/bowenNstuff')=env.t('justin')
.popover-content
- p $5 USD will:
+ p
+ span(class='label label-info')=env.t('fiveUSD1')
+ |
+ =env.t('fiveUSD2')
ul.modal-indented-list
- li Add 20 gems to your account, which are used to buy special items.
- li Disable ads.
- li Donate to the developers (as an open source project, we can use all the help we can get).
+ li=env.t('donateText1')
+ li=env.t('donateText2')
+ li=env.t('donateText3')
br
.row-fluid
.span6.well
- h3 Pay with Card
- .btn.btn-primary(ng-click='showStripe()') Pay with Card
- br
- br
- small
- .alert.alert-info Recommended method.
+ h3=env.t('payWithCard')
+ .btn.btn-primary(ng-click='showStripe()')=env.t('payWithCard')
.span6.well
- h3 Pay with PayPal
- script(src='/bower_components/JavaScriptButtons/dist/paypal-button.min.js?merchant=#{env.PAYPAL_MERCHANT}', data-button='buynow', data-name='20 Gems, Disable Ads, Donation to the Developers', data-quantity='1', data-amount='5', data-currency='USD', data-tax='0', data-callback='#{env.BASE_URL}/api/v2/user/buy-gems/paypal-ipn', data-env="#{env.NODE_ENV == 'production' ? '' : 'sandbox'}", data-custom='?uid={{user._id}}&apiToken={{user.apiToken}}', data-return='#{env.BASE_URL}', data-rm='1', data-no_shipping='1')
- br
- small
- .alert Note: PayPal sometimes takes a long time to clear. We recommend paying with card if possible.
+ h3=env.t('payWithPaypal')
+ script(src='/bower_components/JavaScriptButtons/dist/paypal-button.min.js?merchant=#{env.PAYPAL_MERCHANT}', data-button='buynow', data-name=env.t('paypalText'), data-quantity='1', data-amount='5', data-currency='USD', data-tax='0', data-callback='#{env.BASE_URL}/api/v2/user/buy-gems/paypal-ipn', data-env="#{env.NODE_ENV == 'production' ? '' : 'sandbox'}", data-custom='?uid={{user._id}}&apiToken={{user.apiToken}}', data-return='#{env.BASE_URL}', data-rm='1', data-no_shipping='1')
.modal-footer
- button.btn.btn-default.cancel(ng-click='modals.buyGems = false') Cancel
\ No newline at end of file
+ button.btn.btn-default.cancel(ng-click='modals.buyGems = false')=env.t('cancel')
\ No newline at end of file
diff --git a/views/shared/modals/classes.jade b/views/shared/modals/classes.jade
index 49c4ac808e..220b13c213 100644
--- a/views/shared/modals/classes.jade
+++ b/views/shared/modals/classes.jade
@@ -1,10 +1,12 @@
.modal(ng-if='!user.flags.classSelected && user.stats.lvl >= 10', data-backdrop=true, ng-controller='UserCtrl')
.modal-header
- h3 Choose Your Class!
+ h3=env.t('chooseClass1')
+ a(href='http://habitrpg.wikia.com/wiki/Class_System' target='_blank')=env.t('chooseClass2')
.modal-body.select-class
.row-fluid
.span3(ng-click='selectedClass = "warrior"')
- h5 Warrior
+ h5
+ a(href='http://habitrpg.wikia.com/wiki/Warrior' target='_blank')=env.t('warrior')
figure.herobox(ng-class='{"selected-class": selectedClass=="warrior"}')
.character-sprites
span(class='skin_{{user.preferences.skin}}')
@@ -18,7 +20,8 @@
span(class='shield_warrior_5')
span(class='weapon_warrior_6')
.span3(ng-click='selectedClass = "wizard"')
- h5 Mage
+ h5
+ a(href='http://habitrpg.wikia.com/wiki/Mage' target='_blank')=env.t('mage')
figure.herobox(ng-class='{"selected-class": selectedClass=="wizard"}')
.character-sprites
span(class='skin_{{user.preferences.skin}}')
@@ -32,7 +35,8 @@
span(class='shield_wizard_5')
span(class='weapon_wizard_6')
.span3(ng-click='selectedClass = "rogue"')
- h5 Rogue
+ h5
+ a(href='http://habitrpg.wikia.com/wiki/Rogue' target='_blank')=env.t('rogue')
figure.herobox(ng-class='{"selected-class": selectedClass=="rogue"}')
.character-sprites
span(class='skin_{{user.preferences.skin}}')
@@ -46,7 +50,8 @@
span(class='shield_rogue_6')
span(class='weapon_rogue_6')
.span3(ng-click='selectedClass = "healer"')
- h5 Healer
+ h5
+ a(href='http://habitrpg.wikia.com/wiki/Healer' target='_blank')=env.t('healer')
figure.herobox(ng-class='{"selected-class": selectedClass=="healer"}')
.character-sprites
span(class='skin_{{user.preferences.skin}}')
@@ -60,11 +65,11 @@
span(class='shield_healer_5')
span(class='weapon_healer_6')
br
- .well(ng-show='selectedClass=="warrior"') Warriors keep tasks in line, each success making later slip-ups less harsh. They also score impressive "critical hits," which randomly give bonus Gold and Experience for scoring a task. Play a Warrior if you don't want to be punished too hard for inconsistency, or if you find strong motivation from unpredictable jackpot-style rewards!
- .well(ng-show='selectedClass=="wizard"') Mages learn swiftly, gaining Experience and Levels faster than other classes. They also get a great deal of Mana for using special abilities. Play a Mage if you enjoy the tactical game aspects of Habit, or if you are strongly motivated by leveling up and unlocking advanced features!
- .well(ng-show='selectedClass=="rogue"') Rogues love to accumulate wealth, gaining more Gold than anyone else, and are adept at finding random items. Their iconic Stealth ability lets them duck the consequences of missed Dailies. Play a Rogue if you find strong motivation from Rewards and Achievements, striving for loot and badges!
- .well(ng-show='selectedClass=="healer"') Healers stand impervious against harm, and extend that protection to others. Missed Dailies and bad Habits don't faze them much, and they have ways to recover Health from failure. Play a Healer if you enjoy assisting others in your Party, or if the idea of cheating Death through hard work inspires you!
+ .well(ng-show='selectedClass=="warrior"')=env.t('warriorText')
+ .well(ng-show='selectedClass=="wizard"')=env.t('mageText')
+ .well(ng-show='selectedClass=="rogue"')=env.t('rogueText')
+ .well(ng-show='selectedClass=="healer"')=env.t('healerText')
.modal-footer
- button.btn.btn-small.btn-danger.cancel(ng-click='user.ops.disableClasses({})', popover-placement='top', popover-trigger='mouseenter', popover="Can't be bothered with classes? Opt out - you'll be a warrior and your points handled automatically. You can enable classes later under Settings") Opt Out
- button.btn.btn-primary.cancel(ng-click='selectedClass && changeClass(selectedClass)') Select
\ No newline at end of file
+ button.btn.btn-small.btn-danger.cancel(ng-click='user.ops.disableClasses({})', popover-placement='top', popover-trigger='mouseenter', popover=env.t('optOutText'))=env.t('optOut')
+ button.btn.btn-primary.cancel(ng-click='selectedClass && changeClass(selectedClass)')=env.t('select')
\ No newline at end of file
diff --git a/views/shared/modals/death.jade b/views/shared/modals/death.jade
index 5b8c7326ed..2c346e11a8 100644
--- a/views/shared/modals/death.jade
+++ b/views/shared/modals/death.jade
@@ -5,11 +5,10 @@ div(modal='user.stats.hp <= 0', options='{backdrop:true, keyboard:false, backdro
figure.notification-character
.GrimReaper
.span8
- h2 You Died!
+ h2=env.t('youDied')
.row-fluid
.span4
p
- a.btn.btn-danger.btn-large.notification-action(ng-click='user.ops.revive({})') Continue
+ a.btn.btn-danger.btn-large.notification-action(ng-click='user.ops.revive({})')=env.t('continue')
.span8
- p
- | You've lost a Level, all your Gold, and a random piece of Equipment. Arise, Habiteer, and try again! Curb those negative Habits, be vigilant in completion of Dailies, and hold death at arm's length with a Health Potion if you falter!
+ p=env.t('dieText')
diff --git a/views/shared/modals/members.jade b/views/shared/modals/members.jade
index 90458ecb7a..c0b3b9388d 100644
--- a/views/shared/modals/members.jade
+++ b/views/shared/modals/members.jade
@@ -11,9 +11,11 @@ div(ng-controller='MemberModalCtrl')
markdown(ng-show='profile.profile.blurb', ng-model='profile.profile.blurb')
ul.muted.unstyled(ng-if='profile.auth.timestamps', style='margin-top:10px;')
li {{profile._id}}
- li(ng-show='profile.auth.timestamps.created') - Member since {{timestamp(profile.auth.timestamps.created)}} -
- li(ng-show='profile.auth.timestamps.loggedin') - Last logged in {{timestamp(profile.auth.timestamps.loggedin)}} -
- h3 Stats
+ li(ng-show='profile.auth.timestamps.created')=env.t('memberSince')
+ | {{timestamp(profile.auth.timestamps.created)}} -
+ li(ng-show='profile.auth.timestamps.loggedin')=env.t('lastLoggedIn')
+ | {{timestamp(profile.auth.timestamps.loggedin)}} -
+ h3=env.t('stats')
.label.label-info {{profile.stats.class}}
include ../profiles/stats
.span6
@@ -21,4 +23,4 @@ div(ng-controller='MemberModalCtrl')
h3 Achievements
include ../profiles/achievements
.modal-footer
- button.btn.btn-default(ng-click='modals.member = false') Ok
+ button.btn.btn-default(ng-click='modals.member = false')=env.t('ok')
diff --git a/views/shared/modals/quests.jade b/views/shared/modals/quests.jade
index bc32ff28c5..c3e55d9ea9 100644
--- a/views/shared/modals/quests.jade
+++ b/views/shared/modals/quests.jade
@@ -2,21 +2,24 @@ script(id='partials/options.social.party.quest-rewards.html', type='text/ng-temp
hr
h5 {{header}}
table.table.table-striped
- tr
+ tr(ng-repeat='drop in quest.drop.items')
td {{quest.drop.text}}
tr
- td {{quest.drop.exp}} Experience
+ td {{quest.drop.exp}}
+ =env.t('experience')
tr
- td {{quest.drop.gp}} Gold
+ td {{quest.drop.gp}}
+ =env.t('gold')
div(modal='user.party.quest.completed', ng-controller='InventoryCtrl')
.modal-header
- h3 "{{Content.quests[user.party.quest.completed].text}}" Completed!
+ h3 "{{Content.quests[user.party.quest.completed].text}}"
+ =env.t('completed')
.modal-body
p {{Content.quests[user.party.quest.completed].completion}}
- quest-rewards(key='{{user.party.quest.completed}}', header="You've Received")
+ quest-rewards(key='{{user.party.quest.completed}}', header=env.t('youReceived'))
.modal-footer
- button.btn.btn-default.btn-primary(ng-click='set({"party.quest.completed":""})') Accept
+ button.btn.btn-default.btn-primary(ng-click='set({"party.quest.completed":""})')=env.t('accept')
div(modal='modals.showQuest', ng-controller='InventoryCtrl')
.modal-header
@@ -28,18 +31,19 @@ div(modal='modals.showQuest', ng-controller='InventoryCtrl')
hr
div(style='clear:left;clear:right')
.npc_ian.pull-left
- p Clicking "Invite" will send an invitation to your party members. When all members have accepted or denied, the quest begins. See status under Options > Social > Party.
+ p=env.t('questSend')
.modal-footer
- button.btn.btn-default.btn-small.btn-cancel(ng-click='closeQuest()') Cancel
- button.btn.btn-default.btn-primary(ng-click='questInit()') Invite Party
+ button.btn.btn-default.btn-small.btn-cancel(ng-click='closeQuest()')=env.t('cancel')
+ button.btn.btn-default.btn-primary(ng-click='questInit()')=env.t('inviteParty')
div(modal='party.quest.key && !party.quest.active && !questHold && party.quest.members[user._id] == undefined')
.modal-header
- h3 Quest Invitation: {{Content.quests[party.quest.key].text}}
+ h3=env.t('questInvitation')
+ | {{Content.quests[party.quest.key].text}}
.modal-body
p {{Content.quests[party.quest.key].notes}}
quest-rewards(key='{{party.quest.key}}')
.modal-footer
- button.btn.btn-default.btn-small.btn-cancel(ng-click='questHold = true') Ask Later
- button.btn.btn-default.btn-small.btn-cancel(ng-click='party.$questReject()') Reject
- button.btn.btn-default.btn-primary(ng-click='party.$questAccept()') Accept
\ No newline at end of file
+ button.btn.btn-default.btn-small.btn-cancel(ng-click='questHold = true')=env.t('askLater')
+ button.btn.btn-default.btn-small.btn-cancel(ng-click='party.$questReject()')=env.t('reject')
+ button.btn.btn-default.btn-primary(ng-click='party.$questAccept()')=env.t('accept')
\ No newline at end of file
diff --git a/views/shared/modals/rebirth.jade b/views/shared/modals/rebirth.jade
index 0139276afd..303d0c85d2 100644
--- a/views/shared/modals/rebirth.jade
+++ b/views/shared/modals/rebirth.jade
@@ -2,44 +2,43 @@
div(modal='modals.rebirthEnabled')
.modal-header
- h3 Rebirth: New Adventure Available!
+ h3=env.t('rebirthNew')
.modal-body
.rebirth_orb.pull-left(style='margin-right: 5px')
p
- span.
- You've unlocked Rebirth! This special Market item allows you to begin a new game at level 1 while keeping your tasks, achievements, pets, and more. Use it to breathe new life into HabitRPG if you feel you've achieved it all, or to experience new features with the fresh eyes of a beginning character!
+ span=env.t('rebirthUnlock')
.modal-footer
- button.btn.btn-default.cancel(ng-click='modals.rebirthEnabled = false') Close
+ button.btn.btn-default.cancel(ng-click='modals.rebirthEnabled = false')=env.t('close')
div(modal='modals.rebirth')
.modal-header
- h3 Rebirth: Begin a New Adventure
+ h3=env.t('rebirthBegin')
.modal-body
include ../gems
.rebirth_orb.pull-left(style='margin-right: 5px')
- p Rebirth starts your character over from Level 1, as if you had created a new account.
+ p=env.t('rebirthStartOver')
br
- p Your adventure begins anew with a clean slate:
+ p=env.t('rebirthAdventure')
.unordered
- li You return to full Health.
- li You have no Experience, Gold, or equipment.
- li Your Habits, Dailies, and To-Dos reset to yellow, and streaks reset.
- li You have the starting class of Warrior until you earn a new class.
+ li=env.t('rebirthAdvList1')
+ li=env.t('rebirthAdvList2')
+ li=env.t('rebirthAdvList3')
+ li=env.t('rebirthAdvList4')
br
- p Your new character inherits a few things from their predecessor:
+ p=env.t('rebirthInherit')
.unordered
- li Tasks, history, and settings remain.
- li Challenge, Guild, and Party memberships remain.
- li Gems, backer tiers, and contributor levels remain.
- li Items obtained from Gems or drops (such as pets and mounts) remain, though you cannot access them until you unlock them again.
+ li=env.t('rebirthInList1')
+ li=env.t('rebirthInList2')
+ li=env.t('rebirthInList3')
+ li=env.t('rebirthInList4')
br
.achievement-sun.pull-left(style='margin-right: 5px')
- p You also earn an Achievement for beginning a new adventure!
+ p=env.t('rebirthEarnAchievement')
.modal-footer
- button.btn.btn-large.cancel(ng-click='modals.rebirth = false') Never mind
+ button.btn.btn-large.cancel(ng-click='modals.rebirth = false')=env.t('neverMind')
span(ng-if='user.balance < 2')
- a.btn.btn-success.btn-large(ng-click="modals.buyGems = true") Buy More Gems
- span.gem-cost Not enough Gems
+ a.btn.btn-success.btn-large(ng-click="modals.buyGems = true")=env.t('buyMoreGems')
+ span.gem-cost=env.t('notEnoughGems')
span(ng-if='user.balance >= 2', ng-controller='SettingsCtrl')
- a.btn.btn-danger.btn-large(ng-click='rebirth()') Be Reborn
- span.gem-cost 8 Gems
+ a.btn.btn-danger.btn-large(ng-click='rebirth()')=env.t('beReborn')
+ span.gem-cost=env.t('cost8Gems')
diff --git a/views/shared/modals/reroll.jade b/views/shared/modals/reroll.jade
index e7333518d2..4d03c5de97 100644
--- a/views/shared/modals/reroll.jade
+++ b/views/shared/modals/reroll.jade
@@ -1,20 +1,17 @@
// Re-Roll modal
div(modal='modals.reroll')
.modal-header
- h3 Fortify: Back to Yellow
+ h3=env.t('fortify')
.modal-body
include ../gems
- p.
- Fortify will return all your tasks to a neutral (yellow) state, as if you'd just added them, and top your Health
- off to full. Consider this an option of last resort! Red tasks provide good incentive to improve. But if all that
- red fills you with despair, and the beginning of each new day proves lethal, spend the Gems and catch a reprieve!
+ p=env.t('fortifyText')
.modal-footer
- button.btn.btn-large.cancel(ng-click='modals.reroll = false') Never mind
+ button.btn.btn-large.cancel(ng-click='modals.reroll = false')=env.t('neverMind')
span(ng-if='user.balance < 1')
- a.btn.btn-success.btn-large(ng-click="modals.buyGems = true") Buy More Gems
- span.gem-cost Not enough Gems
+ a.btn.btn-success.btn-large(ng-click="modals.buyGems = true")=env.t('buyMoreGems')
+ span.gem-cost=env.t('notEnoughGems')
span(ng-if='user.balance >= 1', ng-controller='SettingsCtrl')
- a.btn.btn-danger.btn-large(ng-click='reroll()') Fortify
- span.gem-cost 4 Gems
+ a.btn.btn-danger.btn-large(ng-click='reroll()')=env.t('fortify')
+ span.gem-cost=env.t('cost4Gems')
diff --git a/views/shared/modals/settings.jade b/views/shared/modals/settings.jade
index 6eca685353..4f7e5d70b9 100644
--- a/views/shared/modals/settings.jade
+++ b/views/shared/modals/settings.jade
@@ -1,42 +1,41 @@
div(ng-controller='SettingsCtrl')
div(modal='modals.reset')
.modal-header
- h3 Reset Account
+ h3=env.t('resetaccount')
.modal-body
- p This resets your entire account - your tasks will be deleted and your character will start over.
- p.
- This is highly discouraged because you'll lose historical data, which is useful for graphing your progress over time. However, some people find it useful in the beginning after playing with the app for a while.
+ p=env.t('resetText1')
+ p=env.t('resetText2')
.modal-footer
- button.btn.btn-default.cancel(ng-click='modals.reset = false') Never mind
- button.btn.btn-danger(data-dismiss='modal', ng-click='reset()') Do it, reset my account!
+ button.btn.btn-default.cancel(ng-click='modals.reset = false')=env.t('neverMind')
+ button.btn.btn-danger(data-dismiss='modal', ng-click='reset()')=env.t('resetDo')
div(modal='modals.restore')
.modal-header
- h3 Fix Values
+ h3=env.t('fixValues')
.modal-body
- p If you've encountered a bug or made a mistake that unfairly changed your character (damage you shouldn't have taken, Gold you didn't really earn, etc.), you can manually correct your numbers here. Yes, this makes it possible to cheat: use this feature wisely, or you'll sabotage your own habit-building!
- p Note that you cannot restore Streaks on individual tasks here. To do that, edit the Daily and go to Advanced Options, where you will find a Restore Streak field.
+ p=env.t('fixValuesText1')
+ p=env.t('fixValuesText2')
div.restore-options
form#restore-form.form-horizontal
- h3 Stats
+ h3=env.t('stats')
.option-group.option-medium
input.option-content(type='number', step="any", data-for='stats.hp', ng-model='restoreValues.stats.hp')
- span.input-suffix Health
+ span.input-suffix=env.t('health')
.option-group.option-medium
input.option-content(type='number', step="any", data-for='stats.exp', ng-model='restoreValues.stats.exp')
- span.input-suffix Experience
+ span.input-suffix=env.t('experience')
.option-group.option-medium
//input.option-content(type='number', step="any", data-for='stats.gp', ng-model='restoreValues.stats.gp')
input.option-content(type='number', step="any", data-for='stats.gp', ng-model='restoreValues.stats.gp',disabled)
- span.input-suffix Gold
+ span.input-suffix=env.t('gold')
p.alert
- small Disabled during Winter Wonderland Event Pt.4 (since the rewards are gold-purchaseable).
+ small=env.t('disabledWinterEvent')
.option-group.option-medium
input.option-content(type='number', step="any", data-for='stats.mp', ng-model='restoreValues.stats.mp')
- span.input-suffix Mana
+ span.input-suffix=env.t('mana')
.option-group.option-medium
input.option-content(type='number', data-for='stats.lvl', ng-model='restoreValues.stats.lvl')
- span.input-suffix Level
+ span.input-suffix=env.t('level')
//-
//- Commenting out since it doesn't make sense to restore equipment with Armory anymore. They can just restore GP & buy
h3 Equipment
@@ -52,25 +51,26 @@ div(ng-controller='SettingsCtrl')
.option-group.option-medium
input.option-content(type='number', data-for='items.shield', ng-model='restoreValues.items.shield')
span.input-suffix Shield
- h3 Achievements
+ h3=env.t('achievements')
.option-group.option-medium
input.option-content(type='number', data-for='achievements.streak', ng-model='restoreValues.achievements.streak')
- span.input-suffix 21-Day Streaks
+ span.input-suffix=env.t('fix21Streaks')
//- This is causing too many problems for users
- h3 Other
- a.btn.btn-small.btn-warning(ng-controller='FooterCtrl', ng-click='addMissedDay()') Trigger New Day
+ h3=env.t('other')
+ a.btn.btn-small.btn-warning(ng-controller='FooterCtrl', ng-click='addMissedDay()')=env.t('triggerDay')
.modal-footer
- button.btn.btn-default.cancel(ng-click='modals.restore = false') Discard Changes
- button.btn.btn-primary(ng-click='restore()') Save & Close
+ button.btn.btn-default.cancel(ng-click='modals.restore = false')=env.t('discardChanges')
+ button.btn.btn-primary(ng-click='restore()')=env.t('saveAndClose')
div(modal='modals.delete')
.modal-header
- h3 Delete Account
+ h3=env.t('deleteaccount')
.modal-body
- p.
- Are you sure? This will delete your account forever, and it can never be restored! You will need to register a new account to use HabitRPG again. Banked or spent Gems will not be refunded. If you're absolutely certain, type DELETE into the text box below.
+ p=env.t('deleteText1')
+ strong=env.t('deleteText2')
+ =env.t('deleteText3')
p
input(type='text', ng-model='_deleteAccount')
.modal-footer
- button.btn.btn-default(ng-click='modals.delete = false') Never mind
- button.btn.btn-danger.btn-small(ng-disabled='_deleteAccount != "DELETE"', ng-click='delete()') Do it, delete my account!
+ button.btn.btn-default(ng-click='modals.delete = false')=env.t('neverMind')
+ button.btn.btn-danger.btn-small(ng-disabled='_deleteAccount != "DELETE"', ng-click='delete()')=env.t('deleteDo')