Commits

Alejandro Núñez Liz  committed 51683dc Draft

[ADD]Add base.html

  • Participants
  • Parent commits a8569e2

Comments (0)

Files changed (5)

File simple_events/locale/es/LC_MESSAGES/django.mo

Binary file modified.

File simple_events/locale/es/LC_MESSAGES/django.po

 msgstr ""
 "Project-Id-Version: 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-11-15 17:28+0100\n"
+"POT-Creation-Date: 2012-12-10 19:31+0100\n"
 "PO-Revision-Date: 2012-11-15 16:58+0100\n"
 "Last-Translator: Alejandro Núñez <alejandro@toporojo.es>\n"
 "Language-Team: Español <LL@li.org>\n"
 msgid "Simple events aplication"
 msgstr "Simple aplicación para eventos"
 
-#: cms_plugins.py:28 cms_plugins.py:30
-msgid "Previous Month"
-msgstr "Próximo mes"
-
-#: cms_plugins.py:32 cms_plugins.py:34
-msgid "Next Month"
-msgstr "Més anterior"
-
-#: cms_plugins.py:48
+#: cms_plugins.py:32
 msgid "Today"
 msgstr "Hoy"
 
-#: cms_plugins.py:50 cms_plugins.py:59
+#: cms_plugins.py:35 cms_plugins.py:45
 msgid "Events found"
 msgstr "Eventos encontrados"
 
-#: cms_plugins.py:92
+#: cms_plugins.py:76
 msgid "Calendar Events"
 msgstr "Calendario de eventos"
 
 msgid "Event"
 msgstr "Evento"
 
-#: models.py:137
+#: models.py:137 templates/simple_events/base.html:6
 msgid "Events"
 msgstr "Eventos"
 
-#: templates/events/event_detail.html:7
+#: templates/simple_events/event_detail.html:6
 msgid "This event is over."
 msgstr "Este evento ha finalizado."
 
-#: templates/events/events_archive.html:8
+#: templates/simple_events/event_detail.html:24
+msgid "Next event"
+msgstr "Próximo evento"
+
+#: templates/simple_events/event_detail.html:29
+msgid "Previous event"
+msgstr "Evento anterior"
+
+#: templates/simple_events/events_archive.html:8
 msgid "Past events"
 msgstr "Eventos pasados"
 
-#: templates/events/events_archive.html:10
+#: templates/simple_events/events_archive.html:10
 msgid "Next events"
 msgstr "Próximos eventos"
+
+#~ msgid "Next Month"
+#~ msgstr "Més anterior"

File simple_events/locale/gl/LC_MESSAGES/django.mo

Binary file modified.

File simple_events/locale/gl/LC_MESSAGES/django.po

 msgstr ""
 "Project-Id-Version: 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-11-15 17:28+0100\n"
+"POT-Creation-Date: 2012-12-10 19:31+0100\n"
 "PO-Revision-Date: 2012-11-15 16:58+0100\n"
 "Last-Translator: Alejandro Núñez <alejandro@toporojo.es>\n"
 "Language-Team: Gallego <LL@li.org>\n"
 msgid "Simple events aplication"
 msgstr "Aplicación simple para eventos"
 
-#: cms_plugins.py:28 cms_plugins.py:30
-msgid "Previous Month"
-msgstr "Próximo mes"
-
-#: cms_plugins.py:32 cms_plugins.py:34
-msgid "Next Month"
-msgstr "Més anterior"
-
-#: cms_plugins.py:48
+#: cms_plugins.py:32
 msgid "Today"
 msgstr "Hoxe"
 
-#: cms_plugins.py:50 cms_plugins.py:59
+#: cms_plugins.py:35 cms_plugins.py:45
 msgid "Events found"
 msgstr "Eventos encontrados"
 
-#: cms_plugins.py:92
+#: cms_plugins.py:76
 msgid "Calendar Events"
 msgstr "Calendario de eventos"
 
 msgid "Event"
 msgstr "Evento"
 
-#: models.py:137
+#: models.py:137 templates/simple_events/base.html:6
 msgid "Events"
 msgstr "Eventos"
 
-#: templates/events/event_detail.html:7
+#: templates/simple_events/event_detail.html:6
 msgid "This event is over."
 msgstr "Este evento xa finalizou."
 
-#: templates/events/events_archive.html:8
+#: templates/simple_events/event_detail.html:24
+msgid "Next event"
+msgstr "Próximo evento"
+
+#: templates/simple_events/event_detail.html:29
+msgid "Previous event"
+msgstr "Evento anterior"
+
+#: templates/simple_events/events_archive.html:8
 msgid "Past events"
-msgstr "Eventos anteriores"
+msgstr "Eventos pasados"
 
-#: templates/events/events_archive.html:10
+#: templates/simple_events/events_archive.html:10
 msgid "Next events"
 msgstr "Próximos eventos"
+
+#~ msgid "Next Month"
+#~ msgstr "Més anterior"

File simple_events/templates/simple_events/event_detail.html

 {% load i18n %}
 
 {% block content %}
-	{{ event }}
 	{% if event.has_passed %}
 		<p>{% trans "This event is over." %}</p>
 	{% endif %}
 	{% endif %}
 	
 	{% if event.get_next_upcoming %}
-        <h3>Next event</h3>
+        <h3>{% trans "Next event" %}</h3>
             <a href="{{ event.get_next_upcoming.get_absolute_url }}">{{ event.get_next_upcoming.name }}, {{ event.get_next_upcoming.date_span }} &rarr;</a>
 	{% endif %}
 	
 	{% if event.get_previous_upcoming %}
-        <h3>Previous event</h3>
+        <h3>{% trans "Previous event" %}</h3>
             <a href="{{ event.get_previous_upcoming.get_absolute_url }}">&larr; {{ event.get_previous_upcoming.name }}, {{ event.get_previous_upcoming.date_span }}</a>
 	{% endif %}