setroubleshoot/0008-framework-Make-labels-...

63 lines
3.3 KiB
Diff

From 8be44048b35333c9745e7c8949f2b69ef1efa2e5 Mon Sep 17 00:00:00 2001
From: Petr Lautrbach <plautrba@redhat.com>
Date: Tue, 22 Aug 2017 10:45:38 +0200
Subject: [PATCH 08/19] framework: Make labels on GtkButtons translatable
Related: https://github.com/fedora-selinux/setroubleshoot/issues/63
---
framework/gui/browser.glade | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/framework/gui/browser.glade b/framework/gui/browser.glade
index de6cbaf..4522572 100644
--- a/framework/gui/browser.glade
+++ b/framework/gui/browser.glade
@@ -112,7 +112,7 @@ John Dennis &lt;jdennis@redhat.com&gt;</property>
</child>
<child>
<object class="GtkButton" id="delete_list_button">
- <property name="label">Delete</property>
+ <property name="label" translatable="yes">Delete</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -187,7 +187,7 @@ John Dennis &lt;jdennis@redhat.com&gt;</property>
</child>
<child>
<object class="GtkButton" id="close_details_button">
- <property name="label">Close</property>
+ <property name="label" translatable="yes">Close</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -561,7 +561,7 @@ John Dennis &lt;jdennis@redhat.com&gt;</property>
</child>
<child>
<object class="GtkButton" id="delete_button">
- <property name="label">Delete</property>
+ <property name="label" translatable="yes">Delete</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -666,7 +666,7 @@ John Dennis &lt;jdennis@redhat.com&gt;</property>
<property name="spacing">5</property>
<child>
<object class="GtkButton" id="previous_button">
- <property name="label">Previous</property>
+ <property name="label" translatable="yes">Previous</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -698,7 +698,7 @@ John Dennis &lt;jdennis@redhat.com&gt;</property>
</child>
<child>
<object class="GtkButton" id="next_button">
- <property name="label">Next</property>
+ <property name="label" translatable="yes">Next</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
--
2.14.1