[PATCH 1/6] Widget properties exposed via glade need to be marked as translatable.
Chris Lumens
clumens at redhat.com
Thu Nov 1 19:55:32 UTC 2012
Without this, translatable="yes" will not appear in the output glade files,
which means the strings will not be in anaconda.pot.
---
widgets/glade/AnacondaWidgets.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/widgets/glade/AnacondaWidgets.xml b/widgets/glade/AnacondaWidgets.xml
index 2b04a14..e0074cf 100644
--- a/widgets/glade/AnacondaWidgets.xml
+++ b/widgets/glade/AnacondaWidgets.xml
@@ -21,6 +21,9 @@
<property id="title" disabled="True" />
<property id="type" disabled="True" />
<property id="width-request" disabled="True" />
+
+ <property id="distribution" translatable="True" />
+ <property id="window-name" translatable="True" />
</properties>
</glade-widget-class>
@@ -83,6 +86,10 @@
</object>
</object>
</internal-children>
+
+ <properties>
+ <property id="button-label" translatable="True" />
+ </properties>
</glade-widget-class>
<glade-widget-class title="Spoke Selector"
@@ -113,6 +120,11 @@
<type>GParamString</type>
</parameter-spec>
</property>
+
+ <property id="description" translatable="True" />
+ <property id="capacity" translatable="True" />
+ <property id="os" translatable="True" />
+ <property id="popup-info" translatable="True" />
</properties>
</glade-widget-class>
--
1.7.11.2
More information about the anaconda-patches
mailing list