diff options
-rwxr-xr-x | Mailman/MailList.py | 4 | ||||
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | templates/en/adminsubscribeack.txt | 4 | ||||
-rw-r--r-- | templates/en/adminunsubscribeack.txt | 3 |
4 files changed, 11 insertions, 5 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index 1755ae64..7cd86bf7 100755 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -1069,7 +1069,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, "adminsubscribeack.txt", {"listname" : realname, "member" : formataddr((name, email)), - "whence" : "" if whence == None else " (" + whence + ")" + "whence" : "" if whence is None else "(" + whence + ")" }, mlist=self) msg = Message.OwnerNotification(self, subject, text) msg.send(self) @@ -1106,7 +1106,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, 'adminunsubscribeack.txt', {'member' : name, 'listname': self.real_name, - "whence" : "" if whence == None else " (" + whence + ")" + "whence" : "" if whence is None else "(" + whence + ")" }, mlist=self) msg = Message.OwnerNotification(self, subject, text) msg.send(self) @@ -39,6 +39,11 @@ Here is a history of user visible changes to Mailman. 'mischief' log entries for 'hostile listname' noe include the remote IP if available. + - Thanks to Jim Popovitch, admin notices of (un)subscribes now may give + the source of the action. This consists of a %(whence)s replacement + that can be added to the admin(un)subscribeack.txt templates. This + has been done for the 'en' templates, but not for most others. + i18n - The Japanese translation has been updated by Yasuhito FUTATSUKI. diff --git a/templates/en/adminsubscribeack.txt b/templates/en/adminsubscribeack.txt index f5d94e36..2c83f5c8 100644 --- a/templates/en/adminsubscribeack.txt +++ b/templates/en/adminsubscribeack.txt @@ -1,3 +1,3 @@ -%(member)s has been successfully subscribed to %(listname)s%(whence)s. - +%(member)s has been successfully subscribed to %(listname)s. +%(whence)s diff --git a/templates/en/adminunsubscribeack.txt b/templates/en/adminunsubscribeack.txt index 5b30f805..bbfcd430 100644 --- a/templates/en/adminunsubscribeack.txt +++ b/templates/en/adminunsubscribeack.txt @@ -1,2 +1,3 @@ -%(member)s has been removed from %(listname)s%(whence)s. +%(member)s has been removed from %(listname)s. +%(whence)s |