git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help on autocompletion not localized?
@ 2018-09-11 12:52 Jean-Noël Avila
  2018-09-11 16:01 ` Duy Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Noël Avila @ 2018-09-11 12:52 UTC (permalink / raw)
  To: git

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).


Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help on autocompletion not localized?
  2018-09-11 12:52 Help on autocompletion not localized? Jean-Noël Avila
@ 2018-09-11 16:01 ` Duy Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Duy Nguyen @ 2018-09-11 16:01 UTC (permalink / raw)
  To: jn.avila; +Cc: Git Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-11 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-11 12:52 Help on autocompletion not localized? Jean-Noël Avila
2018-09-11 16:01 ` Duy Nguyen

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).