summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/rescue.py b/rescue.py
index f31eabb4e..f9e6a74f1 100644
--- a/rescue.py
+++ b/rescue.py
@@ -22,6 +22,7 @@
import upgrade
from snack import *
+from constants import *
from constants_text import *
from text import WaitWindow, OkCancelWindow, ProgressWindow, PassphraseEntryWindow, stepToClasses
from flags import flags
@@ -33,7 +34,8 @@ import fsset
import shutil
import time
-from rhpl.translate import _
+import gettext
+_ = lambda x: gettext.ldgettext("anaconda", x)
import logging
log = logging.getLogger("anaconda")