[PATCH] Set Tip text on the create user spoke.

David Cantrell dcantrell at redhat.com
Wed Mar 20 18:35:12 UTC 2013


Remove the 'lorem ipsum...' text and set it to:

    Keep your username less than 32 characters and do not use spaces.

I do not think it's necessary for the Tip text to explain all of the
username rules in place.  After all, if it fails, we can display more
detailed error text for the user.  The important things are length and
whether or not you can use spaces.  I'm not sure how common it is for
people to try to use symbols in their name, but I've never heard of it
and anyways, the text above is better than "lorem ipsum..."
---
 pyanaconda/ui/gui/spokes/user.glade |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/user.glade b/pyanaconda/ui/gui/spokes/user.glade
index 7dbd705..63e6838 100644
--- a/pyanaconda/ui/gui/spokes/user.glade
+++ b/pyanaconda/ui/gui/spokes/user.glade
@@ -201,7 +201,7 @@
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="xalign">0</property>
-                        <property name="label" translatable="yes">&lt;b&gt;Tip:&lt;/b&gt; lorem ipsum dolor sit amet...</property>
+                        <property name="label" translatable="yes">&lt;b&gt;Tip:&lt;/b&gt; Keep your username less than 32 characters and do not use spaces.</property>
                         <property name="use_markup">True</property>
                       </object>
                       <packing>
-- 
1.7.1



More information about the anaconda-patches mailing list