git/list[1] front-page[2] threads[3] people[4] search[5] about
wed 2026-10-07 17:01 UTC

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

Previous: Matteo BeniaminoNext: Matteo Beniamino
Message 3 of 5 in “Trivial fix in the italian translation”
  1. Matteo BeniaminoApr 22, 2026
  2. l10n: it.po: fix italian usage messages alignmentMatteo Beniamino, Apr 22, 2026
  3. Jiang XinApr 26, 2026
  4. Matteo BeniaminoApr 26, 2026
  5. Jiang XinApr 27, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.