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/change_pw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/change_pw') diff --git a/bin/change_pw b/bin/change_pw index 35be13d4..f3bb1977 100644 --- a/bin/change_pw +++ b/bin/change_pw @@ -142,11 +142,11 @@ def main(): if args: strargs = SPACE.join(args) - usage(1, _('Bad arguments: %(strargs)s')) + usage(1, C_('Bad arguments: %(strargs)s')) if password is not None: if not password: - usage(1, _('Empty list passwords are not allowed')) + usage(1, C_('Empty list passwords are not allowed')) shapassword = Utils.sha_new(password).hexdigest() if domains: -- cgit v1.2.3