summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-12 03:04:31 +0000
committerMike Fulbright <msf@redhat.com>2002-06-12 03:04:31 +0000
commit6bc84dc09152c4ca8b6350aa7a089ccb92b35a24 (patch)
tree9fdece637ed9d42d4e8325b5f49739a9482e618d
parent5ad7abd284d20700a49d6d7dca494d260279484a (diff)
downloadanaconda-6bc84dc09152c4ca8b6350aa7a089ccb92b35a24.tar.gz
anaconda-6bc84dc09152c4ca8b6350aa7a089ccb92b35a24.tar.xz
anaconda-6bc84dc09152c4ca8b6350aa7a089ccb92b35a24.zip
some tweaks to error messages
-rw-r--r--iw/raid_dialog_gui.py5
-rw-r--r--partRequests.py6
2 files changed, 6 insertions, 5 deletions
diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
index af602183b..6d54b59f6 100644
--- a/iw/raid_dialog_gui.py
+++ b/iw/raid_dialog_gui.py
@@ -214,8 +214,9 @@ class RaidEditor:
if len(availraidparts) < 2:
dlg = gtk.MessageDialog(self.parent, 0, gtk.MESSAGE_ERROR,
gtk.BUTTONS_OK,
- _("At least two software RAID "
- "partitions are needed.\n\n"
+ _("At least two unused software RAID "
+ "partitions are needed to create "
+ "a RAID device.\n\n"
"First create at least two partitions "
"of type \"software RAID\", and then "
"select the \"RAID\" option again."))
diff --git a/partRequests.py b/partRequests.py
index 9c9497a10..e50c80be6 100644
--- a/partRequests.py
+++ b/partRequests.py
@@ -231,7 +231,7 @@ class RequestSpec:
if request.mountpoint == mntpt:
if (not self.uniqueID or
request.uniqueID != self.uniqueID):
- return _("The mount point %s is already in use, "
+ return _("The mount point \"%s\" is already in use, "
"please choose a different mount point."
%(mntpt))
return None
@@ -245,8 +245,8 @@ class RequestSpec:
return None
if self.size and self.size > self.fstype.getMaxSizeMB():
- return (_("The size of the %s partition (size = %s MB) "
- "exceeds the maximum size of %s MB.")
+ return (_("The size of the %s partition (%10.2f MB) "
+ "exceeds the maximum size of %10.2f MB.")
% (self.fstype.getName(), self.size,
self.fstype.getMaxSizeMB()))