Commit f0a30e07 authored by Mame Coumba Sall's avatar Mame Coumba Sall

add encode(utf8) on translated state title

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26081 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eb5db50e
......@@ -118,6 +118,6 @@ class TranslatedTitleGetter(TitleGetter):
if result == '':
result = localizer.erp5_ui.gettext(state_title,
lang=selected_language)
return result
return result.encode('utf8')
psyco.bind(__call__)
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