Workaround for gettext deficiencies
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 4 Oct 2010 17:37:08 +0000 (19:37 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 4 Oct 2010 19:51:16 +0000 (21:51 +0200)
xgettext doesn't have a --language=gtkbuilder option.
Instead, we've been (mis)using --language=glade which
has worked ok except that it doesn't extract labels
from the columns of GtkListStore items.
This change adds a pair of dummy widgets containing identical
label strings so that these strings will get entered into
the .pot file.  Closes bug #31033

src/ui/gui/factor.ui

index 4d2c612d7b69cbcc062ccf4a633162d4d92b93a3..1e4125d14e7698dd23e08c9b2a9b2a8cb0b1c293 100644 (file)
       </row>
     </data>
   </object>
+  <object class="GtkLabel" id="bug-workaround1">
+    <property name="sensitive">False</property>
+    <property name="label" translatable="yes">Principal Components Analysis</property>
+  </object>
+  <object class="GtkLabel" id="bug-workaround2">
+    <property name="sensitive">False</property>
+    <property name="label" translatable="yes">Principal Axis Factoring</property>
+  </object>
   <object class="PsppireDialog" id="factor-dialog">
     <property name="title" translatable="yes">Factor Analysis</property>
     <property name="modal">True</property>