pygettext question

Greg Ward <[email protected]> Sun, 6 Jun 2004 18:13:02 -0400
Newsgroups gmane.comp.python.internationalization
Message-ID <[email protected]>
Hi all -- I'm playing around with Python's I18N tools and gettext for
the first time right now, and I have a silly question about pygettext.
After I ran it the first time, I edited the meta-data block at the top
so it has the project name and version and my name and email address:

  msgid ""
  msgstr ""
  "Project-Id-Version: Optik 1.5\n"
  "POT-Creation-Date: Thu Jun  3 21:53:18 2004\n"
  "PO-Revision-Date: 2004-06-06 17:53-0400\n"
  "Last-Translator: Greg Ward <[email protected]>\n"
  "Language-Team: \n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=US-ASCII\n"
  "Content-Transfer-Encoding: ENCODING\n"
  "Generated-By: pygettext.py 1.5\n"

But when I change messages in the code and re-run pygettext, that block
is clobbered with the default version.  ;-(

How do I get pygettext to preserve my existing value here?  (Likewise
for the leading comment block, which has a copyright statement?)

Thanks --

        Greg

PS. anyone interested in translating strings for Optik/optparse?
There are only 18 messages, all short and simple.  Please get in touch
if you can help...

-- 
Greg Ward <[email protected]>                         http://www.gerg.ca/
Yield to temptation; it may not pass your way again.