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 <[email protected]> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers