]> git.parisson.com Git - mezzo.git/commitdiff
Event : correctin EN date
authorEmilie <zawadzki@ircam.fr>
Thu, 17 Nov 2016 15:08:15 +0000 (16:08 +0100)
committerEmilie <zawadzki@ircam.fr>
Thu, 17 Nov 2016 15:08:15 +0000 (16:08 +0100)
app/locale/fr/LC_MESSAGES/django.mo
app/locale/fr/LC_MESSAGES/django.po
app/organization/formats/en/formats.py
app/templates/agenda/includes/event_date.html

index 36d8a2744b3d3155bb5d2b24fdabe8ef59fa286e..b59060d37596d302552f8c8ed593cde9028894ae 100644 (file)
Binary files a/app/locale/fr/LC_MESSAGES/django.mo and b/app/locale/fr/LC_MESSAGES/django.mo differ
index db6d5297f8fed8ca63823c4cda95c0121d7e662e..ec140b37d55fb20aa31d6edd056f490485d029f6 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-11-15 13:11+0100\n"
+"POT-Creation-Date: 2016-11-17 15:57+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -24,8 +24,9 @@ msgstr "Pages"
 
 #: local_settings.py:90 templates/index.html:53
 #: templates/media/playlist_detail.html:4
-#: templates/media/playlist_detail.html:21 templates/media/playlist_list.html:6
-#: templates/media/playlist_list.html:11 templates/media/playlist_list.html:15
+#: templates/media/playlist_detail.html:21
+#: templates/media/playlist_list.html:6 templates/media/playlist_list.html:11
+#: templates/media/playlist_list.html:15
 msgid "Media"
 msgstr "Media"
 
@@ -1981,15 +1982,19 @@ msgstr "Événements du lieu"
 msgid "Locations"
 msgstr "Lieux"
 
-#: templates/agenda/includes/event_date.html:30
+#: templates/agenda/includes/event_date.html:27
+#: templates/agenda/includes/event_date.html:47
 #: templates/agenda/includes/event_date.html:50
-#: templates/agenda/includes/event_date.html:53
+#: templates/agenda/includes/event_date.html:66
 msgid "and"
 msgstr ""
 
-#: templates/agenda/includes/event_date.html:44
-#: templates/agenda/includes/event_date.html:65
-#: templates/agenda/includes/event_date.html:69
+#: templates/agenda/includes/event_date.html:41
+#: templates/agenda/includes/event_date.html:64
+#: templates/agenda/includes/event_date.html:72
+msgid "through"
+msgstr "au"
+
 #: templates/agenda/includes/event_date_line.html:10
 #: templates/job/inc/candidacy_card.html:22
 #: templates/network/person_detail_multiple_activities.html:78
@@ -2074,15 +2079,18 @@ msgstr ""
 msgid "Also discover"
 msgstr "À découvrir aussi"
 
-#: templates/email/account_approve.html:3 templates/email/account_approve.txt:3
+#: templates/email/account_approve.html:3
+#: templates/email/account_approve.txt:3
 msgid "Hey there, a new account has been created and requires activation."
 msgstr ""
 
-#: templates/email/account_approve.html:5 templates/email/account_approve.txt:5
+#: templates/email/account_approve.html:5
+#: templates/email/account_approve.txt:5
 msgid "Name"
 msgstr "Nom"
 
-#: templates/email/account_approve.html:6 templates/email/account_approve.txt:6
+#: templates/email/account_approve.html:6
+#: templates/email/account_approve.txt:6
 #: templates/network/person_detail.html:34
 #: templates/network/person_detail_multiple_activities.html:34
 msgid "Email"
@@ -2494,7 +2502,7 @@ msgstr "résumé"
 
 #: templates/network/person_detail.html:46
 #: templates/network/person_detail_multiple_activities.html:52
-#: templates/pages/teampage.html:128
+#: templates/pages/teampage.html:129
 msgid "Team"
 msgstr "Équipe"
 
index 1a36aa21934befe854bfce05a4d1cbe4a9d6b38d..565a99d59f85eb64741fd210b5cfddabc9e6229f 100644 (file)
@@ -6,7 +6,7 @@ from __future__ import unicode_literals
 # The *_FORMAT strings use the Django date format syntax,
 # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
 DATE_FORMAT = 'N j, Y'
-DATE_EVENT_FORMAT = 'D, F jS'
+DATE_EVENT_FORMAT = 'F j'
 WEEK_DAY_FORMAT = 'D, jS'
 TIME_FORMAT = 'P'
 DATETIME_FORMAT = 'N j, Y, P'
index fc0435560a8428553df2fe66682b6d14bb51ecdb..6230768a38ff0704f34d8a5814d9b12ceae989a3 100644 (file)
                 {% if period.date_to and period.date_to|date:"H:i" != "23:59" %}
                     {{ period.date_from|date:"DATE_EVENT_FORMAT" }},<br>
                     {% if period|period_is_more_than_hours:4 %}
-                        {{ period.date_from|time:"WEEK_DAY_FORMAT" }} {% trans "to" %} {{ period.date_to|time:"TIME_FORMAT" }}
+                        {{ period.date_from|time:"DATE_EVENT_FORMAT" }} {% trans "through" %} {{ period.date_to|time:"TIME_FORMAT" }}
                     {% else %}
                         {{ period.date_from|time:"TIME_FORMAT" }}
                     {% endif %}
                 {% else %}
                     {% if event.periods.all|length > 1 and not forloop.last %}
-                        {{ period.date_from|date:"DATE_EVENT_FORMAT" }}{% if event.periods.all|length == 2 %} {% trans "and" %} {% else %}{% endif %}
+                        {{ period.date_from|date:"DATE_EVENT_FORMAT" }}{% if event.periods.all|length == 2 %} {% trans "and" %} {% else %},{% endif %}
                     {% else %}
-                        {{ period.date_from|date:"DATE_EVENT_FORMAT" }},<br>
+                        {{ period.date_from|date:"DATE_EVENT_FORMAT" }},
                         {% if event.periods.all|length > 1 and forloop.first %}{% trans "and" %}{% endif %}
                     {% endif %}
                     {% if same_time_in_periods and forloop.last %}
                         {{ period.date_from|time:"TIME_FORMAT" }}
                     {% elif not same_time_in_periods %}
-                        <br>, {{ period.date_from|time:"TIME_FORMAT" }}
+                        <br> {{ period.date_from|time:"TIME_FORMAT" }}
                     {% endif %}
                 {% endif %}
                 <br />
             {% endfor %}
             {% endwith %}
           {% else %}
-            {{ event.start|date:"WEEK_DAY_FORMAT" }}
+            {{ event.start|date:"DATE_EVENT_FORMAT" }}
             {% if event.end|subtract:event.start|get_attr:"days" > 1 %}
-                {% trans "to" %}
+                {% trans "through" %}
             {% else %}
                 {% trans "and" %}
             {% endif %}
@@ -69,7 +69,7 @@
           {% endif %}
         <!-- Start and end date are completely different  -->
         {% else %}
-            {{ event.start|date:"WEEK_DAY_FORMAT" }} {% trans "to" %} {{ event.end|date:"DATE_EVENT_FORMAT" }},<br>
+            {{ event.start|date:"DATE_EVENT_FORMAT" }} {% trans "through" %} {{ event.end|date:"DATE_EVENT_FORMAT" }},<br>
             <!-- Start date with hour  -->
             {% if event.end and event.end|date:"H:i" != "23:59" %}
                 {{ event.start|time:"TIME_FORMAT" }} - {{ event.end|time:"TIME_FORMAT" }}