[pitivi] Remove most of the markup from translatable strings in .ui files



commit 9642092edb207c7eb8dd05b05c6a3471a058a014
Author: Piotr DrÄg <piotrdrag gmail com>
Date:   Sat May 19 18:34:56 2012 +0200

    Remove most of the markup from translatable strings in .ui files
    
    There is a lot of markup left in .py and other files, but they
    need to be handled by someone with more GTK+/GtkBuilder knowledge.

 data/ui/cliptransformation.ui |   24 ++++++++++++++++--------
 data/ui/preferences.ui        |    6 ++++--
 data/ui/projectsettings.ui    |    3 ---
 data/ui/renderingdialog.ui    |    6 ++++--
 data/ui/renderingprogress.ui  |   18 ++++++++++++------
 5 files changed, 36 insertions(+), 21 deletions(-)
---
diff --git a/data/ui/cliptransformation.ui b/data/ui/cliptransformation.ui
index e1c1f0e..f39b151 100644
--- a/data/ui/cliptransformation.ui
+++ b/data/ui/cliptransformation.ui
@@ -114,8 +114,10 @@
           <object class="GtkLabel" id="label6">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="label" translatable="yes">&lt;b&gt;Viewer Zoom&lt;/b&gt;</property>
-            <property name="use_markup">True</property>
+            <property name="label" translatable="yes">Viewer Zoom</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
           </object>
         </child>
       </object>
@@ -205,8 +207,10 @@
           <object class="GtkLabel" id="label3">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="label" translatable="yes">&lt;b&gt;Position&lt;/b&gt;</property>
-            <property name="use_markup">True</property>
+            <property name="label" translatable="yes">Position</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
           </object>
         </child>
       </object>
@@ -295,8 +299,10 @@
           <object class="GtkLabel" id="label1">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="label" translatable="yes">&lt;b&gt;Size&lt;/b&gt;</property>
-            <property name="use_markup">True</property>
+            <property name="label" translatable="yes">Size</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
           </object>
         </child>
       </object>
@@ -416,8 +422,10 @@
           <object class="GtkLabel" id="label2">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="label" translatable="yes">&lt;b&gt;Crop&lt;/b&gt;</property>
-            <property name="use_markup">True</property>
+            <property name="label" translatable="yes">Crop</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
           </object>
         </child>
       </object>
diff --git a/data/ui/preferences.ui b/data/ui/preferences.ui
index 80566e6..7a364fb 100644
--- a/data/ui/preferences.ui
+++ b/data/ui/preferences.ui
@@ -93,10 +93,12 @@
           <object class="GtkLabel" id="restartWarning">
             <property name="can_focus">False</property>
             <property name="no_show_all">True</property>
-            <property name="label" translatable="yes">&lt;b&gt;Some changes will not take effect until you restart PiTiVi&lt;/b&gt;</property>
-            <property name="use_markup">True</property>
+            <property name="label" translatable="yes">Some changes will not take effect until you restart PiTiVi</property>
             <property name="justify">center</property>
             <property name="wrap">True</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
           </object>
           <packing>
             <property name="expand">False</property>
diff --git a/data/ui/projectsettings.ui b/data/ui/projectsettings.ui
index 5b653bd..7d5890c 100644
--- a/data/ui/projectsettings.ui
+++ b/data/ui/projectsettings.ui
@@ -525,7 +525,6 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="label" translatable="yes">Video</property>
-                <property name="use_markup">True</property>
               </object>
               <packing>
                 <property name="tab_fill">False</property>
@@ -853,7 +852,6 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="label" translatable="yes">Audio</property>
-                <property name="use_markup">True</property>
               </object>
               <packing>
                 <property name="position">1</property>
@@ -960,7 +958,6 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="label" translatable="yes">Info</property>
-                <property name="use_markup">True</property>
               </object>
               <packing>
                 <property name="position">2</property>
diff --git a/data/ui/renderingdialog.ui b/data/ui/renderingdialog.ui
index 74c941c..67ce2df 100644
--- a/data/ui/renderingdialog.ui
+++ b/data/ui/renderingdialog.ui
@@ -139,8 +139,10 @@
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
                     <property name="ypad">6</property>
-                    <property name="label" translatable="yes">&lt;b&gt;Render Preset&lt;/b&gt;</property>
-                    <property name="use_markup">True</property>
+                    <property name="label" translatable="yes">Render Preset</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
                   </object>
                   <packing>
                     <property name="expand">False</property>
diff --git a/data/ui/renderingprogress.ui b/data/ui/renderingprogress.ui
index 2d51dcf..4ace866 100644
--- a/data/ui/renderingprogress.ui
+++ b/data/ui/renderingprogress.ui
@@ -131,8 +131,10 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
-                    <property name="label" translatable="yes">&lt;b&gt;Estimated filesize:&lt;/b&gt;</property>
-                    <property name="use_markup">True</property>
+                    <property name="label" translatable="yes">Estimated filesize:</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
                   </object>
                   <packing>
                     <property name="top_attach">2</property>
@@ -144,8 +146,10 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
-                    <property name="label" translatable="yes">&lt;b&gt;Frames per second:&lt;/b&gt;</property>
-                    <property name="use_markup">True</property>
+                    <property name="label" translatable="yes">Frames per second:</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
                   </object>
                   <packing>
                     <property name="top_attach">1</property>
@@ -156,8 +160,10 @@
                   <object class="GtkLabel" id="label6">
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
-                    <property name="label" translatable="yes">&lt;b&gt;Phase:&lt;/b&gt;</property>
-                    <property name="use_markup">True</property>
+                    <property name="label" translatable="yes">Phase:</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
                   </object>
                 </child>
               </object>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]