diff options
Diffstat (limited to '')
-rw-r--r-- | bin/fix_url.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/fix_url.py b/bin/fix_url.py index d2731c14..d4840beb 100644 --- a/bin/fix_url.py +++ b/bin/fix_url.py @@ -43,12 +43,12 @@ import getopt import paths from Mailman import mm_cfg -from Mailman.i18n import _ +from Mailman.i18n import C_ def usage(code, msg=''): - print _(__doc__.replace('%', '%%')) + print C_(__doc__.replace('%', '%%')) if msg: print msg sys.exit(code) @@ -72,7 +72,7 @@ def fix_url(mlist, *args): # Make sure list is locked. if not mlist.Locked(): if verbose: - print _('Locking list') + print C_('Locking list') mlist.Lock() if urlhost: web_page_url = mm_cfg.DEFAULT_URL_PATTERN % urlhost @@ -82,12 +82,12 @@ def fix_url(mlist, *args): mailhost = mm_cfg.DEFAULT_EMAIL_HOST if verbose: - print _('Setting web_page_url to: %(web_page_url)s') + print C_('Setting web_page_url to: %(web_page_url)s') mlist.web_page_url = web_page_url if verbose: - print _('Setting host_name to: %(mailhost)s') + print C_('Setting host_name to: %(mailhost)s') mlist.host_name = mailhost - print _('Saving list') + print C_('Saving list') mlist.Save() mlist.Unlock() |