Bug 16861 - gitk not starting some language (eg: russian)
Summary: gitk not starting some language (eg: russian)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-30 15:31 CEST by Nikita Krupenko
Modified: 2016-08-09 23:54 CEST (History)
2 users (show)

See Also:
Source RPM: git-2.6.1-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Nikita Krupenko 2015-09-30 15:31:55 CEST
After updating to git 2.6 I cannot start gitk. It gives the following error:

Error in startup script: bad menu entry index "РедакÑиÑоваÑÑ Ð¿ÑедÑÑавление..."
    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 "/bin/gitk" line 12442)

I have locale ru_UA.UTF-8. If I start gitk with LANG=C, it works
Comment 1 Samuel Verschelde 2015-09-30 15:37:09 CEST
Assigning to maintainer.

Assignee: bugsquad => shlomif

Comment 2 Thierry Vignaud 2015-10-01 09:46:18 CEST
It works ok with eg: French, so the bug is likely a bogus Russian translation

CC: (none) => thierry.vignaud
Summary: gitk not starting with non-English language => gitk not starting some language (eg: russian)

Comment 3 Thierry Vignaud 2015-10-09 09:45:08 CEST
With 2.6.1, this now also affects French language... :-(
Thierry Vignaud 2015-10-09 09:47:10 CEST

CC: (none) => luigiwalser
Source RPM: git-2.6.0-1.mga6.src.rpm => git-2.6.1-1.mga6.src.rpm

Comment 4 David Walser 2015-10-09 14:53:32 CEST
Nothing we can do about it except update to the next git version when it's available.  Upstream needs to be made aware of this if they aren't already.
Comment 5 Thierry Vignaud 2015-10-09 15:03:41 CEST
Well, we can patch po/* ...
Comment 6 David Walser 2015-10-09 15:05:47 CEST
We have no business getting into maintaining the translations ourselves, and that'll make maintaining/updating the package impossible.  Or, more realistically, as soon as the po patches don't apply to a newer version, they'll be dropped.

Anyone is free to update the translations and submit them upstream, however.
Comment 7 Thierry Vignaud 2015-10-09 15:55:00 CEST
We can temporary drop the bogus strings if it prevents the program to start.
They're many reports on the net with quite some languages affected now
Comment 8 David Walser 2015-10-09 15:56:16 CEST
Does this breakage affect git 2.3.10 also (Mageia 5 updates_testing)?
Comment 9 Thierry Vignaud 2016-01-15 10:38:02 CET
As of 2.7.0, this is fixed for french language at least
Comment 10 David Walser 2016-08-09 23:43:32 CEST
Is this bug still valid?
Comment 11 Nikita Krupenko 2016-08-09 23:45:26 CEST
It works now.
Comment 12 David Walser 2016-08-09 23:54:14 CEST
Thanks.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.