Commit 8b6e6b4f authored by Jérome Perrin's avatar Jérome Perrin

style change


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26951 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d7ad92b8
...@@ -114,10 +114,11 @@ class TranslatedTitleGetter(TitleGetter): ...@@ -114,10 +114,11 @@ class TranslatedTitleGetter(TitleGetter):
state_title = wf._getWorkflowStateOf(instance).title state_title = wf._getWorkflowStateOf(instance).title
msg_id = '%s [state in %s]' % (state_title, wf_id) msg_id = '%s [state in %s]' % (state_title, wf_id)
result = localizer.erp5_ui.gettext(msg_id, result = localizer.erp5_ui.gettext(msg_id,
lang=selected_language,default='') lang=selected_language,
default='')
if result == '': if result == '':
result = localizer.erp5_ui.gettext(state_title, result = localizer.erp5_ui.gettext(state_title,
lang=selected_language) lang=selected_language)
return result.encode('utf8') return result.encode('utf8')
psyco.bind(__call__) 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