[Mailman-Developers] [ mailman-Bugs-596361 ] rejection-notice not translated

noreply@sourceforge.net noreply@sourceforge.net
Fri, 16 Aug 2002 23:21:23 -0700


Bugs item #596361, was opened at 2002-08-17 06:21
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=596361&group_id=103

Category: Web/CGI
Group: 2.1 beta
Status: Open
Resolution: None
Priority: 5
Submitted By: Tokio Kikuchi (tkikuchi)
Assigned to: Nobody/Anonymous (nobody)
Summary: rejection-notice not translated

Initial Comment:
on the admindb screen, detailed description of the held
messages include 'rejection-notice' field to be sent to the
message sender but the default value in the text form is
in english and not translated into the list-preferred
language. 

Following short patch may work:
--- admindb.py.orig     Fri Aug 16 11:39:53 2002
+++ admindb.py  Sat Aug 17 14:57:37 2002
@@ -595,8 +595,8 @@
     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]')),
+                 text =
Utils.wrap(_(msgdata.get('rejection-notice',
+                                               _('[No
explanation given]'))),
                                    column=80))
         ])
     row, col = t.GetCurrentRowIndex(),
t.GetCurrentCellIndex()





----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=596361&group_id=103