[gnome-disk-utility] Remove markup from translated strings



commit 7e6c5a59ce9736ea80023b7a77f65ae4b237c1e5
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 5 23:50:55 2012 -0400

    Remove markup from translated strings
    
    Including markup in the string makes the translators job
    unnecessarily harder.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681274
    
    Signed-off-by: David Zeuthen <zeuthen gmail com>

 data/ui/benchmark-dialog.ui          |   12 ++++++++----
 data/ui/change-passphrase-dialog.ui  |    6 ++++--
 data/ui/create-partition-dialog.ui   |   12 ++++++++----
 data/ui/disks.ui                     |    6 ++++--
 data/ui/edit-dos-partition-dialog.ui |    6 ++++--
 data/ui/edit-filesystem-dialog.ui    |    5 ++++-
 data/ui/edit-gpt-partition-dialog.ui |    5 ++++-
 data/ui/edit-partition-dialog.ui     |    6 ++++--
 data/ui/format-disk-dialog.ui        |    6 ++++--
 data/ui/format-volume-dialog.ui      |    6 ++++--
 data/ui/unlock-device-dialog.ui      |    5 ++++-
 11 files changed, 52 insertions(+), 23 deletions(-)
---
diff --git a/data/ui/benchmark-dialog.ui b/data/ui/benchmark-dialog.ui
index 37b3edb..ab2aa5d 100644
--- a/data/ui/benchmark-dialog.ui
+++ b/data/ui/benchmark-dialog.ui
@@ -389,8 +389,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;Transfer Rate&lt;/b&gt;</property>
-                <property name="use_markup">True</property>
+                <property name="label" translatable="yes">Transfer Rate</property>
+                <attributes>
+                  <attribute name="weight" value="bold"/>
+                </attributes>
               </object>
               <packing>
                 <property name="expand">False</property>
@@ -521,8 +523,10 @@ If not checked, the write-part of the benchmark will not be done but on the othe
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
-                <property name="label" translatable="yes">&lt;b&gt;Access Time&lt;/b&gt;</property>
-                <property name="use_markup">True</property>
+                <property name="label" translatable="yes">Access Time</property>
+                <attributes>
+                  <attribute name="weight" value="bold"/>
+                </attributes>
               </object>
               <packing>
                 <property name="expand">False</property>
diff --git a/data/ui/change-passphrase-dialog.ui b/data/ui/change-passphrase-dialog.ui
index 0cdeff8..8cad7e3 100644
--- a/data/ui/change-passphrase-dialog.ui
+++ b/data/ui/change-passphrase-dialog.ui
@@ -76,8 +76,10 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="xalign">0</property>
-            <property name="label" translatable="yes">&lt;big&gt;Change Passphrase&lt;/big&gt;</property>
-            <property name="use_markup">True</property>
+            <property name="label" translatable="yes">Change Passphrase</property>
+            <attributes>
+              <attribute name="scale" value="1.2"/>
+            </attributes>
           </object>
           <packing>
             <property name="expand">False</property>
diff --git a/data/ui/create-partition-dialog.ui b/data/ui/create-partition-dialog.ui
index 7340c91..345d5a8 100644
--- a/data/ui/create-partition-dialog.ui
+++ b/data/ui/create-partition-dialog.ui
@@ -79,8 +79,10 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
-                <property name="label" translatable="yes">&lt;big&gt;Create Partition&lt;/big&gt;</property>
-                <property name="use_markup">True</property>
+                <property name="label" translatable="yes">Create Partition</property>
+                <attributes>
+                  <attribute name="scale" value="1.2"/>
+                </attributes>
               </object>
               <packing>
                 <property name="expand">False</property>
@@ -233,8 +235,10 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
-                <property name="label" translatable="yes">&lt;big&gt;Contents&lt;/big&gt;</property>
-                <property name="use_markup">True</property>
+                <property name="label" translatable="yes">Contents</property>
+                <attributes>
+                  <attribute name="scale" value="1.2"/>
+                </attributes>
               </object>
               <packing>
                 <property name="expand">False</property>
diff --git a/data/ui/disks.ui b/data/ui/disks.ui
index 4bded76..d0a2228 100644
--- a/data/ui/disks.ui
+++ b/data/ui/disks.ui
@@ -717,9 +717,11 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
-                    <property name="label" translatable="yes">&lt;b&gt;_Volumes&lt;/b&gt;</property>
-                    <property name="use_markup">True</property>
+                    <property name="label" translatable="yes">_Volumes</property>
                     <property name="use_underline">True</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
                   </object>
                   <packing>
                     <property name="expand">False</property>
