Re: pgsql-server: Added a call to gettext() to fix broken translated error

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dennis Björklund <db(at)zigo(dot)dhs(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server: Added a call to gettext() to fix broken translated error
Date: 2004-09-10 14:51:56
Message-ID: 200409101651.56394.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane wrote:
> dennis(at)svr1(dot)postgresql(dot)org (Dennis Bjorklund) writes:
> > Log Message:
> > -----------
> > Added a call to gettext() to fix broken translated error messages.
>
> This seems wrong to me. Why isn't the argument to yyerror already
> translated? Certainly the gettext infrastructure will not be able
> to extract any new translatable strings from what you did.

The yyerror strings are pasted together by bison in the worst possible
fashion. But I doubt this patch fixes that.

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-09-10 15:20:20 pgsql-server: Properly include port file for Cygwin.
Previous Message Peter Eisentraut 2004-09-10 14:50:26 Re: pgsql-server: Some source files was not scanned for translatable