8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 07:02:26 +00:00

Translation of templates/ (front)

This commit is contained in:
Laouen Fernet 2018-05-20 21:21:29 +02:00
parent 62d86be364
commit 0472f913fa
14 changed files with 277 additions and 138 deletions

View file

@ -39,7 +39,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<meta property="og:image" content="{% static 'images/logo_re2o.svg' %}"/>
<meta property="og:image:type" content="image/svg"/>
<meta property="og:image:alt" content="The Re2o logo"/>
<meta property="og:description" content="Site de gestion de réseau supporté par FedeRez." />
<meta property="og:description" content="{% trans "Networking managing website endorsed by FedeRez." %}" />
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
{# Load CSS and JavaScript #}
{% bootstrap_css %}
@ -78,17 +78,17 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<ul class="nav navbar-nav">
{% can_view_any_app users machines cotisations %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-users"></i> {% trans "Members" %}<span class="caret"></span></a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-users"></i> {% trans "Users" %}<span class="caret"></span></a>
<ul class="dropdown-menu">
{% can_view_app users %}
<li><a href="{% url 'users:index' %}"><i class="fa fa-user"></i> {% trans "Manage members" %}</a></li>
<li><a href="{% url 'users:index-clubs' %}"><i class="fa fa-users"></i> {% trans "Manage clubs" %}</a></li>
<li><a href="{% url 'users:index' %}"><i class="fa fa-user"></i> {% trans "Manage the users" %}</a></li>
<li><a href="{% url 'users:index-clubs' %}"><i class="fa fa-users"></i> {% trans "Manage the clubs" %}</a></li>
{% acl_end %}
{% can_view_app machines %}
<li><a href="{% url 'machines:index' %}"><i class="fa fa-desktop"></i> {% trans "Manage machines" %}</a></li>
<li><a href="{% url 'machines:index' %}"><i class="fa fa-desktop"></i> {% trans "Manage the machines" %}</a></li>
{% acl_end %}
{% can_view_app cotisations %}
<li><a href="{% url 'cotisations:index' %}"><i class="fa fa-dollar-sign"></i> {% trans "Manage cotisations" %}</a></li>
<li><a href="{% url 'cotisations:index' %}"><i class="fa fa-dollar-sign"></i> {% trans "Manage the subscriptions" %}</a></li>
{% acl_end %}
</ul>
</li>
@ -98,7 +98,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-sitemap"></i> {% trans "Topology" %}<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{% url "topologie:index" %}"><i class="fa fa-microchip"></i> {% trans "Switches" %}</a></li>
<li><a href="{% url "topologie:index-ap" %}"><i class="fa fa-wifi"></i> {% trans "Wi-Fi access points" %}</a></li>
<li><a href="{% url "topologie:index-ap" %}"><i class="fa fa-wifi"></i> {% trans "Access points" %}</a></li>
<li><a href="{% url "topologie:index-room" %}"><i class="fa fa-home"></i> {% trans "Rooms" %}</a></li>
</ul>
</li>
@ -116,7 +116,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fas fa-info"></i> {% trans "Info" %}<span class="caret"></span></a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fas fa-info"></i> {% trans "More information" %}<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="{% url 'about' %}"><i class="fa fa-info-circle"></i> {% trans "About" %}</a></li>
<li><a href="{% url 'contact' %}"><i class="fas fa-at"></i> {% trans "Contact" %}</a></li>
@ -126,7 +126,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if var_sa %}
<li>
<a href="{% url 'users:new-user' %}">
<i class="fa fa-user-plus"></i> {% trans "Sign in" %}
<i class="fa fa-user-plus"></i> {% trans "Sign up" %}
</a>
</li>
{% endif %}
@ -140,7 +140,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<li>
<form action="{% url "search:search"%}" class="navbar-form" role="search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search" name="q" id="search-term" {% if search_term %}value="{{ search_term }}"{% endif %}>
<input type="text" class="form-control" placeholder="{% trans "Search" %}" name="q" id="search-term" {% if search_term %}value="{{ search_term }}"{% endif %}>
<div class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i></button>
<a href="{% url "search:searchp" %}" class="btn btn-default" role="button"><i class="fa fa-plus"></i></a>
@ -199,12 +199,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<td class="text-right">{{ request_user.room }}</td>
</tr>
<tr>
<th scope="row">{% trans "Connexion" %}</th>
<th scope="row">{% trans "Internet access" %}</th>
<td class="text-right">
{% if request_user.has_access %}
<i class="text-success">{% blocktrans with request.user.end_access|date:"d b Y" as date %}Until {{ date }}{% endblocktrans %}</i>
{% else %}
<i class="text-danger">{% trans "Deactivated" %}</i>
<i class="text-danger">{% trans "Disabled" %}</i>
{% endif %}
</td>
</tr>
@ -222,17 +222,17 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="list-group">
<a class="list-group-item list-group-item-info" role="button"href="{% url "users:mon-profil" %}">
<i class="fa fa-user-circle"></i>
{% trans "See my profile" %}
{% trans "View my profile" %}
</a>
</div>
{% else %}
<p>{% trans "You are not logged in" %}</p>
<p>{% trans "You are not logged in." %}</p>
{% endif %}
</div>
{% if request_user.is_authenticated %}
<div class="panel panel-default">
<div class="panel-heading">
<h4>{% blocktrans count interfaces|length as nb %}{{ nb }} machine active{% plural %}{{ nb }} machines active{% endblocktrans %}</h4>
<h4>{% blocktrans count interfaces|length as nb %}{{ nb }} active machine{% plural %}{{ nb }} active machines{% endblocktrans %}</h4>
</div>
<ul class="list-group">
{% for interface in interfaces|slice:":5" %}
@ -241,7 +241,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if interfaces|length > 5 %}
<a class="list-group-item list-group-item-info" role="button" href="{% url "users:mon-profil" %}">
<i class="fa fa-plus"></i>
{% trans "See my machines" %}
{% trans "View my machines" %}
</a>
{% endif %}
</ul>
@ -260,3 +260,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{# Read the documentation for more information #}
</body>
</html>

View file

@ -21,6 +21,11 @@ You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}
<a class="btn btn-primary btn-sm" role="button" href="{% if id %}{% url href id %}{% else %}{% url href %}{% endif %}" title="{{ desc|default:"Ajouter" }}">
{% load i18n %}
{% trans "Add" as tr_add %}
<a class="btn btn-primary btn-sm" role="button" href="{% if id %}{% url href id %}{% else %}{% url href %}{% endif %}" title="{{ desc|default:tr_add }}">
<i class="fa fa-plus"></i>
</a>

