zengxyz / rpms / anaconda

Forked from rpms/anaconda 3 months ago
Clone
Blob Blame History Raw
From 82e5678664441645071a42860316d481d85320f6 Mon Sep 17 00:00:00 2001
From: Chris Lumens <clumens@redhat.com>
Date: Wed, 14 May 2014 10:46:14 -0400
Subject: [PATCH 11/20] Make an ostree string easier for translators to deal
 with.

Resolves: rhbz#1113535
Port of rpmostreepayload patches from master
commit cb3c55eb4f25d15400fc10298d589ed2992d74ee
---
 pyanaconda/packaging/rpmostreepayload.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/packaging/rpmostreepayload.py b/pyanaconda/packaging/rpmostreepayload.py
index 1b24a0f..d5f7a23 100644
--- a/pyanaconda/packaging/rpmostreepayload.py
+++ b/pyanaconda/packaging/rpmostreepayload.py
@@ -115,8 +115,8 @@ class RPMOSTreePayload(ArchivePayload):
 
         repo = sysroot.get_repo(None)[1]
         repo.set_disable_fsync(True)
-        progressQ.send_message(_("Starting pull of %s from %s") % \
-                               (ostreesetup.ref, ostreesetup.remote))
+        progressQ.send_message(_("Starting pull of %(branchName)s from %(source)s") % \
+                               {"branchName": ostreesetup.ref, "source": ostreesetup.remote})
 
         progress = OSTree.AsyncProgress.new()
         progress.connect('changed', self._pullProgressCb)
-- 
1.9.3