changeset 4075:f796dbb7e15b

events.notification: body text of user_created_message extended by the sitename
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 08 Sep 2008 11:58:03 +0200
parents d712b7ef6043
children afd75bb5f345
files MoinMoin/events/notification.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/events/notification.py	Sun Sep 07 22:10:21 2008 +0200
+++ b/MoinMoin/events/notification.py	Mon Sep 08 11:58:03 2008 +0200
@@ -128,12 +128,13 @@
     @return: a dict containing message body and subject
     """
     subject = _("New user account created on %(sitename)s") % {'sitename': sitename or "Wiki"}
-    text = _("""Dear Superuser, a new user has just been created. Details follow:
+    text = _("""Dear Superuser, a new user has just been created on %(sitename)s". Details follow:
 
     User name: %(username)s
     Email address: %(useremail)s""") % {
          'username': username,
          'useremail': email,
+         'sitename': sitename or "Wiki",
          }
 
     return {'subject': subject, 'text': text}