X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/65ff5cb6e355242be8f93d5ef1f26190af3f44e6..8477d1d3bd27406257f7d1834ed69216440c56bd:/Products/Plinn/skins/generic/password_reset_mail.py diff --git a/Products/Plinn/skins/generic/password_reset_mail.py b/Products/Plinn/skins/generic/password_reset_mail.py index 7a9ab12..9717740 100644 --- a/Products/Plinn/skins/generic/password_reset_mail.py +++ b/Products/Plinn/skins/generic/password_reset_mail.py @@ -1,15 +1,29 @@ ##parameters=options={} from Products.Plinn.utils import translate as _ + print _('Hi %(fullName)s,') print -print _('You recently asked to reset your password.') +if not options.get('initial') : + print _('You recently asked to reset your password.') -print _("To get back into your account on the %(siteName)s website, you'll need to create a new password.") -print _("It's easy:") -print '— %s' % _("Click the link below to open a browser window.") -print '— %s' % _("Fill the form with your new password.") -print + print _("To get back into your account on the %(siteName)s website, you'll need to create a new password.") + print _("It's easy:") + print '— %s' % _("Click the link below to open a browser window.") + print '— %s' % _("Fill the form with your new password.") + print +else : + print _('You just sign up on the %(siteName)s website.') + print _('Now you have to create your password to complete your registration.') + print _("It's easy:") + print '— %s' % _("Click the link below to open a browser window.") + print '— %s' % _("Choose a password and enter it in the form.") print '%(resetPasswordUrl)s' +if options['loginIsNotEmail'] : + print + print _("Please note:") + print _("Your personal login to sign in later is:") + print "%(member_id)s" + return printed % options \ No newline at end of file