Re: translations

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: translations
Дата
Msg-id Pine.LNX.4.44.0409092339000.9559-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на Re: translations  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-hackers
On Thu, 9 Sep 2004, Alvaro Herrera wrote:

> > In libpq there was some files that was not scanned for translated strings
> > and in scan.l there was a call to gettext() missing which made error
> > messages into a mix of english and swedish (in my case).
> 
> I see this problem too.  I was about to complain.  Not sure if this is
> the best fix, but it certainly 'needs fixed'.

Since the parser calls yyerror() with strings we can't do the gettext call 
beforehand, which only leaves it to be done inside the yyerror() function.

xgettext sees yyerror as a markup functions, so the strings generated by
the parser are all in the po file (but was not used since there was no 
call to gettext).

-- 
/Dennis Björklund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Clarification of action on Delete
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Clarification of action on Delete