mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 12:51:45 +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>
|
<button class='btn btn-primary' {{action "toggleSummary"}}>{{i18n 'summary.disable'}}</button>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if topic.estimatedReadingTime}}
|
{{#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}}
|
{{else}}
|
||||||
<p>{{{i18n 'summary.description' count=topic.posts_count}}}</p>
|
<p>{{{i18n 'summary.description' replyCount=topic.replyCount}}}</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<button class='btn btn-primary' {{action "toggleSummary"}}>{{i18n 'summary.enable'}}</button>
|
<button class='btn btn-primary' {{action "toggleSummary"}}>{{i18n 'summary.enable'}}</button>
|
||||||
|
|
|
@ -804,8 +804,8 @@ en:
|
||||||
|
|
||||||
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."
|
||||||
description: "There are <b>{{count}}</b> replies."
|
description: "There are <b>{{replyCount}}</b> replies."
|
||||||
description_time: "There are <b>{{count}}</b> replies with an estimated read time of <b>{{readingTime}} minutes</b>."
|
description_time: "There are <b>{{replyCount}}</b> replies with an estimated read time of <b>{{readingTime}} minutes</b>."
|
||||||
enable: 'Summarize This Topic'
|
enable: 'Summarize This Topic'
|
||||||
disable: 'Show All Posts'
|
disable: 'Show All Posts'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user