Re: [PATCH] l10n: it.po: fix italian usage messages alignment
- From
Jiang Xin <worldhello.net@gmail.com>
- Date
- Apr 26, 2026, 03:01 UTC
- Message-ID
- <CANYiYbE1qTFYLEyhAR3SEyXozFnEMPxyj=3dAh-vmHkpXZnMpw@mail.gmail.com>
- In-Reply-To
- <20260422182516.26667-2-beniamino@beniamino.eu>
On Thu, Apr 23, 2026 at 2:25 AM Matteo Beniamino <beniamino@beniamino.eu> wrote:
Show 19 quoted lines
> > Fixed a misalignment in the "usage:" and " or:" lines in the italian > help messages. > > Signed-off-by: Matteo Beniamino <beniamino@beniamino.eu> > --- > po/it.po | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/po/it.po b/po/it.po > index 20fd8bb28d..b5ccd8c731 100644 > --- a/po/it.po > +++ b/po/it.po > @@ -5400,7 +5400,7 @@ msgstr "uso: %s" > #: parse-options.c:915 > #, c-format > msgid " or: %s" > -msgstr " oppure: %s" > +msgstr " o: %s"
An example of the original English output for a command with multiple usage lines:
$ LC_ALL=C git checkout -h | head -2
usage: git checkout [<options>] <branch>
or: git checkout [<options>] [<branch>] -- <file>...The current Italian translation does not achieve colon alignment:
$ LC_ALL=it git checkout -h | head -2
uso: git checkout [<opzioni>] <branch>
oppure: git checkout [<opzioni>] [<branch>] -- <file>...Your change fixes the alignment issue, producing the following output:
$ LC_ALL=it git checkout -h | head -2
uso: git checkout [<opzioni>] <branch>
o: git checkout [<opzioni>] [<branch>] -- <file>...Another possible alignment solution for the Italian output would be:
$ LC_ALL=it git checkout -h | head -2
uso: git checkout [<opzioni>] <branch>
oppure: git checkout [<opzioni>] [<branch>] -- <file>...Obviously, your solution is better, because for commands with only a single usage line, such as "git clone -h", no leading spaces will be shown — i.e., it displays "uso: ..." instead of " uso: ...".
Git localization follows a GitHub-based workflow; please refer to the "po/README.md" file for details. This change can be submitted as a Pull Request to the "git-l10n/git-po" repository, and will be merged once the next Git localization window opens. If you have additional changes to the Italian translation, please refer to the "po/TEAMS file", contact the Italian localization leader Alessandro Menti, and submit a pull request to his repository.
-- Jiang Xin