Fix translation in event bundle using new pluralization syntax

This commit is contained in:
2024-07-16 07:07:08 +02:00
parent 74be6460d4
commit 29f6a43288
3 changed files with 7 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{% import '@ChillPerson/Person/macro.html.twig' as person_macro %}
{% if ignored_participations|length > 0 %}
<p>{% transchoice ignored_participations|length %}The following people have been ignored because they are already participating on the event{% endtranschoice %}&nbsp;:</p>
<p>{{ 'ignored_participations'|trans({'count': ignored_participations|length}) }}:</p>
<ul>
{% for p in ignored_participations %}
<li>{{ person_macro.render(p.person) }}</li>