Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/flap_connection.c @ 27463:f541583e31bd
More uniformity among disconnect error messages
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 06 Jul 2009 09:07:42 +0000 |
parents | fe912af02ff6 |
children | 5048054d319a |
comparison
equal
deleted
inserted
replaced
27462:1bbed9fd046b | 27463:f541583e31bd |
---|---|
478 tmp = g_strdup_printf(_("Lost connection with server: %s"), | 478 tmp = g_strdup_printf(_("Lost connection with server: %s"), |
479 conn->error_message); | 479 conn->error_message); |
480 else if (conn->disconnect_reason == OSCAR_DISCONNECT_INVALID_DATA) | 480 else if (conn->disconnect_reason == OSCAR_DISCONNECT_INVALID_DATA) |
481 tmp = g_strdup(_("Received invalid data on connection with server")); | 481 tmp = g_strdup(_("Received invalid data on connection with server")); |
482 else if (conn->disconnect_reason == OSCAR_DISCONNECT_COULD_NOT_CONNECT) | 482 else if (conn->disconnect_reason == OSCAR_DISCONNECT_COULD_NOT_CONNECT) |
483 tmp = g_strdup_printf(_("Could not establish a connection with the server: %s"), | 483 tmp = g_strdup_printf(_("Unable to connect: %s"), |
484 conn->error_message); | 484 conn->error_message); |
485 else | 485 else |
486 /* | 486 /* |
487 * We shouldn't print a message for some disconnect_reasons. | 487 * We shouldn't print a message for some disconnect_reasons. |
488 * Like OSCAR_DISCONNECT_LOCAL_CLOSED. | 488 * Like OSCAR_DISCONNECT_LOCAL_CLOSED. |