coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a splitting script


From: Pádraig Brady
Subject: Re: a splitting script
Date: Tue, 27 Jan 2026 18:10:23 +0000
User-agent: Mozilla Thunderbird Beta

On 26/01/2026 16:01, coordinator@translationproject.org wrote:

Op 25-01-2026 om 22:08 schreef Pádraig Brady:
Another existing issue I noticed in a few places in hu.po
(and some other translations), is inadequate separation
between the --option and description.

Well, I sometimes choose to use just one space when otherwise
there is not enough room for the description to fit (in 80 columns)
or to align nicely with the surrounding ones.  So I think it should
be the prerogative of the translator to layout their texts as they
see fit.


(With the new format -- option and description on separate lines --
there will seldom be a need for the translator to choose an adjusted
layout, and the problem with too few spaces will probably go away.)

OK I agree.

This will impact man page layout if one was generating
those for various languages.

Are there actually any man pages generated from --help texts?

Well all the default ones of course.
But they're not impacted.
I presume there are lang specific man pages available,
though I've not looked TBH.
Anyway given help2man will follow our generated highlighting
the man pages will also be fine following this patch.

Also it would impact
the new option highlighting in --help.

Can that highlighting not be made to work when there is only
one space between option and description?

I'll apply the attached to our highlighting matcher,
which makes --long-option matching a bit more strict,
thus avoiding the issue.

thanks,
Padraig

Attachment: highlight-single-space-translations.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]