[PATCH 2/3] 'Packages completed' string should use P_() instead of N_().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Prevents this:

    Traceback (most recent call first):
      File "/tmp/updates/yuminstall.py", line 214, in callback
        self.numpkgs)
    TypeError: <lambda>() takes exactly 1 argument (3 given)
---
 yuminstall.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index cb30642..512042c 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -207,7 +207,7 @@ class AnacondaCallback:
             self.doneFiles += len(hdr[rpm.RPMTAG_BASENAMES])
 
             if self.donepkgs <= self.numpkgs:
-                self.progress.set_text(N_("Packages completed: "
+                self.progress.set_text(P_("Packages completed: "
                                           "%(donepkgs)d of %(numpkgs)d",
                                           "Packages completed: "
                                           "%(donepkgs)d of %(numpkgs)d",
-- 
1.6.2.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux