summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-03-01 22:56:17 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-03-01 22:56:17 (GMT)
commit0f6b3832b9a0397910308f22f75f8449c4f492d8 (patch)
treef67eb45a98c423f4cd3c299c2497f9d01ca39630
parent2fe289a21b6f4d380970492a97472fd24a7ca452 (diff)
downloadcpython-0f6b3832b9a0397910308f22f75f8449c4f492d8.zip
cpython-0f6b3832b9a0397910308f22f75f8449c4f492d8.tar.gz
cpython-0f6b3832b9a0397910308f22f75f8449c4f492d8.tar.bz2
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.
-rwxr-xr-xTools/i18n/pygettext.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/i18n/pygettext.py b/Tools/i18n/pygettext.py
index a839799..275130f 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"