Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > e53c27ce7a27944d2cee0a028d0ccfc9 > files > 23

yum-3.2.22-37.sl.src.rpm

Based on:
commit ffc98d808efb7d7dd42c572a2180b93058f10556
Author: Tim Lauridsen <timlau@fedoraproject.org>
Date:   Mon Apr 6 11:44:02 2009 +0200

    Make translations work again

diff --git a/yum/i18n.py b/yum/i18n.py
index 24c9825..e8ab4ac 100755
--- a/yum/i18n.py
+++ b/yum/i18n.py
@@ -460,7 +460,7 @@ try:
     import gettext
     t = gettext.translation('yum', fallback=True)
     _ = t.ugettext
-    P_ = t.nugettext
+    P_ = t.ungettext
   except:
     '''
     Something went wrong so we make a dummy _() wrapper there is just