[Xfce4-commits] [xfce/xfce4-panel] 01/01: Make a couple of strings translatable (Bug #14338)
noreply at xfce.org
noreply at xfce.org
Wed Apr 18 23:19:25 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 b11a9855bcd4bec699b4d1730faa0243ec52a0a6
Author: Andre Miranda <andre42m at gmail.com>
Date: Tue Apr 17 12:33:32 2018 -0300
Make a couple of strings translatable (Bug #14338)
---
panel/panel-item-dialog.c | 2 +-
panel/panel-preferences-dialog.glade | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/panel/panel-item-dialog.c b/panel/panel-item-dialog.c
index ef7e3d0..c560d2b 100644
--- a/panel/panel-item-dialog.c
+++ b/panel/panel-item-dialog.c
@@ -195,7 +195,7 @@ panel_item_dialog_init (PanelItemDialog *dialog)
gtk_window_set_type_hint (GTK_WINDOW (dialog), GDK_WINDOW_TYPE_HINT_NORMAL);
icon = gtk_image_new_from_icon_name ("list-add", GTK_ICON_SIZE_BUTTON);
- dialog->add_button = gtk_button_new_with_mnemonic ("_Add");
+ dialog->add_button = gtk_button_new_with_mnemonic (_("_Add"));
gtk_button_set_image (GTK_BUTTON (dialog->add_button), icon);
gtk_widget_show_all (dialog->add_button);
diff --git a/panel/panel-preferences-dialog.glade b/panel/panel-preferences-dialog.glade
index 6e828a4..eba5fc4 100644
--- a/panel/panel-preferences-dialog.glade
+++ b/panel/panel-preferences-dialog.glade
@@ -127,7 +127,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button-close">
- <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>
@@ -141,7 +141,7 @@
</child>
<child>
<object class="GtkButton" id="button-help">
- <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>
@@ -255,7 +255,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkButton" id="panel-switch">
- <property name="label">Backup and restore</property>
+ <property name="label" translatable="yes">Backup and restore</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