Re: ecpg localization

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
Subject: Re: ecpg localization
Date: 2008-05-03 09:06:03
Message-ID: 200805031106.05431.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Euler Taveira de Oliveira wrote:
> I don't know if I understand what you want to say by "call gettext". A
> quick look at the l10n of backend proves that it calls gettext
> everywhere. Could you ellaborate?

In nls.mk, you mark mmerror as containing arguments for translation, but
mmerror doesn't call gettext anywhere, so nothing would get translated at run
time. To pick up your backend example, we mark arguments of errmsg() for
translation, but then errmsg() calls gettext.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2008-05-03 09:06:56 Re: ecpg localization
Previous Message Euler Taveira de Oliveira 2008-05-03 05:08:03 Re: ecpg localization