Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
4a8c161e
Commit
4a8c161e
authored
Jan 09, 2019
by
Laouen Fernet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add translations for templates/
parent
cd2e39c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
58 deletions
+71
-58
templates/base.html
templates/base.html
+13
-13
templates/locale/fr/LC_MESSAGES/django.po
templates/locale/fr/LC_MESSAGES/django.po
+57
-44
templates/registration/login.html
templates/registration/login.html
+1
-1
No files found.
templates/base.html
View file @
4a8c161e
...
...
@@ -96,14 +96,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<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>
<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-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'
%}"
><i
class=
"fa fa-microchip"
></i>
{% trans "Switches" %}
</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>
</ul>
</li>
{% acl_end %}
{% can_view_app logs %}
<li><a
href=
"{% url
"
logs:index
"
%}"
><i
class=
"fa fa-area-chart"
></i>
{% trans "Statistics" %}
</a></li>
<li><a
href=
"{% url
'logs:index'
%}"
><i
class=
"fa fa-area-chart"
></i>
{% trans "Statistics" %}
</a></li>
{% acl_end %}
{% can_view_app preferences %}
<li>
...
...
@@ -137,12 +137,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% else %}
{% can_view_any_app users machines cotisations %}
<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"
>
<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"
>
<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>
</div>
</div>
</form>
...
...
@@ -153,7 +153,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<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>
<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"
></i>
{% trans "Log out" %}
</a></li>
</ul>
</li>
...
...
@@ -200,7 +200,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<th
scope=
"row"
>
{% trans "Internet access" %}
</th>
<td
class=
"text-right"
>
{% 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
end_access_date=request.user.end_access|date:"d b Y" %}Until {{ end_access_
date }}{% endblocktrans %}
</i>
{% else %}
<i
class=
"text-danger"
>
{% trans "Disabled" %}
</i>
{% endif %}
...
...
@@ -210,15 +210,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<th
scope=
"row"
>
{% trans "Membership" %}
</th>
<td
class=
"text-right"
>
{% if request_user.is_adherent %}
<i
class=
"text-success"
>
{% blocktrans with
request_user.end_adhesion|date:"d b Y" as date %}Until {{
date }}{% endblocktrans %}
</i>
<i
class=
"text-success"
>
{% blocktrans with
end_adhesion_date=request_user.end_adhesion|date:"d b Y" %}Until {{ end_adhesion_
date }}{% endblocktrans %}
</i>
{% else %}
<i
class=
"text-danger"
>
{% trans "No
t a
member" %}
</i>
<i
class=
"text-danger"
>
{% trans "No
n
member" %}
</i>
{% endif %}
</td>
</tr>
</table>
<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>
{% trans "View my profile" %}
</a>
...
...
@@ -236,10 +236,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</div>
<ul
class=
"list-group"
>
{% for interface in interfaces|slice:":5" %}
<div
class=
"list-group-item"
>
{{
interface
}}
</div>
<div
class=
"list-group-item"
>
{{
interface
}}
</div>
{% endfor %}
{% 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>
{% trans "View my machines" %}
</a>
...
...
templates/locale/fr/LC_MESSAGES/django.po
View file @
4a8c161e
...
...
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 2.5\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 201
8-08-15 16:10+02
00\n"
"POT-Creation-Date: 201
9-01-08 23:59+01
00\n"
"PO-Revision-Date: 2018-03-31 16:09+0002\n"
"Last-Translator: Laouen Fernet <laouen.fernet@supelec.fr>\n"
"Language-Team: \n"
...
...
@@ -38,116 +38,121 @@ msgstr "Site de gestion de réseau soutenu par FedeRez."
msgid "Home"
msgstr "Accueil"
#: base.html:8
1
#: base.html:8
0
msgid "Users"
msgstr "Utilisateurs"
#: base.html:8
4
#: base.html:8
3
msgid "Manage the users"
msgstr "Gérer les utilisateurs"
#: base.html:8
5
#: base.html:8
4
msgid "Manage the clubs"
msgstr "Gérer les clubs"
#: base.html:8
8
#: base.html:8
7
msgid "Manage the machines"
msgstr "Gérer les machines"
#: base.html:9
1
#: base.html:9
0
msgid "Manage the subscriptions"
msgstr "Gérer les cotisations"
#: base.html:9
8
#: base.html:9
7
msgid "Topology"
msgstr "Topologie"
#: base.html:
100
#: base.html:
99
msgid "Switches"
msgstr "Commutateurs réseau"
#: base.html:10
1
#: base.html:10
0
msgid "Access points"
msgstr "Points d'accès sans fil"
#: base.html:10
2
#: base.html:10
1
msgid "Rooms"
msgstr "Chambres"
#: base.html:10
7
#: base.html:10
6
msgid "Statistics"
msgstr "Statistiques"
#: base.html:11
2
#: base.html:11
1
msgid "Administration"
msgstr "Administration"
#: base.html:11
2
#: base.html:11
8
msgid "More information"
msgstr "Plus d'informations"
#: base.html:1
14
#: base.html:1
20
msgid "About"
msgstr "À propos"
#: base.html:12
2
#: base.html:12
1
msgid "Contact"
msgstr "Contact"
#: base.html:12
9
#: base.html:12
8
msgid "Sign up"
msgstr "S'
enregistrer
"
msgstr "S'
inscrire
"
#: base.html:13
5 registration/login.html:30 registration/login.html:50
#: base.html:13
4 registration/login.html:29 registration/login.html:36
msgid "Log in"
msgstr "Se connecter"
#: base.html:14
3
#: base.html:14
2
msgid "Search"
msgstr "Rechercher"
#: base.html:15
7
#: base.html:15
6
msgid "My profile"
msgstr "Mon profil"
#: base.html:15
8
#: base.html:15
7
msgid "Log out"
msgstr "Se déconnecter"
#: base.html:19
4
#: base.html:19
2
msgid "Username"
msgstr "Pseudo"
#: base.html:19
8
#: base.html:19
6
msgid "Room"
msgstr "Chambre"
#: base.html:20
2
#: base.html:20
0
msgid "Internet access"
msgstr "Accès Internet"
#: base.html:20
5 base.html:215
#: base.html:20
3
#, python-format
msgid "Until %(date)s"
msgstr "Jusqu'au %(date)s"
msgid "Until %(
end_access_
date)s"
msgstr "Jusqu'au %(
end_access_
date)s"
#: base.html:20
7
#: base.html:20
5
msgid "Disabled"
msgstr "Désactivé"
#: base.html:21
2
#: base.html:21
0
msgid "Membership"
msgstr "Adhésion"
#: base.html:217
msgid "Not a member"
#: base.html:213
#, python-format
msgid "Until %(end_adhesion_date)s"
msgstr "Jusqu'au %(end_adhesion_date)s"
#: base.html:215
msgid "Non member"
msgstr "Non adhérent"
#: base.html:22
5
#: base.html:22
3
msgid "View my profile"
msgstr "Voir mon profil"
#: base.html:22
9
#: base.html:22
8
msgid "You are not logged in."
msgstr "Vous n'êtes pas connecté."
...
...
@@ -180,11 +185,11 @@ msgstr "À propos de ce site"
#: base.html:267
msgid ""
"This software is under the terms of the "
"
<a href=\"http://www.gnu.org/
licenses/gpl-2.0.txt\" target=\"_blank\" rel=\"nofollow\">GPLv2</a> License."
"This software is under the terms of the
<a href=\"http://www.gnu.org/
"
"licenses/gpl-2.0.txt\" target=\"_blank\" rel=\"nofollow\">GPLv2</a> License."
msgstr ""
"Ce logiciel est sous les termes de la licence "
"
<a href=\"http://www.gnu.org/
licenses/gpl-2.0.txt\" target=\"_blank\" rel=\"nofollow\">GPLv2</a>."
"Ce logiciel est sous les termes de la licence
<a href=\"http://www.gnu.org/
"
"licenses/gpl-2.0.txt\" target=\"_blank\" rel=\"nofollow\">GPLv2</a>."
#: buttons/add.html:27
msgid "Add"
...
...
@@ -293,14 +298,22 @@ msgstr "Si vous n'avez aucune idée de ce que vous avez fait :"
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."
#: pagination.html:34
msgid "First"
msgstr "Première page"
#: pagination.html:40
msgid "Previous"
msgstr "Précédent"
#: pagination.html:60
msgid "Next"
msgstr "Suivant"
#:
registration/login.html:43
msgid "
Please log in to see this page.
"
msgstr "
Veuillez vous connecter pour voir cette page.
"
#:
pagination.html:66
msgid "
Last
"
msgstr "
Dernière page
"
#: registration/login.html:
53
#: registration/login.html:
40
msgid "Forgotten password?"
msgstr "Mot de passe oublié ?"
templates/registration/login.html
View file @
4a8c161e
{% extends
"base.html"
%}
{% extends
'base.html'
%}
{% comment %}
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment