From: Duy Nguyen <pclouds@gmail.com>
To: jn.avila@free.fr
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Help on autocompletion not localized?
Date: Tue, 11 Sep 2018 18:01:17 +0200 [thread overview]
Message-ID: <CACsJy8DBoZyOSivk-ZZZze0nViPqw-GvseDJADvNyy7c1jHV-Q@mail.gmail.com> (raw)
In-Reply-To: <3d9c42ea-70ba-a27c-1ece-797829caa1b0@free.fr>
On Tue, Sep 11, 2018 at 2:55 PM Jean-Noël Avila <jn.avila@free.fr> wrote:
>
> Hi,
>
>
> When invoking the autocompletion help with <TAB><TAB> after a double
> hyphen under zsh, the help list is not localized. I guess the help list
> comes from some usage output of the on-going git command, but I wasn't
> able to find where and how this happens (completion scripts are quite
> hairy).
I don't use zsh, but I guess that's because the help strings are hard
coded in there (in English of course). You can start at
__git_zsh_cmd_common() function.
These strings are available (or at least possible to make them
available) from 'git' binary, which should be translated. It's just a
a matter of hooking up to zsh script.
--
Duy
prev parent reply other threads:[~2018-09-11 16:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-11 12:52 Help on autocompletion not localized? Jean-Noël Avila
2018-09-11 16:01 ` Duy Nguyen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACsJy8DBoZyOSivk-ZZZze0nViPqw-GvseDJADvNyy7c1jHV-Q@mail.gmail.com \
--to=pclouds@gmail.com \
--cc=git@vger.kernel.org \
--cc=jn.avila@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).