[Mailman-Developers]
[ mailman-Bugs-596361 ] rejection-notice not translated
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 13 Sep 2002 12:46:46 -0700
Bugs item #596361, was opened at 2002-08-17 02: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: Closed
>Resolution: Fixed
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()
----------------------------------------------------------------------
>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-09-13 15:46
Message:
Logged In: YES
user_id=12800
Thanks.
----------------------------------------------------------------------
Comment By: Tokio Kikuchi (tkikuchi)
Date: 2002-08-23 20:17
Message:
Logged In: YES
user_id=67709
Sorry for the inconvenience. I uplaod a diff file.
There is some clutter in creating mailman.pot, so I revised
the patch.
----------------------------------------------------------------------
Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-08-23 17:16
Message:
Logged In: YES
user_id=12800
In general it's better to attach patches instead of pasting
them in. SF doesn't preserve whitespace :(
Updating this one so SF will send me the whitespace
preserved patch in an email notification.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=596361&group_id=103