[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 1/6] Clean up the reinitialize LVM warning message (#491888).
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH 1/6] Clean up the reinitialize LVM warning message (#491888).
- Date: Fri, 27 Mar 2009 16:11:20 -0400
---
storage/devicetree.py | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/storage/devicetree.py b/storage/devicetree.py
index b9552bd..25026c9 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -142,22 +142,19 @@ def questionReinitILVM(intf=None, pv_names=None, lv_name=None, vg_name=None):
pass
else:
if vg_name is not None:
- message = "%s Volume Group" % vg_name
+ message = "Volume Group %s" % vg_name
elif lv_name is not None:
- message = "%s Logical Volume" % lv_name
+ message = "Logical Volume %s" % lv_name
rc = intf.messageWindow(_("Warning"),
_("Error processing LVM.\n"
- "It seems that there is inconsistent LVM data. "
- "(%s) make(s) up %s. "
- "You can reinitialize all related PVs, which will "
- "erase all LVM metadata. Or ignore, which will "
- "preserve contents.")
- %(str(pv_names), message),
+ "There is inconsistent LVM data on %s. You can reinitialize "
+ "all related PVs (%s) which will erase the LVM metadata, or "
+ "ignore which will preserve the contents." % (message, ", ".join(pv_names))),
type="custom",
- custom_buttons = [ _("_Ignore drive(s)"),
- _("_Re-initialize drive(s)") ],
+ custom_buttons = [ _("_Ignore"),
+ _("_Re-initialize") ],
custom_icon="question")
if rc == 0:
pass
--
1.6.1.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]