New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 'or Language' to 'Change Hero' button #4798
Conversation
app/locale/en.coffee
Outdated
@@ -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_language: "Change Hero or Language" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a new field because "Change Hero or Language" doesn't exist and change_hero
is used in two other places.
@@ -451,6 +451,9 @@ $itemSlotGridHeight: 51px | |||
|
|||
#choose-hero-button | |||
left: 20px |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update size for the new text length. Ideally would have reactive button lengths to the text content.
@@ -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() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use new i18n field, and removing unnecessary text.
No description provided.