summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorINOUE Daisuke <inoue.daisuke@gmail.com>2025-05-02 22:49:02 +0900
committerINOUE Daisuke <inoue.daisuke@gmail.com>2025-05-03 00:09:11 +0900
commit3bd2117d74afdff9e447e2bd89ae873b8eefe898 (patch)
tree8f80228c9e79967c9a458f732d926b61718997b7 /views
parent9e7f8c7390d8e7df625aad8c624a032b0c27f7b2 (diff)
Fix Error: Missing helper: "plural", replacing plural helper to feature of i18next.
In translation files, number part must use "{{count}}".
Diffstat (limited to 'views')
-rw-r--r--views/publicEventList.handlebars2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/publicEventList.handlebars b/views/publicEventList.handlebars
index e95379b..a16735b 100644
--- a/views/publicEventList.handlebars
+++ b/views/publicEventList.handlebars
@@ -40,7 +40,7 @@
<a href="/group/{{this.id}}" class="list-group-item list-group-item-action">
<i class="fas fa-fw fa-calendar-alt"></i>
<strong>{{this.name}}</strong>
- <span class="badge badge-secondary ml-2">{{{t "views.publiceventlist.numoevents" }}}</span>
+ <span class="badge badge-secondary ml-2">{{plural "views.publiceventlist.numoevents" this.numberOfEvents }}</span>
</a>
{{/each}}
{{else}}