mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: missing pluralization, change topic card to use replies
This commit is contained in:
parent
3d30bd115d
commit
67ed6b1e9a
2 changed files with 23 additions and 12 deletions
|
@ -15,33 +15,33 @@
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a {{bind-attr href="topic.lastPostUrl"}}>
|
<a {{bind-attr href="topic.lastPostUrl"}}>
|
||||||
<h4>{{i18n 'last_post_lowercase'}}</h4>
|
<h4>{{i18n 'last_reply_lowercase'}}</h4>
|
||||||
{{avatar details.last_poster imageSize="tiny"}}
|
{{avatar details.last_poster imageSize="tiny"}}
|
||||||
{{format-date topic.last_posted_at}}
|
{{format-date topic.last_posted_at}}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
{{number topic.posts_count}}
|
{{number topic.replyCount}}
|
||||||
<h4>{{i18n 'posts_lowercase'}}</h4>
|
<h4>{{i18n 'replies_lowercase' count=topic.replyCount}}</h4>
|
||||||
</li>
|
</li>
|
||||||
<li class='secondary'>
|
<li class='secondary'>
|
||||||
{{number topic.views class=topic.viewsHeat}}
|
{{number topic.views class=topic.viewsHeat}}
|
||||||
<h4>{{i18n 'views_lowercase'}}</h4>
|
<h4>{{i18n 'views_lowercase' count=topic.views}}</h4>
|
||||||
</li>
|
</li>
|
||||||
<li class='secondary'>
|
<li class='secondary'>
|
||||||
{{number topic.participant_count}}
|
{{number topic.participant_count}}
|
||||||
<h4>{{i18n 'users_lowercase'}}</h4>
|
<h4>{{i18n 'users_lowercase' count=topic.participant_count}}</h4>
|
||||||
</li>
|
</li>
|
||||||
{{#if topic.like_count}}
|
{{#if topic.like_count}}
|
||||||
<li class='secondary'>
|
<li class='secondary'>
|
||||||
{{number topic.like_count}}
|
{{number topic.like_count}}
|
||||||
<h4>{{i18n 'likes_lowercase'}}</h4>
|
<h4>{{i18n 'likes_lowercase' count=topic.like_count}}</h4>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if details.links.length}}
|
{{#if details.links.length}}
|
||||||
<li class='secondary'>
|
<li class='secondary'>
|
||||||
{{number details.links.length}}
|
{{number details.links.length}}
|
||||||
<h4>{{i18n 'links_lowercase'}}</h4>
|
<h4>{{i18n 'links_lowercase' count=details.links.length}}</h4>
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if showPosterAvatar}}
|
{{#if showPosterAvatar}}
|
||||||
|
|
|
@ -123,7 +123,9 @@ en:
|
||||||
show_more: "show more"
|
show_more: "show more"
|
||||||
show_help: "help"
|
show_help: "help"
|
||||||
links: "Links"
|
links: "Links"
|
||||||
links_lowercase: "links"
|
links_lowercase:
|
||||||
|
one: "link"
|
||||||
|
other: "links"
|
||||||
faq: "FAQ"
|
faq: "FAQ"
|
||||||
guidelines: "Guidelines"
|
guidelines: "Guidelines"
|
||||||
privacy_policy: "Privacy Policy"
|
privacy_policy: "Privacy Policy"
|
||||||
|
@ -628,7 +630,10 @@ en:
|
||||||
mute: Mute
|
mute: Mute
|
||||||
unmute: Unmute
|
unmute: Unmute
|
||||||
last_post: Last post
|
last_post: Last post
|
||||||
last_post_lowercase: last post
|
last_reply_lowercase: last reply
|
||||||
|
replies_lowercase:
|
||||||
|
one: reply
|
||||||
|
other: replies
|
||||||
|
|
||||||
summary:
|
summary:
|
||||||
enabled_description: "You're viewing a summary of this topic: the most interesting posts as determined by the community."
|
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 {}}
|
other {}}
|
||||||
original_post: "Original Post"
|
original_post: "Original Post"
|
||||||
views: "Views"
|
views: "Views"
|
||||||
views_lowercase: "views"
|
views_lowercase:
|
||||||
|
one: "view"
|
||||||
|
other: "views"
|
||||||
replies: "Replies"
|
replies: "Replies"
|
||||||
views_long: "this topic has been viewed {{number}} times"
|
views_long: "this topic has been viewed {{number}} times"
|
||||||
activity: "Activity"
|
activity: "Activity"
|
||||||
likes: "Likes"
|
likes: "Likes"
|
||||||
likes_lowercase: "likes"
|
likes_lowercase:
|
||||||
|
one: "like"
|
||||||
|
other: "likes"
|
||||||
likes_long: "there are {{number}} likes in this topic"
|
likes_long: "there are {{number}} likes in this topic"
|
||||||
users: "Users"
|
users: "Users"
|
||||||
users_lowercase: "users"
|
users_lowercase:
|
||||||
|
one: "user"
|
||||||
|
other: "users"
|
||||||
category_title: "Category"
|
category_title: "Category"
|
||||||
history: "History"
|
history: "History"
|
||||||
changed_by: "by {{author}}"
|
changed_by: "by {{author}}"
|
||||||
|
|
Loading…
Reference in a new issue