[PATCH 03/17] Import _ from the i18n module instead of hand-crafting a copy of it

David Shea dshea at redhat.com
Sun Sep 21 19:36:55 UTC 2014


---
 anaconda | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/anaconda b/anaconda
index 64cbdc8..f16bce6 100755
--- a/anaconda
+++ b/anaconda
@@ -913,8 +913,7 @@ if __name__ == "__main__":
     initThreading()
     from pyanaconda.threads import threadMgr
 
-    import gettext
-    _ = lambda x: gettext.ldgettext("anaconda", x)
+    from pyanaconda.i18n import _
 
     from pyanaconda import constants
     from pyanaconda.addons import collect_addon_paths
-- 
1.9.3



More information about the anaconda-patches mailing list