mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 03:09:29 +08:00
FIX: topic summary description text was conflicts with reply counter
This commit is contained in:
parent
3538e48640
commit
0c6e5befe4
|
@ -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>
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user