23 lines
879 B
Diff
23 lines
879 B
Diff
|
From c88dba4b9deeb78158bf2e239e4b7118a9e8b39f Mon Sep 17 00:00:00 2001
|
||
|
From: Marek Haicman <mhaicman@redhat.com>
|
||
|
Date: Thu, 7 Feb 2019 19:24:08 +0100
|
||
|
Subject: [PATCH] Hack hub title to show translated.
|
||
|
|
||
|
---
|
||
|
org_fedora_oscap/gui/spokes/oscap.py | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/org_fedora_oscap/gui/spokes/oscap.py b/org_fedora_oscap/gui/spokes/oscap.py
|
||
|
index 72c1501..594969a 100644
|
||
|
--- a/org_fedora_oscap/gui/spokes/oscap.py
|
||
|
+++ b/org_fedora_oscap/gui/spokes/oscap.py
|
||
|
@@ -190,6 +190,8 @@ def __init__(self, data, storage, payload, instclass):
|
||
|
|
||
|
NormalSpoke.__init__(self, data, storage, payload, instclass)
|
||
|
self._addon_data = self.data.addons.org_fedora_oscap
|
||
|
+ # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1673071
|
||
|
+ self.title = _(self.title)
|
||
|
self._storage = storage
|
||
|
self._ready = False
|
||
|
|