[PATCH 2/6] Mark properties in existing glade files as translatable.

Chris Lumens clumens at redhat.com
Thu Nov 1 19:55:33 UTC 2012


---
 pyanaconda/ui/gui/hubs/progress.glade         | 2 +-
 pyanaconda/ui/gui/hubs/summary.glade          | 2 +-
 pyanaconda/ui/gui/spokes/custom.glade         | 4 ++--
 pyanaconda/ui/gui/spokes/datetime_spoke.glade | 2 +-
 pyanaconda/ui/gui/spokes/keyboard.glade       | 2 +-
 pyanaconda/ui/gui/spokes/network.glade        | 4 ++--
 pyanaconda/ui/gui/spokes/password.glade       | 2 +-
 pyanaconda/ui/gui/spokes/software.glade       | 2 +-
 pyanaconda/ui/gui/spokes/source.glade         | 2 +-
 pyanaconda/ui/gui/spokes/storage.glade        | 2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/pyanaconda/ui/gui/hubs/progress.glade b/pyanaconda/ui/gui/hubs/progress.glade
index 8debdf0..fcc0f21 100644
--- a/pyanaconda/ui/gui/hubs/progress.glade
+++ b/pyanaconda/ui/gui/hubs/progress.glade
@@ -6,7 +6,7 @@
     <property name="startup_id">filler</property>
     <property name="can_focus">False</property>
     <property name="startup_id">filler</property>
-    <property name="window_name">CONFIGURATION</property>
+    <property name="window_name" translatable="yes">CONFIGURATION</property>
     <child internal-child="main_box">
       <object class="GtkBox" id="AnacondaHubWindow-main_box1">
         <property name="can_focus">False</property>
diff --git a/pyanaconda/ui/gui/hubs/summary.glade b/pyanaconda/ui/gui/hubs/summary.glade
index 9ff0ef7..92e3949 100644
--- a/pyanaconda/ui/gui/hubs/summary.glade
+++ b/pyanaconda/ui/gui/hubs/summary.glade
@@ -8,7 +8,7 @@
     <property name="startup_id">filler</property>
     <property name="mnemonics_visible">False</property>
     <property name="focus_visible">False</property>
-    <property name="window_name">INSTALLATION SUMMARY</property>
+    <property name="window_name" translatable="yes">INSTALLATION SUMMARY</property>
     <child internal-child="main_box">
       <object class="GtkBox" id="AnacondaHubWindow-main_box1">
         <property name="can_focus">False</property>
diff --git a/pyanaconda/ui/gui/spokes/custom.glade b/pyanaconda/ui/gui/spokes/custom.glade
index 5134c77..1172379 100644
--- a/pyanaconda/ui/gui/spokes/custom.glade
+++ b/pyanaconda/ui/gui/spokes/custom.glade
@@ -328,8 +328,8 @@ use.  Try something else?</property>
     <property name="startup_id">filler</property>
     <property name="can_focus">False</property>
     <property name="startup_id">filler</property>
-    <property name="window_name">MANUAL PARTITIONING</property>
-    <property name="button-label">_Back to destination selection</property>
+    <property name="window_name" translatable="yes">MANUAL PARTITIONING</property>
+    <property name="button-label" translatable="yes">_Back to destination selection</property>
     <signal name="button-clicked" handler="on_back_clicked" swapped="no"/>
     <signal name="info-bar-clicked" handler="on_info_bar_clicked" swapped="no"/>
     <child internal-child="main_box">
diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.glade b/pyanaconda/ui/gui/spokes/datetime_spoke.glade
index 419ad60..d59594c 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.glade
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.glade
@@ -28,7 +28,7 @@
     <property name="startup_id">filler</property>
     <property name="can_focus">False</property>
     <property name="startup_id">filler</property>
-    <property name="window_name">DATE &amp; TIME</property>
+    <property name="window_name" translatable="yes">DATE &amp; TIME</property>
     <signal name="button-clicked" handler="on_back_clicked" swapped="no"/>
     <child internal-child="main_box">
       <object class="GtkBox" id="AnacondaSpokeWindow-main_box1">
diff --git a/pyanaconda/ui/gui/spokes/keyboard.glade b/pyanaconda/ui/gui/spokes/keyboard.glade
index f056c5f..1a67d24 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.glade
+++ b/pyanaconda/ui/gui/spokes/keyboard.glade
@@ -178,7 +178,7 @@
     <property name="startup_id">filler</property>
     <property name="mnemonics_visible">False</property>
     <property name="focus_visible">False</property>
-    <property name="window_name">KEYBOARD LAYOUT</property>
+    <property name="window_name" translatable="yes">KEYBOARD LAYOUT</property>
     <signal name="button-clicked" handler="on_back_clicked" swapped="no"/>
     <child internal-child="main_box">
       <object class="GtkBox" id="AnacondaSpokeWindow-main_box1">
