diff --git a/app/assets/javascripts/discourse/templates/components/toggle-summary.hbs b/app/assets/javascripts/discourse/templates/components/toggle-summary.hbs index 6eed02a1cd2..671b85d945e 100644 --- a/app/assets/javascripts/discourse/templates/components/toggle-summary.hbs +++ b/app/assets/javascripts/discourse/templates/components/toggle-summary.hbs @@ -3,9 +3,9 @@ {{else}} {{#if topic.estimatedReadingTime}} -

{{{i18n 'summary.description_time' count=topic.posts_count readingTime=topic.estimatedReadingTime}}}

+

{{{i18n 'summary.description_time' replyCount=topic.replyCount readingTime=topic.estimatedReadingTime}}}

{{else}} -

{{{i18n 'summary.description' count=topic.posts_count}}}

+

{{{i18n 'summary.description' replyCount=topic.replyCount}}}

{{/if}} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index cfab4a6dc0a..cdb5b7bc88b 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -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 {{count}} replies." - description_time: "There are {{count}} replies with an estimated read time of {{readingTime}} minutes." + description: "There are {{replyCount}} replies." + description_time: "There are {{replyCount}} replies with an estimated read time of {{readingTime}} minutes." enable: 'Summarize This Topic' disable: 'Show All Posts'