POC Campus Condorcet : i18n, traductions, bugfix

This commit is contained in:
Paul Marillonnet 2017-05-14 19:21:15 +02:00
parent fd6b6b021d
commit b61be1cbc0
2 changed files with 19 additions and 10 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-14 17:17+0000\n"
"POT-Creation-Date: 2017-05-14 17:20+0000\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"
@ -146,16 +146,16 @@ msgid "Portal Management"
msgstr "Gestion du portail"
#: templates/registration_form.html:6
msgid "Bonjour"
msgstr "Hi"
msgid "Hi"
msgstr "Bonjour"
#: templates/registration_form.html:11
msgid "Invite :"
msgstr "Guest:"
msgid "Guest:"
msgstr "Invite"
#: templates/registration_form.html:24
msgid "Hote :"
msgstr "Host"
msgid "Host:"
msgstr "Hote"
#: templates/root.html:28
msgid ""
@ -172,3 +172,12 @@ msgstr ""
#: templates/root.html:43
msgid "Homepage"
msgstr "Page d'accueil"
#~ msgid "Bonjour"
#~ msgstr "Hi"
#~ msgid "Invite :"
#~ msgstr "Guest:"
#~ msgid "Hote :"
#~ msgstr "Host"

View File

@ -3,12 +3,12 @@
{% block content %}
{% trans "Bonjour" %} {{ form.user_nickname }}<br>
{% trans "Hi" %} {{ form.user_nickname }}<br>
{{ form.user_help_msg }} <br><br>
<form action="{% url "register" %}" method="post">
{% csrf_token %}
<h2>{% trans "Invite :" %}</h2><br>
<h2>{% trans "Guest:" %}</h2><br>
{% include "registration_field.html" with field=form.prenom %}
{% include "registration_field.html" with field=form.nom %}
{% include "registration_field.html" with field=form.email %}
@ -21,7 +21,7 @@
{% include "registration_field.html" with field=form.s_emp_corps %}
{% include "registration_field.html" with field=form.s_liste_rouge %}
</p>
<h2>{% trans "Hote :" %}</h2><br>
<h2>{% trans "Host:" %}</h2><br>
{% include "registration_field.html" with field=form.hote_prenom %}
{% include "registration_field.html" with field=form.hote_nom %}
{% include "registration_field.html" with field=form.hote_etablissement %}