From f8d6bcc2c18e6a3d857dd99be24084c6488590c4 Mon Sep 17 00:00:00 2001 From: Yasuhito FUTATSUKI at POEM Date: Sat, 16 Jun 2018 02:46:52 +0900 Subject: enhance i18n in admin(un)?subscribeack messages --- Mailman/ListAdmin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Mailman/ListAdmin.py') diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py index 877aa5c4..d083a521 100755 --- a/Mailman/ListAdmin.py +++ b/Mailman/ListAdmin.py @@ -45,6 +45,7 @@ from Mailman.Logging.Syslog import syslog from Mailman import i18n _ = i18n._ +D_ = i18n.D_ # Request types requiring admin approval IGN = 0 @@ -436,7 +437,8 @@ class ListAdmin: assert value == mm_cfg.SUBSCRIBE try: userdesc = UserDesc(addr, fullname, password, digest, lang) - self.ApprovedAddMember(userdesc, whence='via admin approval') + self.ApprovedAddMember(userdesc, + whence=D_('via admin approval')) except Errors.MMAlreadyAMember: # User has already been subscribed, after sending the request pass -- cgit v1.2.3