Re: Cleanup for gettext() calls

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Cleanup for gettext() calls
Date: 2005-02-14 23:36:52
Message-ID: 200502150036.52497.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-02-15 01:04:22 Re: Cleanup for gettext() calls
Previous Message Bruce Momjian 2005-02-14 23:25:04 Re: WAL: O_DIRECT and multipage-writer