pidgin: f2d2a01f: oscar: Differentiate the two rate-limiti...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Tue Nov 3 01:01:11 EST 2009


-----------------------------------------------------------------
Revision: f2d2a01f65d069b6d513155a26c2e8247f00d578
Ancestor: 6624a8df38daf3e01d2c0af868a6c4fefdcad261
Author: aman at tmm1.net
Date: 2009-11-03T05:32:47
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f2d2a01f65d069b6d513155a26c2e8247f00d578

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

oscar: Differentiate the two rate-limiting login errors.

Patch from Aman "tmm1" Gupta.  We may want to split the common part out
for the translators' sakes.

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	68600abe048380d1e4f5a7a74a60e6ba704a028e
+++ libpurple/protocols/oscar/oscar.c	c21a47ae6f26196987044c905de8ecb11f3e4f3d
@@ -1877,7 +1877,7 @@ purple_parse_auth_resp(OscarData *od, Fl
 			break;
 		case 0x18:
 			/* username connecting too frequently */
-			purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, _("You have been connecting and disconnecting too frequently. Wait ten minutes and try again. If you continue to try, you will need to wait even longer."));
+			purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, _("Your username has been connecting and disconnecting too frequently. Wait ten minutes and try again. If you continue to try, you will need to wait even longer."));
 			break;
 		case 0x1c:
 		{
@@ -1889,7 +1889,7 @@ purple_parse_auth_resp(OscarData *od, Fl
 		}
 		case 0x1d:
 			/* IP address connecting too frequently */
-			purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, _("You have been connecting and disconnecting too frequently. Wait a minute and try again. If you continue to try, you will need to wait even longer."));
+			purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, _("Your IP address has been connecting and disconnecting too frequently. Wait a minute and try again. If you continue to try, you will need to wait even longer."));
 			break;
 		default:
 			purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED, _("Unknown reason"));


More information about the Commits mailing list