comparison libpurple/protocols/mxit/actions.c @ 30737:6d6ac5720853

Clarify error message that it is the Display Name field that is invalid.
author andrew.victor@mxit.com
date Wed, 28 Jul 2010 08:36:54 +0000
parents d9e94339ca3b
children bcc22eeaf3fa
comparison
equal deleted inserted replaced
30736:d3e13deb64a5 30737:6d6ac5720853
84 } 84 }
85 85
86 /* validate name */ 86 /* validate name */
87 name = purple_request_fields_get_string( fields, "name" ); 87 name = purple_request_fields_get_string( fields, "name" );
88 if ( ( !name ) || ( strlen( name ) < 3 ) ) { 88 if ( ( !name ) || ( strlen( name ) < 3 ) ) {
89 err = _( "The name you entered is invalid." ); 89 err = _( "The Display Name you entered is invalid." );
90 goto out; 90 goto out;
91 } 91 }
92 92
93 /* validate birthdate */ 93 /* validate birthdate */
94 bday = purple_request_fields_get_string( fields, "bday" ); 94 bday = purple_request_fields_get_string( fields, "bday" );