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/change_pw | |
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 '')
-rw-r--r-- | bin/change_pw | 4 |
1 files changed, 2 insertions, 2 deletions
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: |