Use python's gettext module instead of rhpl.translate --- booty/bootloaderInfo.py | 5 ++++- iutil.py | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py index 8e09c50..0cee1f6 100644 --- a/booty/bootloaderInfo.py +++ b/booty/bootloaderInfo.py @@ -24,9 +24,12 @@ import string import struct from copy import copy +import gettext +_ = lambda x: gettext.ldgettext("anaconda", x) +N_ = lambda x: x + from lilo import LiloConfigFile import rhpl -from rhpl.translate import _, N_ from flags import flags import iutil diff --git a/iutil.py b/iutil.py index ba1d0b4..f80d4a5 100644 --- a/iutil.py +++ b/iutil.py @@ -31,9 +31,11 @@ import warnings import subprocess from flags import flags from constants import * -from rhpl.translate import _ import re +import gettext +_ = lambda x: gettext.ldgettext("anaconda", x) + import logging log = logging.getLogger("anaconda") -- 1.6.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list