Re: Get rid of translation strings that only contain punctuation
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Get rid of translation strings that only contain punctuation |
| Дата | |
| Msg-id | 889437.1776825168@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Get rid of translation strings that only contain punctuation (Peter Smith <smithpb2250@gmail.com>) |
| Ответы |
Re: Get rid of translation strings that only contain punctuation
|
| Список | pgsql-hackers |
Peter Smith <smithpb2250@gmail.com> writes:
> Case#1: publication "XXX" has a problem
> Case#2: the following publications have a problem: "XXX", "YYY", "ZZZ"
Entirely aside from the mechanics of producing the output,
I am not sure I buy that emitting that is a desirable goal.
It seems to be based on an English-centric notion that singular
and indefinitely-many plural are the only two categories.
This is incorrect (see the documentation for ngettext()).
Is there a good reason not to output a separate message for
each publication? If we need to throw an ereport(ERROR)
covering them all, maybe list them in separate sentences
in a DETAIL message.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера