diff options
author | INOUE Daisuke <inoue.daisuke@gmail.com> | 2025-05-02 22:49:02 +0900 |
---|---|---|
committer | INOUE Daisuke <inoue.daisuke@gmail.com> | 2025-05-03 00:09:11 +0900 |
commit | 3bd2117d74afdff9e447e2bd89ae873b8eefe898 (patch) | |
tree | 8f80228c9e79967c9a458f732d926b61718997b7 /locales/en.json | |
parent | 9e7f8c7390d8e7df625aad8c624a032b0c27f7b2 (diff) |
Fix Error: Missing helper: "plural", replacing plural helper to feature of i18next.
In translation files, number part must use "{{count}}".
Diffstat (limited to 'locales/en.json')
-rw-r--r-- | locales/en.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/locales/en.json b/locales/en.json index fece34d..cc0db9d 100644 --- a/locales/en.json +++ b/locales/en.json @@ -299,7 +299,9 @@ "views.publiceventlist.events": "Events", "views.publiceventlist.groups": "Groups", "views.publiceventlist.nogroups": "No groups!", - "views.publiceventlist.numoevents": "{{this.numberOfEvents}} {{plural this.numberOfEvents \"event(s)\"}}", + "views.publiceventlist.numoevents_one": "{{count}} event", + "views.publiceventlist.numoevents_other": "{{count}} events", + "views.publiceventlist.numoevents_zero": "No event", "views.publiceventlist.pastevents": "Past events", "views.publiceventlist.upcomingevents": "Upcoming events", "views.right": "Get it right!" |