diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-03-01 22:56:17 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-03-01 22:56:17 +0000 |
commit | ac8ab158510980fdd09397a09826a4942df0ee86 (patch) | |
tree | 700b205e7169b38738627471a44bf67aae18f4f2 /Tools/i18n | |
parent | c23d4d6e7a833f3159a0f9bdf73c292c4ef1be23 (diff) | |
download | cpython-ac8ab158510980fdd09397a09826a4942df0ee86.tar.gz |
Put current date into POT-Creation-Date; leave PO-Revision-Date for
for the translator to update; that is compatible with xgettext 0.10.35.
Diffstat (limited to 'Tools/i18n')
-rwxr-xr-x | Tools/i18n/pygettext.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/i18n/pygettext.py b/Tools/i18n/pygettext.py index a839799065..275130f23f 100755 --- a/Tools/i18n/pygettext.py +++ b/Tools/i18n/pygettext.py @@ -145,7 +145,7 @@ try: except ImportError: def _(s): return s -__version__ = '1.2' +__version__ = '1.3' default_keywords = ['_'] DEFAULTKEYWORDS = ', '.join(default_keywords) @@ -164,7 +164,8 @@ pot_header = _('''\ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\\n" -"PO-Revision-Date: %(time)s\\n" +"POT-Creation-Date: %(time)s\\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n" "Language-Team: LANGUAGE <LL@li.org>\\n" "MIME-Version: 1.0\\n" |