28 lines
1011 B
Diff
28 lines
1011 B
Diff
From 4a0172ae99bbda60ba0cae7b070285ed55bb2be0 Mon Sep 17 00:00:00 2001
|
|
From: Petr Lautrbach <plautrba@redhat.com>
|
|
Date: Tue, 22 Aug 2017 10:44:23 +0200
|
|
Subject: [PATCH 07/19] framework: we need to set translation domain for
|
|
Gtk.Builder() object to have strings correctly translated
|
|
|
|
Related: https://github.com/fedora-selinux/setroubleshoot/issues/63
|
|
---
|
|
framework/src/setroubleshoot/browser.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/framework/src/setroubleshoot/browser.py b/framework/src/setroubleshoot/browser.py
|
|
index a4a3388..dbfccb0 100644
|
|
--- a/framework/src/setroubleshoot/browser.py
|
|
+++ b/framework/src/setroubleshoot/browser.py
|
|
@@ -182,7 +182,7 @@ class BrowserApplet:
|
|
|
|
self.read_config()
|
|
builder = Gtk.Builder()
|
|
-# builder.set_translation_domain("setroubleshoot")
|
|
+ builder.set_translation_domain(domain)
|
|
builder.add_from_file("/usr/share/setroubleshoot/gui/browser.glade")
|
|
self.plugins = load_plugins()
|
|
|
|
--
|
|
2.14.1
|
|
|