Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: A bunch of minor issues


  • From: Dave Page <dpage(at)postgresql(dot)org>
  • To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
  • Cc: pgadmin-hackers(at)postgresql(dot)org, Guillaume Lelarge <guillaume(at)lelarge(dot)info>
  • Subject: Re: A bunch of minor issues
  • Date: Thu, 27 Sep 2007 13:55:41 +0100
  • Message-id: <46FBA84D(dot)9020906(at)postgresql(dot)org>

Heikki Linnakangas wrote:
> Dave Page wrote:
>> I'd be more interested in the patches so I can update my utilities and
>> those of developer.pgadmin.org where stringextract tends to be run (I
>> imagine Guillaume would like a copy too).
> 
> Ok. Here's two patches to enable that:
> 
> wx-linenumbers-in-wxrc-1.patch (against wxWidgets SVN trunk) modifies
> wxrc to output additional empty lines, so that the line numbers of the
> strings in the gettext output match corresponding lines in the source
> file. A bit hacky, but it works. I had to modify wxXml code to keep the
> line numbers in the wxXmlNode-objects it constructs from the XML document.

As discussed, I haven't installed this on developer.pgadmin.org because
it touches the wxXml classes as well as wxrc.

> pgadmin-stringextract-keep-filenames-1.patch modifies stringextract so
> that it runs wxrc and xgettext separately on each xrc file, to get the
> correct filename in the pot file. BTW, this patch alone is beneficial;
> you get the correct filenames though the line numbers are bogus without
> the wxrc patch. I'm not sure how the xargs-magic works on windows...
> 

I have committed that - thanks.

/D



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group