From 3bd2117d74afdff9e447e2bd89ae873b8eefe898 Mon Sep 17 00:00:00 2001 From: INOUE Daisuke Date: Fri, 2 May 2025 22:49:02 +0900 Subject: Fix Error: Missing helper: "plural", replacing plural helper to feature of i18next. In translation files, number part must use "{{count}}". --- locales/ja.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'locales/ja.json') diff --git a/locales/ja.json b/locales/ja.json index cfa1e75..f470b46 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -257,7 +257,7 @@ "views.partials.editeventgroup.del": "このイベントグループを削除する", "views.partials.editeventgroup.delbutton": "イベントグループを削除", "views.partials.eventform.creatoremail": "あなたのメールアドレス", - "views.partials.eventform.eventdescription": "説明(必須)", + "views.partials.eventform.eventdescription": "説明", "views.partials.eventform.eventgroup": "イベントグループにリンクする", "views.partials.eventform.eventgroupdata": "このイベントをイベントグループにリンク", "views.partials.eventform.eventgroupedittoken": "この長い文字列は、グループを作成したときに送信する確認メールにも記載しています。", @@ -299,7 +299,9 @@ "views.publiceventlist.events": "公開イベント", "views.publiceventlist.groups": "公開グループ", "views.publiceventlist.nogroups": "公開グループなし!", - "views.publiceventlist.numoevents": "{{this.numberOfEvents}} 件のイベント", + "views.publiceventlist.numoevents_one": "{{count}} 件のイベント", + "views.publiceventlist.numoevents_other": "{{count}} 件のイベント", + "views.publiceventlist.numoevents_zero": "イベントなし", "views.publiceventlist.pastevents": "過去の公開イベント", "views.publiceventlist.upcomingevents": "今後の公開イベント", "views.right": "了解!" -- cgit v1.2.3