Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

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

Kailash Nadh45878db35f14
diff --git a/frontend/src/views/Lists.vue b/frontend/src/views/Lists.vue
index df5661cc..71c2ab4f 100644
--- a/frontend/src/views/Lists.vue
+++ b/frontend/src/views/Lists.vue
@@ -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>