From 4a8c161edc1e78a12462fe3fc75278761008de49 Mon Sep 17 00:00:00 2001 From: Laouen Fernet Date: Wed, 9 Jan 2019 00:40:30 +0100 Subject: [PATCH] add translations for templates/ --- templates/base.html | 26 +++--- templates/locale/fr/LC_MESSAGES/django.po | 101 ++++++++++++---------- templates/registration/login.html | 2 +- 3 files changed, 71 insertions(+), 58 deletions(-) diff --git a/templates/base.html b/templates/base.html index 867be422..401ece70 100644 --- a/templates/base.html +++ b/templates/base.html @@ -96,14 +96,14 @@ with this program; if not, write to the Free Software Foundation, Inc., {% acl_end %} {% can_view_app logs %} -
  • {% trans "Statistics" %}
  • +
  • {% trans "Statistics" %}
  • {% acl_end %} {% can_view_app preferences %}
  • @@ -137,12 +137,12 @@ with this program; if not, write to the Free Software Foundation, Inc., {% else %} {% can_view_any_app users machines cotisations %}
  • - @@ -153,7 +153,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
  • @@ -200,7 +200,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% trans "Internet access" %} {% if request_user.has_access %} - {% blocktrans with request.user.end_access|date:"d b Y" as date %}Until {{ date }}{% endblocktrans %} + {% blocktrans with end_access_date=request.user.end_access|date:"d b Y" %}Until {{ end_access_date }}{% endblocktrans %} {% else %} {% trans "Disabled" %} {% endif %} @@ -210,15 +210,15 @@ with this program; if not, write to the Free Software Foundation, Inc., {% trans "Membership" %} {% if request_user.is_adherent %} - {% blocktrans with request_user.end_adhesion|date:"d b Y" as date %}Until {{ date }}{% endblocktrans %} + {% blocktrans with end_adhesion_date=request_user.end_adhesion|date:"d b Y" %}Until {{ end_adhesion_date }}{% endblocktrans %} {% else %} - {% trans "Not a member" %} + {% trans "Non member" %} {% endif %}
    - + {% trans "View my profile" %} @@ -236,10 +236,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,