Re: Proceeding with gettext

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proceeding with gettext
Дата
Msg-id 24758.991242888@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Proceeding with gettext  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Proceeding with gettext  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
>> Wouldn't there need to be changes in the %-escape usage in elog message
>> strings?

> 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.

Oh, I see: the translated message can use that form, but the original
need not.  Okay.

Are you planning to tackle any of the other elog-related stuff that's
been discussed in the past?  (Automatic file/linenumber information,
relabeling the set of severity codes, that sort of thing?)  Sooner or
later we're going to have to bite the bullet and edit every elog
instance in the system.  I'm just wondering if that flag day is implicit
in this change, or if we can put it off awhile longer.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proceeding with gettext
Следующее
От: Ian Lance Taylor
Дата:
Сообщение: Re: Support for %TYPE in CREATE FUNCTION