Configuration dialog not translated

Bug #517605 reported by Łukasz Jernaś on 2010-02-05
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ground Control
High
Łukasz Jernaś

Bug Description

The configuration dialog isn't being translated, AFAIK it's because configure.py doesn't call any gettext functions and doesn't initialise the gettext catalog.

Related branches

Martin Owens (doctormo) on 2010-02-05
Changed in groundcontrol:
importance: Undecided → High
milestone: none → 1.3
status: New → Confirmed
Łukasz Jernaś (deejay1) wrote :

Hmm, as far as my installation is concerned something is wrong with the translation system. I can't get window titles to be translated but the inner contents are.
See the attached screenshot

Martin Owens (doctormo) wrote :

Curious, I wonder if the titles are set to translatable in the glade files.

Łukasz Jernaś (deejay1) wrote :

They are. I think it's something with gettext initialising to late in the process

tags: added: i11n
Martin Owens (doctormo) on 2010-02-06
tags: added: i18n
removed: i11n
Łukasz Jernaś (deejay1) wrote :

Hmm, seems like we have to call these two functions:
http://www.pygtk.org/docs/pygtk/class-gladexml.html#function-glade--bindtextdomain
http://www.pygtk.org/docs/pygtk/class-gladexml.html#function-glade--textdomain

But I can't really get my head into that code to find where the glade files aer being loaded...

Łukasz Jernaś (deejay1) wrote :

OK, got it fixed, await a patch ASAP

Łukasz Jernaś (deejay1) wrote :

Fix attached as a branch. Ended up being a one liner - as usual...

Changed in groundcontrol:
assignee: nobody → Łukasz Jernaś (deejay1)
status: Confirmed → Fix Committed
Martin Owens (doctormo) on 2010-02-07
Changed in groundcontrol:
milestone: 1.3 → 1.4
Martin Owens (doctormo) on 2010-02-10
Changed in groundcontrol:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions