[Mailman-Developers] A Bug in Hold.py
Tokio Kikuchi
tkikuchi@is.kochi-u.ac.jp
Tue, 26 Feb 2002 16:28:50 +0900
Hi,
I am playing with Mailman 2.1a i18n feature.
When I set my test list as moderated, the rejection notice
message in admindb/details doesn't show up with translation.
Following short patch fixes this bug (I think).
--- /home/mailman/src/mailman/Mailman/Handlers/Hold.py Fri Feb 15
19:17:45 2002
+++ Hold.py Tue Feb 26 16:16:44 2002
@@ -189,7 +189,7 @@
# We need to send both the reason and the rejection notice through the
# translator again, because of the games we play above
reason = Utils.wrap(exc.reason_notice())
- msgdata['rejection-notice'] = Utils.wrap(exc.rejection_notice(mlist))
+ msgdata['rejection-notice'] =
Utils.wrap(_(exc.rejection_notice(mlist)))
id = mlist.HoldMessage(msg, reason, msgdata)
# Now we need to craft and send a message to the list admin so they can
# deal with the held message.
Sorry, if the lines are wrapped.
--
Tokio Kikuchi