summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/admindb.py
diff options
context:
space:
mode:
authorbwarsaw2002-09-13 19:46:34 +0000
committerbwarsaw2002-09-13 19:46:34 +0000
commitcb2a230e03cfe2ddb1344153cdfcaee6aec72252 (patch)
treefb983aae9c9353171a4e96d1a79a9d043f8395ff /Mailman/Cgi/admindb.py
parentb1b405cb8d554f8812b8f897851f9eb650e884bc (diff)
downloadmailman-cb2a230e03cfe2ddb1344153cdfcaee6aec72252.tar.gz
mailman-cb2a230e03cfe2ddb1344153cdfcaee6aec72252.tar.zst
mailman-cb2a230e03cfe2ddb1344153cdfcaee6aec72252.zip
Diffstat (limited to 'Mailman/Cgi/admindb.py')
-rw-r--r--Mailman/Cgi/admindb.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Mailman/Cgi/admindb.py b/Mailman/Cgi/admindb.py
index fb6897759..4805730ca 100644
--- a/Mailman/Cgi/admindb.py
+++ b/Mailman/Cgi/admindb.py
@@ -592,12 +592,11 @@ def show_post_requests(mlist, id, info, total, count, form):
TextBox('forward-addr-%d' % id, size=47,
value=mlist.GetOwnerEmail()).Format()
])
+ notice = msgdata.get('rejection-notice', _('[No explanation given]'))
t.AddRow([
Bold(_('If you reject this post,<br>please explain (optional):')),
TextArea('comment-%d' % id, rows=4, cols=80,
- text = Utils.wrap(msgdata.get('rejection-notice',
- _('[No explanation given]')),
- column=80))
+ text = Utils.wrap(_(notice), column=80))
])
row, col = t.GetCurrentRowIndex(), t.GetCurrentCellIndex()
t.AddCellInfo(row, col-1, align='right')