From 29f6a432885b5f60535b9dc7ffa94d4f37644355 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Tue, 16 Jul 2024 07:07:08 +0200 Subject: [PATCH] Fix translation in event bundle using new pluralization syntax --- .../views/Participation/_ignored_participations.html.twig | 2 +- .../ChillEventBundle/translations/messages+intl-icu.fr.yml | 6 ++++++ src/Bundle/ChillEventBundle/translations/messages.fr.yml | 1 - 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Bundle/ChillEventBundle/Resources/views/Participation/_ignored_participations.html.twig b/src/Bundle/ChillEventBundle/Resources/views/Participation/_ignored_participations.html.twig index 9451f3c2b..f43c94f72 100644 --- a/src/Bundle/ChillEventBundle/Resources/views/Participation/_ignored_participations.html.twig +++ b/src/Bundle/ChillEventBundle/Resources/views/Participation/_ignored_participations.html.twig @@ -1,7 +1,7 @@ {% import '@ChillPerson/Person/macro.html.twig' as person_macro %} {% if ignored_participations|length > 0 %} -

{% transchoice ignored_participations|length %}The following people have been ignored because they are already participating on the event{% endtranschoice %} :

+

{{ 'ignored_participations'|trans({'count': ignored_participations|length}) }}: