fix verified email snackbar, take 2

the API call uses verified_email, reverting and fixing the message type.
This commit is contained in:
Thomas Zarebczan 2017-12-27 13:52:41 -05:00 committed by GitHub
parent e7f35caab4
commit 1984d654e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ function rewardMessage(type, amount) {
amount amount
), ),
new_user: __("You earned %s LBC new user reward.", amount), new_user: __("You earned %s LBC new user reward.", amount),
confirm_email: __( verified_email: __(
"You earned %s LBC for verifying your email address.", "You earned %s LBC for verifying your email address.",
amount amount
), ),
@ -41,7 +41,7 @@ const rewards = {};
rewards.TYPE_NEW_DEVELOPER = "new_developer"; rewards.TYPE_NEW_DEVELOPER = "new_developer";
rewards.TYPE_NEW_USER = "new_user"; rewards.TYPE_NEW_USER = "new_user";
rewards.TYPE_CONFIRM_EMAIL = "confirm_email"; rewards.TYPE_CONFIRM_EMAIL = "verified_email";
rewards.TYPE_FIRST_CHANNEL = "new_channel"; rewards.TYPE_FIRST_CHANNEL = "new_channel";
rewards.TYPE_FIRST_STREAM = "first_stream"; rewards.TYPE_FIRST_STREAM = "first_stream";
rewards.TYPE_MANY_DOWNLOADS = "many_downloads"; rewards.TYPE_MANY_DOWNLOADS = "many_downloads";