From 5e5bd89885f40114b8a8badbba601780ef4eb06a Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Tue, 17 Jul 2018 21:47:20 +0200 Subject: [PATCH] =?UTF-8?q?Anglais=20=C3=A9pisode=202=20:=20L'attaque=20de?= =?UTF-8?q?s=20templates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- machines/templates/machines/index_role.html | 7 ++++--- machines/templates/machines/sidebar.html | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/machines/templates/machines/index_role.html b/machines/templates/machines/index_role.html index 93a99577..86c36a09 100644 --- a/machines/templates/machines/index_role.html +++ b/machines/templates/machines/index_role.html @@ -25,15 +25,16 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load bootstrap3 %} {% load acl %} +{% load i18n %} {% block title %}Machines{% endblock %} {% block content %} -

Liste des roles

+

{% trans "Roles list" %}

{% can_create Role %} - Ajouter un role + {% trans "Add role"%} {% acl_end %} - Supprimer un ou plusieurs role + {% trans "Delete one or several roles" %} {% include "machines/aff_role.html" with role_list=role_list %}

diff --git a/machines/templates/machines/sidebar.html b/machines/templates/machines/sidebar.html index 68031f29..75badb6b 100644 --- a/machines/templates/machines/sidebar.html +++ b/machines/templates/machines/sidebar.html @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endcomment %} {% load acl %} +{% load i18n %} {% block sidebar %} {% can_view_all Machine %} @@ -71,7 +72,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_view_all Role %} - Roles des serveurs + {% trans "Server roles" %} {% acl_end %} {% can_view_all OuverturePortList %}