View file

@ -21,6 +21,11 @@ You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}
<a class="btn btn-primary btn-sm" role="button" title="{{ desc|default:"Éditer" }}" href="{% url href id %}">
{% load i18n %}
{% trans "Edit" as tr_edit %}
<a class="btn btn-primary btn-sm" role="button" title="{{ desc|default:tr_edit }}" href="{% url href id %}">
<i class="fa fa-pencil-alt"></i>
</a>

View file

@ -21,6 +21,7 @@ You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}
{% load i18n %}
<a {% if class%}class="btn btn-info btn-sm"{% endif %} role="button" title="{% trans 'History' %}" href="{% url 'logs:history' application name id %}">
<i class="fa fa-history"></i> {% if text %}{% trans 'History' %}{% endif %}

View file

@ -36,3 +36,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endfor %}
<div class="help-block">{{ field.help_text }}</div>
</div>

View file

@ -48,3 +48,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endfor %}
</form>
</div>

View file

@ -24,27 +24,32 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% load url_insert_param %}
{% load i18n %}
{% spaceless %}
<div style="display: flex; padding: 0;">
{{ text }}&nbsp;
<div style="display: grid; font-size: 9px; line-height: 1; margin: auto 0;">
{% if prefix %}
{% with prefix|add:'_'|add:col as colname %}
<a role="button" href="{% url_insert_param request.get_full_path col=colname order='asc' %}" title="{{ desc|default:"Tri croissant" }}">
{% trans "Ascending sort" as tr_ascending_sort %}
{% trans "Descending sort" as tr_descending_sort %}
<a role="button" href="{% url_insert_param request.get_full_path col=colname order='asc' %}" title="{{ desc|default:tr_ascending_sort }}">
<span class="fa fa-caret-up"></span>
</a>
<a role="button" href="{% url_insert_param request.get_full_path col=colname order='desc' %}" title="{{ desc|default:"Tri décroissant" }}">
<a role="button" href="{% url_insert_param request.get_full_path col=colname order='desc' %}" title="{{ desc|default:tr_descending_sort }}">
<span class="fa fa-caret-down"></span>
</a>
{% endwith %}
{% else %}
<a role="button" href="{% url_insert_param request.get_full_path col=col order='asc' %}" title="{{ desc|default:"Tri croissant" }}">
<a role="button" href="{% url_insert_param request.get_full_path col=col order='asc' %}" title="{{ desc|default:tr_ascending_sort }}">
<span class="fa fa-caret-up"></span>
</a>
<a role="button" href="{% url_insert_param request.get_full_path col=col order='desc' %}" title="{{ desc|default:"Tri décroissant" }}">
<a role="button" href="{% url_insert_param request.get_full_path col=col order='desc' %}" title="{{ desc|default:tr_descending_sort }}">
<span class="fa fa-caret-down"></span>
</a>
{% endif %}
</div>
</div>
{% endspaceless %}

