Finitions.
[Plinn.git] / skins / generic / request_password_reset_form.py
index 1e9b57c..a08d980 100644 (file)
@@ -1,6 +1,8 @@
 ##parameters=userid='', requestReset='', ajax=''
 from Products.CMFCore.utils import getUtilityByInterfaceName
 ##parameters=userid='', requestReset='', ajax=''
 from Products.CMFCore.utils import getUtilityByInterfaceName
-from Products.Plinn.utils import Message as _
+from Products.Plinn.utils import translate
+
+_ = lambda msg : translate(msg, context)
 utool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IURLTool')
 rtool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IRegistrationTool')
 
 utool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IURLTool')
 rtool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IRegistrationTool')