8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 12:53:11 +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,8 +39,8 @@ 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" content="{% static 'images/logo_re2o.svg' %}"/>
<meta property="og:image:type" content="image/svg"/> <meta property="og:image:type" content="image/svg"/>
<meta property="og:image:alt" content="The Re2o logo"/> <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> <script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
{# Load CSS and JavaScript #} {# Load CSS and JavaScript #}
{% bootstrap_css %} {% bootstrap_css %}
<link href="/static/css/typeaheadjs.css" rel="stylesheet"> <link href="/static/css/typeaheadjs.css" rel="stylesheet">
@ -78,17 +78,17 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
{% can_view_any_app users machines cotisations %} {% can_view_any_app users machines cotisations %}
<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-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"> <ul class="dropdown-menu">
{% can_view_app users %} {% 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' %}"><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 clubs" %}</a></li> <li><a href="{% url 'users:index-clubs' %}"><i class="fa fa-users"></i> {% trans "Manage the clubs" %}</a></li>
{% acl_end %} {% acl_end %}
{% can_view_app machines %} {% 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 %} {% acl_end %}
{% can_view_app cotisations %} {% 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 %} {% acl_end %}
</ul> </ul>
</li> </li>
@ -97,9 +97,9 @@ 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 "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> <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 %}
@ -116,7 +116,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</ul> </ul>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li class="dropdown"> <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"> <ul class="dropdown-menu">
<li><a href="{% url 'about' %}"><i class="fa fa-info-circle"></i> {% trans "About" %}</a></li> <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> <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 %} {% if var_sa %}
<li> <li>
<a href="{% url 'users:new-user' %}"> <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> </a>
</li> </li>
{% endif %} {% endif %}
@ -140,7 +140,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<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="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>
@ -152,7 +152,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endif %} {% endif %}
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}
<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-alt"></i> {% trans "Log out" %}</a></li> <li><a id="toggle_login" href="{% url 'logout' %}"><i class="fa fa-sign-out-alt"></i> {% trans "Log out" %}</a></li>
@ -199,12 +199,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<td class="text-right">{{ request_user.room }}</td> <td class="text-right">{{ request_user.room }}</td>
</tr> </tr>
<tr> <tr>
<th scope="row">{% trans "Connexion" %}</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 request.user.end_access|date:"d b Y" as date %}Until {{ date }}{% endblocktrans %}</i>
{% else %} {% else %}
<i class="text-danger">{% trans "Deactivated" %}</i> <i class="text-danger">{% trans "Disabled" %}</i>
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
@ -222,17 +222,17 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<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 "See my profile" %} {% trans "View my profile" %}
</a> </a>
</div> </div>
{% else %} {% else %}
<p>{% trans "You are not logged in" %}</p> <p>{% trans "You are not logged in." %}</p>
{% endif %} {% endif %}
</div> </div>
{% if request_user.is_authenticated %} {% if request_user.is_authenticated %}
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <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> </div>
<ul class="list-group"> <ul class="list-group">
{% for interface in interfaces|slice:":5" %} {% 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 %} {% 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 "See my machines" %} {% trans "View my machines" %}
</a> </a>
{% endif %} {% endif %}
</ul> </ul>
@ -260,3 +260,4 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{# Read the documentation for more information #} {# Read the documentation for more information #}
</body> </body>
</html> </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., with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %} {% 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> <i class="fa fa-plus"></i>
</a> </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., with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %} {% 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> <i class="fa fa-pencil-alt"></i>
</a> </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., with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %} {% endcomment %}
{% load i18n %} {% load i18n %}
<a {% if class%}class="btn btn-info btn-sm"{% endif %} role="button" title="{% trans 'History' %}" href="{% url 'logs:history' application name id %}"> <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 %} <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 %} {% endfor %}
<div class="help-block">{{ field.help_text }}</div> <div class="help-block">{{ field.help_text }}</div>
</div> </div>

View file

@ -43,8 +43,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if language.code == LANGUAGE_CODE %} {% if language.code == LANGUAGE_CODE %}
<i class="fa fa-check"></i> <i class="fa fa-check"></i>
{% endif %} {% endif %}
{{ language.name_local | title }} ({{ language.code }}) {{ language.name_local|title }} ({{ language.code }})
</button> </button>
{% endfor %} {% endfor %}
</form> </form>
</div> </div>

View file

