[yum-commits] Branch 'yum-3_2_X' - cli.py

Ville Skyttä scop at osuosl.org
Mon Oct 26 22:28:26 UTC 2009


 cli.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 11404effc3bc85ed73d4409facad5a286c418ec7
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Oct 27 00:27:50 2009 +0200

    Make 'Matched:' section markers translatable.

diff --git a/cli.py b/cli.py
index 9eed20d..417cadb 100644
--- a/cli.py
+++ b/cli.py
@@ -805,7 +805,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
                     print ""
                 # Print them in the order they were passed
                 used_keys = [arg for arg in args if arg in keys]
-                print self.fmtSection("Matched: " + ", ".join(used_keys))
+                print self.fmtSection(_('Matched: %s') % ", ".join(used_keys))
                 okeys = keys
                 akeys.update(keys)
             self.matchcallback(po, matched_value, args)


More information about the Yum-commits mailing list