[gnome-builder] i18n: fix missing translatable="yes"



commit 3268d16bf83fbe09e1377cc575b909161cb8c83e
Author: Christian Hergert <chergert redhat com>
Date:   Mon Aug 22 12:11:25 2022 -0700

    i18n: fix missing translatable="yes"
    
    Fixes #1756

 src/plugins/buildui/gtk/menus.ui  | 6 +++---
 src/plugins/editorui/gtk/menus.ui | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/buildui/gtk/menus.ui b/src/plugins/buildui/gtk/menus.ui
index 6dcbcb8fd..1ec42a4c5 100644
--- a/src/plugins/buildui/gtk/menus.ui
+++ b/src/plugins/buildui/gtk/menus.ui
@@ -140,19 +140,19 @@
       <submenu id="run-menu-appearance">
         <attribute name="label" translatable="yes">Appearance</attribute>
         <item>
-          <attribute name="label">Follow System Style</attribute>
+          <attribute name="label" translatable="yes">Follow System Style</attribute>
           <attribute name="role">radio</attribute>
           <attribute name="action">context.run-manager.color-scheme</attribute>
           <attribute name="target" type="s">'follow'</attribute>
         </item>
         <item>
-          <attribute name="label">Force Light</attribute>
+          <attribute name="label" translatable="yes">Force Light</attribute>
           <attribute name="role">radio</attribute>
           <attribute name="action">context.run-manager.color-scheme</attribute>
           <attribute name="target" type="s">'force-light'</attribute>
         </item>
         <item>
-          <attribute name="label">Force Dark</attribute>
+          <attribute name="label" translatable="yes">Force Dark</attribute>
           <attribute name="role">radio</attribute>
           <attribute name="action">context.run-manager.color-scheme</attribute>
           <attribute name="target" type="s">'force-dark'</attribute>
diff --git a/src/plugins/editorui/gtk/menus.ui b/src/plugins/editorui/gtk/menus.ui
index 59ebe2382..d0cd16145 100644
--- a/src/plugins/editorui/gtk/menus.ui
+++ b/src/plugins/editorui/gtk/menus.ui
@@ -78,7 +78,7 @@
   </menu>
   <menu id="editorui-line-ends-menu">
     <section id="editorui-line-ends-section">
-      <attribute name="label">Line Ending</attribute>
+      <attribute name="label" translatable="yes">Line Ending</attribute>
       <!--item>
         This item is inserted automatically when the application starts
         so that we can alter what label is shown.
@@ -87,12 +87,12 @@
         <attribute name="target" type="s">'lf'</attribute>
       </item-->
       <item>
-        <attribute name="label">Windows (CR/LF)</attribute>
+        <attribute name="label" translatable="yes">Windows (CR/LF)</attribute>
         <attribute name="action">workspace.editorui.buffer.newline-type</attribute>
         <attribute name="target" type="s">'cr-lf'</attribute>
       </item>
       <item>
-        <attribute name="label">Mac Classic (CR)</attribute>
+        <attribute name="label" translatable="yes">Mac Classic (CR)</attribute>
         <attribute name="action">workspace.editorui.buffer.newline-type</attribute>
         <attribute name="target" type="s">'cr'</attribute>
       </item>


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