[PATCH 4/4] "Hub" shouldn't be in the title for any text mode hub.

Chris Lumens clumens at redhat.com
Wed Jan 9 16:33:44 UTC 2013


We need to try to avoid technical terms in the interface, if possible.
---
 pyanaconda/ui/gui/TODO             | 1 -
 pyanaconda/ui/tui/hubs/progress.py | 2 +-
 pyanaconda/ui/tui/hubs/summary.py  | 4 ++--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/ui/gui/TODO b/pyanaconda/ui/gui/TODO
index 8191cd2..7b8a11a 100644
--- a/pyanaconda/ui/gui/TODO
+++ b/pyanaconda/ui/gui/TODO
@@ -27,7 +27,6 @@ Beyond
     - Split out especially large spokes (storage.py, custom.py) into logically separate
       files.
 - Device filtering.
-- "Hub" shouldn't be in the page title for any text mode hub.
 - Progress reporting for metadata downloading could be handy.
 - Spokes should have some way to tell if other spokes are ready (see _software_is_ready
   in storage.py).
diff --git a/pyanaconda/ui/tui/hubs/progress.py b/pyanaconda/ui/tui/hubs/progress.py
index be3c5ed..c80372e 100644
--- a/pyanaconda/ui/tui/hubs/progress.py
+++ b/pyanaconda/ui/tui/hubs/progress.py
@@ -34,7 +34,7 @@ from pyanaconda.ui.tui.simpleline.base import ExitAllMainLoops
 __all__ = ["ProgressHub"]
 
 class ProgressHub(TUIHub):
-    title = _("Installation Hub")
+    title = _("Progress")
 
     def __init__(self, app, ksdata, storage, payload, instclass):
         TUIHub.__init__(self, app, ksdata, storage, payload, instclass)
diff --git a/pyanaconda/ui/tui/hubs/summary.py b/pyanaconda/ui/tui/hubs/summary.py
index f4247de..965fdc1 100644
--- a/pyanaconda/ui/tui/hubs/summary.py
+++ b/pyanaconda/ui/tui/hubs/summary.py
@@ -29,7 +29,7 @@ import gettext
 _ = lambda x: gettext.ldgettext("anaconda", x)
 
 class SummaryHub(TUIHub):
-    title = _("Install hub")
+    title = _("Installation")
     categories = ["source", "localization", "destination", "password"]
 
     def __init__(self, app, data, storage, payload, instclass):
@@ -57,4 +57,4 @@ class SummaryHub(TUIHub):
         if not flags.ksprompt:
             errtxt = _("Can't have a question in command line mode!")
             raise RuntimeError(errtxt)
-        return TUIHub.prompt(self, args)
\ No newline at end of file
+        return TUIHub.prompt(self, args)
-- 
1.7.11.2



More information about the anaconda-patches mailing list