[master/rhel7-branch][PATCH] Give users hint about VNC password restrictions (#1053546)

Vratislav Podzimek vpodzime at redhat.com
Mon Jan 20 17:02:25 UTC 2014


We should inform users in advance about the VNC password restrictions instead of
just reporting errors if they don't follow them.

Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/ui/tui/spokes/askvnc.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/ui/tui/spokes/askvnc.py b/pyanaconda/ui/tui/spokes/askvnc.py
index 6382aa2..031034b 100644
--- a/pyanaconda/ui/tui/spokes/askvnc.py
+++ b/pyanaconda/ui/tui/spokes/askvnc.py
@@ -98,8 +98,8 @@ class VNCPassSpoke(NormalTUISpoke):
         if message:
             self._message = message
         else:
-            self._message = _("Please provide VNC password. You will have to type it twice. \n"
-                              "Leave blank for no password")
+            self._message = _("Please provide VNC password (must be six to eight characters long).\n"
+                              "You will have to type it twice. Leave blank for no password")
 
     @property
     def indirect(self):
-- 
1.8.4.2



More information about the anaconda-patches mailing list