[gnome-text-editor] window: disable breaks in Custom Font title



commit 2378c639c96a03acc1a5e27ec48503ab9a6a96ee
Author: Christian Hergert <chergert redhat com>
Date:   Tue Nov 30 11:33:50 2021 -0800

    window: disable breaks in Custom Font title
    
    Fixes #234

 src/editor-window.ui | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/editor-window.ui b/src/editor-window.ui
index 3b13b77..5288149 100644
--- a/src/editor-window.ui
+++ b/src/editor-window.ui
@@ -243,7 +243,8 @@ Or, press Ctrl+W to close the window.</property>
                         </child>
                         <child>
                           <object class="EditorPreferencesFont" id="custom_font">
-                            <property name="title" translatable="yes">Custom Font</property>
+                            <!-- translators: the surrounding span region is used to prevent word wrapping 
in display -->
+                            <property name="title" translatable="yes">&lt;span 
allow_breaks='false'&gt;Custom Font&lt;/span&gt;</property>
                             <property name="schema-key">custom-font</property>
                             <property name="sensitive" bind-source="use_system_font" bind-property="active" 
bind-flags="sync-create|invert-boolean"/>
                           </object>


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