Re: [HACKERS] Re: [GENERAL] error messages not only English
В списке pgsql-hackers по дате отправления:
| От | Vadim Mikheev |
|---|---|
| Тема | Re: [HACKERS] Re: [GENERAL] error messages not only English |
| Дата | |
| Msg-id | 356AE3CC.33E86299@krs.ru обсуждение исходный текст |
| Ответ на | Re: [GENERAL] error messages not only English (The Hermit Hacker <scrappy@hub.org>) |
| Ответы |
Re: [HACKERS] Re: [GENERAL] error messages not only English
|
| Список | pgsql-hackers |
The Hermit Hacker wrote:
>
> Hrmmm...create an 'include/utils/errmsg.h file that is a link created by
> configure based on a --with-language=<insert your language here>...the
> file would contain:
>
> #define <ERRMSG TOKEN> "Error message in your language"
^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Then use the TOKEN with elog...
>
> If we did something like this, we wouldn't have to convert all at once
> either, just as we pick up a new one...
Sometime ago we told about using error codes in elog (and put them to the
client) - this would very useful for non-interactive applications...
How about to implement this ?
Vadim
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера