0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

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}} {{#if post.emailOnly}}
Your email has been sent. Your email has been sent.
{{else if (and post.isPost @postCount)}} {{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}} {{else}}
Your {{post.displayName}} has been published. Your {{post.displayName}} has been published.
{{/if}} {{/if}}
@ -45,7 +45,7 @@
<strong> <strong>
{{if (eq @recipientType "all") "all"}} {{if (eq @recipientType "all") "all"}}
{{countFetcher.count}} {{format-number countFetcher.count}}
{{!-- @recipientType = free/paid/all/specific --}} {{!-- @recipientType = free/paid/all/specific --}}
{{if (not-eq @recipientType "all") @recipientType}} {{if (not-eq @recipientType "all") @recipientType}}

View file

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