{% twig_js name="confirmAddRole" %} {# no transchoice filter in twigjs... #} {{ 'add_roles_confirm_message'|trans({'%count%': nbItems}, 'platform') }} {% for role in roles %} {{ role }} {% if not loop.last %}, {% endif %} {% endfor %}