Fix deprecation of transchoice

This commit is contained in:
2023-10-02 17:44:21 +02:00
parent 41f4bbfdce
commit ef8ac6041a
16 changed files with 71 additions and 39 deletions

View File

@@ -67,7 +67,7 @@
<h2>{{ 'Participations'|trans }}</h2>
{% set count = event.participations|length %}
<p>{% transchoice count %}%count% participations to this event{% endtranschoice %}</p>
<p>{{ 'count participations to this event'|trans({'count': count}) }}</p>
{% if count > 0 %}
<table class="table table-bordered border-dark align-middle">