diff sat_website/views.py @ 4:d42dd630476f

unicode fix
author Goffi <goffi@goffi.org>
date Tue, 31 Jul 2012 13:51:38 +0200
parents 0df46e87537d
children eda4deefecd1
line wrap: on
line diff
--- a/sat_website/views.py	Mon Jul 30 02:10:14 2012 +0200
+++ b/sat_website/views.py	Tue Jul 31 13:51:38 2012 +0200
@@ -27,12 +27,12 @@
 from collections import OrderedDict
 import screenshots, social_contract, utils
 
-CATEGORIES = OrderedDict([("features", _("Features")),
-              ("frontends", _("Frontends")),
-              ("screenshots", _("Screenshots & Videos")),
-              ("community", _("Community")),
-              ("developers", _("Developers corner")),
-              ("social_contract", _("Social contract"))])
+CATEGORIES = OrderedDict([("features", _(u"Features")),
+              ("frontends", _(u"Frontends")),
+              ("screenshots", _(u"Screenshots & Videos")),
+              ("community", _(u"Community")),
+              ("developers", _(u"Developers corner")),
+              ("social_contract", _(u"Social contract"))])
 
 def overview(request):
     return render_to_response('sat_website/overview.html')