Skip to content

Commit

Permalink
[#12] ajoute les import manquant a i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Leduc-Hamel committed Oct 19, 2014
1 parent 89b993a commit dfe4237
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions agenda/templates/events/event_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

{% load humanize %}
{% load humantime %}
{% load i18n %}

{% block title %}
<title>{{ event.title }}</title>
Expand Down
2 changes: 2 additions & 0 deletions agenda/templates/events/event_list.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "base.html" %}

{% load i18n %}

{% block content %}
<h2>{% trans "Liste des évènements" %}</h2>
<ul>
Expand Down
4 changes: 3 additions & 1 deletion agenda/templates/events/event_new.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "base.html" %}

{% load i18n %}

{% block before_end_body %}
<script type="text/javascript" src="/media/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="/media/js/event_new.js"></script>
Expand Down Expand Up @@ -124,7 +126,7 @@ <h3>{% trans "Recommandations importantes" %}</h3>
<h3>{% trans "Informations sur l'événement" %}</h3>

<p class="toggleeditor_link"><a href="javascript:toggleEditor()">
<span id="togglegeditor_text">{% trans "Désactiver" %}</span> {% trans"l'éditeur visuel" %}</a>
<span id="togglegeditor_text">{% trans "Désactiver" %}</span> {% trans "l'éditeur visuel" %}</a>
</p>

<form method="POST">
Expand Down
2 changes: 2 additions & 0 deletions agenda/templates/events/event_thanks.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "base.html" %}

{% load i18n %}

{% block content %}
<h2>{% trans "Évènement soumi" %}</h2>
<p>
Expand Down
2 changes: 2 additions & 0 deletions agenda/templates/events/feeds.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "base.html" %}

{% load i18n %}

{% block content %}
<h2>{% trans "Exportation des données" %}</h2>
<p>
Expand Down
3 changes: 2 additions & 1 deletion agenda/templates/events/stats.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends "base.html" %}

{% load i18n %}

{% block content %}
<h2>Statistiques</h2>
<h3>Statistiques générales</h3>
Expand Down Expand Up @@ -29,4 +31,3 @@ <h3>Statistiques par région</h3>
</table>

{% endblock %}

0 comments on commit dfe4237

Please sign in to comment.