diff --git a/templates/web/admin/users.html.twig b/templates/web/admin/users.html.twig index 7bc2a75c6f..1dfd409d72 100644 --- a/templates/web/admin/users.html.twig +++ b/templates/web/admin/users.html.twig @@ -7,11 +7,15 @@
{% set user_count = app['request'].get('user-updated') %} + {% if user_count == 1 %} {% trans %} - {{ user_count }} user has been created - {% plural user_count %} - {{ user_count }} users have been created + The user has been created. {% endtrans %} + {% else %} + {% trans %} + {{ user_count }} users have been created. + {% endtrans %} + {% endif %}
{% endif %} diff --git a/templates/web/common/dialog_export.html.twig b/templates/web/common/dialog_export.html.twig index 9aa9f900ea..51acdc3ada 100644 --- a/templates/web/common/dialog_export.html.twig +++ b/templates/web/common/dialog_export.html.twig @@ -256,10 +256,18 @@ {% if values.available > 0 %}
{% set docs_orderable = values.available %} - {% trans %}{{docs_orderable}} documents commandes{% endtrans %} + {% if docs_orderable <= 1 %} + {% trans %}Un document commande{% endtrans %} + {% else %} + {% trans %}{{docs_orderable}} documents commandes{% endtrans %} + {% endif %} {% set docs_not_orderable = values.total - values.available %} {% if docs_not_orderable > 0%} - {% trans %}{{docs_not_orderable}} documents ne peuvent pas etre commandes{% endtrans %} + {% if docs_not_orderable == 1 %} + {% trans %}Un document ne peut etre commande{% endtrans %} + {% else %} + {% trans %}{{docs_not_orderable}} documents ne peuvent pas etre commandes{% endtrans %} + {% endif %} {% endif %} {% if values.refused|length > 0 %} {% set title%} diff --git a/templates/web/prod/actions/Bridge/Dailymotion/element_informations.html.twig b/templates/web/prod/actions/Bridge/Dailymotion/element_informations.html.twig index 81032a068a..67ce358a0b 100644 --- a/templates/web/prod/actions/Bridge/Dailymotion/element_informations.html.twig +++ b/templates/web/prod/actions/Bridge/Dailymotion/element_informations.html.twig @@ -1,14 +1,12 @@