From 0741d330d996075db186e30e2a8421a08a4a5250 Mon Sep 17 00:00:00 2001 From: Qwann Date: Tue, 16 May 2017 20:20:38 +0200 Subject: [PATCH] small i18n fixes --- event/models.py | 2 +- requirements.txt | 2 +- shared/templates/base_error.html | 2 +- shared/templates/base_nav.html | 2 +- users/urls.py | 17 +++++++++-------- 5 files changed, 13 insertions(+), 12 deletions(-) diff --git a/event/models.py b/event/models.py index 0570fe2..aaad757 100644 --- a/event/models.py +++ b/event/models.py @@ -67,7 +67,7 @@ class ActivityTag(models.Model): color_regex = RegexValidator( regex=r'^#(?:[0-9a-fA-F]{3}){1,2}$', message=_("La chaîne de caractère rentrée n'est pas" - "une couleur en hexadécimal."), + " une couleur en hexadécimal."), ) color = models.CharField( _('Couleur'), diff --git a/requirements.txt b/requirements.txt index 73d7caa..2feecff 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Django==1.10.* +Django==1.11.* Pillow==3.3.0 psycopg2==2.6.2 django-bootstrap-form==3.2.1 diff --git a/shared/templates/base_error.html b/shared/templates/base_error.html index aeefd25..88fb504 100644 --- a/shared/templates/base_error.html +++ b/shared/templates/base_error.html @@ -1,3 +1,3 @@ {% extends "base.html" %} -{% block page_title %}{% trans "Erreur !" %}{% endblock %} +{% block page_title %}{% trans "Erreur !" %}{% endblock %} diff --git a/shared/templates/base_nav.html b/shared/templates/base_nav.html index 4b26350..65a0f67 100644 --- a/shared/templates/base_nav.html +++ b/shared/templates/base_nav.html @@ -68,7 +68,7 @@