Do not backport string changes since we are after string freeze phase - Don't stop when the plugin directory is empty - Fix missing margins on Troubleshoot window - Resize all solutions panels horizontally - Fix missing priority color for proposed solutions - Set translation domain for Gtk.Builder() object to have strings correctly translated - Make labels on GtkButtons translatable - Handla all exceptions from do_analyze_logfile() - Fix semi-translated messages - Do not catch POSIX signals (rhbz#1366004, rhbz#1419245)
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
|
|
|