mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix translation in event bundle using new pluralization syntax
This commit is contained in:
parent
bc2dfd159c
commit
1079c7e394
@ -1,7 +1,7 @@
|
|||||||
{% import '@ChillPerson/Person/macro.html.twig' as person_macro %}
|
{% import '@ChillPerson/Person/macro.html.twig' as person_macro %}
|
||||||
|
|
||||||
{% if ignored_participations|length > 0 %}
|
{% 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 %} :</p>
|
<p>{{ 'ignored_participations'|trans({'count': ignored_participations|length}) }}:</p>
|
||||||
<ul>
|
<ul>
|
||||||
{% for p in ignored_participations %}
|
{% for p in ignored_participations %}
|
||||||
<li>{{ person_macro.render(p.person) }}</li>
|
<li>{{ person_macro.render(p.person) }}</li>
|
||||||
|
@ -19,3 +19,9 @@ events:
|
|||||||
one {et un autre participant}
|
one {et un autre participant}
|
||||||
other {et # autres participants}
|
other {et # autres participants}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ignored_participations: >-
|
||||||
|
{ count, plural,
|
||||||
|
one {La personne suivante a été ignorée parce qu''elle participe déjà à l''événement}
|
||||||
|
other {Les personnes suivantes ont été ignorées parce qu''elles participent déjà à l'événement}
|
||||||
|
}
|
||||||
|
@ -41,7 +41,6 @@ Back to the event: Retour à l'événement
|
|||||||
The participation was created: La participation a été créée
|
The participation was created: La participation a été créée
|
||||||
The participation was updated: La participation a été mise à jour
|
The participation was updated: La participation a été mise à jour
|
||||||
'None of the requested people may participate the event: they are maybe already participating.': 'Aucune des personnes indiquées ne peut être ajoutée à l''événement: elles sont peut-être déjà inscrites comme participantes.'
|
'None of the requested people may participate the event: they are maybe already participating.': 'Aucune des personnes indiquées ne peut être ajoutée à l''événement: elles sont peut-être déjà inscrites comme participantes.'
|
||||||
'The following people have been ignored because they are already participating on the event': '{1} La personne suivante a été ignorée parce qu''elle participe déjà à l''événement | ]1,Inf] Les personnes suivantes ont été ignorées parce qu''elles participent déjà à l''événement'
|
|
||||||
There are no participation to edit for this event: Il n'y a pas de participation pour cet événement
|
There are no participation to edit for this event: Il n'y a pas de participation pour cet événement
|
||||||
The participations have been successfully updated.: Les participations ont été mises à jour.
|
The participations have been successfully updated.: Les participations ont été mises à jour.
|
||||||
The participation has been sucessfully removed: La participation a été correctement supprimée.
|
The participation has been sucessfully removed: La participation a été correctement supprimée.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user