Re: Proceeding with gettext - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Proceeding with gettext
Date
Msg-id Pine.LNX.4.30.0105301847440.757-100000@peter.localdomain
Whole thread Raw
In response to Re: Proceeding with gettext  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:

> Peter Eisentraut <peter_e@gmx.net> writes:
> >> Peter, can you give a little sample of how an elog() call would look in
> >> the new system?  Thanks.
>
> > No change.
>
> Wouldn't there need to be changes in the %-escape usage in elog message
> strings?

No, for the programmer nothing changes.

Are you referring to the possibility that the parameters need to appear in
a different order in the translated message?  This can be handled if the
translator uses the %1$s style place holder in the translated string.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Patch for multi-key GiST
Next
From: Tom Lane
Date:
Subject: Re: Support for %TYPE in CREATE FUNCTION