8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-07 02:16:26 +00:00

add translations for re2o/

This commit is contained in:
Laouen Fernet 2019-01-09 00:40:08 +01:00
parent 77e62df3b8
commit 3f601d74d1
8 changed files with 48 additions and 32 deletions

View file

@ -73,9 +73,9 @@ def smtp_check(local_part):
reply_code = srv.getreply()[0] reply_code = srv.getreply()[0]
srv.close() srv.close()
if reply_code in [250, 252]: if reply_code in [250, 252]:
return True, _("This domain is already taken") return True, _("This domain is already taken.")
except: except:
return True, _("Smtp unreachable") return True, _("SMTP unreachable.")
return False, None return False, None

View file

@ -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-23 15:03+0200\n" "POT-Creation-Date: 2019-01-12 16:48+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"
@ -42,6 +42,14 @@ msgstr "Vous n'avez pas le droit d'accéder à ce menu."
msgid "You don't have the right to edit the history." msgid "You don't have the right to edit the history."
msgstr "Vous n'avez pas le droit de modifier l'historique." msgstr "Vous n'avez pas le droit de modifier l'historique."
#: base.py:76
msgid "This domain is already taken."
msgstr "Ce domaine est déjà pris."
#: base.py:78
msgid "SMTP unreachable."
msgstr "SMTP injoignable."
#: mixins.py:111 #: mixins.py:111
#, python-format #, python-format
msgid "You don't have the right to create a %s object." msgid "You don't have the right to create a %s object."
@ -87,15 +95,15 @@ msgstr "À propos de %(AssoName)s"
#: templates/re2o/about.html:36 #: templates/re2o/about.html:36
msgid "" msgid ""
"Re2o is an administration tool initiated by <a href=\"https://rezometz.org/" "Re2o is an administration tool initiated by <a href=\"https://rezometz.org/"
"\">Rezo Metz</a> and a few members of other <a href=\"https://" "\">Rezo Metz</a> and a few members of other <a href=\"https://federez.net"
"federez.net\">FedeRez</a> associations around the summer 2016.<br /> It is " "\">FedeRez</a> associations around the summer 2016.<br /> It is intended to "
"intended to be a tool independant from any network infrastructure so it can " "be a tool independant from any network infrastructure so it can be setup in "
"be setup in \"a few steps\". This tool is entirely free and available under " "\"a few steps\". This tool is entirely free and available under a GNU Public "
"a GNU Public License v2 (GPLv2) license on <a href=\"https://gitlab.federez." "License v2 (GPLv2) license on <a href=\"https://gitlab.federez.net/federez/"
"net/federez/re2o/\">FedeRez gitlab</a>.<br /> Re2o's mainteners are " "re2o/\">FedeRez gitlab</a>.<br /> Re2o's mainteners are volunteers mainly "
"volunteers mainly from French schools. <br /> If you want to get involved in " "from French schools. <br /> If you want to get involved in the development "
"the development process, we will be glad to welcome you so do not hesitate " "process, we will be glad to welcome you so do not hesitate to contact us and "
"to contact us and come help us build the future of Re2o." "come help us build the future of Re2o."
msgstr "" msgstr ""
"Re2o est un outil d'administration initié par <a href=\"https://rezometz.org/" "Re2o est un outil d'administration initié par <a href=\"https://rezometz.org/"
"\">Rézo Metz</a> et quelques membres d'autres associations de <a href=" "\">Rézo Metz</a> et quelques membres d'autres associations de <a href="
@ -190,7 +198,7 @@ msgstr "Accueil"
msgid "Welcome to %(name_website)s" msgid "Welcome to %(name_website)s"
msgstr "Bienvenue sur %(name_website)s" msgstr "Bienvenue sur %(name_website)s"
#: templates/re2o/index.html:43 templates/re2o/index.html:45 #: templates/re2o/index.html:43
msgid "Registration" msgid "Registration"
msgstr "Inscription" msgstr "Inscription"
@ -202,17 +210,25 @@ msgstr ""
"Si vous n'avez pas encore de compte et que vous voulez accéder à Internet et " "Si vous n'avez pas encore de compte et que vous voulez accéder à Internet et "
"aux services de l'association, créez votre espace personnel." "aux services de l'association, créez votre espace personnel."
#: templates/re2o/index.html:55 templates/re2o/index.html:57 #: templates/re2o/index.html:45
msgid "Sign up"
msgstr "S'inscrire"
#: templates/re2o/index.html:55
msgid "Logging in" msgid "Logging in"
msgstr "Identification" msgstr "Identification"
#: templates/re2o/index.html:56 #: templates/re2o/index.html:56
msgid "" msgid ""
"If you already have an account, log in. You can manage your subscription to " "If you already have an account, log in. You can manage your subscriptions to "
"the organisation, your machines and all your services." "the organisation, your machines and all your services."
msgstr "" msgstr ""
"Si vous avez déjà un compte, identifiez-vous. Vous pouvez gérer votre " "Si vous avez déjà un compte, identifiez-vous. Vous pouvez gérer vos "
"cotisation à l'association, vos machines et tous vos services." "cotisations à l'association, vos machines et tous vos services."
#: templates/re2o/index.html:57
msgid "Log in"
msgstr "Se connecter"
#: templates/re2o/index.html:68 #: templates/re2o/index.html:68
msgid "My profile" msgid "My profile"
@ -220,10 +236,10 @@ msgstr "Mon profil"
#: templates/re2o/index.html:69 #: templates/re2o/index.html:69
msgid "" msgid ""
"To manage your subscription, your machines and all your services, access " "To manage your subscriptions, your machines and all your services, access "
"your profile." "your profile."
msgstr "" msgstr ""
"Pour gérer votre cotisation, vos machines et tous vos services, accéder à " "Pour gérer vos cotisations, vos machines et tous vos services, accéder à "
"votre profil." "votre profil."
#: templates/re2o/index.html:70 #: templates/re2o/index.html:70
@ -249,5 +265,5 @@ msgid "Follow @%(twitter_account_name)s"
msgstr "Suivre @%(twitter_account_name)s" msgstr "Suivre @%(twitter_account_name)s"
#: views.py:87 #: views.py:87
msgid "Unable to get the information" msgid "Unable to get the information."
msgstr "Impossible d'obtenir l'information" msgstr "Impossible d'obtenir l'information."

