Mercurial > p > roundup > code
comparison tools/pygettext.py @ 424:8babfb52ebbd
Added change notes
| author | Jürgen Hermann <jhermann@users.sourceforge.net> |
|---|---|
| date | Fri, 30 Nov 2001 01:35:39 +0000 |
| parents | c64ce58ee529 |
| children | a787b2413997 |
comparison
equal
deleted
inserted
replaced
| 423:c64ce58ee529 | 424:8babfb52ebbd |
|---|---|
| 1 #! /usr/bin/env python | 1 #! /usr/bin/env python |
| 2 # Originally written by Barry Warsaw <bwarsaw@python.org> | 2 # Originally written by Barry Warsaw <bwarsaw@python.org> |
| 3 # | 3 # |
| 4 # minimally patched to make it even more xgettext compatible | 4 # minimally patched to make it even more xgettext compatible |
| 5 # by Peter Funk <pf@artcom-gmbh.de> | 5 # by Peter Funk <pf@artcom-gmbh.de> |
| 6 # | |
| 7 # 2001-11-21 Jürgen Hermann <jh@web.de> | |
| 8 # Checks that _() only contains string literals added, and | |
| 9 # command line args are resolved to module lists, i.e. you | |
| 10 # can now pass a filename, a module or package name, or a | |
| 11 # directory (including globbing chars, important for Win32). | |
| 12 # | |
| 6 | 13 |
| 7 # for selftesting | 14 # for selftesting |
| 8 try: | 15 try: |
| 9 import fintl | 16 import fintl |
| 10 _ = fintl.gettext | 17 _ = fintl.gettext |
