summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-06-20 14:48:31 +0000
committerJeremy Katz <katzj@redhat.com>2006-06-20 14:48:31 +0000
commit01f44fee5c8a794b4da524f21cbe59017f154278 (patch)
treebe2d85cba6b92715fc02925ebc2d206d135934c1
parent4c3612d2a8cfe4e95897110f7558907fd94e1f12 (diff)
downloadanaconda-01f44fee5c8a794b4da524f21cbe59017f154278.tar.gz
anaconda-01f44fee5c8a794b4da524f21cbe59017f154278.tar.xz
anaconda-01f44fee5c8a794b4da524f21cbe59017f154278.zip
2006-06-20 Jeremy Katz <katzj@redhat.com>
* yuminstall.py (AnacondaYum._run): Translate the error string (#194617)
-rw-r--r--ChangeLog5
-rw-r--r--yuminstall.py6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index af67c0953..38f54d1b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-20 Jeremy Katz <katzj@redhat.com>
+
+ * yuminstall.py (AnacondaYum._run): Translate the error
+ string (#194617)
+
2006-06-19 Jeremy Katz <katzj@redhat.com>
* lang-table: Greek tweak (#193872)
diff --git a/yuminstall.py b/yuminstall.py
index 5497fab83..cb43d11dd 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -477,9 +477,9 @@ class AnacondaYum(YumSorter):
probString = ', '.join(uniqueProbs.values()) + "\n\n" + spaceprob
intf.messageWindow(_("Error running transaction"),
- ("There was an error running your transaction, "
- "for the following reason(s): "
- "%s " % (probString,)),
+ _("There was an error running your transaction, "
+ "for the following reason(s): %s")
+ %(probString,),
type="custom", custom_icon="error",
custom_buttons=[_("Re_boot")])
sys.exit(1)