changeset 28999:cfde83c57a98

The MXit guy seems to like spaces between his parenthesis, so I'll be consistent
author Mark Doliner <mark@kingant.net>
date Sun, 22 Nov 2009 23:13:19 +0000
parents 2ab56f7e801e
children 04b0ba94d646
files libpurple/protocols/mxit/actions.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/mxit/actions.c	Sun Nov 22 23:00:57 2009 +0000
+++ b/libpurple/protocols/mxit/actions.c	Sun Nov 22 23:13:19 2009 +0000
@@ -150,37 +150,37 @@
 	/* validate pin */
 	pin = purple_request_fields_get_string( fields, "pin" );
 	if ( !pin ) {
-		err = _("The PIN you entered is invalid.");
+		err = _( "The PIN you entered is invalid." );
 		goto out;
 	}
 	len = strlen( pin );
 	if ( ( len < 4 ) || ( len > 10 ) ) {
-		err = _("The PIN you entered has an invalid length [4-10].");
+		err = _( "The PIN you entered has an invalid length [4-10]." );
 		goto out;
 	}
 	for ( i = 0; i < len; i++ ) {
 		if ( !g_ascii_isdigit( pin[i] ) ) {
-			err = _("The PIN is invalid. It should only consist of digits [0-9].");
+			err = _( "The PIN is invalid. It should only consist of digits [0-9]." );
 			goto out;
 		}
 	}
 	pin2 = purple_request_fields_get_string( fields, "pin2" );
 	if ( ( !pin2 ) || ( strcmp( pin, pin2 ) != 0 ) ) {
-		err = _("The two PINs you entered do not match.");
+		err = _( "The two PINs you entered do not match." );
 		goto out;
 	}
 
 	/* validate name */
 	name = purple_request_fields_get_string( fields, "name" );
 	if ( ( !name ) || ( strlen( name ) < 3 ) ) {
-		err = _("The name you entered is invalid.");
+		err = _( "The name you entered is invalid." );
 		goto out;
 	}
 
 	/* validate birthdate */
 	bday = purple_request_fields_get_string( fields, "bday" );
 	if ( ( !bday ) || ( strlen( bday ) < 10 ) || ( !validateDate( bday ) ) ) {
-		err = _("The birthday you entered is invalid. The correct format is: 'YYYY-MM-DD'.");
+		err = _( "The birthday you entered is invalid. The correct format is: 'YYYY-MM-DD'." );
 		goto out;
 	}