# Trivial fix in the italian translation

5 messages from 2026-04-22 to 2026-04-27. Participants: Matteo Beniamino, Jiang Xin.
Thread: https://gitlist.dev/t/65535

## Matteo Beniamino, 2026-04-22 18:25

Subject: Trivial fix in the italian translation
Message-ID: <20260422182516.26667-1-beniamino@beniamino.eu>

```

This is the current output of `git branch -h`:

$ git branch -h
uso: git branch [<opzioni>] [-r | -a] [--merged] [--no-merged]
  oppure: git branch [<options>] [-f] [--recurse-submodules] <branch-name> [<start-point>]
  oppure: git branch [<options>] [-l] [<pattern>...]
  oppure: git branch [<opzioni>] [-r] (-d | -D) <nome branch>...
  oppure: git branch [<opzioni>] (-m | -M) [<vecchio branch>] <nuovo branch>
  oppure: git branch [<opzioni>] (-c | -C) [<vecchio branch>] <nuovo branch>
  oppure: git branch [<opzioni>] [-r | -a] [--points-at]
  oppure: git branch [<opzioni>] [-r | -a] [--format]
[...]

As you can see `uso:` (`usage:`) and `oppure:` (`or:`) are misaligned. As
commented in the .po the colon of `oppure:` should be aligned with the
one of `usage:`. In the following patch I've substituted `oppure` with
`o` (they're interchangable, and IMHO in the terminal every column
counts) and I've aligned the colons in the two strings.

```

## Matteo Beniamino, 2026-04-22 18:25

Subject: [PATCH] l10n: it.po: fix italian usage messages alignment
Message-ID: <20260422182516.26667-2-beniamino@beniamino.eu>
In-Reply-To: <20260422182516.26667-1-beniamino@beniamino.eu>

```
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"
 
 #: parse-options.c:918
 #, c-format
-- 
2.53.0


```

## Jiang Xin, 2026-04-26 03:01

Subject: Re: [PATCH] l10n: it.po: fix italian usage messages alignment
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:
>
> 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

```

## Matteo Beniamino, 2026-04-26 06:47

Subject: Re: [PATCH] l10n: it.po: fix italian usage messages alignment
Message-ID: <d7ec16d9-2707-4c1c-ac64-ac3dde3e0946@beniamino.eu>
In-Reply-To: <CANYiYbE1qTFYLEyhAR3SEyXozFnEMPxyj=3dAh-vmHkpXZnMpw@mail.gmail.com>

```
Thanks for your answer. The italian repository found in the TEAMS files
hasn't received an update for more than 5 years. I've opened a PR on the
git-l10n repo, but it doesn't pass all the checks due to many obsolete
entries.

Maybe Alessandro can shed some light on the current status of
the italian translation.

Also, notice that when creating a PR the default PR
message tells the user that the correct way to post a patch is via the
mailing list: I assume this behaviour is inherited by the main git repo, 
but still can be a bit misleading.

Thanks again for your work.

Il 26/04/26 05:01, Jiang Xin ha scritto:
> On Thu, Apr 23, 2026 at 2:25 AM Matteo Beniamino
> <beniamino@beniamino.eu> wrote:
>> 
>> 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

```

## Jiang Xin, 2026-04-27 02:22

Subject: Re: [PATCH] l10n: it.po: fix italian usage messages alignment
Message-ID: <CANYiYbECkApqhLvFuh6EcjA+-QFo0ySDJ0w2g51RaK4mLpcF+A@mail.gmail.com>
In-Reply-To: <d7ec16d9-2707-4c1c-ac64-ac3dde3e0946@beniamino.eu>

```
On Sun, Apr 26, 2026 at 2:47 PM Matteo Beniamino
<m.beniamino@beniamino.eu> wrote:
>
> Thanks for your answer. The italian repository found in the TEAMS files
> hasn't received an update for more than 5 years. I've opened a PR on the
> git-l10n repo, but it doesn't pass all the checks due to many obsolete
> entries.

Your fix is unrelated to the CI issues reported in PR #918 [1]; feel
free to ignore the errors reported. I will merge your PR in the next
localization window.

[1]: https://github.com/git-l10n/git-po/pull/918

> Maybe Alessandro can shed some light on the current status of
> the italian translation.
>
> Also, notice that when creating a PR the default PR
> message tells the user that the correct way to post a patch is via the
> mailing list: I assume this behaviour is inherited by the main git repo,
> but still can be a bit misleading.

The Git l10n coordinator repository ("git-po/git-l10n") inherits the
pull request template file [2], and there is no way to disable it
without changing the default branch name. I have updated the
repository description as below to clarify:

    Git l10n coordinator repository (We use the GitHub pull request
    workflow. Please ignore the pull request template inherited from
    the upstream git/git repository.)

[2]: https://github.com/git-l10n/git-po/blob/master/.github/PULL_REQUEST_TEMPLATE.md

--
Jiang Xin

```