@ -24,27 +24,32 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% load url_insert_param %} {% load url_insert_param %}
{% load i18n %}
{% spaceless %} {% spaceless %}
<div style="display: flex; padding: 0;"> <div style="display: flex; padding: 0;">
{{ text }}&nbsp; {{ text }}&nbsp;
<div style="display: grid; font-size: 9px; line-height: 1; margin: auto 0;"> <div style="display: grid; font-size: 9px; line-height: 1; margin: auto 0;">
{% if prefix %} {% if prefix %}
{% with prefix|add:'_'|add:col as colname %} {% 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> <span class="fa fa-caret-up"></span>
</a> </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> <span class="fa fa-caret-down"></span>
</a> </a>
{% endwith %} {% endwith %}
{% else %} {% 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> <span class="fa fa-caret-up"></span>
</a> </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> <span class="fa fa-caret-down"></span>
</a> </a>
{% endif %} {% endif %}
</div> </div>
</div> </div>
{% endspaceless %} {% 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., with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %} {% 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> <i class="fa fa-trash"></i>
</a> </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" content="{% static 'images/logo_re2o.svg' %}"/>
<meta property="og:image:type" content="image/svg"/> <meta property="og:image:type" content="image/svg"/>
<meta property="og:image:alt" content="The Re2o logo"/> <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"> <meta charset="utf-8">
<link rel="shortcut icon" type="image/svg" href="{% static 'images/logo_re2o.svg' %}"> <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 src="/javascript/jquery/jquery.min.js"></script>
<script> <script>
var snake = [{x:0,y:0,vx:1,vy:0}]; var snake = [{x:0,y:0,vx:1,vy:0}];
@ -122,7 +122,7 @@ function draw_score(){
var ctx = document.getElementById('myCanvas').getContext('2d'); var ctx = document.getElementById('myCanvas').getContext('2d');
ctx.font = '50px serif'; ctx.font = '50px serif';
ctx.fillStyle = '#2ecc71'; ctx.fillStyle = '#2ecc71';
ctx.fillText("{% trans "Score :"%} " + score, 10, 60); ctx.fillText("{% trans "Score: " %} " + score, 10, 60);
} }
function draw_lost(){ function draw_lost(){
@ -217,9 +217,9 @@ a
</style> </style>
</head> </head>
<body> <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;"> <canvas id="myCanvas" width="800px" height="300px" style="border:1px solid #d3d3d3;">
{%trans "Your browser does not support the HTML5 canvas tag."%} {% trans "Your browser does not support the HTML5 canvas tag." %}
</canvas> </canvas>
</body> </body>

File diff suppressed because one or more lines are too long

View file

@ -21,154 +21,262 @@ 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-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" "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-Team: \n"
"Language: fr_FR\n" "Language: fr_FR\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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" msgid "Home"
msgstr "Accueil" msgstr "Accueil"
#: templates/base.html:83 #: base.html:81
msgid "My profile" msgid "Users"
msgstr "Mon profil" msgstr "Utilisateurs"
#: templates/base.html:84 #: base.html:84
msgid "Log out" msgid "Manage the users"
msgstr "Se déconnecter" msgstr "Gérer les utilisateurs"
#: templates/base.html:90 #: base.html:85
msgid "Members" msgid "Manage the clubs"
msgstr "Adhérents"
#: templates/base.html:93
msgid "Manage members"
msgstr "Gérer les adhérents"
#: templates/base.html:94
msgid "Manage clubs"
msgstr "Gérer les clubs" msgstr "Gérer les clubs"
#: templates/base.html:97 #: base.html:88
msgid "Manage machines" msgid "Manage the machines"
msgstr "Gérer les machines" msgstr "Gérer les machines"
#: templates/base.html:100 #: base.html:91
msgid "Manage cotisations" msgid "Manage the subscriptions"
msgstr "Gérer les cotisations" msgstr "Gérer les cotisations"
#: templates/base.html:107 #: base.html:98
msgid "Topology" msgid "Topology"
msgstr "Topologie" msgstr "Topologie"
#: templates/base.html:109 #: base.html:100
msgid "Switches" msgid "Switches"
msgstr "Commutateurs" msgstr "Commutateurs réseau"
#: templates/base.html:110 #: base.html:101
msgid "Wi-Fi access points" msgid "Access points"
msgstr "Bornes Wi-Fi" msgstr "Points d'accès sans fil"
#: templates/base.html:111 #: base.html:102
msgid "Rooms" msgid "Rooms"
msgstr "Chambres & locaux" msgstr "Chambres"
#: templates/base.html:116 #: base.html:107
msgid "Statistics" msgid "Statistics"
msgstr "Statistiques" msgstr "Statistiques"
#: templates/base.html:123 #: base.html:112
msgid "Preferences" msgid "Administration"
msgstr "Préférences" msgstr "Administration"
#: templates/base.html:128 #: base.html:119
msgid "More information"
msgstr "Plus d'informations"
#: base.html:121
msgid "About" msgid "About"
msgstr "A propos" msgstr "À propos"
#: templates/base.html:134 #: base.html:122
msgid "Sign in" msgid "Contact"
msgstr "Créer un compte" 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" msgid "Log in"
msgstr "Se connecter" 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" msgid "Username"
msgstr "Pseudo" msgstr "Pseudo"
#: templates/base.html:192 #: base.html:198
msgid "Room" msgid "Room"
msgstr "Chambre" msgstr "Chambre"
#: templates/base.html:196 #: base.html:202
msgid "Connexion" msgid "Internet access"
msgstr "Connexion" msgstr "Accès Internet"
#: templates/base.html:199 templates/base.html:209 #: base.html:205 base.html:215
#, python-format #, python-format
msgid "Until %(date)s" msgid "Until %(date)s"
msgstr "Jusqu'à %(date)s" msgstr "Jusqu'au %(date)s"
#: templates/base.html:201 #: base.html:207
msgid "Deactivated" msgid "Disabled"
msgstr "Désactivée" msgstr "Désactivé"
#: templates/base.html:206 #: base.html:212
msgid "Membership" msgid "Membership"
msgstr "Adhésion" msgstr "Adhésion"
#: templates/base.html:211 #: base.html:217
msgid "Not a member" msgid "Not a member"
msgstr "Non adhérent" msgstr "Non adhérent"
#: templates/base.html:219 #: base.html:225
msgid "See my profile" msgid "View my profile"
msgstr "Voir mon profil" msgstr "Voir mon profil"
#: templates/base.html:223 #: base.html:229
msgid "You are not logged in" msgid "You are not logged in."
msgstr "Vous n'êtes pas connecté" msgstr "Vous n'êtes pas connecté."
#: templates/base.html:229 #: base.html:235
#, python-format #, python-format
msgid "%(nb)s machine active" msgid "%(nb)s active machine"
msgstr "%(nb)s machine actives" msgid_plural "%(nb)s active machines"
msgstr[0] "%(nb)s machine active"
msgstr[1] "%(nb)s machines actives"
#: templates/base.html:229 #: base.html:244
#, python-format msgid "View my machines"
msgid "%(nb)s machines active"
msgstr "%(nb)s machines actives"
#: templates/base.html:238
msgid "See my machines"
msgstr "Voir mes 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" msgid "Translation in development"
msgstr "Traduction en développement" msgstr "Traduction en développement"
#: users/widgets.py:35 #: buttons/sort.html:35
msgid "Close" msgid "Ascending sort"
msgstr "Fermer" msgstr "Tri croissant"
#: users/widgets.py:36 #: buttons/sort.html:36
msgid "Today" msgid "Descending sort"
msgstr "Aujourd'hui" msgstr "Tri décroissant"
#: users/widgets.py:44 #: buttons/suppr.html:27
msgid "Next" msgid "Delete"
msgstr "Suivant" msgstr "Supprimer"
#: users/widgets.py:45 #: errors/404.html:39
msgid "Previous" msgid "404 error: page not found"
msgstr "Précédent" msgstr "Erreur 404 : page non trouvée"
#: users/widgets.py:46 #: errors/404.html:125
msgid "Wk" msgid "Score: "
msgstr "Sem" 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 %} {% endif %}
</ul> </ul>
{% endif %} {% endif %}

View file

@ -25,29 +25,32 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% load bootstrap3 %} {% load bootstrap3 %}
{% block title %}Login{% endblock %} {% load i18n %}
{% block title %}{% trans "Log in" %}{% endblock %}
{% block content %} {% block content %}
{% if form.errors %} {% 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 %} {% endif %}
{% if next %} {% if next %}
{% if user.is_authenticated %} {% if user.is_authenticated %}
<p>Your account doesn't have access to this page. To proceed, <p>{% trans "Your account doesn't have access to this page. To proceed,
please login with an account that has access.</p> please log in with an account that has access." %}</p>
{% else %} {% else %}
<p>Please login to see this page.</p> <p>{% trans "Please log in to see this page." %}</p>
{% endif %} {% endif %}
{% endif %} {% endif %}
<p><form method="post" action="{% url 'login' %}"> <p><form method="post" action="{% url 'login' %}">
{% csrf_token %} {% csrf_token %}
{% bootstrap_form form %} {% 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 }}" /> <input type="hidden" name="next" value="{{ next }}" />
</form></p> </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 %} {% endblock %}