Configuration dialog not translated

Bug #517605 reported by Łukasz Jernaś
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ground Control
Fix Released
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.

Tags: i18n

Related branches

Martin Owens (doctormo)
Changed in groundcontrol:
importance: Undecided → High
milestone: none → 1.3
status: New → Confirmed
Revision history for this message
Ł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

Revision history for this message
Martin Owens (doctormo) wrote :

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

Revision history for this message
Ł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)
tags: added: i18n
removed: i11n
Revision history for this message
Ł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...

Revision history for this message
Łukasz Jernaś (deejay1) wrote :

OK, got it fixed, await a patch ASAP

Revision history for this message
Ł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)
Changed in groundcontrol:
milestone: 1.3 → 1.4
Martin Owens (doctormo)
Changed in groundcontrol:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.