From 53f886f8c6f37ed7b6b8026b92530ea83b81db5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Mon, 27 Feb 2017 19:23:22 +0100 Subject: Port headers in xgettext_sh.py to 2017 --- po/xgettext_sh.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/po/xgettext_sh.py b/po/xgettext_sh.py index 167ed5e0..d442e989 100755 --- a/po/xgettext_sh.py +++ b/po/xgettext_sh.py @@ -64,13 +64,16 @@ def xgettext(arq): def print_header(): print 'msgid ""' print 'msgstr ""' - print '"Project-Id-Version: \\n"' - print '"PO-Revision-Date: YYYY-MM-DD HH:MM TZO DST\\n"' - print '"Last-Translator: \\n"' - print '"Language-Team: \\n"' + print '"Project-Id-Version: PACKAGE VERSION\\n"' + print '"Report-Msgid-Bugs-To: \\n"' + print '"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\\n"' + print '"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\\n"' + print '"Last-Translator: FULL NAME \\n"' + print '"Language-Team: LANGUAGE \\n"' + print '"Language: \\n"' print '"MIME-Version: 1.0\\n"' - print '"Content-Type: text/plain; charset=ISO-8859-1\\n"' - print '"Content-Transfer-Encoding: 8-bit\\n"\n' + print '"Content-Type: text/plain; charset=UTF-8\\n"' + print '"Content-Transfer-Encoding: 8bit\\n"\n' def print_pot(): print_header() -- cgit v1.2.1