summaryrefslogtreecommitdiff
path: root/Tools/i18n
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-03-01 22:56:17 +0000
committerMartin v. Löwis <martin@v.loewis.de>2001-03-01 22:56:17 +0000
commitac8ab158510980fdd09397a09826a4942df0ee86 (patch)
tree700b205e7169b38738627471a44bf67aae18f4f2 /Tools/i18n
parentc23d4d6e7a833f3159a0f9bdf73c292c4ef1be23 (diff)
downloadcpython-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-xTools/i18n/pygettext.py5
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"