diff --git a/data/ui/edit-dos-partition-dialog.ui b/data/ui/edit-dos-partition-dialog.ui
index bc0998e..92d995c 100644
--- a/data/ui/edit-dos-partition-dialog.ui
+++ b/data/ui/edit-dos-partition-dialog.ui
@@ -63,8 +63,10 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="xalign">0</property>
-            <property name="label" translatable="yes">&lt;big&gt;Edit Partition&lt;/big&gt;</property>
-            <property name="use_markup">True</property>
+            <property name="label" translatable="yes">Edit Partition</property>
+            <attributes>
+              <attribute name="scale" value="1.2"/>
+            </attributes>
           </object>
           <packing>
             <property name="expand">False</property>
diff --git a/data/ui/edit-filesystem-dialog.ui b/data/ui/edit-filesystem-dialog.ui
index 6540cd7..2df2fb4 100644
--- a/data/ui/edit-filesystem-dialog.ui
+++ b/data/ui/edit-filesystem-dialog.ui
@@ -19,8 +19,11 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="xalign">0</property>
-            <property name="label" translatable="yes">&lt;big&gt;Change Filesystem Label&lt;/big&gt;</property>
+            <property name="label" translatable="yes">Change Filesystem Label</property>
             <property name="use_markup">True</property>
+            <attributes>
+              <attribute name="scale" value="1.2"/>
+            </attributes>
           </object>
           <packing>
             <property name="expand">False</property>
diff --git a/data/ui/edit-gpt-partition-dialog.ui b/data/ui/edit-gpt-partition-dialog.ui
index 60834e9..818d89e 100644
--- a/data/ui/edit-gpt-partition-dialog.ui
+++ b/data/ui/edit-gpt-partition-dialog.ui
@@ -63,8 +63,11 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="xalign">0</property>
-            <property name="label" translatable="yes">&lt;big&gt;Edit Partition&lt;/big&gt;</property>
+            <property name="label" translatable="yes">Edit Partition</property>
             <property name="use_markup">True</property>
+            <attributes>
+              <attribute name="scale" value="1.2"/>
+            </attributes>
           </object>
           <packing>
             <property name="expand">False</property>
diff --git a/data/ui/edit-partition-dialog.ui b/data/ui/edit-partition-dialog.ui
index 309c885..05c4fcc 100644
--- a/data/ui/edit-partition-dialog.ui
+++ b/data/ui/edit-partition-dialog.ui
@@ -63,8 +63,10 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="xalign">0</property>
-            <property name="label" translatable="yes">&lt;big&gt;Edit Partition&lt;/big&gt;</property>
-            <property name="use_markup">True</property>
+            <property name="label" translatable="yes">Edit Partition</property>
+            <attributes>
+              <attribute name="scale" value="1.2"/>
+            </attributes>
           </object>
           <packing>
             <property name="expand">False</property>
diff --git a/data/ui/format-disk-dialog.ui b/data/ui/format-disk-dialog.ui
index 3b79e64..1c72a33 100644
--- a/data/ui/format-disk-dialog.ui
+++ b/data/ui/format-disk-dialog.ui
@@ -69,8 +69,10 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
-                <property name="label" translatable="yes">&lt;big&gt;Format Disk&lt;/big&gt;</property>
-                <property name="use_markup">True</property>
+                <property name="label" translatable="yes">Format Disk</property>
+                <attributes>
+                  <attribute name="scale" value="1.2"/>
+                </attributes>
               </object>
               <packing>
                 <property name="expand">False</property>
diff --git a/data/ui/format-volume-dialog.ui b/data/ui/format-volume-dialog.ui
index 1bf71d6..62b9191 100644
--- a/data/ui/format-volume-dialog.ui
+++ b/data/ui/format-volume-dialog.ui
@@ -67,8 +67,10 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
-                <property name="label" translatable="yes">&lt;big&gt;Format Volume&lt;/big&gt;</property>
-                <property name="use_markup">True</property>
+                <property name="label" translatable="yes">Format Volume</property>
+                <attributes>
+                  <attribute name="scale" value="1.2"/>
+                </attributes>
               </object>
               <packing>
                 <property name="expand">False</property>
diff --git a/data/ui/unlock-device-dialog.ui b/data/ui/unlock-device-dialog.ui
index d2085b6..acf5463 100644
--- a/data/ui/unlock-device-dialog.ui
+++ b/data/ui/unlock-device-dialog.ui
@@ -33,8 +33,11 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="xalign">0</property>
-            <property name="label" translatable="yes">&lt;big&gt;Enter passphrase to unlock&lt;/big&gt;</property>
+            <property name="label" translatable="yes">Enter passphrase to unlock</property>
             <property name="use_markup">True</property>
+            <attributes>
+              <attribute name="scale" value="1.2"/>
+            </attributes>
           </object>
           <packing>
             <property name="expand">False</property>



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