pidgin: b9de25fa: The MXit guy seems to like spaces betwee...

markdoliner at pidgin.im markdoliner at pidgin.im
Sun Nov 22 18:15:37 EST 2009


-----------------------------------------------------------------
Revision: b9de25fa0dadddcc1cb6a0a50ec1d2e7dbd810bd
Ancestor: 94344158f35dde02dc906e3e5e39e58a326ff1be
Author: markdoliner at pidgin.im
Date: 2009-11-22T23:13:19
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b9de25fa0dadddcc1cb6a0a50ec1d2e7dbd810bd

Modified files:
        libpurple/protocols/mxit/actions.c

ChangeLog: 

The MXit guy seems to like spaces between his parenthesis, so I'll be
consistent

-------------- next part --------------
============================================================
--- libpurple/protocols/mxit/actions.c	dcef5386cf3266a9a96559776b96b1be117842cf
+++ libpurple/protocols/mxit/actions.c	198a649e7999b423fc2ba2ab15a7a91d2e69381b
@@ -150,37 +150,37 @@ static void mxit_cb_set_profile( PurpleC
 	/* 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;
 	}
 


More information about the Commits mailing list