diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/_history.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/_history.html.twig index 9149e9a94..4ce53a845 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Workflow/_history.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/_history.html.twig @@ -74,7 +74,7 @@ {% if not loop.last and step.signatures|length > 0 %}
-

{{ 'workflow.signature_required_title'|trans({'nb_signatures': step.signatures|length}) }} :

+

{{ 'workflow.signatures_title'|trans({'nb_signatures': step.signatures|length}) }} :

{{ include('@ChillMain/Workflow/_signature_list.html.twig', {'signatures': step.signatures, is_small: true }) }}
@@ -130,7 +130,7 @@
{% if step.signatures|length > 0 %} -

{{ 'workflow.signature_required_title'|trans({'nb_signatures': step.signatures|length}) }} :

+

{{ 'workflow.signatures_title'|trans({'nb_signatures': step.signatures|length}) }} :

{{ include('@ChillMain/Workflow/_signature_list.html.twig', {'signatures': step.signatures, is_small: true }) }} {% endif %} {% endif %} diff --git a/src/Bundle/ChillMainBundle/translations/messages+intl-icu.fr.yaml b/src/Bundle/ChillMainBundle/translations/messages+intl-icu.fr.yaml index 5c67b3eaa..e86484114 100644 --- a/src/Bundle/ChillMainBundle/translations/messages+intl-icu.fr.yaml +++ b/src/Bundle/ChillMainBundle/translations/messages+intl-icu.fr.yaml @@ -67,6 +67,12 @@ workflow: one {Signature demandée} other {Signatures demandées} } + signatures_title: >- + {nb_signatures, plural, + =0 {Aucune signature} + one {Signature} + other {Signatures} + } pending_signatures: >- {nb_signatures, plural, =0 {Aucune signature demandée}