zengxyz / rpms / anaconda

Forked from rpms/anaconda 4 months ago
Clone
fbcaed
From 82e5678664441645071a42860316d481d85320f6 Mon Sep 17 00:00:00 2001
fbcaed
From: Chris Lumens <clumens@redhat.com>
fbcaed
Date: Wed, 14 May 2014 10:46:14 -0400
fbcaed
Subject: [PATCH 11/20] Make an ostree string easier for translators to deal
fbcaed
 with.
fbcaed
fbcaed
Resolves: rhbz#1113535
fbcaed
Port of rpmostreepayload patches from master
fbcaed
commit cb3c55eb4f25d15400fc10298d589ed2992d74ee
fbcaed
---
fbcaed
 pyanaconda/packaging/rpmostreepayload.py | 4 ++--
fbcaed
 1 file changed, 2 insertions(+), 2 deletions(-)
fbcaed
fbcaed
diff --git a/pyanaconda/packaging/rpmostreepayload.py b/pyanaconda/packaging/rpmostreepayload.py
fbcaed
index 1b24a0f..d5f7a23 100644
fbcaed
--- a/pyanaconda/packaging/rpmostreepayload.py
fbcaed
+++ b/pyanaconda/packaging/rpmostreepayload.py
fbcaed
@@ -115,8 +115,8 @@ class RPMOSTreePayload(ArchivePayload):
fbcaed
 
fbcaed
         repo = sysroot.get_repo(None)[1]
fbcaed
         repo.set_disable_fsync(True)
fbcaed
-        progressQ.send_message(_("Starting pull of %s from %s") % \
fbcaed
-                               (ostreesetup.ref, ostreesetup.remote))
fbcaed
+        progressQ.send_message(_("Starting pull of %(branchName)s from %(source)s") % \
fbcaed
+                               {"branchName": ostreesetup.ref, "source": ostreesetup.remote})
fbcaed
 
fbcaed
         progress = OSTree.AsyncProgress.new()
fbcaed
         progress.connect('changed', self._pullProgressCb)
fbcaed
-- 
fbcaed
1.9.3
fbcaed