diff options
| author | bwarsaw | 2001-02-28 16:41:16 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-02-28 16:41:16 +0000 |
| commit | 55e33841eb1a694ec9298d39c10616b726774383 (patch) | |
| tree | 56d039acf958129c4c80a3a1ce8f6beb52578db7 /Mailman/Cgi/admindb.py | |
| parent | cecd3a1c5fbc6ed9ae8079c2ba7fbb9fd7dc86f1 (diff) | |
| download | mailman-55e33841eb1a694ec9298d39c10616b726774383.tar.gz mailman-55e33841eb1a694ec9298d39c10616b726774383.tar.zst mailman-55e33841eb1a694ec9298d39c10616b726774383.zip | |
Diffstat (limited to 'Mailman/Cgi/admindb.py')
| -rw-r--r-- | Mailman/Cgi/admindb.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Mailman/Cgi/admindb.py b/Mailman/Cgi/admindb.py index f0df63ff4..5d76c26da 100644 --- a/Mailman/Cgi/admindb.py +++ b/Mailman/Cgi/admindb.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998,1999,2000 by the Free Software Foundation, Inc. +# Copyright (C) 1998,1999,2000,2001 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -30,6 +30,7 @@ from Mailman import Message from Mailman.Cgi import Auth from Mailman.htmlformat import * from Mailman.Logging.Syslog import syslog +from Mailman.i18n import _ @@ -64,7 +65,7 @@ def main(): try: mlist = MailList.MailList(listname) except Errors.MMListError, e: - handle_no_list(doc, _('No such list <em>%s</em><p>') % listname) + handle_no_list(doc, _('No such list <em>%(listname)s</em><p>')) syslog('error', 'No such list "%s": %s\n' % (listname, e)) return @@ -115,7 +116,7 @@ def PrintRequests(mlist, doc): doc.AddItem(Utils.maketext( 'admindbpreamble.html', {'listname': mlist.real_name}, - mlist.preferred_language, raw=1)) + lang=mlist.preferred_language, raw=1)) doc.AddItem('.<p>') form = Form(mlist.GetScriptURL('admindb')) doc.AddItem(form) |
