# HG changeset patch # User Mark Doliner # Date 1258931599 0 # Node ID cfde83c57a986cd2adaff4b687e5bf4c6f574800 # Parent 2ab56f7e801e482f096e89d971982d0fd2f9e67d The MXit guy seems to like spaces between his parenthesis, so I'll be consistent diff -r 2ab56f7e801e -r cfde83c57a98 libpurple/protocols/mxit/actions.c --- 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; }