[Mailman-Developers] [patch] A few typos

Daniel Buchmann db@bibsys.no
Fri, 04 Jan 2002 14:06:17 +0100


This is a multi-part message in MIME format.
--------------2F2443BDB85CC473D0E40048
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I found a few typos in current CVS. Patch attached.
Details:

1. Mailman/Cgi/admindb.py:193, messages/mailman.pot:640

   Wrong variable name. "esender" should be "sender"


2. templates/en/admindbpreamble.html:2

   "...held for you approval..." should be
   "...held for your approval..."


3. cron/crontab.in.in:8

   Missing '@' in the entry for cron/disabled
   Every morning at 9:00 cron would mail this error:
       "/usr/bin/python: can't open file '@prefix/cron/disabled'"



-Daniel
--------------2F2443BDB85CC473D0E40048
Content-Type: text/plain; charset=us-ascii;
 name="fixed-typos-2002-01-04.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="fixed-typos-2002-01-04.patch"

diff -r -N --unified=3 mailman-cvs/Mailman/Cgi/admindb.py mailman/Mailman/Cgi/admindb.py
--- mailman-cvs/Mailman/Cgi/admindb.py	Thu Jan  3 06:06:24 2002
+++ mailman/Mailman/Cgi/admindb.py	Fri Jan  4 13:54:42 2002
@@ -192,7 +192,7 @@
              'filterurl' : adminurl + '/privacy/sender',
              }
         if sender:
-            d['description'] = _("all the %(esender)s's held messages.")
+            d['description'] = _("all the %(sender)s's held messages.")
             doc.AddItem(Utils.maketext('admindbpreamble.html', d,
                                        raw=1, mlist=mlist))
             show_sender_requests(mlist, form, sender)
diff -r -N --unified=3 mailman-cvs/cron/crontab.in.in mailman/cron/crontab.in.in
--- mailman-cvs/cron/crontab.in.in	Thu Dec 27 08:09:29 2001
+++ mailman/cron/crontab.in.in	Fri Jan  4 13:55:17 2002
@@ -5,7 +5,7 @@
 #
 # At 9AM, send notifications to disabled members that are due to be
 # reminded to re-enable their accounts.
-0 9 * * * @PYTHON@ -S @prefix/cron/disabled
+0 9 * * * @PYTHON@ -S @prefix@/cron/disabled
 #
 # Noon, mail digests for lists that do periodic as well as threshhold delivery.
 0 12 * * * @PYTHON@ -S @prefix@/cron/senddigests
diff -r -N --unified=3 mailman-cvs/messages/mailman.pot mailman/messages/mailman.pot
--- mailman-cvs/messages/mailman.pot	Mon Dec 31 23:15:01 2001
+++ mailman/messages/mailman.pot	Fri Jan  4 13:55:36 2002
@@ -637,7 +637,7 @@
 msgstr ""
 
 #: Mailman/Cgi/admindb.py:193
-msgid "all the %(esender)s's held messages."
+msgid "all the %(sender)s's held messages."
 msgstr ""
 
 #: Mailman/Cgi/admindb.py:198
diff -r -N --unified=3 mailman-cvs/templates/en/admindbpreamble.html mailman/templates/en/admindbpreamble.html
--- mailman-cvs/templates/en/admindbpreamble.html	Sat Dec 29 08:36:13 2001
+++ mailman/templates/en/admindbpreamble.html	Fri Jan  4 13:55:56 2002
@@ -1,5 +1,5 @@
 This page contains a subset of the <em>%(listname)s</em> mailing list
-postings that are being held for you approval.  It currently shows
+postings that are being held for your approval.  It currently shows
 %(description)s
 
 <p>For each administrative request, please select the action to take,

--------------2F2443BDB85CC473D0E40048--