Re: [HACKERS] psql: new help related to variables are not tooreadable - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] psql: new help related to variables are not tooreadable
Date
Msg-id 20170918094407.jt7acdgvxhtdch6b@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] psql: new help related to variables are not too readable  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [HACKERS] psql: new help related to variables are not too readable  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule wrote:

> I am looking on man pagers - and there are very well readable
> 
> The rules are simply - when some variables are short - less than 6 chars,
> then it description and label are on same line. Between items are empty
> line

I was having a similar idea.  I'm not sure how many lines we would save
that way, but it seems to me we could use a slightly longer threshold --
say 8 chars before we cause a newline and wrap.

Maybe we need to come up with guidelines for translators, also.  As
somebody noted, I've always gone to some trouble to produce translate
output that preserves the original's constraints; I don't see any reason
forother translations to behave differently.

(By all means, if we add entry-separating newlines, let's not put them
as part of the translatable string.)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: [HACKERS] Should we cacheline align PGXACT?
Next
From: Aleksander Alekseev
Date:
Subject: Re: [HACKERS] Automatic testing of patches in commit fest