Changeset 7690 for main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Timestamp:
- 23 Feb 2012, 15:41:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/workflow.py
r7689 r7690 19 19 """ 20 20 import grok 21 from zope.component import getUtility22 from zope.i18n import translate23 21 from hurry.workflow.workflow import Transition, WorkflowState, NullCondition 24 22 from hurry.workflow.interfaces import IWorkflowState, IWorkflowTransitionEvent … … 165 163 """ 166 164 msg = event.transition.user_data['msg'] 167 portal_language = getUtility(ISIRPUtils).PORTAL_LANGUAGE168 if portal_language != 'en':169 msg = translate(msg,'waeup.sirp',target_language=portal_language)170 165 history = IObjectHistory(obj) 171 166 history.addMessage(msg)
Note: See TracChangeset for help on using the changeset viewer.