Re: Re: [COMMITTERS] pgsql: This makes all the \dX commands (most importantly to most: \df)
От | Bruce Momjian |
---|---|
Тема | Re: Re: [COMMITTERS] pgsql: This makes all the \dX commands (most importantly to most: \df) |
Дата | |
Msg-id | 200901070151.n071p5205489@momjian.us обсуждение исходный текст |
Ответ на | Re: Re: [COMMITTERS] pgsql: This makes all the \dX commands (most importantly to most: \df) (Alvaro Herrera <alvherre@commandprompt.com>) |
Ответы |
Re: Re: [COMMITTERS] pgsql: This makes all the \dX
commands (most importantly to most: \df)
|
Список | pgsql-hackers |
Alvaro Herrera wrote: > Bruce Momjian wrote: > > Alvaro Herrera wrote: > > > Bruce Momjian wrote: > > > > > > > Informational > > > > Modifiers: S = show system objects + = Additional detail > > > > \l[+] list all databases > > > > \d[S+] list tables, views, and sequences > > > > \d[S+] NAME describe table, view, sequence, or index > > > > \da[S] [PATTERN] list aggregate functions > > > > > > If we do this, is there a way to abstract the translation marker _() > > > from the alignment whitespace? > > > > So they don't have to re-translate? > > No, so that the translators don't have to worry about getting alignment > right; and also so that they don't have to translate \\d[S+] etc which > obviously doesn't need any translation. I am thinking we can do: fprintf(output, " \\da[S] %.9s %s\n", _("[PATTERN]"), _("list aggregate")); What do you think? -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-hackers по дате отправления: