diff rhodecode/model/user.py @ 3654:ec6354949623 beta

Fix a lot of casings - use standard casing in most places
author Mads Kiilerich <madski@unity3d.com>
date Wed, 03 Apr 2013 17:19:47 +0200
parents 4c78a0855a17
children 3563bb7b4b82 7e3d89d9d3a2
line wrap: on
line diff
--- a/rhodecode/model/user.py	Wed Apr 03 15:56:12 2013 +0200
+++ b/rhodecode/model/user.py	Wed Apr 03 17:19:47 2013 +0200
@@ -229,7 +229,7 @@
             self.sa.flush()
 
             # notification to admins
-            subject = _('new user registration')
+            subject = _('New user registration')
             body = ('New user registration\n'
                     '---------------------\n'
                     '- Username: %s\n'
@@ -331,7 +331,7 @@
                                                        'reset_url': link})
                 log.debug('sending email')
                 run_task(tasks.send_email, user_email,
-                         _("password reset link"), body, body)
+                         _("Password reset link"), body, body)
                 log.info('send new password mail to %s' % user_email)
             else:
                 log.debug("password reset email %s not found" % user_email)