From 97764f0bb6e95186ce196e153415398fac8e4771 Mon Sep 17 00:00:00 2001 From: Olivier Laurent Date: Thu, 9 Oct 2008 10:24:16 +0200 Subject: [PATCH] PO file header lines should end with '\n' (otherwise Launchpad po file exports are messed up) bzr revid: olt@tinyerp.com-20081009082416-8w2p6hct02zdagcj --- bin/tools/translate.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bin/tools/translate.py b/bin/tools/translate.py index e713c0719c7..e86286642c6 100644 --- a/bin/tools/translate.py +++ b/bin/tools/translate.py @@ -157,16 +157,16 @@ class TinyPoFile(object): "#\n" \ "msgid \"\"\n" \ "msgstr \"\"\n" \ - '''"Project-Id-Version: %(project)s %(version)s\\n"\n''' # work in progress \ - "\"Report-Msgid-Bugs-To: %(bugmail)s\"\n" \ - "\"POT-Creation-Date: %(now)s\"\n" \ - "\"PO-Revision-Date: %(now)s\"\n" \ - "\"Last-Translator: <>\"\n" \ - "\"Language-Team: \"\n" \ - "\"MIME-Version: 1.0\"\n" \ - "\"Content-Type: text/plain; charset=UTF-8\"\n" \ - "\"Content-Transfer-Encoding: \"\n" \ - "\"Plural-Forms: \"\n" \ + '''"Project-Id-Version: %(project)s %(version)s\\n"\n''' \ + '''"Report-Msgid-Bugs-To: %(bugmail)s\\n"\n''' \ + '''"POT-Creation-Date: %(now)s\\n"\n''' \ + '''"PO-Revision-Date: %(now)s\\n"\n''' \ + '''"Last-Translator: <>\\n"\n''' \ + '''"Language-Team: \\n"\n''' \ + '''"MIME-Version: 1.0\\n"\n''' \ + '''"Content-Type: text/plain; charset=UTF-8\\n"\n''' \ + '''"Content-Transfer-Encoding: \\n"\n''' \ + '''"Plural-Forms: \\n"\n''' \ "\n" % { 'project': release.description,