| От | Julien Rouhaud |
|---|---|
| Тема | Re: [PATCH] polish the error message of creating proc |
| Дата | |
| Msg-id | 20220921144912.widpjlzk27bntu2q@jrouhaud обсуждение исходный текст |
| Ответ на | Re: [PATCH] polish the error message of creating proc (Junwang Zhao <zhjwpku@gmail.com>) |
| Список | pgsql-hackers |
On Wed, Sep 21, 2022 at 10:35:47PM +0800, Junwang Zhao wrote: > On Wed, Sep 21, 2022 at 8:17 PM Julien Rouhaud <rjuju123@gmail.com> wrote: > > > > You can't put part of the message in parameter, as the resulting string isn't > > translatable. You should either use "routine" as a generic term or provide 3 > > different full messages. > > I noticed that there are some translations under the backend/po directory, > can we just change > msgid "function \"%s\" already exists with same argument types" > to > msgid "%s \"%s\" already exists with same argument types" ? The problem is that the parameters are passed as-is, so the final emitted translated string will be a mix of both languages, which isn't acceptable.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера