Commit 81b33a2d authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix typo (d8e79e9d).

parent f9a2fe4c
......@@ -95,7 +95,7 @@ class TranslatedGetter(Getter):
state_id = wf._getWorkflowStateOf(instance, id_only=1)
warn('Translated workflow state getters, such as %s are deprecated' %
self._id, DeprecationWarning)
return portal.localizer.erp5_ui.gettext(state_id).encode('utf8')
return portal.Localizer.erp5_ui.gettext(state_id).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