Обсуждение: Translating xlogreader.c

Поиск
Список
Период
Сортировка

Translating xlogreader.c

От
Heikki Linnakangas
Дата:
xlogreader.c contains a bunch of strings passed to the 
report_invalid_record function, that are supposed to be translated. 
src/backend/nls.mk lists report_invalid_record as a gettext trigger.

In 9.2 and below, when those functions were still in xlog, those strings 
were in the postgres.pot file, and translated. But not since 9.3, when 
they were moved to xlogreader.c

What's going on?

- Heikki



Re: Translating xlogreader.c

От
Alvaro Herrera
Дата:
Heikki Linnakangas wrote:
> xlogreader.c contains a bunch of strings passed to the report_invalid_record
> function, that are supposed to be translated. src/backend/nls.mk lists
> report_invalid_record as a gettext trigger.
> 
> In 9.2 and below, when those functions were still in xlog, those strings
> were in the postgres.pot file, and translated. But not since 9.3, when they
> were moved to xlogreader.c
> 
> What's going on?

I missed a ":2" in GETTEXT_TRIGGERS.  Fixed now, backpatched to 9.3.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services