The topic list sort filters should be localised too.

This commit is contained in:
Azareal 2018-09-26 18:10:46 +10:00
parent 9005b10be1
commit 2e5256dd73
2 changed files with 5 additions and 3 deletions

View File

@ -441,6 +441,8 @@
"topic_list.move_head":"Move these topics to?", "topic_list.move_head":"Move these topics to?",
"topic_list.move_button":"Move Topics", "topic_list.move_button":"Move Topics",
"topic_list.changed_topics":"Click to see %d new or changed topics", "topic_list.changed_topics":"Click to see %d new or changed topics",
"topic_list.most_recent_filter":"Most Recent",
"topic_list.most_viewed_filter":"Most Viewed",
"topic_list.replies_suffix":"replies", "topic_list.replies_suffix":"replies",
"topic_list.likes_suffix":"likes", "topic_list.likes_suffix":"likes",
"topic_list.views_suffix":"views", "topic_list.views_suffix":"views",

View File

@ -7,13 +7,13 @@
<div class="optbox"> <div class="optbox">
{{if .ForumList}} {{if .ForumList}}
<div class="opt filter_opt"> <div class="opt filter_opt">
<a href="#" class="filter_opt_label link_label" data-for="topic_list_filter_select"> / Most Recent <span class="filter_opt_pointy"></span></a> <a href="#" class="filter_opt_label link_label" data-for="topic_list_filter_select"> / {{lang "topic_list.most_recent_filter"}} <span class="filter_opt_pointy"></span></a>
<div id="topic_list_filter_select" class="link_select"> <div id="topic_list_filter_select" class="link_select">
<div class="link_option link_selected"> <div class="link_option link_selected">
<a href="/topics/">Most Recent</a> <a href="/topics/">{{lang "topic_list.most_recent_filter"}}</a>
</div> </div>
<div class="link_option"> <div class="link_option">
<a href="/topics/most-viewed/">Most Viewed</a> <a href="/topics/most-viewed/">{{lang "topic_list.most_viewed_filter"}}</a>
</div> </div>
</div> </div>
</div> </div>