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

Fixed "memberssubscribers" text in editor status for scheduled posts

refs d11cf9e1c7

- "free subscribers" worked but "paid" and "all" states still had "members" in the fixed string along with the new "members/subscribers" plural variable resulting in text like "all memberssusbcribers of My Newsletter"
This commit is contained in:
Kevin Ansfield 2022-05-18 10:55:31 +01:00
parent a6dcd936bc
commit 93c9035c49

View file

@ -59,10 +59,10 @@ export default class MembersCountCacheService extends Service {
return 'all free ' + nounPlural + suffix;
}
if (isPaid) {
return 'all paid members' + nounPlural + suffix;
return 'all paid ' + nounPlural + suffix;
}
if (isAll) {
return 'all members' + nounPlural + suffix;
return 'all ' + nounPlural + suffix;
}
return 'a custom members segment';