Re: gettext calls in pgport

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: gettext calls in pgport
Дата
Msg-id 200410181443.i9IEhbu26983@candle.pha.pa.us
обсуждение исходный текст
Ответ на gettext calls in pgport  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: gettext calls in pgport  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Peter Eisentraut wrote:
> As has previously been pointed out, the strings marked up for gettext 
> translation in the pgport library don't work and need to be moved back 
> to where they once came from, unless someone wants to add gettext and 
> locale setup in pgport.  (That might be silly, because in theory locale 
> and gettext functions could one day become part of pgport.)  I claim 
> that pgport is a low-layer library that works on the operating system 
> level and should communicate with its callers via error codes.

Error codes seem like a lot more work than it is worth.  I vote for
adding gettext support to /port.  Also adding error codes duplicates all
the error strings in the call sites.

Added to open items list:
*  Add gettext support to src/port

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: additional GCC warnings
Следующее
От: "Zeugswetter Andreas DAZ SD"
Дата:
Сообщение: Re: Open Items