Skip to content

Commit

Permalink
Add 'or Language' to 'Change Hero' button (#4798)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewJakubowicz committed Jul 26, 2018
1 parent 4c5c70b commit b23ed43
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/locale/en.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
poll: "Poll" # Tooltip on poll button from /play
next: "Next" # Go from choose hero to choose inventory before playing a level
change_hero: "Change Hero" # Go back from choose inventory to choose hero
change_hero_or_language: "Change Hero or Language"
buy_gems: "Buy Gems"
subscribers_only: "Subscribers Only!"
subscribe_unlock: "Subscribe to Unlock!"
Expand Down
3 changes: 3 additions & 0 deletions app/styles/play/menu/inventory-modal.sass
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,9 @@ $itemSlotGridHeight: 51px

#choose-hero-button
left: 20px
width: 254px
background-size: 254px 55px
padding-left: 14px

#play-level-button
right: 414px
Expand Down
4 changes: 2 additions & 2 deletions app/templates/play/menu/inventory-modal.jade
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@
button#subscriber-item-viewed.btn.big-font.secret(data-i18n="play.subscribe_unlock")
.alert.alert-danger#restricted-item-viewed.secret(data-i18n="inventory.restricted")
if !me.isStudent()
button#choose-hero-button.btn.btn-lg.btn-primary.choose-inventory-active(data-i18n="play.change_hero") Change Hero
button#play-level-button.btn.btn-lg.btn-success.choose-inventory-active(data-i18n="common.play") Play
button#choose-hero-button.btn.btn-lg.btn-primary.choose-inventory-active(data-i18n="play.change_hero_or_language")
button#play-level-button.btn.btn-lg.btn-success.choose-inventory-active(data-i18n="common.play")

0 comments on commit b23ed43

Please sign in to comment.