[Pkg-isocodes-devel] [SCM] ISO language, territory, currency, script codes and their translations branch, master, updated. iso-codes/3.8-36-gdd91de1
Tobias Quathamer
toddy at debian.org
Tue Apr 14 08:18:10 UTC 2009
- Previous message: [Pkg-isocodes-devel] [SCM] ISO language, territory, currency, script codes and their translations branch, master, updated. iso-codes/3.8-36-gdd91de1
- Next message: [Pkg-isocodes-devel] [SCM] ISO language, territory, currency, script codes and their translations branch, master, updated. iso-codes/3.8-36-gdd91de1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
The following commit has been merged in the master branch:
commit 922e7dba0599bcb78b9f7ec0377a6fa926b45d01
Author: Tobias Quathamer <toddy at debian.org>
Date: Tue Apr 14 10:08:33 2009 +0200
Better header generation for pot files
diff --git a/iso2pot.py b/iso2pot.py
index e423876..99d651d 100755
--- a/iso2pot.py
+++ b/iso2pot.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# coding: utf-8
#
# Read iso-codes data file and output a .pot file
#
@@ -77,12 +78,12 @@ def printHeader(ofile, iso_standard, report_bugs_to, version):
ofile.write ("#\n")
ofile.write ("# This file is distributed under the same license as the iso-codes package.\n")
ofile.write ("#\n")
- ofile.write ("# Copyright (C)\n")
- ofile.write ("# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.\n")
+ ofile.write ("# Copyright ©\n")
+ ofile.write ("# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.\n")
ofile.write ("#\n")
ofile.write ("msgid \"\"\n")
ofile.write ("msgstr \"\"\n")
- ofile.write ("\"Project-Id-Version: iso-codes " + version + "\\n\"\n")
+ ofile.write ("\"Project-Id-Version: iso_" + iso_standard[0] + " " + version + "\\n\"\n")
ofile.write ("\"Report-Msgid-Bugs-To: " + report_bugs_to + "\\n\"\n")
ofile.write ("\"POT-Creation-Date: " + time.strftime('%F %H:%M%z') + "\\n\"\n")
ofile.write ("\"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\\n\"\n")
--
ISO language, territory, currency, script codes and their translations
- Previous message: [Pkg-isocodes-devel] [SCM] ISO language, territory, currency, script codes and their translations branch, master, updated. iso-codes/3.8-36-gdd91de1
- Next message: [Pkg-isocodes-devel] [SCM] ISO language, territory, currency, script codes and their translations branch, master, updated. iso-codes/3.8-36-gdd91de1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pkg-isocodes-devel
mailing list