[Mailman-Users] translate email commands

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Fri Jul 2 17:20:53 CEST 2004


* Jim Tittsler <jwt at OnJapan.net>:

> It is "sort of" in there... Mailman/Queue/CommandRunner.py uses
> the names of the Command/cmd_*.py files.  Try changing
> cmd_password.py to cmd_passwort.py.

Yes, that was it. I JUST found out and made the changes.
 
> (You will also want to change the translations of the doc
> strings for those modules to reflect the new command
> spellings... so that the help response is accurate.)

Nah, they don't get help for "unsupported" commands!
--- Utils.py.orig       2004-06-15 13:30:47.000000000 +0200
+++ Utils.py    2004-07-02 16:55:07.000000000 +0200
@@ -514,10 +514,12 @@
     # admin keyword: (minimum #args, maximum #args)
     'confirm':     (1, 1),
     'help':        (0, 0),
+    'hilfe':       (0, 0),
     'info':        (0, 0),
     'lists':       (0, 0),
     'options':     (0, 0),
     'password':    (2, 2),
+    'passwort':    (2, 2),
     'remove':      (0, 0),
     'set':         (3, 3),
     'subscribe':   (0, 3),
						  
-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   Ralf.Hildebrandt at charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-916
IT-Zentrum Standort Campus Mitte                          AIM.  ralfpostfix




More information about the Mailman-Users mailing list