Re: A bunch of minor issues - Mailing list pgadmin-hackers

From Heikki Linnakangas
Subject Re: A bunch of minor issues
Date
Msg-id 4700B658.7020303@enterprisedb.com
Whole thread Raw
In response to Re: A bunch of minor issues  (Heikki Linnakangas <heikki@enterprisedb.com>)
Responses Re: A bunch of minor issues
List pgadmin-hackers
Heikki Linnakangas wrote:
> Dave Page wrote:
>> 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.
>
> Ok. I submitted the wx patch to the wxWidgets patch tracker:
>
> https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1803492&group_id=9863
>
> We'll see how that goes...

It was committed to wxWidgets, with some modifications. Nice.

It turns out that the changes to stringextract were in fact not
necessary, since Vaclav Slavik found out a way to include the filename
of the original file in the wxrc output. It won't hurt, though, and
it'll still be helpful when using an older version of wxrc that doesn't
include the patch yet.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by guillaume: r6698 - trunk/pgadmin3/i18n/pt_PT
Next
From: Dave Page
Date:
Subject: Re: A bunch of minor issues