Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562844 - dev-vcs/git-2.6.0-r1: gitk fails with French (fr_FR.utf8) locale
Summary: dev-vcs/git-2.6.0-r1: gitk fails with French (fr_FR.utf8) locale
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-11 17:41 UTC by Rémi Cardona (RETIRED)
Modified: 2020-12-07 07:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Cardona (RETIRED) gentoo-dev 2015-10-11 17:41:08 UTC
$ LANG=en_US.utf8 gitk ← works
$ LANG=en_US.utf8 gitk --all HEAD ← works
$ LANG=fr_FR.utf8 gitk ← works
$ LANG=fr_FR.utf8 gitk --all HEAD ← fails with:
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)

The string "Éditer la vue..." is a translation for the "Edit view" entry in the "Edit" menu. Looking into it, I also noticed that, even when gitk launches correctly with a French locale, barely half of the buttons and menus are translated.

Reproducible: Always
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2015-10-11 18:04:03 UTC
Upstream thread confirming the issue (Japanese and German locales are mentioned), though no solution is offered.

http://thread.gmane.org/gmane.comp.version-control.git/278820/focus=278846
Comment 2 Jonas Stein gentoo-dev 2020-09-08 19:06:15 UTC
the gmane link is broken.
Could you please test again with a current git version?
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-12-07 07:34:20 UTC
I believe this ticket is obsolete, if the problem persists, please reopen