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: | 2007-09-27 12:55:41 |
Message-ID: | 46FBA84D.9020906@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2007-09-27 13:07:55 | Re: SVN Commit by guillaume: r6677 - in trunk/pgadmin3: docs docs/en_US/hints docs/fi_FI docs/fi_FI/hints i18n/fi_FI |
Previous Message | Heikki Linnakangas | 2007-09-27 12:49:32 | Re: SVN Commit by guillaume: r6677 - in trunk/pgadmin3: docs docs/en_US/hints docs/fi_FI docs/fi_FI/hints i18n/fi_FI |