support gtkbuilder format for contexts

Bug #409781 reported by Claude Paroz
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
intltool
Fix Released
High
Данило Шеган

Bug Description

This was reported in http://bugzilla.gnome.org/show_bug.cgi?id=454894

This is really a missing feature. By example, this should be used in gnome-control-center keyboard and mouse capplets to differentiate strings in slider ends (Short - Long, Slow - Fast, etc.).

Related branches

Revision history for this message
dobey (dobey) wrote :

The patch posted in that bug has one major significant problem of expecting gtkbuilder files to have the .ui extension, while bonoboui files already have the .ui extension in use. Something needs to be done about that situation before this can really go anywhere.

Revision history for this message
Claude Paroz (paroz) wrote :

AFAICS, the patch does not make any assumption about the way gtkbuilder type is detected. It only adds a new gtkbuilder type. We should be able to force the type with [type: gettext/gtkbuilder] in POTFILES.in. The automatic type detection is another issue (bug #381347).

Revision history for this message
Данило Шеган (danilo) wrote :

Ok, for now I think it'd be good if we just extend glade format support to support context flag, especially since that's what people are using for GtkBuilder files. How do we auto-detect them is, as Claude notes, a different problem.

Changed in intltool:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Данило Шеган (danilo)
Revision history for this message
Данило Шеган (danilo) wrote :

I landed a fix which extends Glade format support: it also includes a test based on the one in https://bugzilla.gnome.org/show_bug.cgi?id=454894

I think it'd be nice to add more tests for Glade/GtkBuilder formats which include Unicode chars as well.

Revision history for this message
Данило Шеган (danilo) wrote :

lp:intltool r705 fwiw.

Changed in intltool:
status: In Progress → Fix Committed
Changed in intltool:
milestone: none → 0.41.1
Changed in intltool:
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

Remote bug watches

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