[f20-branch/rhel7-branch][PATCH] Use more general status for installations from media (#1017703)
Vratislav Podzimek
vpodzime at redhat.com
Thu Oct 17 13:16:33 UTC 2013
We use the same codepaths for installations from USB drives, CDs and DVDs. So to
improve UX without changing a lot of code, we should simply use more general
status message fitting all cases.
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
pyanaconda/ui/gui/spokes/source.py | 2 +-
pyanaconda/ui/tui/spokes/source.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index d9216ab..619d929 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -509,7 +509,7 @@ class SourceSpoke(NormalSpoke):
elif self.data.method.method == "nfs":
return _("NFS server %s") % self.data.method.server
elif self.data.method.method == "cdrom":
- return _("CD/DVD drive")
+ return _("Local media")
elif self.data.method.method == "harddrive":
if not self._currentIsoFile:
return _("Error setting up software source")
diff --git a/pyanaconda/ui/tui/spokes/source.py b/pyanaconda/ui/tui/spokes/source.py
index 25a60c4..c505bd1 100644
--- a/pyanaconda/ui/tui/spokes/source.py
+++ b/pyanaconda/ui/tui/spokes/source.py
@@ -84,7 +84,7 @@ class SourceSpoke(EditTUISpoke):
elif self.data.method.method == "nfs":
return _("NFS server %s") % self.data.method.server
elif self.data.method.method == "cdrom":
- return _("CD/DVD drive")
+ return _("Local media")
elif self.payload.baseRepo:
return _("Closest mirror")
else:
--
1.7.11.7
More information about the anaconda-patches
mailing list