From 6aaafb6c05840389f1dd9139da9694f3b43c57df Mon Sep 17 00:00:00 2001 From: Yasuhito FUTATSUKI at POEM Date: Mon, 22 Feb 2016 17:51:37 +0900 Subject: 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) --- bin/list_admins | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/list_admins') 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') -- cgit v1.2.3