Re: pgsql: Mark the second argument of pg_log as the translatable string in

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Mark the second argument of pg_log as the translatable string in
Дата
Msg-id 20150412011715.GK4369@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pgsql: Mark the second argument of pg_log as the translatable string in  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pgsql: Mark the second argument of pg_log as the translatable string in  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-committers
Peter Eisentraut wrote:
> On 4/7/15 10:06 PM, Fujii Masao wrote:
> > Mark the second argument of pg_log as the translatable string in nls.mk.
>
> gettext (msgmerge) is unhappy about this because
>
> po/pg_rewind.pot:501: warning: internationalized messages should not
> contain the '\r' escape sequence

What pg_basebackup's progress_report() does is have the message in the
translatable part not include the \r; the \r is in a separate fprintf()
call.

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


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Mark the second argument of pg_log as the translatable string in
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Move pg_archivecleanup from contrib/ to src/bin/