]> git.parisson.com Git - mezzo.git/commitdiff
fix event by date
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 12 Apr 2016 10:00:04 +0000 (12:00 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 12 Apr 2016 10:00:04 +0000 (12:00 +0200)
app/locale/fr/LC_MESSAGES/django.mo
app/locale/fr/LC_MESSAGES/django.po
app/templates/agenda/event_list.html

index c9a1f275287087ba34f003f6ebbcc6dcb5edd1a7..18082f619cc63e3e3fa8f6b1c7fbd1e0b81f9a70 100644 (file)
Binary files a/app/locale/fr/LC_MESSAGES/django.mo and b/app/locale/fr/LC_MESSAGES/django.mo differ
index eb0458c7132fe3a1653558e07961b8d919515901..eda8df86039da7bc30f59671d795ccc7209a8f26 100644 (file)
@@ -339,15 +339,15 @@ msgstr ""
 
 #: templates/agenda/event_list.html:51
 msgid "Viewing events for the location"
-msgstr ""
+msgstr "Les événements du lieu"
 
 #: templates/agenda/event_list.html:53
 msgid "Viewing events from"
-msgstr ""
+msgstr "Les événements du"
 
 #: templates/agenda/event_list.html:56
 msgid "Viewing events by"
-msgstr ""
+msgstr "Les événements par"
 
 #: templates/agenda/event_location_list.html:4
 #: templates/agenda/event_location_list.html:22
@@ -421,11 +421,11 @@ msgstr ""
 
 #: templates/blog/blog_post_list.html:52
 msgid "Viewing posts for the category"
-msgstr ""
+msgstr "Les articles de la catégorie"
 
 #: templates/blog/blog_post_list.html:54
 msgid "Viewing posts from"
-msgstr ""
+msgstr "Les articles postés depuis"
 
 #: templates/blog/blog_post_list.html:57
 msgid "Viewing posts by"
index e92ecb7249291f8b08fa03cd30e0cd49a5919b59..596a8e7c62dc25d68b623b491708b4a82fdee334 100644 (file)
     <p>
     {% if tag %}
         {% trans "Viewing events tagged" %} {{ tag }}
-    {% else %}{% if location %}
+    {% elif location %}
         {% trans "Viewing events for the location" %} {{ location }}
-    {% else %}{% if year or month %}
-        {% trans "Viewing events from" %} {% if month %}{{ month }}, {% endif %}
-        {{ year }}
-    {% else %}{% if author %}
+    {% elif year or month %}
+      {% if not day %}
+         {% trans "Viewing events from" %} {% if month %}{{ month }}, {% endif %}{{ year }}
+      {% else %}
+         {% trans "Viewing events from" %} {{ day_date }}
+      {% endif %}
+    {% elif author %}
         {% trans "Viewing events by" %}
         {{ author.get_full_name|default:author.username }}
-    {% endif %}{% endif %}{% endif %}{% endif %}
+    {% endif %}
     {% endblock %}
     </p>
 {% else %}