Changeset 7690 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 23 Feb 2012, 15:41:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/workflow.py
r7681 r7690 3 3 import grok 4 4 from zope.component import getUtility 5 from zope.i18n import translate6 5 from hurry.workflow.workflow import Transition, WorkflowState, NullCondition 7 6 from hurry.workflow.interfaces import IWorkflowState, IWorkflowTransitionEvent … … 186 185 187 186 msg = event.transition.user_data['msg'] 188 portal_language = getUtility(ISIRPUtils).PORTAL_LANGUAGE189 if portal_language != 'en':190 msg = translate(msg,'waeup.sirp',target_language=portal_language)191 187 history = IObjectHistory(obj) 192 188 history.addMessage(msg)
Note: See TracChangeset for help on using the changeset viewer.