Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Mod tools: Rename 'links' to 'posts' in menus
Browse files Browse the repository at this point in the history
  • Loading branch information
tdohz committed Feb 10, 2016
1 parent 3dbcba8 commit 6d2ce40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions r2/r2/controllers/front.py
Expand Up @@ -866,8 +866,8 @@ def GET_spamlisting(self, location, only, num, after, reverse, count,

if location in ('reports', 'spam', 'modqueue', 'edited'):
buttons = [
QueryButton(_('links and comments'), None, query_param='only'),
QueryButton(_('links'), 'links', query_param='only'),
QueryButton(_('posts and comments'), None, query_param='only'),
QueryButton(_('posts'), 'links', query_param='only'),
QueryButton(_('comments'), 'comments', query_param='only'),
]
menus = [NavMenu(buttons, base_path=request.path, title=_('show'),
Expand Down
2 changes: 1 addition & 1 deletion r2/r2/lib/menus.py
Expand Up @@ -137,7 +137,7 @@ def __getattr__(self, attr):
flair = _("edit flair"),
log = _("moderation log"),
modqueue = _("moderation queue"),
unmoderated = _("unmoderated links"),
unmoderated = _("unmoderated posts"),
edited = _("edited"),
employee = _("employee"),
automod = _("automoderator config"),
Expand Down
2 changes: 1 addition & 1 deletion r2/r2/templates/preffeeds.html
Expand Up @@ -123,7 +123,7 @@ <h1>${_("Private RSS feeds")}</h1>
${_("moderation log")}
<br/>
<%self:feedbuttons path="/r/mod/about/unmoderated/"></%self:feedbuttons>
${_("unmoderated links")}
${_("unmoderated posts")}
</td>
</tr>
%endif
Expand Down

0 comments on commit 6d2ce40

Please sign in to comment.