diff --git a/pyanaconda/ui/gui/spokes/network.glade b/pyanaconda/ui/gui/spokes/network.glade
index 602e3b9..37a3189 100644
--- a/pyanaconda/ui/gui/spokes/network.glade
+++ b/pyanaconda/ui/gui/spokes/network.glade
@@ -34,7 +34,7 @@
     <property name="startup_id">filler</property>
     <property name="can_focus">False</property>
     <property name="startup_id">filler</property>
-    <property name="window_name">NETWORK CONFIGURATION</property>
+    <property name="window_name" translatable="yes">NETWORK CONFIGURATION</property>
     <signal name="quit-clicked" handler="on_back_clicked" swapped="no"/>
     <child internal-child="main_box">
       <object class="GtkBox" id="AnacondaStandaloneWindow-main_box5">
@@ -103,7 +103,7 @@ updates available for you.</property>
     <property name="startup_id">filler</property>
     <property name="can_focus">False</property>
     <property name="startup_id">filler</property>
-    <property name="window_name">NETWORK CONFIGURATION</property>
+    <property name="window_name" translatable="yes">NETWORK CONFIGURATION</property>
     <signal name="button-clicked" handler="on_back_clicked" swapped="no"/>
     <child internal-child="main_box">
       <object class="GtkBox" id="AnacondaSpokeWindow-main_box1">
diff --git a/pyanaconda/ui/gui/spokes/password.glade b/pyanaconda/ui/gui/spokes/password.glade
index 363ed36..31f0740 100644
--- a/pyanaconda/ui/gui/spokes/password.glade
+++ b/pyanaconda/ui/gui/spokes/password.glade
@@ -6,7 +6,7 @@
     <property name="startup_id">filler</property>
     <property name="can_focus">False</property>
     <property name="startup_id">filler</property>
-    <property name="window_name">ROOT PASSWORD</property>
+    <property name="window_name" translatable="yes">ROOT PASSWORD</property>
     <signal name="button-clicked" handler="on_back_clicked" swapped="no"/>
     <child internal-child="main_box">
       <object class="GtkBox" id="AnacondaSpokeWindow-main_box1">
diff --git a/pyanaconda/ui/gui/spokes/software.glade b/pyanaconda/ui/gui/spokes/software.glade
index 4a013f2..201e246 100644
--- a/pyanaconda/ui/gui/spokes/software.glade
+++ b/pyanaconda/ui/gui/spokes/software.glade
@@ -28,7 +28,7 @@
     <property name="hexpand">True</property>
     <property name="vexpand">True</property>
     <property name="startup_id">filler</property>
-    <property name="window_name">SOFTWARE SELECTION</property>
+    <property name="window_name" translatable="yes">SOFTWARE SELECTION</property>
     <signal name="info-bar-clicked" handler="on_info_bar_clicked" swapped="no"/>
     <signal name="button-clicked" handler="on_back_clicked" swapped="no"/>
     <child internal-child="main_box">
diff --git a/pyanaconda/ui/gui/spokes/source.glade b/pyanaconda/ui/gui/spokes/source.glade
index 73452a3..4d6fe05 100644
--- a/pyanaconda/ui/gui/spokes/source.glade
+++ b/pyanaconda/ui/gui/spokes/source.glade
@@ -827,7 +827,7 @@ TeXlive 2012 repository</col>
     <property name="startup_id">filler</property>
     <property name="can_focus">False</property>
     <property name="startup_id">filler</property>
-    <property name="window_name">INSTALLATION SOURCE</property>
+    <property name="window_name" translatable="yes">INSTALLATION SOURCE</property>
     <signal name="button-clicked" handler="on_back_clicked" swapped="no"/>
     <child internal-child="main_box">
       <object class="GtkBox" id="AnacondaSpokeWindow-main_box1">
diff --git a/pyanaconda/ui/gui/spokes/storage.glade b/pyanaconda/ui/gui/spokes/storage.glade
index a33a026..37fec6a 100644
--- a/pyanaconda/ui/gui/spokes/storage.glade
+++ b/pyanaconda/ui/gui/spokes/storage.glade
@@ -675,7 +675,7 @@
     <property name="can_focus">False</property>
     <property name="startup_id">filler</property>
     <property name="mnemonics_visible">False</property>
-    <property name="window_name">INSTALLATION DESTINATION</property>
+    <property name="window_name" translatable="yes">INSTALLATION DESTINATION</property>
     <signal name="info-bar-clicked" handler="on_info_bar_clicked" swapped="no"/>
     <signal name="button-clicked" handler="on_back_clicked" swapped="no"/>
     <child internal-child="main_box">
-- 
1.7.11.2



More information about the anaconda-patches mailing list