Hello,
When using french messages in getMailTemplate, object_type is still untranslated.
To translate this, in Notifications.py, in the _makeInfoDict method,
simply add something like that :
typeTitle = self.portal_types[infos['object_type']].title
if mcat(typeTitle) != typeTitle:
infos['object_type'] = mcat(typeTitle)
Could you integrate this in CPSSubscriptions ?
Thanks,
Vincent Fiack
CRIH Alsace.
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
