[Python-checkins] CVS: python/dist/src/Tools/i18n pygettext.py
Barry A. Warsaw
bwarsaw@cnri.reston.va.us
Wed, 3 Nov 1999 13:47:53 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Tools/i18n
In directory anthem:/home/bwarsaw/projects/python/Tools/i18n
Modified Files:
pygettext.py
Log Message:
Several improvements, some of where were contributed by Bernhard
Herzog <herzog@online.de>. Specifically,
--verbose/-v flag added
pot_header added to make msgmerge and Emacs po-mode work better
normalize(), escape(), safe_eval(): Improved normalization of strings
for more .po file compatibility (e.g. C style). Handles emmbedded
newlines better.
Also added an identity function called _() and use it in the file
where messages are printed. This allows us to selftest pygettext.py
with itself as input.