summaryrefslogtreecommitdiffstats
path: root/iw/account_gui.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-11-11 11:20:49 -0500
committerChris Lumens <clumens@redhat.com>2008-11-11 11:20:49 -0500
commitbc32de93d49ecf2401be3e931d2830ca77294263 (patch)
tree2296ed24fbd205645f97f25802fefb97d254ba3c /iw/account_gui.py
parenta2aaae119b019ad34cfe2350f1acca300b2fee1c (diff)
downloadanaconda-bc32de93d49ecf2401be3e931d2830ca77294263.tar.gz
anaconda-bc32de93d49ecf2401be3e931d2830ca77294263.tar.xz
anaconda-bc32de93d49ecf2401be3e931d2830ca77294263.zip
Include cracklib .mo files and look up strings in the right domain.
Diffstat (limited to 'iw/account_gui.py')
-rw-r--r--iw/account_gui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 0bbf79498..45f396be2 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -125,9 +125,8 @@ class AccountWindow (InstallWindow):
custom_icon="error")
self.passwordError()
- msg = cracklib.FascistCheck(pw)
+ msg = gettext.ldgettext("cracklib", cracklib.FascistCheck(pw))
if msg is not None:
- msg = gettext.ldgettext("cracklib", msg)
ret = self.intf.messageWindow(_("Weak Password"),
_("Weak password provided: %s"
"\n\n"