-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

checked in.

Thanks for the patch.

                J.

[EMAIL PROTECTED] wrote:
> 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


- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Plateform : http://www.cps-project.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFCb4ypGhoG8MxZ/pIRAv6cAJ0QGQex3C9HVcDO0Fad7szMrhmUrwCbBbIO
vtJJ9vNRjwwQOAUp0FJvh+E=
=Eya7
-----END PGP SIGNATURE-----
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to