[evolution-rss/wip/piotrdrag/unicode-typography: 4/4] Remove markup from strings in UI files



commit 0c2b87a45f196c23d688446f3172b961a2a9b505
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Nov 13 18:49:58 2016 +0100

    Remove markup from strings in UI files
    
    See https://wiki.gnome.org/Initiatives/GnomeGoals/RemoveMarkupInMessages
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684121

 src/rss-html-rendering.ui | 30 +++++++++++++++++++----------
 src/rss-main.ui           | 48 +++++++++++++++++++++++++++++++----------------
 2 files changed, 52 insertions(+), 26 deletions(-)
---
diff --git a/src/rss-html-rendering.ui b/src/rss-html-rendering.ui
index d1590a5..edf1c15 100644
--- a/src/rss-html-rendering.ui
+++ b/src/rss-html-rendering.ui
@@ -26,8 +26,10 @@
                         <child>
                           <object class="GtkLabel" id="label3">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes">&lt;b&gt;Engine: &lt;/b&gt;</property>
-                            <property name="use_markup">True</property>
+                            <property name="label" translatable="yes">Engine: </property>
+                            <attributes>
+                              <attribute name="weight" value="bold"/>
+                            </attributes>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -69,8 +71,10 @@
                             <child>
                               <object class="GtkLabel" id="label6">
                                 <property name="visible">True</property>
-                                <property name="label" translatable="yes">&lt;b&gt;Minimum font 
size:&lt;/b&gt;</property>
-                                <property name="use_markup">True</property>
+                                <property name="label" translatable="yes">Minimum font size:</property>
+                                <attributes>
+                                  <attribute name="weight" value="bold"/>
+                                </attributes>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -223,8 +227,10 @@
                         <child>
                           <object class="GtkLabel" id="label2">
                             <property name="visible">True</property>
-                            <property name="label" translatable="yes">&lt;b&gt;Network 
timeout:&lt;/b&gt;</property>
-                            <property name="use_markup">True</property>
+                            <property name="label" translatable="yes">Network timeout:</property>
+                            <attributes>
+                              <attribute name="weight" value="bold"/>
+                            </attributes>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -272,8 +278,10 @@
             <child type="label">
               <object class="GtkLabel" id="label1">
                 <property name="visible">True</property>
-                <property name="label" translatable="yes">&lt;b&gt;HTML Rendering&lt;/b&gt;</property>
-                <property name="use_markup">True</property>
+                <property name="label" translatable="yes">HTML Rendering</property>
+                <attributes>
+                  <attribute name="weight" value="bold"/>
+                </attributes>
               </object>
             </child>
           </object>
@@ -331,8 +339,10 @@
             <child type="label">
               <object class="GtkLabel" id="label5">
                 <property name="visible">True</property>
-                <property name="label" translatable="yes">&lt;b&gt;Article Notification&lt;/b&gt;</property>
-                <property name="use_markup">True</property>
+                <property name="label" translatable="yes">Article Notification</property>
+                <attributes>
+                  <attribute name="weight" value="bold"/>
+                </attributes>
               </object>
             </child>
           </object>
diff --git a/src/rss-main.ui b/src/rss-main.ui
index bb15c25..a22853a 100644
--- a/src/rss-main.ui
+++ b/src/rss-main.ui
@@ -249,8 +249,10 @@
                 <child>
                   <object class="GtkLabel" id="label94">
                     <property name="visible">True</property>
-                    <property name="label" translatable="yes">&lt;b&gt;HTML Rendering&lt;/b&gt;</property>
-                    <property name="use_markup">True</property>
+                    <property name="label" translatable="yes">HTML Rendering</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -379,8 +381,10 @@
                         <property name="visible">True</property>
                         <property name="xalign">0</property>
                         <property name="yalign">0</property>
-                        <property name="label" translatable="yes">&lt;span weight="bold"&gt;Start 
up&lt;/span&gt;</property>
-                        <property name="use_markup">True</property>
+                        <property name="label" translatable="yes">Start up</property>
+                        <attributes>
+                          <attribute name="weight" value="bold"/>
+                        </attributes>
                       </object>
                       <packing>
                         <property name="expand">False</property>
@@ -520,8 +524,10 @@
                     <property name="visible">True</property>
                     <property name="xalign">0</property>
                     <property name="yalign">0</property>
-                    <property name="label" translatable="yes">&lt;span weight="bold"&gt;Feed 
display&lt;/span&gt;</property>
-                    <property name="use_markup">True</property>
+                    <property name="label" translatable="yes">Feed display</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
                   </object>
                   <packing>
                     <property name="expand">True</property>
@@ -619,8 +625,10 @@
                     <property name="visible">True</property>
                     <property name="xalign">0</property>
                     <property name="yalign">0</property>
-                    <property name="label" translatable="yes">&lt;span weight="bold"&gt;Feed 
enclosures&lt;/span&gt;</property>
-                    <property name="use_markup">True</property>
+                    <property name="label" translatable="yes">Feed enclosures</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
                   </object>
                   <packing>
                     <property name="expand">True</property>
@@ -1362,8 +1370,10 @@
                     <property name="row_spacing">10</property>
                     <child>
                       <object class="GtkLabel" id="feed_name_label">
-                        <property name="label" translatable="yes">&lt;b&gt;Feed Name: &lt;/b&gt;</property>
-                        <property name="use_markup">True</property>
+                        <property name="label" translatable="yes">Feed Name: </property>
+                        <attributes>
+                          <attribute name="weight" value="bold"/>
+                        </attributes>
                       </object>
                       <packing>
                         <property name="top_attach">2</property>
@@ -1400,8 +1410,10 @@
                     <child>
                       <object class="GtkLabel" id="label18">
                         <property name="visible">True</property>
-                        <property name="label" translatable="yes">&lt;b&gt;Feed URL:&lt;/b&gt;</property>
-                        <property name="use_markup">True</property>
+                        <property name="label" translatable="yes">Feed URL:</property>
+                        <attributes>
+                          <attribute name="weight" value="bold"/>
+                        </attributes>
                         <property name="justify">right</property>
                       </object>
                       <packing>
@@ -1453,8 +1465,10 @@
                     </child>
                     <child>
                       <object class="GtkLabel" id="location_label">
-                        <property name="label" translatable="yes">&lt;b&gt;Location:&lt;/b&gt;</property>
-                        <property name="use_markup">True</property>
+                        <property name="label" translatable="yes">Location:</property>
+                        <attributes>
+                          <attribute name="weight" value="bold"/>
+                        </attributes>
                       </object>
                       <packing>
                         <property name="top_attach">3</property>
@@ -1925,8 +1939,10 @@
                     <child type="label">
                       <object class="GtkLabel" id="label9">
                         <property name="visible">True</property>
-                        <property name="label" translatable="yes">&lt;b&gt;Advanced 
options&lt;/b&gt;</property>
-                        <property name="use_markup">True</property>
+                        <property name="label" translatable="yes">Advanced options</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]