View file

@ -21,6 +21,11 @@ You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}
<a class="btn btn-danger btn-sm" role="button" href="{% url href id %}" title="{{ desc|default:"Supprimer" }}">
{% load i18n %}
{% trans "Delete" as tr_delete %}
<a class="btn btn-danger btn-sm" role="button" href="{% url href id %}" title="{{ desc|default:tr_delete }}">
<i class="fa fa-trash"></i>
</a>

View file

@ -32,11 +32,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<meta property="og:image" content="{% static 'images/logo_re2o.svg' %}"/>
<meta property="og:image:type" content="image/svg"/>
<meta property="og:image:alt" content="The Re2o logo"/>
<meta property="og:description" content="Site de gestion de réseau supporté par FedeRez." />
<meta property="og:description" content="{% trans "Networking managing website endorsed by FedeRez." %}" />
<meta charset="utf-8">
<link rel="shortcut icon" type="image/svg" href="{% static 'images/logo_re2o.svg' %}">
<title>404, Page not Found</title>
<title>{% trans "404 error: page not found" %}</title>
<script src="/javascript/jquery/jquery.min.js"></script>
<script>
var snake = [{x:0,y:0,vx:1,vy:0}];
@ -217,7 +217,7 @@ a
</style>
</head>
<body>
<h1>{% trans "Yup, that's a 404 error."%} <a href="/">{% trans "(Go to a known place)"%}</a></h1>
<h1>{% trans "Yup, that's a 404 error." %} <a href="/">{% trans "(Go back to a safe page)" %}</a></h1>
<canvas id="myCanvas" width="800px" height="300px" style="border:1px solid #d3d3d3;">
{% trans "Your browser does not support the HTML5 canvas tag." %}
</canvas>

File diff suppressed because one or more lines are too long

View file

