Re: Cleanup for gettext() calls

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Cleanup for gettext() calls
Дата
Msg-id 200502150036.52497.peter_e@gmx.net
обсуждение исходный текст
Ответ на Cleanup for gettext() calls  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Cleanup for gettext() calls  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian wrote:
> It also adds some missing gettext usage, particularly in src/port and
> interfaces/ecpg.

ecpg has no translation support, so that would be pretty pointless.

> I found that perl also defines _(x) so I undefined this in plperl.

That kind of thing was the reason that it wasn't defined globally.

> Also, what is gettext_noop(x) used for?

It marks strings for translation for the purpose of xgettext but does
not call gettext because it would not be valid program code at that
place.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] WAL: O_DIRECT and multipage-writer
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Cleanup for gettext() calls