]> git.parisson.com Git - mezzo.git/commitdiff
update free event message and ocales
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 11 Apr 2016 21:54:43 +0000 (23:54 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 11 Apr 2016 21:54:55 +0000 (23:54 +0200)
app/locale/fr/LC_MESSAGES/django.mo
app/locale/fr/LC_MESSAGES/django.po
app/templates/agenda/includes/event_metainfo.html
lib/mezzanine-agenda

index 5e598a6d3d08f42933d55196b987fcfc4b384223..c9a1f275287087ba34f003f6ebbcc6dcb5edd1a7 100644 (file)
Binary files a/app/locale/fr/LC_MESSAGES/django.mo and b/app/locale/fr/LC_MESSAGES/django.mo differ
index 5762b71fed6ed8ab42d386c086e09a2b4ba0a583..eb0458c7132fe3a1653558e07961b8d919515901 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2016-04-11 10:22+0200\n"
+"POT-Creation-Date: 2016-04-11 23:54+0200\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"
@@ -78,7 +78,7 @@ msgstr ""
 msgid "photo featured credits"
 msgstr ""
 
-#: festival/models.py:79 festival/models.py:205
+#: festival/models.py:79 festival/models.py:212
 msgid "events"
 msgstr ""
 
@@ -86,55 +86,55 @@ msgstr ""
 msgid "artist"
 msgstr ""
 
-#: festival/models.py:122
+#: festival/models.py:129
 msgid "media id"
 msgstr ""
 
-#: festival/models.py:123
+#: festival/models.py:130
 msgid "open source URL"
 msgstr ""
 
-#: festival/models.py:124
+#: festival/models.py:131
 msgid "closed source URL"
 msgstr ""
 
-#: festival/models.py:125
+#: festival/models.py:132
 msgid "poster"
 msgstr ""
 
-#: festival/models.py:160 festival/models.py:176 festival/models.py:195
+#: festival/models.py:167 festival/models.py:183 festival/models.py:202
 msgid "event"
 msgstr ""
 
-#: festival/models.py:163
+#: festival/models.py:170
 msgid "audio"
 msgstr ""
 
-#: festival/models.py:179
+#: festival/models.py:186
 msgid "video"
 msgstr ""
 
-#: festival/models.py:194
+#: festival/models.py:201
 msgid "audios"
 msgstr ""
 
-#: festival/models.py:204 templates/index.html:39
+#: festival/models.py:211 templates/index.html:42
 msgid "artists"
 msgstr "artistes"
 
-#: festival/models.py:206 templates/index.html:47
+#: festival/models.py:213 templates/index.html:50
 msgid "videos"
 msgstr "vidéos"
 
-#: festival/models.py:207
+#: festival/models.py:214
 msgid "blog posts"
 msgstr "articles"
 
-#: festival/models.py:208
+#: festival/models.py:215
 msgid "pages"
 msgstr "pages"
 
-#: festival/models.py:209
+#: festival/models.py:216
 msgid "playlists"
 msgstr ""
 
@@ -288,6 +288,10 @@ msgid_plural "%(comments_count)s comments"
 msgstr[0] ""
 msgstr[1] ""
 
+#: templates/agenda/event_detail.html:83 templates/agenda/event_detail.html:87
+msgid "Add to"
+msgstr ""
+
 #: templates/agenda/event_detail.html:115
 #: templates/agenda/includes/event_card.html:52
 #: templates/agenda/includes/filter_panel.html:74
@@ -305,7 +309,7 @@ msgstr "Évenement précédent"
 msgid "Next event"
 msgstr "Évenement suivant"
 
-#: templates/agenda/event_detail.html:183 templates/agenda/event_list.html:77
+#: templates/agenda/event_detail.html:184
 msgid "Subscribe to all events in"
 msgstr "Abonnez-vous à tous les événements dans"
 
@@ -360,6 +364,10 @@ msgstr "Cliquer pour voir la carte interactive"
 msgid "Booking"
 msgstr "Réserver"
 
+#: templates/agenda/includes/event_metainfo.html:15
+msgid "Free entry. Limited seats available"
+msgstr "Entrée libre dans la limite des places disponibles"
+
 #: templates/agenda/includes/filter_panel.html:6
 msgid "Upcoming Events"
 msgstr "Événements à venir"
@@ -677,16 +685,15 @@ msgstr "Lire la suite"
 msgid "Featured"
 msgstr "À la une"
 
-#: templates/index.html:31 templates/index.html.py:39
+#: templates/index.html:34 templates/index.html.py:42
 msgid "All"
 msgstr "Tous les"
 
-#: templates/index.html:31
+#: templates/index.html:34
 msgid "articles"
 msgstr "articles"
 
-#: templates/index.html:47
-#| msgid "All"
+#: templates/index.html:50
 msgctxt "fem"
 msgid "All"
 msgstr "Toutes les"
index 1fcc9e7df2c2341ddc57c1634d89fe52a870c53e..886170eb41294bedb07a350939cf7132732a29fb 100644 (file)
@@ -6,12 +6,15 @@
         {% if event.end|date == event.start|date and event.end.hour|subtract:event.start.hour > 3 %}{{ event.end|time:"TIME_FORMAT" }}{% endif %}
         {% if unit_booking %}
             &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
-            {% for price in event.prices.all %}{{ price.value|floatformat:"-2" }} €{% if not forloop.last %} / {% endif %}{% endfor %}
             {% if event.prices.all.0|floatformat != '0' %}
+            {% for price in event.prices.all %}{{ price.value|floatformat:"-2" }} €{% if not forloop.last %} / {% endif %}{% endfor %}
             <a href="{% url 'event_booking' event.slug %}" class="event__meta__btn">
                 {% trans "Booking" %}
             </a>
+            {% else %}
+            {% trans "Free entry. Limited seats available" %}
             {% endif %}
+
         {% endif %}
         {% endif %}
         {% if event.location %}
index 48bf4c82f0a94ff42daf0a0ae496c949a6d4f6cc..a9cda67673604021613b2b0ea1794514e6055c37 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 48bf4c82f0a94ff42daf0a0ae496c949a6d4f6cc
+Subproject commit a9cda67673604021613b2b0ea1794514e6055c37