From 7e0412dc9d78fc49eb3040ee92f6f237fe7071cd Mon Sep 17 00:00:00 2001 From: gevorgmansuryan Date: Sun, 16 Jul 2023 00:32:53 +0400 Subject: [PATCH 1/3] When language is set to dutch attendees aren't shown properly --- widgets/EntryParticipants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/EntryParticipants.php b/widgets/EntryParticipants.php index 9ace3229..2cffe31b 100644 --- a/widgets/EntryParticipants.php +++ b/widgets/EntryParticipants.php @@ -45,7 +45,7 @@ public function run() private function getParticipantStateCount($state, $condition) { if(!$condition) { - return null; + return 0; } return $this->calendarEntry->getParticipantCount($state); From b4691a5eee1e82d5a69ba9239d68eb9645269952 Mon Sep 17 00:00:00 2001 From: gevorgmansuryan Date: Sun, 16 Jul 2023 00:42:29 +0400 Subject: [PATCH 2/3] When language is set to dutch attendees aren't shown properly --- messages/nl/widgets_views_participants.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/messages/nl/widgets_views_participants.php b/messages/nl/widgets_views_participants.php index d709c754..ec96969c 100644 --- a/messages/nl/widgets_views_participants.php +++ b/messages/nl/widgets_views_participants.php @@ -1,8 +1,8 @@ ':aantal aanwezig', - ':count Declined' => ':aantal afgewezen', - ':count Invited' => ':aantal uitgenodigd', - ':count Undecided' => ':aantal onbepaald', + ':count Attending' => ':count aanwezig', + ':count Declined' => ':count afgewezen', + ':count Invited' => ':count uitgenodigd', + ':count Undecided' => ':count onbepaald', 'Participants' => 'Deelnemers', ); From d588a5b3427c0fcc9e12a7ee6039bb9796ce2b9f Mon Sep 17 00:00:00 2001 From: gevorgmansuryan Date: Sun, 16 Jul 2023 00:45:30 +0400 Subject: [PATCH 3/3] When language is set to dutch attendees aren't shown properly --- docs/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 8d43f7cf..97fd42ea 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,6 +7,7 @@ Changelog - Enh #387: Add title and description in Open Graph description on event pages - Enh #394: If the location is an URL, convert it to a clickable link - Enh #393: Automatically Update end time +- Fix #400: When language is set to dutch attendees aren't shown properly 1.5.0 (May 1, 2023) --------------------