[rhel7-branch 2/2] Add specific error string to TUI user dialog (#1248421)
bcl
installerbot-noreply at redhat.com
Fri Jul 31 17:34:23 UTC 2015
From: "Brian C. Lane" <bcl at redhat.com>
Resolves: rhbz#1248421
---
pyanaconda/ui/tui/spokes/user.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pyanaconda/ui/tui/spokes/user.py b/pyanaconda/ui/tui/spokes/user.py
index 029b939..68a6fbe 100644
--- a/pyanaconda/ui/tui/spokes/user.py
+++ b/pyanaconda/ui/tui/spokes/user.py
@@ -67,6 +67,9 @@ def should_run(cls, environment, data):
def __init__(self, app, data, storage, payload, instclass):
FirstbootSpokeMixIn.__init__(self)
EditTUISpoke.__init__(self, app, data, storage, payload, instclass)
+ self.dialog.wrong_input_message = _("You have provided an invalid user name.\n"
+ "Tip: Keep your user name shorter than 32 "
+ "characters and do not use spaces.\n")
if self.data.user.userList:
self.args = self.data.user.userList[0]
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/f9ca2c59e4bb4add75c81841e7dc3faf7709676d
More information about the anaconda-patches
mailing list