add referral message type #804

Merged
tzarebczan merged 1 commit from referral-reward-snackbar into master 2017-11-30 23:45:27 +01:00

View file

@ -22,7 +22,7 @@ function rewardMessage(type, amount) {
amount amount
), ),
many_downloads: __( many_downloads: __(
"You earned %s LBC for downloading some of the things.", "You earned %s LBC for downloading a bunch of things.",
amount amount
), ),
first_publish: __( first_publish: __(
@ -33,6 +33,10 @@ function rewardMessage(type, amount) {
"You earned %s LBC for watching a featured download.", "You earned %s LBC for watching a featured download.",
amount amount
), ),
referral: __(
"You earned %s LBC for referring someone.",
amount
),
}[type]; }[type];
} }