[PATCH] virt-manager: remove disambiguity in "free space" dialog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
the dialog explaining that there's not enough free space for the device
available leaves a "yes/no" choice without giving a hint what is being
chosen. Possible fix attached.
This Debian Bug:
 http://bugs.debian.org/514324
Cheers,
 -- Guido

diff -r f9c2636a8a32 src/virtManager/addhardware.py
--- a/src/virtManager/addhardware.py	Fri Feb 06 14:12:24 2009 -0500
+++ b/src/virtManager/addhardware.py	Sat Feb 07 18:37:10 2009 +0100
@@ -800,7 +800,7 @@
 
             ret = self._dev.is_size_conflict()
             if not ret[0] and ret[1]:
-                res = self.err.yes_no(_("Not Enough Free Space"), ret[1])
+                res = self.err.yes_no(_("Not Enough Free Space"), _("%s. Continue anyway?") % ret[1])
                 if not res:
                     return False
 
diff -r f9c2636a8a32 src/virtManager/create.py
--- a/src/virtManager/create.py	Fri Feb 06 14:12:24 2009 -0500
+++ b/src/virtManager/create.py	Sat Feb 07 18:37:10 2009 +0100
@@ -1018,7 +1018,7 @@
 
             ret = self._disk.is_size_conflict()
             if not ret[0] and ret[1]:
-                res = self.err.yes_no(_("Not Enough Free Space"), ret[1])
+                res = self.err.yes_no(_("Not Enough Free Space"), _("%s. Continue anyway?") % ret[1])
                 if not res:
                     return False
 
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux