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

Add warning button: translation in dev

This commit is contained in:
Maël Kervella 2018-04-18 20:13:11 +00:00
parent 9569e22df9
commit 8003634563
3 changed files with 6 additions and 0 deletions

Binary file not shown.

View file

@ -155,6 +155,10 @@ msgstr ""
msgid "Dependencies" msgid "Dependencies"
msgstr "Dépendances" msgstr "Dépendances"
#: templates/re2o/buttons/setlang.html:34
msgid "Translation in development"
msgstr "Traduction en développement"
#: views.py:172 #: views.py:172
msgid "No Git repository configured" msgid "No Git repository configured"
msgstr "Aucun repository git configuré" msgstr "Aucun repository git configuré"

View file

@ -31,6 +31,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<i class="fa fa-globe"></i> <span class="caret"></span> <i class="fa fa-globe"></i> <span class="caret"></span>
</a> </a>
<div class="dropdown-menu" aria-labelledby="setlang"> <div class="dropdown-menu" aria-labelledby="setlang">
<p style="text-align: center"><small><i class="fa fa-exclamation-triangle"></i> {% trans "Translation in development" %}</small></p>
<hr>
<form method="post" action="{% url 'set_language' %}"> <form method="post" action="{% url 'set_language' %}">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="next" value="{{ request.path }}"> <input type="hidden" name="next" value="{{ request.path }}">