Commit 7e586337 authored by Jérome Perrin's avatar Jérome Perrin

Convert title to unicode before passing it to translation service.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4892 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a16bffe5
......@@ -98,7 +98,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<meta name="description" content="Generated by view_master" />\n
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n
<title tal:content="python:\'%s - %s\' % (here.translation_service.translate(\'ui\', template.title_or_id()),\n
here.translation_service.translate(\'content\', here.getTitleOrId()))"> The title </title>\n
here.translation_service.translate(\'content\', unicode(here.getTitleOrId(), \'utf8\')))"> The title </title>\n
<link href="erp5.css" rel="stylesheet" type="text/css"\n
tal:attributes="href python: here.portal_url() + \'/\' + \'erp5.css\'" />\n
\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment