Merge pull request #804 from lbryio/referral-reward-snackbar

add referral message type
This commit is contained in:
Jeremy Kauffman 2017-11-30 17:45:27 -05:00 committed by GitHub
commit 4e2dbede61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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