FIX: missing pluralization, change topic card to use replies

This commit is contained in:
Sam Saffron 2015-04-16 14:54:24 +10:00
parent 3d30bd115d
commit 67ed6b1e9a
2 changed files with 23 additions and 12 deletions

View File

@ -15,33 +15,33 @@
</li>
<li>
<a {{bind-attr href="topic.lastPostUrl"}}>
<h4>{{i18n 'last_post_lowercase'}}</h4>
<h4>{{i18n 'last_reply_lowercase'}}</h4>
{{avatar details.last_poster imageSize="tiny"}}
{{format-date topic.last_posted_at}}
</a>
</li>
<li>
{{number topic.posts_count}}
<h4>{{i18n 'posts_lowercase'}}</h4>
{{number topic.replyCount}}
<h4>{{i18n 'replies_lowercase' count=topic.replyCount}}</h4>
</li>
<li class='secondary'>
{{number topic.views class=topic.viewsHeat}}
<h4>{{i18n 'views_lowercase'}}</h4>
<h4>{{i18n 'views_lowercase' count=topic.views}}</h4>
</li>
<li class='secondary'>
{{number topic.participant_count}}
<h4>{{i18n 'users_lowercase'}}</h4>
<h4>{{i18n 'users_lowercase' count=topic.participant_count}}</h4>
</li>
{{#if topic.like_count}}
<li class='secondary'>
{{number topic.like_count}}
<h4>{{i18n 'likes_lowercase'}}</h4>
<h4>{{i18n 'likes_lowercase' count=topic.like_count}}</h4>
</li>
{{/if}}
{{#if details.links.length}}
<li class='secondary'>
{{number details.links.length}}
<h4>{{i18n 'links_lowercase'}}</h4>
<h4>{{i18n 'links_lowercase' count=details.links.length}}</h4>
</li>
{{/if}}
{{#if showPosterAvatar}}

View File

@ -123,7 +123,9 @@ en:
show_more: "show more"
show_help: "help"
links: "Links"
links_lowercase: "links"
links_lowercase:
one: "link"
other: "links"
faq: "FAQ"
guidelines: "Guidelines"
privacy_policy: "Privacy Policy"
@ -628,7 +630,10 @@ en:
mute: Mute
unmute: Unmute
last_post: Last post
last_post_lowercase: last post
last_reply_lowercase: last reply
replies_lowercase:
one: reply
other: replies
summary:
enabled_description: "You're viewing a summary of this topic: the most interesting posts as determined by the community."
@ -1497,15 +1502,21 @@ en:
other {}}
original_post: "Original Post"
views: "Views"
views_lowercase: "views"
views_lowercase:
one: "view"
other: "views"
replies: "Replies"
views_long: "this topic has been viewed {{number}} times"
activity: "Activity"
likes: "Likes"
likes_lowercase: "likes"
likes_lowercase:
one: "like"
other: "likes"
likes_long: "there are {{number}} likes in this topic"
users: "Users"
users_lowercase: "users"
users_lowercase:
one: "user"
other: "users"
category_title: "Category"
history: "History"
changed_by: "by {{author}}"