[gnome-boxes] empty-boxes: Make use of pango attributes



commit 3d084511802e5383dfa6cbfbc229db56d7bfae20
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Sep 1 13:26:47 2015 +0100

    empty-boxes: Make use of pango attributes
    
    Instead of inserting pango markup in strings, use pango attributes. This
    reduces pango markup translators are exposed to.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754044

 data/ui/empty-boxes.ui |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/data/ui/empty-boxes.ui b/data/ui/empty-boxes.ui
index 88ba1fc..54a3c16 100644
--- a/data/ui/empty-boxes.ui
+++ b/data/ui/empty-boxes.ui
@@ -65,7 +65,11 @@
                 <property name="halign">center</property>
                 <property name="vexpand">True</property>
                 <property name="margin-bottom">6</property>
-                <property name="label" translatable="yes">&lt;b&gt;&lt;span size=&quot;large&quot;&gt;State 
of the art virtualization&lt;/span&gt;&lt;/b&gt;</property>
+                <property name="label" translatable="yes">State of the art virtualization</property>
+                <attributes>
+                  <attribute name="scale" value="1.2"/> <!-- PANGO_SCALE_LARGE -->
+                  <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
+                </attributes>
               </object>
             </child>
 


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