Skip to content
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

Merged
merged 2 commits into from Jul 26, 2018

Conversation

AndrewJakubowicz
Copy link
Contributor

No description provided.

@@ -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"
Copy link
Contributor Author

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
Copy link
Contributor Author

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()
Copy link
Contributor Author

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.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 63.616% when pulling a4e8e1b on change-language-hero into 140811a on master.

@AndrewJakubowicz AndrewJakubowicz merged commit b23ed43 into master Jul 26, 2018
@AndrewJakubowicz AndrewJakubowicz deleted the change-language-hero branch July 26, 2018 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants