From 6e1a6399a5c27e4baa0440ef29670ff44a90eb59 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Wed, 21 Nov 2001 17:17:35 +0000 Subject: ProcessConfirmCmd(): Need to define listname and url local vars for the i18n string interpolation. Also, rewrite the MMBadConfirmation message, since they may be confirming something other than a subscription request. --- Mailman/MailCommandHandler.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py index f8bfaa72c..c378424b9 100644 --- a/Mailman/MailCommandHandler.py +++ b/Mailman/MailCommandHandler.py @@ -474,6 +474,8 @@ to get info for all the lists.""")) self.AddError(_("Private list: only members may see info.")) return + listname = self.real_name + url = self.GetScriptURL('listinfo', absolute=1) msg = Utils.wrap(_(''' For more complete info about the %(listname)s mailing list, including background and instructions for subscribing to and using it, visit: @@ -688,7 +690,8 @@ the email address you gave is insecure.""")) _('''\ Invalid confirmation string. Note that confirmation strings expire approximately %(days)s days after the initial subscription request. If your -confirmation has expired, please try to re-submit your subscription.'''), +confirmation has expired, please try to re-submit your original request or +message.'''), honor_leading_ws=0), trunc=0) except Errors.MMNeedApproval, admin_addr: -- cgit v1.3.1