@ -21,154 +21,262 @@ msgid ""
msgstr ""
"Project-Id-Version: 2.5\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-23 18:44+0200\n"
"POT-Creation-Date: 2018-08-15 16:10+0200\n"
"PO-Revision-Date: 2018-03-31 16:09+0002\n"
"Last-Translator: Maël Kervella <dev@maelkervella.eu>\n"
"Last-Translator: Laouen Fernet <laouen.fernet@supelec.fr>\n"
"Language-Team: \n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: templates/base.html:59
#: base.html:42 errors/404.html:35
msgid "Networking managing website endorsed by FedeRez."
msgstr "Site de gestion de réseau soutenu par FedeRez."
#: base.html:59
msgid "Home"
msgstr "Accueil"
#: templates/base.html:83
msgid "My profile"
msgstr "Mon profil"
#: base.html:81
msgid "Users"
msgstr "Utilisateurs"
#: templates/base.html:84
msgid "Log out"
msgstr "Se déconnecter"
#: base.html:84
msgid "Manage the users"
msgstr "Gérer les utilisateurs"
#: templates/base.html:90
msgid "Members"
msgstr "Adhérents"
#: templates/base.html:93
msgid "Manage members"
msgstr "Gérer les adhérents"
#: templates/base.html:94
msgid "Manage clubs"
#: base.html:85
msgid "Manage the clubs"
msgstr "Gérer les clubs"
#: templates/base.html:97
msgid "Manage machines"
#: base.html:88
msgid "Manage the machines"
msgstr "Gérer les machines"
#: templates/base.html:100
msgid "Manage cotisations"
#: base.html:91
msgid "Manage the subscriptions"
msgstr "Gérer les cotisations"
#: templates/base.html:107
#: base.html:98
msgid "Topology"
msgstr "Topologie"
#: templates/base.html:109
#: base.html:100
msgid "Switches"
msgstr "Commutateurs"
msgstr "Commutateurs réseau"
#: templates/base.html:110
msgid "Wi-Fi access points"
msgstr "Bornes Wi-Fi"
#: base.html:101
msgid "Access points"
msgstr "Points d'accès sans fil"
#: templates/base.html:111
#: base.html:102
msgid "Rooms"
msgstr "Chambres & locaux"
msgstr "Chambres"
#: templates/base.html:116
#: base.html:107
msgid "Statistics"
msgstr "Statistiques"
#: templates/base.html:123
msgid "Preferences"
msgstr "Préférences"
#: base.html:112
msgid "Administration"
msgstr "Administration"
#: templates/base.html:128
#: base.html:119
msgid "More information"
msgstr "Plus d'informations"
#: base.html:121
msgid "About"
msgstr "A propos"
msgstr "À propos"
#: templates/base.html:134
msgid "Sign in"
msgstr "Créer un compte"
#: base.html:122
msgid "Contact"
msgstr "Contact"
#: templates/base.html:140
#: base.html:129
msgid "Sign up"
msgstr "S'enregistrer"
#: base.html:135 registration/login.html:30 registration/login.html:50
msgid "Log in"
msgstr "Se connecter"
#: templates/base.html:188
#: base.html:143
msgid "Search"
msgstr "Rechercher"
#: base.html:157
msgid "My profile"
msgstr "Mon profil"
#: base.html:158
msgid "Log out"
msgstr "Se déconnecter"
#: base.html:194
msgid "Username"
msgstr "Pseudo"
#: templates/base.html:192
#: base.html:198
msgid "Room"
msgstr "Chambre"
#: templates/base.html:196
msgid "Connexion"
msgstr "Connexion"
#: base.html:202
msgid "Internet access"
msgstr "Accès Internet"
#: templates/base.html:199 templates/base.html:209
#: base.html:205 base.html:215
#, python-format
msgid "Until %(date)s"
msgstr "Jusqu'à %(date)s"
msgstr "Jusqu'au %(date)s"
#: templates/base.html:201
msgid "Deactivated"
msgstr "Désactivée"
#: base.html:207
msgid "Disabled"
msgstr "Désactivé"
#: templates/base.html:206
#: base.html:212
msgid "Membership"
msgstr "Adhésion"
#: templates/base.html:211
#: base.html:217
msgid "Not a member"
msgstr "Non adhérent"
#: templates/base.html:219
msgid "See my profile"
#: base.html:225
msgid "View my profile"
msgstr "Voir mon profil"
#: templates/base.html:223
msgid "You are not logged in"
msgstr "Vous n'êtes pas connecté"
#: base.html:229
msgid "You are not logged in."
msgstr "Vous n'êtes pas connecté."
#: templates/base.html:229
#: base.html:235
#, python-format
msgid "%(nb)s machine active"
msgstr "%(nb)s machine actives"
msgid "%(nb)s active machine"
msgid_plural "%(nb)s active machines"
msgstr[0] "%(nb)s machine active"
msgstr[1] "%(nb)s machines actives"
#: templates/base.html:229
#, python-format
msgid "%(nb)s machines active"
msgstr "%(nb)s machines actives"
#: templates/base.html:238
msgid "See my machines"
#: base.html:244
msgid "View my machines"
msgstr "Voir mes machines"
#: templates/buttons/setlang.html:34
#: buttons/add.html:27
msgid "Add"
msgstr "Ajouter"
#: buttons/edit.html:27
msgid "Edit"
msgstr "Modifier"
#: buttons/history.html:26 buttons/history.html:27
msgid "History"
msgstr "Historique"
#: buttons/setlang.html:34
msgid "Translation in development"
msgstr "Traduction en développement"
#: users/widgets.py:35
msgid "Close"
msgstr "Fermer"
#: buttons/sort.html:35
msgid "Ascending sort"
msgstr "Tri croissant"
#: users/widgets.py:36
msgid "Today"
msgstr "Aujourd'hui"
#: buttons/sort.html:36
msgid "Descending sort"
msgstr "Tri décroissant"
#: users/widgets.py:44
msgid "Next"
msgstr "Suivant"
#: buttons/suppr.html:27
msgid "Delete"
msgstr "Supprimer"
#: users/widgets.py:45
msgid "Previous"
msgstr "Précédent"
#: errors/404.html:39
msgid "404 error: page not found"
msgstr "Erreur 404 : page non trouvée"
#: users/widgets.py:46
msgid "Wk"
msgstr "Sem"
#: errors/404.html:125
msgid "Score: "
msgstr "Score : "
#: errors/404.html:133
msgid "YOU LOST"
msgstr "VOUS AVEZ PERDU"
#: errors/404.html:220
msgid "Yup, that's a 404 error."
msgstr "Yep, c'est une erreur 404."
#: errors/404.html:220
msgid "(Go back to a safe page)"
msgstr "(Retourner à une page sécurisée)"
#: errors/404.html:222
msgid "Your browser does not support the HTML5 canvas tag."
msgstr "Votre navigateur ne supporte pas la balise HTML5 canvas."
#: errors/500.html:6 errors/500.html:31
msgid "500 error: Re2o internal server error"
msgstr "Erreur 500 : Erreur interne du serveur Re2o"
#: errors/500.html:34
msgid ""
"Congratulations! You have discovered a bug on Re2o and you've reached a page "
"we try to hide, you can be proud of youself. We try to track those bugs down "
"but apparently we have missed one. We sincerely thank you for the help: it "
"is not that easy to catch them all."
msgstr ""
"Félicitations ! Vous avez découvert un dysfonctionnement de Re2o and vous "
"avez atteint une page que nous essayons de cacher, vous pouvez être fier de "
"vous. Nous essayons de repérer ces dysfonctionnements mais apparemment nous "
"en avons raté un. Nous vous remercions sincèrement pour votre aide: ce n'est "
"pas si facile de tous les attraper."
#: errors/500.html:40
msgid ""
"An email has been automatically sent to the site administrators. Please "
"avoid spamming them by trigerring the same issue multiple times."
msgstr ""
"Un courrier électronique a été envoyé automatiquement aux administrateurs du "
"site. Veuillez éviter de déclencher la même erreur de multiples fois pour ne "
"pas renvoyer de courrier électronique."
#: errors/500.html:41
msgid ""
"The mail should contains all the details necessary to understand what went "
"wrong but if your help were needed, you will probably be contacted by them."
msgstr ""
" Le courrier électronique devrait contenir tous les détails nécessaires à la "
"compréhension de ce qui s'est mal passé mais si votre aide était requise, "
"vous serez probablement contacté par eux."
#: errors/500.html:46
msgid ""
"This issue will be fixed as soon as possible but please take into "
"consideration the administrators may not be always available. If your "
"request is really urgent, inform your local organisation, they will help you "
"temporarily fix the issue."
msgstr ""
"Cette erreur sera corrigée dès que possible mais veuillez prendre en "
"considération le fait que les administrateurs peuvent ne pas être tout le "
"temps disponibles. Si votre requête est vraiment urgente, informez votre "
"association locale, elle vous aidra à corriger temporairement l'erreur."
#: errors/500.html:54
msgid "If you have no idea what you've done:"
msgstr "Si vous n'avez aucune idée de ce que vous avez fait :"
#: errors/500.html:55
msgid "Go back to a safe page"
msgstr "Retourner à une page sécurisée"
#: registration/login.html:35
msgid "Your username and password didn't match. Please try again."
msgstr "Vos identifiants sont incorrects. Veuillez réessayer."
#: registration/login.html:43
msgid "Please log in to see this page."
msgstr "Veuillez vous connecter pour voir cette page."
#: registration/login.html:53
msgid "Forgotten password?"
msgstr "Mot de passe oublié ?"

