From 3a955187cea86f6827122ff1756d9c42ed77e3db Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 20 Jul 2015 18:11:04 +0930 Subject: [PATCH] Change discussion list sorting labels --- framework/core/js/forum/src/components/DiscussionList.js | 4 ++-- framework/core/locale/en/translations.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/framework/core/js/forum/src/components/DiscussionList.js b/framework/core/js/forum/src/components/DiscussionList.js index 7a168fb50..b25e02c8e 100644 --- a/framework/core/js/forum/src/components/DiscussionList.js +++ b/framework/core/js/forum/src/components/DiscussionList.js @@ -112,8 +112,8 @@ export default class DiscussionList extends Component { if (this.props.params.q) { map.relevance = ''; } - map.recent = '-lastTime'; - map.replies = '-commentsCount'; + map.latest = '-lastTime'; + map.top = '-commentsCount'; map.newest = '-startTime'; map.oldest = '+startTime'; diff --git a/framework/core/locale/en/translations.yml b/framework/core/locale/en/translations.yml index bfd409ba7..9c9516394 100644 --- a/framework/core/locale/en/translations.yml +++ b/framework/core/locale/en/translations.yml @@ -93,10 +93,11 @@ core: send_password_reset_email: Send Password Reset Email settings: Settings sign_up: Sign Up + sort_latest: Latest sort_newest: Newest sort_oldest: Oldest - sort_recent: Recent - sort_replies: Replies + sort_relevance: Relevance + sort_top: Top start_a_discussion: Start a Discussion started_a_discussion: Started a discussion unread_posts: "{count} unread"