Mercurial > pidgin
comparison libpurple/protocols/qq/qq_process.c @ 24682:8f757b2139d2
String changes (a few of which I had already made, grumble grumble).
I tried to re-use strings that exist in other protocols as much as
possible. When calling purple_connection_update_progress() the strings
should not have ellipsis. When calling purple_connection_error_reason()
due to a keep alive timeout, do not include the number of seconds,
because there shouldn't be a reason for users to care
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 11 Dec 2008 07:17:32 +0000 |
parents | 55b7371eadf4 |
children | 1300601041ac |
comparison
equal
deleted
inserted
replaced
24681:662fdd4836aa | 24682:8f757b2139d2 |
---|---|
85 | 85 |
86 qd = gc->proto_data; | 86 qd = gc->proto_data; |
87 | 87 |
88 if (data[0] != 0) { | 88 if (data[0] != 0) { |
89 purple_debug_warning("QQ", "Failed sent IM\n"); | 89 purple_debug_warning("QQ", "Failed sent IM\n"); |
90 purple_notify_error(gc, _("Error"), _("Failed to send IM."), NULL); | 90 purple_notify_error(gc, _("Error"), _("Unable to send message."), NULL); |
91 return; | 91 return; |
92 } | 92 } |
93 | 93 |
94 purple_debug_info("QQ", "OK sent IM\n"); | 94 purple_debug_info("QQ", "OK sent IM\n"); |
95 } | 95 } |
946 "Can not decrypt login cmd, [%05d], 0x%04X %s, len %d\n", | 946 "Can not decrypt login cmd, [%05d], 0x%04X %s, len %d\n", |
947 seq, cmd, qq_get_cmd_desc(cmd), rcved_len); | 947 seq, cmd, qq_get_cmd_desc(cmd), rcved_len); |
948 qq_show_packet("Can not decrypted", rcved, rcved_len); | 948 qq_show_packet("Can not decrypted", rcved, rcved_len); |
949 purple_connection_error_reason(gc, | 949 purple_connection_error_reason(gc, |
950 PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR, | 950 PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR, |
951 _("Can not decrypt login reply")); | 951 _("Could not decrypt login reply")); |
952 return QQ_LOGIN_REPLY_ERR; | 952 return QQ_LOGIN_REPLY_ERR; |
953 } | 953 } |
954 | 954 |
955 switch (cmd) { | 955 switch (cmd) { |
956 case QQ_CMD_GET_SERVER: | 956 case QQ_CMD_GET_SERVER: |