From 2085520a3261f67318f91fb2c40fbfa6dab6bf87 Mon Sep 17 00:00:00 2001 From: Chad Birch Date: Tue, 17 Sep 2013 16:50:50 -0600 Subject: [PATCH] "Your comment was gilded" message: update text --- r2/r2/controllers/ipn.py | 7 ++++--- r2/r2/lib/strings.py | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/r2/r2/controllers/ipn.py b/r2/r2/controllers/ipn.py index c225c7243..3e4e0161e 100644 --- a/r2/r2/controllers/ipn.py +++ b/r2/r2/controllers/ipn.py @@ -245,13 +245,14 @@ def send_gift(buyer, recipient, months, days, signed, giftmessage, comment_id): if giftmessage and giftmessage.strip(): message += "\n\n" + strings.giftgold_note + giftmessage + '\n\n----' else: - subject = _('Your comment has been gilded.') + subject = _('Your comment has been gilded!') 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 + if g.lounge_reddit: + message += '\n* ' + strings.lounge_msg message = append_random_bottlecap_phrase(message) try: @@ -561,7 +562,7 @@ class IpnController(RedditController): "pays for 5 instance hours of reddit's servers.") message += "\n\n" + strings.gold_benefits_msg if g.lounge_reddit: - message += "\n\n" + strings.lounge_msg + message += "\n* " + strings.lounge_msg elif payment_blob['goldtype'] == 'creddits': buyer._incr("gold_creddits", months) buyer._commit() diff --git a/r2/r2/lib/strings.py b/r2/r2/lib/strings.py index e301d03cc..fc211fb91 100644 --- a/r2/r2/lib/strings.py +++ b/r2/r2/lib/strings.py @@ -136,14 +136,14 @@ 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 = _("[reddit gold](/gold/about) is reddit's premium membership program. Gold members get extra features like new comment highlighting, notifications when your username is mentioned, \"Friends with benefits\", and more comments per page. You also get special benefits from gold partners for exceptional products and services.\n\nBe sure to check out the new options in the golden box at the bottom of [your preferences](/prefs) and take a look at [the about gold page](/gold/about) to see what else is available."), + gold_benefits_msg = _("reddit gold is reddit's premium membership program. Here are the benefits:\n\n* [Extra site features](/gold/about)\n* [Extra perks](/gold/partners)\n* Discuss and get help on the features and perks at /r/goldbenefits"), lounge_msg = _("Grab a drink and join us in /r/lounge, the super-secret members-only community that may or may not exist."), 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.)"), over_comment_limit_gold = _("Sorry, the maximum number of comments is %d."), youve_got_gold = _("%(sender)s just gifted you %(amount)s of reddit gold!"), giftgold_note = _("Here's a note that was included:\n\n----\n\n"), - youve_got_comment_gold = _("Another user liked [your comment](%(url)s) so much that they gilded it, giving you reddit gold.\n\nEvery day over one million comments are posted to reddit, but only a chosen few are gilded to preserve them for the ages."), + youve_got_comment_gold = _("Another user liked [your comment](%(url)s) so much that they gilded it, giving you reddit gold.\n\n"), gold_summary_autorenew = _("You're about to set up an ongoing, autorenewing subscription to reddit gold for yourself (%(user)s)."), gold_summary_onetime = _("You're about to make a one-time purchase of %(amount)s of reddit gold for yourself (%(user)s)."), gold_summary_creddits = _("You're about to purchase %(amount)s of reddit gold creddits. They work like gift certificates: each creddit you have will allow you to give one month of reddit gold to someone else."),