mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +00:00
add translations for templates/
This commit is contained in:
parent
cd2e39c480
commit
4a8c161edc
3 changed files with 71 additions and 58 deletions
|
@ -96,14 +96,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<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>
|
<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">
|
<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' %}"><i class="fa fa-microchip"></i> {% trans "Switches" %}</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-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>
|
<li><a href="{% url 'topologie:index-room' %}"><i class="fa fa-home"></i> {% trans "Rooms" %}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{% acl_end %}
|
{% acl_end %}
|
||||||
{% can_view_app logs %}
|
{% can_view_app logs %}
|
||||||
<li><a href="{% url "logs:index" %}"><i class="fa fa-area-chart"></i> {% trans "Statistics" %}</a></li>
|
<li><a href="{% url 'logs:index' %}"><i class="fa fa-area-chart"></i> {% trans "Statistics" %}</a></li>
|
||||||
{% acl_end %}
|
{% acl_end %}
|
||||||
{% can_view_app preferences %}
|
{% can_view_app preferences %}
|
||||||
<li>
|
<li>
|
||||||
|
@ -137,12 +137,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
{% else %}
|
{% else %}
|
||||||
{% can_view_any_app users machines cotisations %}
|
{% can_view_any_app users machines cotisations %}
|
||||||
<li>
|
<li>
|
||||||
<form action="{% url "search:search"%}" class="navbar-form" role="search">
|
<form action="{% url 'search:search' %}" class="navbar-form" role="search">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="text" class="form-control" placeholder="{% trans "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">
|
<div class="input-group-btn">
|
||||||
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i></button>
|
<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>
|
<a href="{% url 'search:searchp' %}" class="btn btn-default" role="button"><i class="fa fa-plus"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -153,7 +153,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-user-circle"></i> {{ request.user.pseudo|slice:":15" }} <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-user-circle"></i> {{ request.user.pseudo|slice:":15" }} <span class="caret"></span></a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><a href="{% url "users:mon-profil" %}"><i class="fa fa-user"></i> {% trans "My profile" %}</a></li>
|
<li><a href="{% url 'users:mon-profil' %}"><i class="fa fa-user"></i> {% trans "My profile" %}</a></li>
|
||||||
<li><a id="toggle_login" href="{% url 'logout' %}"><i class="fa fa-sign-out"></i> {% trans "Log out" %}</a></li>
|
<li><a id="toggle_login" href="{% url 'logout' %}"><i class="fa fa-sign-out"></i> {% trans "Log out" %}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
@ -200,7 +200,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<th scope="row">{% trans "Internet access" %}</th>
|
<th scope="row">{% trans "Internet access" %}</th>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
{% if request_user.has_access %}
|
{% 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>
|
<i class="text-success">{% blocktrans with end_access_date=request.user.end_access|date:"d b Y" %}Until {{ end_access_date }}{% endblocktrans %}</i>
|
||||||
{% else %}
|
{% else %}
|
||||||
<i class="text-danger">{% trans "Disabled" %}</i>
|
<i class="text-danger">{% trans "Disabled" %}</i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -210,15 +210,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<th scope="row">{% trans "Membership" %}</th>
|
<th scope="row">{% trans "Membership" %}</th>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
{% if request_user.is_adherent %}
|
{% if request_user.is_adherent %}
|
||||||
<i class="text-success">{% blocktrans with request_user.end_adhesion|date:"d b Y" as date %}Until {{ date }}{% endblocktrans %}</i>
|
<i class="text-success">{% blocktrans with end_adhesion_date=request_user.end_adhesion|date:"d b Y" %}Until {{ end_adhesion_date }}{% endblocktrans %}</i>
|
||||||
{% else %}
|
{% else %}
|
||||||
<i class="text-danger">{% trans "Not a member" %}</i>
|
<i class="text-danger">{% trans "Non member" %}</i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<div class="list-group">
|
<div class="list-group">
|
||||||
<a class="list-group-item list-group-item-info" role="button"href="{% url "users:mon-profil" %}">
|
<a class="list-group-item list-group-item-info" role="button"href="{% url 'users:mon-profil' %}">
|
||||||
<i class="fa fa-user-circle"></i>
|
<i class="fa fa-user-circle"></i>
|
||||||
{% trans "View my profile" %}
|
{% trans "View my profile" %}
|
||||||
</a>
|
</a>
|
||||||
|
@ -236,10 +236,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
</div>
|
</div>
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
{% for interface in interfaces|slice:":5" %}
|
{% for interface in interfaces|slice:":5" %}
|
||||||
<div class="list-group-item">{{interface}}</div>
|
<div class="list-group-item">{{ interface }}</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if interfaces|length > 5 %}
|
{% if interfaces|length > 5 %}
|
||||||
<a class="list-group-item list-group-item-info" role="button" href="{% url "users:mon-profil" %}">
|
<a class="list-group-item list-group-item-info" role="button" href="{% url 'users:mon-profil' %}">
|
||||||
<i class="fa fa-plus"></i>
|
<i class="fa fa-plus"></i>
|
||||||
{% trans "View my machines" %}
|
{% trans "View my machines" %}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -21,7 +21,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 2.5\n"
|
"Project-Id-Version: 2.5\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2018-08-15 16:10+0200\n"
|
"POT-Creation-Date: 2019-01-08 23:59+0100\n"
|
||||||
"PO-Revision-Date: 2018-03-31 16:09+0002\n"
|
"PO-Revision-Date: 2018-03-31 16:09+0002\n"
|
||||||
"Last-Translator: Laouen Fernet <laouen.fernet@supelec.fr>\n"
|
"Last-Translator: Laouen Fernet <laouen.fernet@supelec.fr>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
@ -38,116 +38,121 @@ msgstr "Site de gestion de réseau soutenu par FedeRez."
|
||||||
msgid "Home"
|
msgid "Home"
|
||||||
msgstr "Accueil"
|
msgstr "Accueil"
|
||||||
|
|
||||||
#: base.html:81
|
#: base.html:80
|
||||||
msgid "Users"
|
msgid "Users"
|
||||||
msgstr "Utilisateurs"
|
msgstr "Utilisateurs"
|
||||||
|
|
||||||
#: base.html:84
|
#: base.html:83
|
||||||
msgid "Manage the users"
|
msgid "Manage the users"
|
||||||
msgstr "Gérer les utilisateurs"
|
msgstr "Gérer les utilisateurs"
|
||||||
|
|
||||||
#: base.html:85
|
#: base.html:84
|
||||||
msgid "Manage the clubs"
|
msgid "Manage the clubs"
|
||||||
msgstr "Gérer les clubs"
|
msgstr "Gérer les clubs"
|
||||||
|
|
||||||
#: base.html:88
|
#: base.html:87
|
||||||
msgid "Manage the machines"
|
msgid "Manage the machines"
|
||||||
msgstr "Gérer les machines"
|
msgstr "Gérer les machines"
|
||||||
|
|
||||||
#: base.html:91
|
#: base.html:90
|
||||||
msgid "Manage the subscriptions"
|
msgid "Manage the subscriptions"
|
||||||
msgstr "Gérer les cotisations"
|
msgstr "Gérer les cotisations"
|
||||||
|
|
||||||
#: base.html:98
|
#: base.html:97
|
||||||
msgid "Topology"
|
msgid "Topology"
|
||||||
msgstr "Topologie"
|
msgstr "Topologie"
|
||||||
|
|
||||||
#: base.html:100
|
#: base.html:99
|
||||||
msgid "Switches"
|
msgid "Switches"
|
||||||
msgstr "Commutateurs réseau"
|
msgstr "Commutateurs réseau"
|
||||||
|
|
||||||
#: base.html:101
|
#: base.html:100
|
||||||
msgid "Access points"
|
msgid "Access points"
|
||||||
msgstr "Points d'accès sans fil"
|
msgstr "Points d'accès sans fil"
|
||||||
|
|
||||||
#: base.html:102
|
#: base.html:101
|
||||||
msgid "Rooms"
|
msgid "Rooms"
|
||||||
msgstr "Chambres"
|
msgstr "Chambres"
|
||||||
|
|
||||||
#: base.html:107
|
#: base.html:106
|
||||||
msgid "Statistics"
|
msgid "Statistics"
|
||||||
msgstr "Statistiques"
|
msgstr "Statistiques"
|
||||||
|
|
||||||
#: base.html:112
|
#: base.html:111
|
||||||
msgid "Administration"
|
msgid "Administration"
|
||||||
msgstr "Administration"
|
msgstr "Administration"
|
||||||
|
|
||||||
#: base.html:112
|
#: base.html:118
|
||||||
msgid "More information"
|
msgid "More information"
|
||||||
msgstr "Plus d'informations"
|
msgstr "Plus d'informations"
|
||||||
|
|
||||||
#: base.html:114
|
#: base.html:120
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "À propos"
|
msgstr "À propos"
|
||||||
|
|
||||||
#: base.html:122
|
#: base.html:121
|
||||||
msgid "Contact"
|
msgid "Contact"
|
||||||
msgstr "Contact"
|
msgstr "Contact"
|
||||||
|
|
||||||
#: base.html:129
|
#: base.html:128
|
||||||
msgid "Sign up"
|
msgid "Sign up"
|
||||||
msgstr "S'enregistrer"
|
msgstr "S'inscrire"
|
||||||
|
|
||||||
#: base.html:135 registration/login.html:30 registration/login.html:50
|
#: base.html:134 registration/login.html:29 registration/login.html:36
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr "Se connecter"
|
msgstr "Se connecter"
|
||||||
|
|
||||||
#: base.html:143
|
#: base.html:142
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Rechercher"
|
msgstr "Rechercher"
|
||||||
|
|
||||||
#: base.html:157
|
#: base.html:156
|
||||||
msgid "My profile"
|
msgid "My profile"
|
||||||
msgstr "Mon profil"
|
msgstr "Mon profil"
|
||||||
|
|
||||||
#: base.html:158
|
#: base.html:157
|
||||||
msgid "Log out"
|
msgid "Log out"
|
||||||
msgstr "Se déconnecter"
|
msgstr "Se déconnecter"
|
||||||
|
|
||||||
#: base.html:194
|
#: base.html:192
|
||||||
msgid "Username"
|
msgid "Username"
|
||||||
msgstr "Pseudo"
|
msgstr "Pseudo"
|
||||||
|
|
||||||
#: base.html:198
|
#: base.html:196
|
||||||
msgid "Room"
|
msgid "Room"
|
||||||
msgstr "Chambre"
|
msgstr "Chambre"
|
||||||
|
|
||||||
#: base.html:202
|
#: base.html:200
|
||||||
msgid "Internet access"
|
msgid "Internet access"
|
||||||
msgstr "Accès Internet"
|
msgstr "Accès Internet"
|
||||||
|
|
||||||
#: base.html:205 base.html:215
|
#: base.html:203
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Until %(date)s"
|
msgid "Until %(end_access_date)s"
|
||||||
msgstr "Jusqu'au %(date)s"
|
msgstr "Jusqu'au %(end_access_date)s"
|
||||||
|
|
||||||
#: base.html:207
|
#: base.html:205
|
||||||
msgid "Disabled"
|
msgid "Disabled"
|
||||||
msgstr "Désactivé"
|
msgstr "Désactivé"
|
||||||
|
|
||||||
#: base.html:212
|
#: base.html:210
|
||||||
msgid "Membership"
|
msgid "Membership"
|
||||||
msgstr "Adhésion"
|
msgstr "Adhésion"
|
||||||
|
|
||||||
#: base.html:217
|
#: base.html:213
|
||||||
msgid "Not a member"
|
#, python-format
|
||||||
|
msgid "Until %(end_adhesion_date)s"
|
||||||
|
msgstr "Jusqu'au %(end_adhesion_date)s"
|
||||||
|
|
||||||
|
#: base.html:215
|
||||||
|
msgid "Non member"
|
||||||
msgstr "Non adhérent"
|
msgstr "Non adhérent"
|
||||||
|
|
||||||
#: base.html:225
|
#: base.html:223
|
||||||
msgid "View my profile"
|
msgid "View my profile"
|
||||||
msgstr "Voir mon profil"
|
msgstr "Voir mon profil"
|
||||||
|
|
||||||
#: base.html:229
|
#: base.html:228
|
||||||
msgid "You are not logged in."
|
msgid "You are not logged in."
|
||||||
msgstr "Vous n'êtes pas connecté."
|
msgstr "Vous n'êtes pas connecté."
|
||||||
|
|
||||||
|
@ -180,11 +185,11 @@ msgstr "À propos de ce site"
|
||||||
|
|
||||||
#: base.html:267
|
#: base.html:267
|
||||||
msgid ""
|
msgid ""
|
||||||
"This software is under the terms of the "
|
"This software is under the terms of the <a href=\"http://www.gnu.org/"
|
||||||
"<a href=\"http://www.gnu.org/licenses/gpl-2.0.txt\" target=\"_blank\" rel=\"nofollow\">GPLv2</a> License."
|
"licenses/gpl-2.0.txt\" target=\"_blank\" rel=\"nofollow\">GPLv2</a> License."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Ce logiciel est sous les termes de la licence "
|
"Ce logiciel est sous les termes de la licence <a href=\"http://www.gnu.org/"
|
||||||
"<a href=\"http://www.gnu.org/licenses/gpl-2.0.txt\" target=\"_blank\" rel=\"nofollow\">GPLv2</a>."
|
"licenses/gpl-2.0.txt\" target=\"_blank\" rel=\"nofollow\">GPLv2</a>."
|
||||||
|
|
||||||
#: buttons/add.html:27
|
#: buttons/add.html:27
|
||||||
msgid "Add"
|
msgid "Add"
|
||||||
|
@ -293,14 +298,22 @@ msgstr "Si vous n'avez aucune idée de ce que vous avez fait :"
|
||||||
msgid "Go back to a safe page"
|
msgid "Go back to a safe page"
|
||||||
msgstr "Retourner à une page sécurisée"
|
msgstr "Retourner à une page sécurisée"
|
||||||
|
|
||||||
#: registration/login.html:35
|
#: pagination.html:34
|
||||||
msgid "Your username and password didn't match. Please try again."
|
msgid "First"
|
||||||
msgstr "Vos identifiants sont incorrects. Veuillez réessayer."
|
msgstr "Première page"
|
||||||
|
|
||||||
#: registration/login.html:43
|
#: pagination.html:40
|
||||||
msgid "Please log in to see this page."
|
msgid "Previous"
|
||||||
msgstr "Veuillez vous connecter pour voir cette page."
|
msgstr "Précédent"
|
||||||
|
|
||||||
#: registration/login.html:53
|
#: pagination.html:60
|
||||||
|
msgid "Next"
|
||||||
|
msgstr "Suivant"
|
||||||
|
|
||||||
|
#: pagination.html:66
|
||||||
|
msgid "Last"
|
||||||
|
msgstr "Dernière page"
|
||||||
|
|
||||||
|
#: registration/login.html:40
|
||||||
msgid "Forgotten password?"
|
msgid "Forgotten password?"
|
||||||
msgstr "Mot de passe oublié ?"
|
msgstr "Mot de passe oublié ?"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends "base.html" %}
|
{% extends 'base.html' %}
|
||||||
{% comment %}
|
{% comment %}
|
||||||
Re2o est un logiciel d'administration développé initiallement au rezometz. Il
|
Re2o est un logiciel d'administration développé initiallement au rezometz. Il
|
||||||
se veut agnostique au réseau considéré, de manière à être installable en
|
se veut agnostique au réseau considéré, de manière à être installable en
|
||||||
|
|
Loading…
Reference in a new issue