aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2017-02-27 19:23:22 +0100
committerLukáš Nykrýn <lnykryn@redhat.com>2017-03-01 09:09:08 +0100
commit53f886f8c6f37ed7b6b8026b92530ea83b81db5e (patch)
tree37f5d1ee7ac2e54c523d62dfded3663de9a07e99
parent0724006bf2467c89dece180f26c4ac21dc42fcb6 (diff)
downloadinitscripts-53f886f8c6f37ed7b6b8026b92530ea83b81db5e.tar
initscripts-53f886f8c6f37ed7b6b8026b92530ea83b81db5e.tar.gz
initscripts-53f886f8c6f37ed7b6b8026b92530ea83b81db5e.tar.bz2
initscripts-53f886f8c6f37ed7b6b8026b92530ea83b81db5e.tar.xz
initscripts-53f886f8c6f37ed7b6b8026b92530ea83b81db5e.zip
Port headers in xgettext_sh.py to 2017
-rwxr-xr-xpo/xgettext_sh.py15
1 files 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: <XX@li.org>\\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 <EMAIL@ADDRESS>\\n"'
+ print '"Language-Team: LANGUAGE <LL@li.org>\\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()