[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extend tools/rebuild_pot.sh to generate correct .pot header




Get error when testing LedgerSMB.pot in trunk

trunk/locale$ msgfmt -c LedgerSMB.pot
msgfmt: LedgerSMB.pot: warning: PO file header fuzzy
warning: older versions of msgfmt will give an error on this
LedgerSMB.pot:8: some header fields still have the initial default value



Below I you find the latest and several older versions of the header.
None of them are in complete. Is this suggestion for a new header ok ?

========================== New header =============================

# Gettext POT for LedgerSMB.
# Copyright (C) 2006 The LedgerSMB Core Team
# This file is distributed under the same license as the LedgerSMB package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: LedgerSMB 1.3.9999\n"
"Report-Msgid-Bugs-To: LedgerSMB Tracker, Bugs
 http://sourceforge.net/tracker/?group_id=175965&atid=875350\n";
"POT-Creation-Date: 2012-12-25 06:21-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <..hidden..>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

======================== End new header ===========================

Doc:
http://www.gnu.org/software/gettext/manual/gettext.html#Template


--
Håvard Sørli - http:/www.anix.no


---------------------------------------------------------

http://ledger-smb.svn.sourceforge.net/viewvc/ledger-smb/trunk/locale/LedgerSMB.pot?revision=5412&content-type=text%2Fplain

# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-12-25 06:21-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <..hidden..>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"



---------------------------------------------------------

"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-15 11:06-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <..hidden..>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

---------------------------------------------------------

http://ledger-smb.svn.sourceforge.net/viewvc/ledger-smb/trunk/locale/LedgerSMB.pot?revision=531&content-type=text%2Fplain

# Gettext POT for LedgerSMB.
# Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the LedgerSMB package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: LedgerSMB 1.2.0\n"
"POT-Creation-Date: 2006-11-12 14:41-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <..hidden..>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"