~mailman-coders/mailman/2.1

« back to all changes in this revision

Viewing changes to bin/transcheck

Fixed l10n to use correct charset for command-line scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! @PYTHON@
2
2
#
3
3
# transcheck - (c) 2002 by Simone Piunno <pioppo@ferrara.linux.it>
4
 
# Copyright (C) 2002-2007 by the Free Software Foundation, Inc.
 
4
# Copyright (C) 2002-2016 by the Free Software Foundation, Inc.
5
5
#
6
6
# This program is free software; you can redistribute it and/or modify it
7
7
# under the terms of the version 2.0 of the GNU General Public License as
36
36
import getopt
37
37
 
38
38
import paths
39
 
from Mailman.i18n import _
 
39
from Mailman.i18n import C_
40
40
 
41
41
program = sys.argv[0]
42
42
 
47
47
        fd = sys.stderr
48
48
    else:
49
49
        fd = sys.stdout
50
 
    print >> fd, _(__doc__)
 
50
    print >> fd, C_(__doc__)
51
51
    if msg:
52
52
        print >> fd, msg
53
53
    sys.exit(code)