Add info about benefits/lounge to gold gift msg

This commit is contained in:
Chad Birch
2013-03-27 15:02:36 -06:00
committed by Neil Williams
parent cb4d231896
commit 0561be43b7
2 changed files with 5 additions and 1 deletions

View File

@@ -241,12 +241,15 @@ def send_gift(buyer, recipient, months, days, signed, giftmessage, comment_id):
message = strings.youve_got_gold % dict(sender=md_sender, amount=amount)
if giftmessage and giftmessage.strip():
message += "\n\n" + strings.giftgold_note + giftmessage
message += "\n\n" + strings.giftgold_note + giftmessage + '\n\n----'
else:
message = strings.youve_got_comment_gold % dict(
url=comment.make_permalink_slow(),
)
message += '\n\n' + strings.gold_benefits_msg
message += '\n\n' + strings.lounge_msg % {'link': '/r/'+g.lounge_reddit}
subject = sender + " just sent you reddit gold!"
try:

View File

@@ -135,6 +135,7 @@ string_dict = dict(
unverified_quota_msg = _("Looks like you're either a brand new user or your posts have not been doing well recently. You may have to wait a bit to post again. In the meantime feel free to [check out the reddiquette](%(reddiquette)s), join the conversation in a different thread, or [verify your email address](%(verify)s)."),
read_only_msg = _("reddit is in \"emergency read-only mode\" right now. :( you won't be able to log in. we're sorry, and are working frantically to fix the problem."),
heavy_load_msg = _("this page is temporarily in read-only mode due to heavy traffic."),
gold_benefits_msg = _("Being a reddit gold member gives you access to a bunch of new site features and other benefits. Be sure to check out the new options in the gold box at the bottom of [your preferences page](/prefs), and take a look at [the about gold page](/gold/about) to see what else is available!"),
lounge_msg = _("please grab a drink and join us in [the lounge](%(link)s)."),
postcard_msg = _("You sent us a postcard! (Or something similar.) When we run out of room on our refrigerator, we might one day auction off the stuff that people sent in. Is it okay if we include your thing?"),
over_comment_limit = _("Sorry, the maximum number of comments is %(max)d. (However, if you subscribe to reddit gold, it goes up to %(goldmax)d.)"),