[Xfce4-commits] [xfce/xfce4-panel] 01/01: Make more former GtkStock strings translatable (Bug #14379)

noreply at xfce.org noreply at xfce.org
Sun May 6 23:33:03 CEST 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-panel.

commit 3dc74db98805b49958623d9f04715b091aa928c5
Author: Andre Miranda <andre42m at gmail.com>
Date:   Sat May 5 00:26:56 2018 -0300

    Make more former GtkStock strings translatable (Bug #14379)
---
 panel/panel-window.c             | 4 ++--
 plugins/clock/clock-dialog.glade | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/panel/panel-window.c b/panel/panel-window.c
index a7a4644..7c151af 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -2742,7 +2742,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
 
   /* help item */
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
-  item = gtk_image_menu_item_new_with_mnemonic ("_Help");
+  item = gtk_image_menu_item_new_with_mnemonic (_("_Help"));
 G_GNUC_END_IGNORE_DEPRECATIONS
   g_signal_connect (G_OBJECT (item), "activate",
       G_CALLBACK (panel_window_menu_help), NULL);
@@ -2751,7 +2751,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
 
   /* about item */
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
-  item = gtk_image_menu_item_new_with_mnemonic ("_About");
+  item = gtk_image_menu_item_new_with_mnemonic (_("_About"));
 G_GNUC_END_IGNORE_DEPRECATIONS
   g_signal_connect (G_OBJECT (item), "activate",
       G_CALLBACK (panel_dialogs_show_about), NULL);
diff --git a/plugins/clock/clock-dialog.glade b/plugins/clock/clock-dialog.glade
index 57ae1b6..1298da9 100644
--- a/plugins/clock/clock-dialog.glade
+++ b/plugins/clock/clock-dialog.glade
@@ -55,7 +55,7 @@
             <property name="layout_style">end</property>
             <child>
               <object class="GtkButton" id="close-button">
-                <property name="label">_Close</property>
+                <property name="label" translatable="yes">_Close</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
@@ -69,7 +69,7 @@
             </child>
             <child>
               <object class="GtkButton" id="help-button">
-                <property name="label">_Help</property>
+                <property name="label" translatable="yes">_Help</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list