Added context message to streak (#10565)

* Added context message to streak

* Updated text
This commit is contained in:
Keith Holliday 2018-08-08 03:52:53 -05:00 committed by GitHub
parent b87ff03210
commit 6da243e034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -465,7 +465,7 @@ export default {
this.$root.$emit('bv::show::modal', 'won-challenge');
break;
case 'STREAK_ACHIEVEMENT':
this.text(this.user.achievements.streak);
this.text(`${this.$t('streaks')}: ${this.user.achievements.streak}`);
this.playSound('Achievement_Unlocked');
if (!this.user.preferences.suppressModals.streak) {
this.$root.$emit('bv::show::modal', 'streak');