View file

@ -42,3 +42,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endif %}
</ul>
{% endif %}

View file

@ -25,29 +25,32 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% load bootstrap3 %}
{% block title %}Login{% endblock %}
{% load i18n %}
{% block title %}{% trans "Log in" %}{% endblock %}
{% block content %}
{% if form.errors %}
<p>Your username and password didn't match. Please try again.</p>
<p>{% trans "Your username and password didn't match. Please try again." %}</p>
{% endif %}
{% if next %}
{% if user.is_authenticated %}
<p>Your account doesn't have access to this page. To proceed,
please login with an account that has access.</p>
<p>{% trans "Your account doesn't have access to this page. To proceed,
please log in with an account that has access." %}</p>
{% else %}
<p>Please login to see this page.</p>
<p>{% trans "Please log in to see this page." %}</p>
{% endif %}
{% endif %}
<p><form method="post" action="{% url 'login' %}">
{% csrf_token %}
{% bootstrap_form form %}
<button class="btn btn-success" type="submit"><span class="glyphicon glyphicon-log-in"></span> Login</button>
<button class="btn btn-success" type="submit"><span class="glyphicon glyphicon-log-in"></span> {% trans "Log in" %}</button>
<input type="hidden" name="next" value="{{ next }}" />
</form></p>
<p><a class="btn btn-warning btn-sm" role="button" href="{% url 'users:reset-password' %}"> Mot de passe oublié ?</a></p>
<p><a class="btn btn-warning btn-sm" role="button" href="{% url 'users:reset-password' %}"> {% trans "Forgotten password?" %}</a></p>
{% endblock %}