[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] xgettext not extracting strings in a Glade GtkListStore
From: |
Kip Warner |
Subject: |
[bug-gettext] xgettext not extracting strings in a Glade GtkListStore |
Date: |
Wed, 07 Aug 2013 13:21:48 -0700 |
Hey list,
I have a sample GtkListStore declared within a Gtk+ Glade file
containing a single row with just one column of type gchararray. The
string is marked as translatable="yes".
I am using xgettext as follows, without any foo.pot being generated
against the minimal:
$ xgettext --language Glade minimal.glade --output=foo.pot
This is the minimal below. xgettext 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>
Am I using xgettext incorrectly?
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part
- [bug-gettext] xgettext not extracting strings in a Glade GtkListStore,
Kip Warner <=