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