FIX: topic summary description text was conflicts with reply counter

This commit is contained in:
Erick Guan 2016-02-16 12:37:59 +01:00
parent 3538e48640
commit 0c6e5befe4
2 changed files with 4 additions and 4 deletions

View File

@ -3,9 +3,9 @@
<button class='btn btn-primary' {{action "toggleSummary"}}>{{i18n 'summary.disable'}}</button>
{{else}}
{{#if topic.estimatedReadingTime}}
<p>{{{i18n 'summary.description_time' count=topic.posts_count readingTime=topic.estimatedReadingTime}}}</p>
<p>{{{i18n 'summary.description_time' replyCount=topic.replyCount readingTime=topic.estimatedReadingTime}}}</p>
{{else}}
<p>{{{i18n 'summary.description' count=topic.posts_count}}}</p>
<p>{{{i18n 'summary.description' replyCount=topic.replyCount}}}</p>
{{/if}}
<button class='btn btn-primary' {{action "toggleSummary"}}>{{i18n 'summary.enable'}}</button>

View File

@ -804,8 +804,8 @@ en:
summary:
enabled_description: "You're viewing a summary of this topic: the most interesting posts as determined by the community."
description: "There are <b>{{count}}</b> replies."
description_time: "There are <b>{{count}}</b> replies with an estimated read time of <b>{{readingTime}} minutes</b>."
description: "There are <b>{{replyCount}}</b> replies."
description_time: "There are <b>{{replyCount}}</b> replies with an estimated read time of <b>{{readingTime}} minutes</b>."
enable: 'Summarize This Topic'
disable: 'Show All Posts'