From: Alexander Rettig <alexander.rettig@askvisual.de>
To: git@vger.kernel.org
Subject: Re: Gitk cannot start in the latest version when using --all
Date: Wed, 30 Sep 2015 14:06:04 +0000 (UTC) [thread overview]
Message-ID: <loom.20150930T155320-343@post.gmane.org> (raw)
In-Reply-To: 20150929165903.893d668b86583dcf2085884b@domain007.com
Konstantin Khomoutov <kostix+git <at> 007spb.ru> writes:
>
> On Tue, 29 Sep 2015 15:51:46 +0200
> Christophe COEVOET <stof <at> notk.org> wrote:
>
> > >> I'm installing git and gitk from the Ubuntu PPA maintained by the
> > >> Git team. I received the Git 2.6 update today.
> > >> Since this update, I'm unable to launch gitk with --all. I'm
> > >> receiving the following error message:
> > >>
> > >> Error in startup script: bad menu entry index "Éditer la vue..."
> > >> while executing
> > >> ".bar.view entryconf [mca "Edit view..."] -state normal"
> > >> invoked from within
> > >> "if {$cmdline_files ne {} || $revtreeargs ne {} || $revtreeargscmd
> > >> ne {}} {
> > >> # create a view for the files/dirs specified on the command
> > >> # line
> > >> se..."
> > >> (file "/usr/bin/gitk" line 12442)
> [...]
> > > Does it start if you run it via
> > >
> > > $ LANG=C gitk --all
> > >
> > > or
> > >
> > > $ LANG=en_US.UTF-8 gitk --all
> > >
> > > ?
> > Yeah, both of these commands are working fine.
>
> OK, so the problem is that some menu entry has the title "Edit view..."
> which is for some reason not translated for your current locale,
> and then some code tries to locate it using the original title
> translated to French -- I fathom the command [mca] being called here
> stands for "Message Catalog A-something"
>
Hello, I notice the same problem (updated to gitk 2.6.0 on openSUSE)
It is not only a problem with the German translation but also with others, I
additionally tried French and Japanese.
But even stranger, gitk starts correctly, when no command line arguments are
given in these locales (and the German locale), but with any command line
argument I tried (e.g. only 'gitk .') it crashes with the error message
mentioned above (they differ in the text 'bad menu entry index "Éditer la
vue..."', there the translated text of the locale is shown)
Furthermore I checked the translation files, there seems to be an
appropriate entry for "Edit view..." for all languages.
prev parent reply other threads:[~2015-09-30 14:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-29 13:40 Gitk cannot start in the latest version when using --all Christophe COEVOET
2015-09-29 13:49 ` Konstantin Khomoutov
2015-09-29 13:51 ` Christophe COEVOET
2015-09-29 13:59 ` Konstantin Khomoutov
2015-09-30 14:06 ` Alexander Rettig [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=loom.20150930T155320-343@post.gmane.org \
--to=alexander.rettig@askvisual.de \
--cc=git@vger.kernel.org \
/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).