Help should fit in a 80 columns terminal

Allen Winter winter at kde.org
Sat Jan 30 00:51:07 GMT 2010


On Friday 29 January 2010 4:59:34 pm Alain Portal wrote:
> Le samedi 23 janvier 2010 15:12:52, Alain Portal a écrit :
> > Hi,
> > 
> > I saw that some help, provided by the --help option, could hold some very
> >  long strings making its difficult to read, particularly in some
> >  translation - french translation strings are often longer than english
> >  one.
> > 
> > As an example, you could see the output of "plasmoidviewer --help".
> > 
> > So, I think the output of the --help option should fit in a 80 columns
> > terminal, with of course some flexibility.
> > As the option description starts at column 29, strings should be less than
> >  51 characters.
> > And to help translators, it could be added a context string like:
> > "TRANSLATORS: this is the description of a command line option. If your
> > translation is longer than 50 characters, you are encouraged to add
> >  breaklines every time you need."
> > This context should be added for every option description, even if the
> >  english description is really short, and this could become a general
> >  development rule.
> > 
> > What do you think about this suggestion?
> 
> Am I alone to be worry with this?
> 
No, Pino gave you some ideas and help.

So what's the problem?  We assume when someone posts 
a question like yours to this mailing list that you are also
volunteering to do the work.  So just Do it, then post
your patch on reviewboard.kde.org.



-Allen




More information about the kde-core-devel mailing list