diff options
| author | bwarsaw | 2001-08-30 04:15:30 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-08-30 04:15:30 +0000 |
| commit | 1734d281c9e1d79e7bd78a1e614d1d1d895dd166 (patch) | |
| tree | 8948270529cce6d9d877d107d3d4b93ed272f780 | |
| parent | 6e2cb33c05b38387ae7c4f642c86d59019440681 (diff) | |
| download | mailman-1734d281c9e1d79e7bd78a1e614d1d1d895dd166.tar.gz mailman-1734d281c9e1d79e7bd78a1e614d1d1d895dd166.tar.zst mailman-1734d281c9e1d79e7bd78a1e614d1d1d895dd166.zip | |
AddMember(), ChangeMemberAddress(), ConfirmUnsubscription(): The
subject text, which contains the robot command "confirm" should
not be translated, otherwise MailCommandHandler will break.
Reported by Daniel Buchmann.
| -rw-r--r-- | Mailman/MailList.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index 1b9e24bf7..3c82bdaf6 100644 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -627,7 +627,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, }, lang=lang, mlist=self) msg = Message.UserNotification( recipient, self.GetRequestEmail(), - _('confirm %(cookie)s'), + 'confirm %(cookie)s', text) msg['Reply-To'] = self.GetRequestEmail() msg.send(self) @@ -804,7 +804,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, }, lang=self.getMemberLanguage(oldaddr), mlist=self) msg = Message.UserNotification( newaddr, self.GetRequestEmail(), - _('confirm %(cookie)s'), + 'confirm %(cookie)s', text) msg['Reply-To'] = self.GetRequestEmail() msg.send(self) @@ -897,7 +897,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, }, lang=lang, mlist=self) msg = Message.UserNotification( addr, self.GetRequestEmail(), - _('confirm %(cookie)s'), + 'confirm %(cookie)s', text) msg['Reply-To'] = self.GetRequestEmail() msg.send(self) |
