threads / discuss / 40758

gitk fails to start after upgrading to 2.6.3 (cannot load translation)

Subject: gitk fails to start after upgrading to 2.6.3 (cannot load translation)

## tl;dr

3 messages between Nov 10, 2015 and Nov 10, 2015.

replies: 2people: 3as markdown or json

Peter Krefting· Nov 10, 2015, 09:48 UTC · lore
Hi!

After upgrading Git to 2.6.3 (from 2.5.0), gitk refuses to start when trying to load the Swedish translation if I pass it a commit range:

   $ gitk v2.5.0..v2.6.3
   Error in startup script: bad menu entry index "Ändra vy..."
       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/local/bin/gitk" line 12442)

If I start it without any parameters, it does start up, but the main menu is untranslated.

The translation for this entry is defined in gitk-git/po/sv.po line 135 and hasn't changed since 2008, even if the sv.po file does have a few updates since the previous version in some other places.

-- 
\\// Peter - http://www.softwolves.pp.se/
Dennis Kaarsemaker· Nov 10, 2015, 10:09 UTC · re: Peter Krefting · lore

Re: gitk fails to start after upgrading to 2.6.3 (cannot load translation)

On di, 2015-11-10 at 10:48 +0100, Peter Krefting wrote:
> Hi!
> 
> After upgrading Git to 2.6.3 (from 2.5.0), gitk refuses to start when
> trying to load the Swedish translation if I pass it a commit range:
Hi Peter,

This bug has been reported a few times already and a fix will be in git 2.7.

-- 
Dennis Kaarsemaker
www.kaarsemaker.net
Beat Bolli· Nov 10, 2015, 19:38 UTC · re: Peter Krefting · lore

Re: gitk fails to start after upgrading to 2.6.3 (cannot load translation)

On 10.11.15 10:48, Peter Krefting wrote:
> Hi!
> 
> After upgrading Git to 2.6.3 (from 2.5.0), gitk refuses to start when
> trying to load the Swedish translation if I pass it a commit range:
The patch can be found here:
http://article.gmane.org/gmane.comp.version-control.git/278863

Cheers, Beat

← back to recent threads