From 5478d8f90c668c73d01868905d5aac0f015f1c49 Mon Sep 17 00:00:00 2001 From: Patrick Hetu Date: Fri, 18 Sep 2015 11:53:48 -0400 Subject: [PATCH 1/1] typo --- project/framonde/search_indexes.py | 6 +++--- project/framonde/templatetags/auf.py | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/project/framonde/search_indexes.py b/project/framonde/search_indexes.py index 10ba2af..2b3ad22 100644 --- a/project/framonde/search_indexes.py +++ b/project/framonde/search_indexes.py @@ -45,7 +45,7 @@ class AufIndex(indexes.SearchIndex): class CommunicationIndex(AufIndex, indexes.Indexable): def prepare_section(self, obj): - return u"Appel à communication" + return u"Appel à communications" def get_model(self): return Communication @@ -57,7 +57,7 @@ class CommunicationIndex(AufIndex, indexes.Indexable): class ContributionIndex(AufIndex, indexes.Indexable): def prepare_section(self, obj): - return u"Appel à contribution" + return u"Appel à contributions" def get_model(self): return Contribution @@ -69,7 +69,7 @@ class ContributionIndex(AufIndex, indexes.Indexable): class OffreIndex(AufIndex, indexes.Indexable): def prepare_section(self, obj): - return u"Appel d'offre" + return u"Appel d'offres" def get_model(self): return Offre diff --git a/project/framonde/templatetags/auf.py b/project/framonde/templatetags/auf.py index 11b26d4..98bc8a0 100644 --- a/project/framonde/templatetags/auf.py +++ b/project/framonde/templatetags/auf.py @@ -35,8 +35,7 @@ def do_show_facet(context, facet_name): "?selected_facets=" + long_facet_name, "?"), smart_text( - f[0]), - f[1]) + f[0]), f[1].capitalize()) else: if path.endswith('/'): html += "
%s (%s)
" % ( -- 1.7.10.4