add referral message type

Also fixed many downloads text
This commit is contained in:
Thomas Zarebczan 2017-11-29 22:04:07 -05:00 committed by GitHub
parent 2af758cee2
commit 4ce4da37b9
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];
}