diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2016-02-22 20:06:27 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2016-02-22 20:06:27 +0900 |
commit | e7519290ad288df840bc86d8dcaea524407df964 (patch) | |
tree | 6fe1349a50bfb9045e75b638c8ce0374fafa6d0d /bin/update | |
parent | 6aaafb6c05840389f1dd9139da9694f3b43c57df (diff) | |
download | mailman2-e7519290ad288df840bc86d8dcaea524407df964.tar.gz mailman2-e7519290ad288df840bc86d8dcaea524407df964.tar.xz mailman2-e7519290ad288df840bc86d8dcaea524407df964.zip |
* add option to pick up C_() texts to make potfile
* revise command line utils _()/C_() usage (not tested at all)
Diffstat (limited to '')
-rwxr-xr-x | bin/update | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -452,7 +452,7 @@ def update_qfiles(): except EnvironmentError, e: if e.errno <> errno.ENOTDIR: raise - print _('Warning! Not a directory: %(dirpath)s') + print C_('Warning! Not a directory: %(dirpath)s') @@ -541,7 +541,7 @@ def dequeue(filebase): msg = data = None except EOFError: # For some reason the pckfile was empty. Just delete it. - print _('Warning! Deleting empty .pck file: %(pckfile)s') + print C_('Warning! Deleting empty .pck file: %(pckfile)s') os.unlink(pckfile) finally: if msgfp: |