[blivet-gui:master 5/9] Move % operator outside translation.

mulhern amulhern at redhat.com
Wed Jan 14 16:53:38 UTC 2015


Also, fix format string to avoid KeyError.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivetgui/processing_window.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivetgui/processing_window.py b/blivetgui/processing_window.py
index 5bf3a4a..8d4ac8e 100644
--- a/blivetgui/processing_window.py
+++ b/blivetgui/processing_window.py
@@ -95,7 +95,7 @@ class ProcessingActions(Gtk.Dialog):
 
         if error:
             self.label.set_markup(_("<b>Queued actions couldn't be finished due to an unexpected " \
-                                    "error.</b>\n\n%(error)s." % locals()))
+                                    "error.</b>\n\n%s.") % locals())
 
             expander = Gtk.Expander(label=_("Show traceback"))
             self.grid.attach(expander, 0, 2, 3, 1)
-- 
1.9.3



More information about the anaconda-patches mailing list