Commit 70480e25 authored by erdnaxe's avatar erdnaxe 🎇

Frontend translation

parent 66cae6c3
......@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-27 16:11+0100\n"
"POT-Creation-Date: 2019-01-27 17:04+0100\n"
"PO-Revision-Date: 2019-01-24 08:55+0100\n"
"Last-Translator: Alexandre Iooss <erdnaxe@crans.org>\n"
"Language: FR\n"
......@@ -20,6 +20,12 @@ msgstr "Administration de la base de données de la Mediathèque"
msgid "Med Admin"
msgstr "Med Admin"
#: templates/base.html:9 templates/navbar.html:5 templates/sidebar.html:45
#, fuzzy
#| msgid "Media"
msgid "Med"
msgstr "Media"
#: templates/navbar.html:12
msgid "Media"
msgstr "Media"
......@@ -32,16 +38,16 @@ msgstr "Utilisateurs"
msgid "Stats"
msgstr "Statistiques"
#: templates/navbar.html:32 templates/sidebar.html:15
#: templates/navbar.html:32 templates/sidebar.html:18
msgid "My profile"
msgstr "Mon profil"
#: templates/navbar.html:40 templates/sidebar.html:19
#: templates/navbar.html:40 templates/sidebar.html:22
msgid "Log out"
msgstr "Déconnexion"
#: templates/navbar.html:47 templates/registration/login.html:15
#: templates/sidebar.html:32
#: templates/sidebar.html:35
msgid "Log in"
msgstr "Connexion"
......@@ -76,16 +82,15 @@ msgstr "Mot de passe oublié ?"
#: templates/registration/password_reset_complete.html:6
#: templates/registration/password_reset_complete.html:9
msgid "Password reset complete"
msgstr ""
msgstr "Réinitialisation du mot de passe effectuée"
#: templates/registration/password_reset_complete.html:11
msgid "Your password has been set. You may go ahead and log in now."
msgstr ""
"Votre mot de passe a été changé. Vous pouvez maintenant vous connectez."
#: templates/registration/password_reset_confirm.html:6
#: templates/registration/password_reset_confirm.html:9
#, fuzzy
#| msgid "Forgotten password ?"
msgid "Enter new password"
msgstr "Mot de passe oublié ?"
......@@ -134,6 +139,18 @@ msgstr ""
msgid "Send me instructions!"
msgstr "Envoyez moi les instructions !"
#: templates/sidebar.html:28
#: templates/sidebar.html:9
msgid "Pseudo"
msgstr "Pseudo"
#: templates/sidebar.html:12
msgid "Member since"
msgstr "Médeux depuis"
#: templates/sidebar.html:31
msgid "You are not log in yet."
msgstr "Vous n'êtes pas authentifié·e."
#: templates/sidebar.html:45
msgid "Coded with"
msgstr "Codé avec"
......@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-27 16:11+0100\n"
"POT-Creation-Date: 2019-01-27 17:04+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Alexandre Iooss <erdnaxe@crans.org>\n"
"Language: FR\n"
......
......@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-27 16:11+0100\n"
"POT-Creation-Date: 2019-01-27 17:04+0100\n"
"PO-Revision-Date: 2019-01-27 08:46+0100\n"
"Last-Translator: Alexandre Iooss <erdnaxe@crans.org>\n"
"Language: FR\n"
......
......@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-27 16:11+0100\n"
"POT-Creation-Date: 2019-01-27 17:04+0100\n"
"PO-Revision-Date: 2019-01-27 08:51+0100\n"
"Last-Translator: Alexandre Iooss <erdnaxe@crans.org>\n"
"Language: FR\n"
......
{% load staticfiles %}
{% load i18n %}
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Med : {% block title %}{% endblock %}</title>
<title>{% trans "Med" %} : {% block title %}{% endblock %}</title>
{# CSS style #}
<link rel="stylesheet" href="{% static "/css/bootstrap.min.css" %}">
......
{% load i18n %}
<nav class="navbar navbar-dark shadow bg-dark navbar-expand-lg">
<nav class="navbar navbar-dark py-1 shadow bg-dark navbar-expand">
{# Name of the website #}
<a class="navbar-brand" href="{% url "index" %}">Méd</a>
<a class="navbar-brand" href="{% url "index" %}">{% trans "Med" %}</a>
{# Site navigation #}
<ul class="navbar-nav mr-auto">
......
......@@ -6,10 +6,10 @@
<h5 class="card-header">{{ user.first_name }} {{ user.last_name }}</h5>
<div class="card-body">
<dl>
<dt>Pseudo</dt>
<dt>{% trans "Pseudo" %}</dt>
<dd>{{ user.username }}</dd>
<dt>Médeux depuis</dt>
<dt>{% trans "Member since" %}</dt>
<dd>{{ user.date_joined|date:"F Y" }}</dd>
</dl>
<div class="card-text text-center">
......@@ -42,7 +42,7 @@
<footer class="footer mt-auto py-3">
<div class="container">
<span class="text-muted">
Méd 2019 &mdash; Codé avec <span class="oi oi-heart"></span> par des médeux fous
{% trans "Med" %} 2019 &mdash; {% trans "Coded with" %} <span class="oi oi-heart"></span>
</span>
</div>
</footer>
......@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-01-27 16:11+0100\n"
"POT-Creation-Date: 2019-01-27 17:04+0100\n"
"PO-Revision-Date: 2019-01-27 08:56+0100\n"
"Last-Translator: Alexandre Iooss <erdnaxe@crans.org>\n"
"Language: FR\n"
......@@ -20,39 +20,35 @@ msgstr "utilisateurs"
msgid "phone"
msgstr "téléphone"
#: users/models.py:19
msgid "address"
msgstr "adresse"
#: users/models.py:23
#: users/models.py:17
msgid "maximum simultaneous borrowed books"
msgstr "nombre de livres empruntés en même temps"
#: users/models.py:32
#: users/models.py:26
msgid "state"
msgstr "état"
#: users/models.py:37 users/models.py:66
#: users/models.py:31 users/models.py:60
msgid "comment"
msgstr "commentaire"
#: users/models.py:53
#: users/models.py:47
msgid "name"
msgstr "nom"
#: users/models.py:60
#: users/models.py:54
msgid "owner"
msgstr "propriétaire"
#: users/models.py:73
#: users/models.py:67
msgid "start at"
msgstr "à partir de"
#: users/models.py:77
#: users/models.py:71
msgid "end at"
msgstr "jusqu'à"
#: users/models.py:82
#: users/models.py:76
msgid "member"
msgstr "membre"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment