On Wed, 2013-08-07 at 00:08 -0700, Kip Warner wrote: > Hey list, > > I'm not sure if this is a bug in xgettext or not, but I figured I'd run > it by this list before possibly posting on bug-gett...@gnu.org. > > I have a sample GtkListStore declared within a Glade file containing a > single row with one column of type gchararray. Note that the string is > marked as translatable="yes". When I pass it through xgettext, it does > not appear to see the localizable string in the GtkListStore. > > $ cat minimal.glade > <?xml version="1.0" encoding="UTF-8"?> > <interface> > <!-- interface-requires gtk+ 3.0 --> > <object class="GtkListStore" id="liststore1"> > <columns> > <!-- column-name column_name --> > <column type="gchararray"/> > </columns> > <data> > <row> > <col id="0" translatable="yes">stuff</col> > </row> > </data> > </object> > <object class="GtkWindow" id="window1"> > <property name="can_focus">False</property> > <child> > <object class="GtkComboBox" id="combobox1"> > <property name="visible">True</property> > <property name="can_focus">False</property> > <property name="model">liststore1</property> > </object> > </child> > </object> > </interface> > > I am using xgettext as follows, without any foo.pot being generated > against the above minimal: > > $ xgettext --language Glade minimal.glade --output=foo.pot >
In case anyone else is having this problem, this was fixed in xgettext 0.18.3 with support for Glade 3.[1] [1] <https://savannah.gnu.org/forum/forum.php?forum_id=7641> -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list