remove buggy call to builtins._ on navigation content stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 07 Sep 2010 13:20:32 +0200
branchstable
changeset 6178 9b596b11e375
parent 6177 76aaca285e07
child 6181 b8f8b1236358
remove buggy call to builtins._ on navigation content
web/views/basetemplates.py
--- a/web/views/basetemplates.py	Mon Sep 06 21:57:12 2010 +0200
+++ b/web/views/basetemplates.py	Tue Sep 07 13:20:32 2010 +0200
@@ -136,11 +136,11 @@
         nav_html = UStringIO()
         if view:
             view.paginate(w=nav_html.write)
-        w(_(nav_html.getvalue()))
+        w(nav_html.getvalue())
         w(u'<div id="contentmain">\n')
         view.render(w=w)
         w(u'</div>\n') # close id=contentmain
-        w(_(nav_html.getvalue()))
+        w(nav_html.getvalue())
         w(u'</div>\n') # closes id=pageContent
         self.template_footer(view)