[dasher/relicence] Revert "Remove markup from translatable strings"



commit 5f3bd6178862ab97caf78cc2267d003388fe955f
Author: Gavin Henderson <gavin henderson hotmail co uk>
Date:   Tue Mar 1 12:12:07 2022 +0000

    Revert "Remove markup from translatable strings"
    
    This reverts commit 635710b485fb58cad9ac6020461b226ff45dfb91.

 Data/GUI/dasher.preferences.ui | 90 ++++++++++++++----------------------------
 1 file changed, 30 insertions(+), 60 deletions(-)
---
diff --git a/Data/GUI/dasher.preferences.ui b/Data/GUI/dasher.preferences.ui
index b94edd86..c4ffd9a0 100644
--- a/Data/GUI/dasher.preferences.ui
+++ b/Data/GUI/dasher.preferences.ui
@@ -55,10 +55,8 @@
                           <object class="GtkLabel" id="label112">
                             <property name="visible">True</property>
                             <property name="xalign">0</property>
-                            <property name="label" translatable="yes">Alphabet Selection</property>
-                            <attributes>
-                              <attribute name="weight" value="bold"/>
-                            </attributes>
+                            <property name="label" translatable="yes">&lt;b&gt;Alphabet 
Selection&lt;/b&gt;</property>
+                            <property name="use_markup">True</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -104,10 +102,8 @@
                               <object class="GtkLabel" id="label113">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Language Model</property>
-                                <attributes>
-                                  <attribute name="weight" value="bold"/>
-                                </attributes>
+                                <property name="label" translatable="yes">&lt;b&gt;Language 
Model&lt;/b&gt;</property>
+                                <property name="use_markup">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -202,10 +198,8 @@
                               <object class="GtkLabel" id="label37">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Adaptation</property>
-                                <attributes>
-                                  <attribute name="weight" value="bold"/>
-                                </attributes>
+                                <property name="label" 
translatable="yes">&lt;b&gt;Adaptation&lt;/b&gt;</property>
+                                <property name="use_markup">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -254,10 +248,8 @@
                               <object class="GtkLabel" id="label39">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Smoothing</property>
-                                <attributes>
-                                  <attribute name="weight" value="bold"/>
-                                </attributes>
+                                <property name="label" 
translatable="yes">&lt;b&gt;Smoothing&lt;/b&gt;</property>
+                                <property name="use_markup">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -319,10 +311,8 @@ your writing speed.</property>
                               <object class="GtkLabel" id="label119">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Direction</property>
-                                <attributes>
-                                  <attribute name="weight" value="bold"/>
-                                </attributes>
+                                <property name="label" 
translatable="yes">&lt;b&gt;Direction&lt;/b&gt;</property>
+                                <property name="use_markup">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -460,10 +450,8 @@ your writing speed.</property>
                           <object class="GtkLabel" id="label115">
                             <property name="visible">True</property>
                             <property name="xalign">0</property>
-                            <property name="label" translatable="yes" comments="The way in which you would 
like to control dasher, e.g., using buttons for up/down, buttons for select, etc.">Control Style</property>
-                            <attributes>
-                              <attribute name="weight" value="bold"/>
-                            </attributes>
+                            <property name="label" translatable="yes" comments="The way in which you would 
like to control dasher, e.g., using buttons for up/down, buttons for select, etc.">&lt;b&gt;Control 
Style&lt;/b&gt;</property>
+                            <property name="use_markup">True</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -538,10 +526,8 @@ your writing speed.</property>
                               <object class="GtkLabel" id="label116">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Input Device</property>
-                                <attributes>
-                                  <attribute name="weight" value="bold"/>
-                                </attributes>
+                                <property name="label" translatable="yes">&lt;b&gt;Input 
Device&lt;/b&gt;</property>
+                                <property name="use_markup">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -612,10 +598,8 @@ your writing speed.</property>
                               <object class="GtkLabel" id="label125">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Speed</property>
-                                <attributes>
-                                  <attribute name="weight" value="bold"/>
-                                </attributes>
+                                <property name="label" translatable="yes">&lt;b&gt;Speed&lt;/b&gt;</property>
+                                <property name="use_markup">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -674,10 +658,8 @@ your writing speed.</property>
                               <object class="GtkLabel" id="label126">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Starting and Stopping</property>
-                                <attributes>
-                                  <attribute name="weight" value="bold"/>
-                                </attributes>
+                                <property name="label" translatable="yes">&lt;b&gt;Starting and 
Stopping&lt;/b&gt;</property>
+                                <property name="use_markup">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -822,10 +804,8 @@ your writing speed.</property>
                           <object class="GtkLabel" id="label118">
                             <property name="visible">True</property>
                             <property name="xalign">0</property>
-                            <property name="label" translatable="yes">Colour Scheme</property>
-                            <attributes>
-                              <attribute name="weight" value="bold"/>
-                            </attributes>
+                            <property name="label" translatable="yes">&lt;b&gt;Colour 
Scheme&lt;/b&gt;</property>
+                            <property name="use_markup">True</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -895,10 +875,8 @@ your writing speed.</property>
                               <object class="GtkLabel" id="label120">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Appearance Options</property>
-                                <attributes>
-                                  <attribute name="weight" value="bold"/>
-                                </attributes>
+                                <property name="label" translatable="yes">&lt;b&gt;Appearance 
Options&lt;/b&gt;</property>
+                                <property name="use_markup">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -1000,10 +978,8 @@ your writing speed.</property>
                               <object class="GtkLabel" id="label128">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Dasher Font</property>
-                                <attributes>
-                                  <attribute name="weight" value="bold"/>
-                                </attributes>
+                                <property name="label" translatable="yes">&lt;b&gt;Dasher 
Font&lt;/b&gt;</property>
+                                <property name="use_markup">True</property>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -1132,10 +1108,8 @@ your writing speed.</property>
                                   <object class="GtkLabel" id="label124">
                                     <property name="visible">True</property>
                                     <property name="xalign">0</property>
-                                    <property name="label" translatable="yes">Application Options</property>
-                                    <attributes>
-                                      <attribute name="weight" value="bold"/>
-                                    </attributes>
+                                    <property name="label" translatable="yes">&lt;b&gt;Application 
Options&lt;/b&gt;</property>
+                                    <property name="use_markup">True</property>
                                   </object>
                                   <packing>
                                     <property name="expand">False</property>
@@ -1311,10 +1285,8 @@ your writing speed.</property>
                                   <object class="GtkLabel" id="label129">
                                     <property name="visible">True</property>
                                     <property name="xalign">0</property>
-                                    <property name="label" translatable="yes">Editor Font</property>
-                                    <attributes>
-                                      <attribute name="weight" value="bold"/>
-                                    </attributes>
+                                    <property name="label" translatable="yes">&lt;b&gt;Editor 
Font&lt;/b&gt;</property>
+                                    <property name="use_markup">True</property>
                                   </object>
                                   <packing>
                                     <property name="expand">False</property>
@@ -1357,10 +1329,8 @@ your writing speed.</property>
                                   <object class="GtkLabel" id="label123">
                                     <property name="visible">True</property>
                                     <property name="xalign">0</property>
-                                    <property name="label" translatable="yes">Application Style</property>
-                                    <attributes>
-                                      <attribute name="weight" value="bold"/>
-                                    </attributes>
+                                    <property name="label" translatable="yes">&lt;b&gt;Application 
Style&lt;/b&gt;</property>
+                                    <property name="use_markup">True</property>
                                   </object>
                                   <packing>
                                     <property name="expand">False</property>


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