aboutsummaryrefslogtreecommitdiffstats
path: root/bin/list_admins
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2016-02-27 15:21:12 -0800
committerMark Sapiro <mark@msapiro.net>2016-02-27 15:21:12 -0800
commit95385417e926517c13ee769ef915ce5710a515f2 (patch)
treea39eccce0b844476a3715f328ee6712a5d62640e /bin/list_admins
parent1833e1e51f4994d733c4ef3fca7c6ef7a4fd519e (diff)
parentb3e0912e4d982e53eccac906fad347e8f1792b97 (diff)
downloadmailman2-95385417e926517c13ee769ef915ce5710a515f2.tar.gz
mailman2-95385417e926517c13ee769ef915ce5710a515f2.tar.xz
mailman2-95385417e926517c13ee769ef915ce5710a515f2.zip
Fixed l10n to use correct charset for command-line scripts.
Diffstat (limited to 'bin/list_admins')
-rw-r--r--bin/list_admins10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/list_admins b/bin/list_admins
index b86a5eb8..08ad3d8a 100644
--- a/bin/list_admins
+++ b/bin/list_admins
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 2001-2007 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2016 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
@@ -45,7 +45,7 @@ import getopt
import paths
from Mailman import MailList, Utils
from Mailman import Errors
-from Mailman.i18n import _
+from Mailman.i18n import C_
COMMASPACE = ', '
@@ -58,7 +58,7 @@ def usage(code, msg=''):
fd = sys.stderr
else:
fd = sys.stdout
- print >> fd, _(__doc__)
+ print >> fd, C_(__doc__)
if msg:
print >> fd, msg
sys.exit(code)
@@ -87,14 +87,14 @@ def main():
try:
mlist = MailList.MailList(listname, lock=0)
except Errors.MMListError, e:
- print _('No such list: %(listname)s')
+ print C_('No such list: %(listname)s')
continue
if vhost and vhost <> mlist.host_name:
continue
owners = COMMASPACE.join(mlist.owner)
- print _('List: %(listname)s, \tOwners: %(owners)s')
+ print C_('List: %(listname)s, \tOwners: %(owners)s')