Re: A bunch of minor issues

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: A bunch of minor issues
Дата
Msg-id 46FBA84D.9020906@postgresql.org
обсуждение исходный текст
Ответ на Re: A bunch of minor issues  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: A bunch of minor issues  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список 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

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: SVN Commit by guillaume: r6677 - in trunk/pgadmin3: docs docs/en_US/hints docs/fi_FI docs/fi_FI/hints i18n/fi_FI
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: SVN Commit by guillaume: r6677 - in trunk/pgadmin3: docs docs/en_US/hints docs/fi_FI docs/fi_FI/hints i18n/fi_FI