Commit f42e4ab5 authored by Daniel STAN's avatar Daniel STAN

pageperso: oubli {% load i18n %} + some trad

parent 0318a9b8
......@@ -3,12 +3,11 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-16 10:48+0100\n"
"POT-Creation-Date: 2016-02-22 17:47+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -18,13 +17,13 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: templates/pageperso/affichage.html:3 templates/pageperso/createdb.html:2
#: templates/pageperso/deletedb.html:2
#: templates/pageperso/affichage.html:3 templates/pageperso/createdb.html:3
#: templates/pageperso/deletedb.html:3
msgid "Ma page Perso"
msgstr "My personal web page"
#: templates/pageperso/affichage.html:4 templates/pageperso/createdb.html:3
#: templates/pageperso/deletedb.html:3
#: templates/pageperso/affichage.html:4 templates/pageperso/createdb.html:4
#: templates/pageperso/deletedb.html:4
msgid "Ma page perso"
msgstr "My personal web page"
......@@ -83,11 +82,11 @@ msgstr "You don't own a mysql database accessible from zamok."
msgid "Impossible d'accéder aux information de connexion mysql"
msgstr "Impossible to access mysql's connection informations"
#: templates/pageperso/createdb.html:16
#: templates/pageperso/createdb.html:17
msgid "Création de la base de données"
msgstr "Creation of the database"
#: templates/pageperso/createdb.html:17
#: templates/pageperso/createdb.html:18
msgid ""
"\n"
"Merci de choisir un mot de passe pour votre base de données.<br/>\n"
......@@ -99,20 +98,32 @@ msgstr ""
"It is strongly recommended to choose a different password from that for "
"accessing to your Crans account.\n"
#: templates/pageperso/createdb.html:24
#: templates/pageperso/createdb.html:25
msgid "Générer un mot de passe"
msgstr "Generate a password"
#: templates/pageperso/deletedb.html:5
#: templates/pageperso/createdb.html:26
msgid "Générer"
msgstr "Generate"
#: templates/pageperso/createdb.html:32 templates/pageperso/deletedb.html:13
msgid "annuler"
msgstr "Cancel"
#: templates/pageperso/deletedb.html:6
msgid "Destruction de votre base de données"
msgstr "Destruction of you database"
#: templates/pageperso/deletedb.html:8
#: templates/pageperso/deletedb.html:9
msgid ""
"Vraiment supprimer la base de données ? Toutes les données contenues dedans "
"seront irrémédiablement perdues."
msgstr "Really destroy the database? All data in will be irremediably lost"
#: templates/pageperso/deletedb.html:12
msgid "supprimer"
msgstr "Delete"
#: views.py:43 views.py:58
msgid "Modifier l'affichage de ma page perso"
msgstr "Modify your personnal webpage display"
......@@ -121,7 +132,3 @@ msgstr "Modify your personnal webpage display"
msgid "Référencer ma page perso"
msgstr "Index my personnal web page"
#, fuzzy
#~| msgid "Référencer ma page perso"
#~ msgid "Référencement"
#~ msgstr "Index my personnal web page"
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-16 10:48+0100\n"
"POT-Creation-Date: 2016-02-22 17:47+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -18,13 +18,13 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: templates/pageperso/affichage.html:3 templates/pageperso/createdb.html:2
#: templates/pageperso/deletedb.html:2
#: templates/pageperso/affichage.html:3 templates/pageperso/createdb.html:3
#: templates/pageperso/deletedb.html:3
msgid "Ma page Perso"
msgstr ""
#: templates/pageperso/affichage.html:4 templates/pageperso/createdb.html:3
#: templates/pageperso/deletedb.html:3
#: templates/pageperso/affichage.html:4 templates/pageperso/createdb.html:4
#: templates/pageperso/deletedb.html:4
msgid "Ma page perso"
msgstr ""
......@@ -75,11 +75,11 @@ msgstr ""
msgid "Impossible d'accéder aux information de connexion mysql"
msgstr ""
#: templates/pageperso/createdb.html:16
#: templates/pageperso/createdb.html:17
msgid "Création de la base de données"
msgstr ""
#: templates/pageperso/createdb.html:17
#: templates/pageperso/createdb.html:18
msgid ""
"\n"
"Merci de choisir un mot de passe pour votre base de données.<br/>\n"
......@@ -87,20 +87,32 @@ msgid ""
"votre compte Crans.\n"
msgstr ""
#: templates/pageperso/createdb.html:24
#: templates/pageperso/createdb.html:25
msgid "Générer un mot de passe"
msgstr ""
#: templates/pageperso/deletedb.html:5
#: templates/pageperso/createdb.html:26
msgid "Générer"
msgstr ""
#: templates/pageperso/createdb.html:32 templates/pageperso/deletedb.html:13
msgid "annuler"
msgstr ""
#: templates/pageperso/deletedb.html:6
msgid "Destruction de votre base de données"
msgstr ""
#: templates/pageperso/deletedb.html:8
#: templates/pageperso/deletedb.html:9
msgid ""
"Vraiment supprimer la base de données ? Toutes les données contenues dedans "
"seront irrémédiablement perdues."
msgstr ""
#: templates/pageperso/deletedb.html:12
msgid "supprimer"
msgstr ""
#: views.py:43 views.py:58
msgid "Modifier l'affichage de ma page perso"
msgstr ""
......
{% extends "template.html" %}
{% block title %} {%trans "Ma page Perso" %} {% endblock %}
{% load i18n %}
{% block title %} {% trans "Ma page Perso" %} {% endblock %}
{% block h1 %} {% trans "Ma page perso" %} {% endblock %}
{% block content %}
<script>
......@@ -13,22 +14,22 @@ function generatePassword(){
return false;
}
</script>
<h2>{% trans "Création de la base de données"%}</h2>
<h2>{% trans "Création de la base de données" %}</h2>
{% blocktrans %}
Merci de choisir un mot de passe pour votre base de données.<br/>
Il est fortement recommandé d'utiliser un mot de passe différent de celui de votre compte Crans.
{% endblocktrans%}
<form id="form" class="form" method="post"> {% csrf_token %}
<form id="form" class="form" method="post">{% csrf_token %}
<table>
{{form}}
<tr><th>{% trans "Générer un mot de passe" %}
<a href="#" onclick="return generatePassword();" class="button">Générer</a>
<a href="#" onclick="return generatePassword();" class="button">{% trans "Générer" %}</a>
</th><td>
<input type="text" name="generated"></td></tr>
</table>
<footer>
<input type="submit" value="envoyer" />
<a href="{% url "pageperso:pageperso" %}" class="button">annuler</a>
<a href="{% url "pageperso:pageperso" %}" class="button">{% trans "annuler" %}</a>
</footer>
</form>
{% endblock %}
......
{% extends "template.html" %}
{% block title %} {%trans "Ma page Perso" %} {% endblock %}
{% block h1 %} {%trans "Ma page perso" %} {% endblock %}
{% load i18n %}
{% block title %} {% trans "Ma page Perso" %} {% endblock %}
{% block h1 %} {% trans "Ma page perso" %} {% endblock %}
{% block content %}
<h2>{%trans "Destruction de votre base de données" %}</h2>
<form class="form" method="post"> {% csrf_token %}
<label>
<input name="confirm" type="checkbox" value="yes"> {% trans "Vraiment supprimer la base de données ? Toutes les données contenues dedans seront irrémédiablement perdues." %}
<input name="confirm" type="checkbox" value="yes">{% trans "Vraiment supprimer la base de données ? Toutes les données contenues dedans seront irrémédiablement perdues." %}
</label>
<footer>
<input type="submit" value="supprimer" class="button-del" />
<a href="{% url "pageperso:pageperso" %}" class="button">annuler</a>
<input type="submit" value="{% trans "supprimer" %}" class="button-del" />
<a href="{% url "pageperso:pageperso" %}" class="button">{% trans "annuler" %}</a>
</footer>
</form>
{% endblock %}
......
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