From e7519290ad288df840bc86d8dcaea524407df964 Mon Sep 17 00:00:00 2001 From: Yasuhito FUTATSUKI at POEM Date: Mon, 22 Feb 2016 20:06:27 +0900 Subject: * add option to pick up C_() texts to make potfile * revise command line utils _()/C_() usage (not tested at all) --- bin/update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/update') diff --git a/bin/update b/bin/update index 0ac5ffe8..b5843424 100755 --- a/bin/update +++ b/bin/update @@ -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: -- cgit v1.2.3