list with period: full sentences in translation component

This commit is contained in:
2022-04-25 20:56:24 +02:00
parent 57d6240cd1
commit 916560c522
2 changed files with 14 additions and 7 deletions

View File

@@ -246,8 +246,8 @@
data-bs-target="#collapse_{{ person.id }}"
aria-expanded="false"
aria-controls="collapse_{{ person.id }}">
<span class="folded">{{ 'show'|trans }} {{ 'periods.number of periods'|trans({ 'nb_items': acpsClosed|length }) }}{{ 'closed periods'|trans }}</span>
<span class="unfolded text-secondary">{{ 'hide'|trans }} {{ 'closed periods'|trans }}</span>
<span class="folded">{{ 'periods.show closed periods'|trans({ 'nb_items': acpsClosed|length }) }}</span>
<span class="unfolded text-secondary">{{ 'periods.hide closed periods'|trans({ 'nb_items': acpsClosed|length }) }}</span>
</button>
</h2>