From 23e49c6e6e63a518e704f82879a5fdcf268c51d8 Mon Sep 17 00:00:00 2001 From: INOUE Daisuke Date: Tue, 8 Apr 2025 22:14:04 +0900 Subject: 1st stage, only language switch. Thank you, MomentQYC ( https://github.com/MomentQYC ). Your first attemt encourage me. --- views/publicEventList.handlebars | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'views/publicEventList.handlebars') diff --git a/views/publicEventList.handlebars b/views/publicEventList.handlebars index b8cacd0..5c81496 100644 --- a/views/publicEventList.handlebars +++ b/views/publicEventList.handlebars @@ -12,39 +12,39 @@
-
Upcoming events
+
{{t "upcomingevents" }}
{{> eventList upcomingEvents }}
-
Past events
+
{{t "pastevents" }}
{{> eventList pastEvents }}
-
Event groups
+
{{t "eventgroups" }}
{{#if eventGroups}} {{#each eventGroups}} {{this.name}} - {{this.numberOfEvents}} {{plural this.numberOfEvents "event(s)"}} + {{{t "publiclist.numoevents" }}} {{/each}} {{else}} -
No groups!
+
{{t "publiclist.nogroups" }}
{{/if}}
-- cgit v1.2.3 From 573935668ce616e67105e379ff5e4d8f9acd7538 Mon Sep 17 00:00:00 2001 From: INOUE Daisuke Date: Sun, 23 Mar 2025 14:25:36 +0900 Subject: Public evnet, Public group translation fix --- views/publicEventList.handlebars | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/publicEventList.handlebars') diff --git a/views/publicEventList.handlebars b/views/publicEventList.handlebars index 5c81496..1340e2f 100644 --- a/views/publicEventList.handlebars +++ b/views/publicEventList.handlebars @@ -21,12 +21,12 @@
-
{{t "upcomingevents" }}
+
{{t "publiclist.upcomingevents" }}
{{> eventList upcomingEvents }}
-
{{t "pastevents" }}
+
{{t "publiclist.pastevents" }}
{{> eventList pastEvents }}
-- cgit v1.2.3 From 1fd6a7d2249fdf6ba5ca9ced6ea43348ebe0941d Mon Sep 17 00:00:00 2001 From: INOUE Daisuke Date: Wed, 2 Apr 2025 01:49:11 +0900 Subject: rename translation keys as filestructure --- views/publicEventList.handlebars | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'views/publicEventList.handlebars') diff --git a/views/publicEventList.handlebars b/views/publicEventList.handlebars index 1340e2f..e95379b 100644 --- a/views/publicEventList.handlebars +++ b/views/publicEventList.handlebars @@ -12,39 +12,39 @@
-
{{t "publiclist.upcomingevents" }}
+
{{t "views.publiceventlist.upcomingevents" }}
{{> eventList upcomingEvents }}
-
{{t "publiclist.pastevents" }}
+
{{t "views.publiceventlist.pastevents" }}
{{> eventList pastEvents }}
-
{{t "eventgroups" }}
+
{{t "common.eventgroups" }}
{{#if eventGroups}} {{#each eventGroups}} {{this.name}} - {{{t "publiclist.numoevents" }}} + {{{t "views.publiceventlist.numoevents" }}} {{/each}} {{else}} -
{{t "publiclist.nogroups" }}
+
{{t "views.publiceventlist.nogroups" }}
{{/if}}
-- cgit v1.2.3 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}}". --- views/publicEventList.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/publicEventList.handlebars') 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 @@ {{this.name}} - {{{t "views.publiceventlist.numoevents" }}} + {{plural "views.publiceventlist.numoevents" this.numberOfEvents }} {{/each}} {{else}} -- cgit v1.2.3