diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2018-06-16 02:46:52 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2018-06-16 02:46:52 +0900 |
commit | f8d6bcc2c18e6a3d857dd99be24084c6488590c4 (patch) | |
tree | 2c3883ecc9a28f013afaedc6321bbac993363038 /Mailman/Cgi/options.py | |
parent | 719ba7e2b6c0da9caf2506b95b192ea51559f6ba (diff) | |
download | mailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.tar.gz mailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.tar.xz mailman2-f8d6bcc2c18e6a3d857dd99be24084c6488590c4.zip |
enhance i18n in admin(un)?subscribeack messages
Diffstat (limited to 'Mailman/Cgi/options.py')
-rw-r--r-- | Mailman/Cgi/options.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py index 4f128baf..d563d253 100644 --- a/Mailman/Cgi/options.py +++ b/Mailman/Cgi/options.py @@ -45,6 +45,7 @@ DIGRE = re.compile( # Set up i18n _ = i18n._ i18n.set_language(mm_cfg.DEFAULT_SERVER_LANGUAGE) +D_ = i18n.D_ try: True, False @@ -583,7 +584,7 @@ address. Upon confirmation, any other mailing list containing the address try: try: mlist.DeleteMember( - user, 'via the member options page', userack=1) + user, D_('via the member options page'), userack=1) except Errors.MMNeedApproval: needapproval = True except Errors.NotAMemberError: |