View file

@ -1,4 +1,4 @@
{% extends "re2o/sidebar.html" %} {% extends 're2o/sidebar.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

View file

@ -1,4 +1,4 @@
{% extends "re2o/sidebar.html" %} {% extends 're2o/sidebar.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

View file

@ -1,4 +1,4 @@
{% extends "re2o/sidebar.html" %} {% extends 're2o/sidebar.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
@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %} {% block content %}
<h2>{% blocktrans %}History of {{ object }}{% endblocktrans %}</h2> <h2>{% blocktrans %}History of {{ object }}{% endblocktrans %}</h2>
{% include "re2o/aff_history.html" with reversions=reversions %} {% include 're2o/aff_history.html' with reversions=reversions %}
<br /> <br />
<br /> <br />
<br /> <br />

View file

@ -1,4 +1,4 @@
{% extends "re2o/sidebar.html" %} {% extends 're2o/sidebar.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
@ -42,7 +42,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="caption"> <div class="caption">
<h3>{% trans "Registration" %}</h3> <h3>{% trans "Registration" %}</h3>
<p>{% trans "If you don't have an account yet and you want to access the Internet and the organisation's services, create your own personal account." %}</p> <p>{% trans "If you don't have an account yet and you want to access the Internet and the organisation's services, create your own personal account." %}</p>
<p><a href="{% url 'users:new-user' %}" class="btn btn-primary" role="button">{% trans "Registration" %}</a></p> <p><a href="{% url 'users:new-user' %}" class="btn btn-primary" role="button">{% trans "Sign up" %}</a></p>
</div> </div>
</div> </div>
</div> </div>
@ -53,8 +53,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="thumbnail"> <div class="thumbnail">
<div class="caption"> <div class="caption">
<h3>{% trans "Logging in" %}</h3> <h3>{% trans "Logging in" %}</h3>
<p>{% trans "If you already have an account, log in. You can manage your subscription to the organisation, your machines and all your services." %}</p> <p>{% trans "If you already have an account, log in. You can manage your subscriptions to the organisation, your machines and all your services." %}</p>
<p><a href="{% url 'login' %}" class="btn btn-primary" role="button">{% trans "Logging in" %}</a></p> <p><a href="{% url 'login' %}" class="btn btn-primary" role="button">{% trans "Log in" %}</a></p>
</div> </div>
</div> </div>
</div> </div>
@ -66,7 +66,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="thumbnail"> <div class="thumbnail">
<div class="caption"> <div class="caption">
<h3>{% trans "My profile" %}</h3> <h3>{% trans "My profile" %}</h3>
<p>{% trans "To manage your subscription, your machines and all your services, access your profile." %}</p> <p>{% trans "To manage your subscriptions, your machines and all your services, access your profile." %}</p>
<p><a href="{% url 'users:mon-profil' %}" class="btn btn-primary" role="button">{% trans "Access my profile" %}</a></p> <p><a href="{% url 'users:mon-profil' %}" class="btn btn-primary" role="button">{% trans "Access my profile" %}</a></p>
</div> </div>
</div> </div>

View file

@ -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

View file

@ -84,7 +84,7 @@ def about_page(request):
git_info_commit = last_commit.hexsha git_info_commit = last_commit.hexsha
git_info_commit_date = last_commit.committed_datetime git_info_commit_date = last_commit.committed_datetime
except: except:
NO_GIT_MSG = _("Unable to get the information") NO_GIT_MSG = _("Unable to get the information.")
git_info_remote = NO_GIT_MSG git_info_remote = NO_GIT_MSG
git_info_branch = NO_GIT_MSG git_info_branch = NO_GIT_MSG
git_info_commit = NO_GIT_MSG git_info_commit = NO_GIT_MSG