diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2016-02-22 17:51:37 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2016-02-22 17:51:37 +0900 |
commit | 6aaafb6c05840389f1dd9139da9694f3b43c57df (patch) | |
tree | 3ca127f0bd34ede1ff388fa529fffad522d424d8 /bin/convert.py | |
parent | 3c78c57cc88877f701a935ce009efd39d31925e6 (diff) | |
download | mailman2-6aaafb6c05840389f1dd9139da9694f3b43c57df.tar.gz mailman2-6aaafb6c05840389f1dd9139da9694f3b43c57df.tar.xz mailman2-6aaafb6c05840389f1dd9139da9694f3b43c57df.zip |
Importing locale patch for command line utils, from RHEL6 rpm source
(for -japan-poem, originally imported from 2.1.12-18 package for RHEL6
rpm source)
Diffstat (limited to '')
-rw-r--r-- | bin/convert.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/convert.py b/bin/convert.py index b0d6a053..ad7228b1 100644 --- a/bin/convert.py +++ b/bin/convert.py @@ -25,7 +25,7 @@ This script is intended to be run as a bin/withlist script, i.e. import paths from Mailman import Utils -from Mailman.i18n import _ +from Mailman.i18n import C_ def convert(mlist): for attr in ('msg_header', 'msg_footer', 'digest_header', 'digest_footer', @@ -35,10 +35,10 @@ def convert(mlist): t = Utils.to_dollar(s) setattr(mlist, attr, t) mlist.use_dollar_strings = 1 - print _('Saving list') + print C_('Saving list') mlist.Save() if __name__ == '__main__': - print _(__doc__.replace('%', '%%')) + print C_(__doc__.replace('%', '%%')) |