Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group