From 9eeb685d8f3d3ba9b0f1a5e36b2906ba01fe0744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sun, 20 Sep 2015 21:53:07 +0200 Subject: [PATCH] add translation of implied scopes in edit/show view refs #573 0h07 --- Resources/views/PermissionsGroup/edit.html.twig | 2 +- Resources/views/PermissionsGroup/show.html.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/views/PermissionsGroup/edit.html.twig b/Resources/views/PermissionsGroup/edit.html.twig index 3a53dd2da..75dce3f40 100644 --- a/Resources/views/PermissionsGroup/edit.html.twig +++ b/Resources/views/PermissionsGroup/edit.html.twig @@ -31,7 +31,7 @@ {{ role_scope.role|trans }} {% if expanded_roles[role_scope.role]|length > 1 %}
- {{ 'Which implies'|trans }} : {% for role in expanded_roles[role_scope.role] %}{{ role }}{% if not loop.last %}, {% endif %}{% endfor %} + {{ 'Which implies'|trans }} : {% for role in expanded_roles[role_scope.role] %}{{ role|trans }}{% if not loop.last %}, {% endif %}{% endfor %} {% endif %} diff --git a/Resources/views/PermissionsGroup/show.html.twig b/Resources/views/PermissionsGroup/show.html.twig index 025592f9a..d28c9548b 100644 --- a/Resources/views/PermissionsGroup/show.html.twig +++ b/Resources/views/PermissionsGroup/show.html.twig @@ -30,7 +30,7 @@ {{ role_scope.role|trans }} {% if expanded_roles[role_scope.role]|length > 1 %}
- {{ 'Which implies'|trans }} : {% for role in expanded_roles[role_scope.role] %}{{ role }}{% if not loop.last %}, {% endif %}{% endfor %} + {{ 'Which implies'|trans }} : {% for role in expanded_roles[role_scope.role] %}{{ role|trans }}{% if not loop.last %}, {% endif %}{% endfor %} {% endif %} {%- if role_scope.scope is not null -%}