Fix translation keys and participant pluralization in list_with_period.html.twig

Updated French translations for "Participants" and improved pluralization handling in accompanying_period keys. Modified list_with_period.html.twig to dynamically translate "Participants" based on the count of current participations.
This commit is contained in:
Julien Fastré 2025-06-04 16:54:58 +02:00
parent a35d456308
commit fca10ada71
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
4 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,6 @@
kind: Fixed
body: Display the list of participant in the results, even if there is only one participant and that the search result display the requestor
time: 2025-06-04T16:55:50.107852336+02:00
custom:
Issue: "390"
SchemaChange: No schema change

View File

@ -100,7 +100,7 @@
<div class="wl-row">
<div class="wl-col title">
<h3 class="participants">
{{ 'Participants'|trans }}
{{ 'accompanying_period.Participants_without_count'|trans({count: acp.currentParticipations|length}) }}
</h3>
</div>
<div class="wl-col list">

View File

@ -13,6 +13,14 @@ Requestor: >-
neutral {Demandeur·euse}
}
accompanying_period:
Participants_without_count: >-
{count, plural,
=0 {Participant}
=1 {Participant}
other {Participants}
}
person:
from_the: depuis le
And himself: >-

View File

@ -208,7 +208,7 @@ Pediod closing form is not valid: Le formulaire n'est pas valide
Accompanying user: Accompagnant
No accompanying user: Aucun accompagnant
No data given: Pas d'information
Participants: Usagers impliquées
Participants: Usagers impliqués
Create an accompanying course: Créer un parcours
Accompanying courses of users: Parcours des utilisateurs
This accompanying course is still a draft: Ce parcours est encore à l'état brouillon.