git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] l10n: it.po: fix italian usage messages alignment

From
MBMatteo Beniamino <m.beniamino@beniamino.eu>
Date
Apr 26, 2026, 06:47 UTC
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:
Show 49 quoted lines
> 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
Previous: Jiang XinNext: Jiang Xin
Message 4 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.