Fixed number formatting in Publish menu

no refs.

- number formatting (ie. thousands indicators) were missing in a couple of places in the Publish menu
This commit is contained in:
Peter Zimon 2022-09-16 19:36:39 +02:00
parent a4ff3e1900
commit 7e3e4bd36b
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
{{#if post.emailOnly}}
Your email has been sent.
{{else if (and post.isPost @postCount)}}
Thats {{gh-pluralize @postCount "post"}} published, keep going!
Thats {{format-number @postCount}} {{gh-pluralize @postCount "post" without-count=true}} published, keep going!
{{else}}
Your {{post.displayName}} has been published.
{{/if}}
@ -45,7 +45,7 @@
<strong>
{{if (eq @recipientType "all") "all"}}
{{countFetcher.count}}
{{format-number countFetcher.count}}
{{!-- @recipientType = free/paid/all/specific --}}
{{if (not-eq @recipientType "all") @recipientType}}

View File

@ -98,7 +98,7 @@
{{svg-jar "member"}}
<div class="gh-publish-setting-trigger">
Already sent to
{{@publishOptions.post.email.emailCount}}
{{format-number @publishOptions.post.email.emailCount}}
{{if (not-eq @recipientType "all") @recipientType}} {{!-- free/paid/specific --}}
{{gh-pluralize @publishOptions.post.email.emailCount "subscriber" without-count=true}}
{{#unless @publishOptions.onlyDefaultNewsletter}}