FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 03-25-2009, 02:49 PM
Chris Lumens
 
Default Clean up the reinitialize LVM warning message (#491888).

---
storage/devicetree.py | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 458e5a8..7069132 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.
"
- "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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org