Re: plpgsql is not translate-aware

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plpgsql is not translate-aware
Дата
Msg-id 27068.1220634590@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: plpgsql is not translate-aware  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> The vices in the error message are not the translator's fault: missing
> quotes and "plpgsql" instead of "PL/pgSQL":

It's been message style policy for quite some time to not quote the
output of format_type.  I think this is because format_type sometimes
puts quotes into its output, and it'd look weird.

> I'd even go a bit further and say that the original should not include
> the language name in the string, so that (say) plpython and plperl can
> use the same translation:

That'd only be useful if they all share a common message catalog, which
does not seem like a good design direction to me.  How would a non-core
PL hope to get localized if it can't have its own catalog?
        regards, tom lane


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

Предыдущее
От: Andrew Chernow
Дата:
Сообщение: CVS head has broken make
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: CVS head has broken make