Re: pg_dump.options.diff
От | Tom Lane |
---|---|
Тема | Re: pg_dump.options.diff |
Дата | |
Msg-id | 1617.1041533907@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: pg_dump.options.diff ("Serguei Mokhov" <mokhov@cs.concordia.ca>) |
Список | pgsql-hackers |
"Serguei Mokhov" <mokhov@cs.concordia.ca> writes: > Looks good to me, but there is still a little inconvenience > of multiline option descriptions, and the above won't handle > it nicely. True, a multiline description would have to look like xo(_("-f, --file=FILENAME "), _("-f FILENAME "), _("output file name\n" " moredescription")); Which is not great, but it doesn't seem completely unworkable either. And the translator can still adjust the column spacing without any code changes. > may be a whole generic option-formatting routine > should be created; one for all the tools? ;-) > Similar to explain_option() of Manfred, > which will handle the mulitline, padding, and other stuff? > (am being half serious here, but it could be an "option") The trouble I see there is that the layout --- in particular the column width --- would be embedded in such a routine and not alterable by simply replacing message texts. regards, tom lane
В списке pgsql-hackers по дате отправления: