Add multireddit for /r/mod.

This commit is contained in:
bsimpson63
2012-11-20 20:14:23 -05:00
parent 257ea95142
commit d63fba2d59
2 changed files with 6 additions and 2 deletions

View File

@@ -311,8 +311,11 @@ class Reddit(Templated):
ps.append(self.sr_admin_menu())
if srs:
ps.append(SideContentBox(_('these subreddits'),
[SubscriptionBox(srs)]))
if isinstance(c.site, ModSR):
box = SubscriptionBox(srs, multi_text=strings.mod_multi)
else:
box = SubscriptionBox(srs)
ps.append(SideContentBox(_('these subreddits'), [box]))
# don't show the subreddit info bar on cnames unless the option is set
if not isinstance(c.site, FakeSubreddit) and (not c.cname or c.site.show_cname_sidebar):

View File

@@ -182,6 +182,7 @@ Note: there are a couple of places outside of your subreddit where someone can c
an_error_occurred_friendly = _("an error occurred. please try again later!"),
rate_limit = _("please wait a few seconds and try again."),
subscribed_multi = _("multireddit of your subscriptions"),
mod_multi = _("multireddit of subreddits you moderate"),
)
class StringHandler(object):