aboutsummaryrefslogtreecommitdiffstats
path: root/bin/list_admins
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2016-02-22 17:51:37 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2016-02-22 17:51:37 +0900
commit6aaafb6c05840389f1dd9139da9694f3b43c57df (patch)
tree3ca127f0bd34ede1ff388fa529fffad522d424d8 /bin/list_admins
parent3c78c57cc88877f701a935ce009efd39d31925e6 (diff)
downloadmailman2-6aaafb6c05840389f1dd9139da9694f3b43c57df.tar.gz
mailman2-6aaafb6c05840389f1dd9139da9694f3b43c57df.tar.xz
mailman2-6aaafb6c05840389f1dd9139da9694f3b43c57df.zip
Importing locale patch for command line utils, from RHEL6 rpm source
(for -japan-poem, originally imported from 2.1.12-18 package for RHEL6 rpm source)
Diffstat (limited to 'bin/list_admins')
-rw-r--r--bin/list_admins8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/list_admins b/bin/list_admins
index b86a5eb8..f9304c7f 100644
--- a/bin/list_admins
+++ b/bin/list_admins
@@ -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')