Change list UI status counts to i18n plural. Ref: #717

This commit is contained in:
Kailash Nadh 2022-02-23 20:53:39 +05:30
parent 6fe36db477
commit 45878db35f

View file

@ -98,7 +98,7 @@
header-class="cy-subscribers" width="10%">
<div class="fields stats">
<p v-for="(count, status) in props.row.subscriberStatuses" :key="status">
<label>{{ $t(`subscribers.status.${status}`) }}</label>
<label>{{ $tc(`subscribers.status.${status}`, count) }}</label>
<span :class="status">{{ $utils.formatNumber(count) }}</span>
</p>
</div>