comparison libpurple/protocols/qq/group_join.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 370fd1834371
comparison
equal deleted inserted replaced
24681:662fdd4836aa 24682:8f757b2139d2
217 bytes += qq_get32(&id, data + bytes); 217 bytes += qq_get32(&id, data + bytes);
218 g_return_if_fail(id > 0); 218 g_return_if_fail(id > 0);
219 219
220 rmd = qq_room_data_find(gc, id); 220 rmd = qq_room_data_find(gc, id);
221 if (rmd != NULL) { 221 if (rmd != NULL) {
222 msg = g_strdup_printf(_("Succeeded joining Qun %s (%u)"), rmd->title_utf8, rmd->ext_id); 222 msg = g_strdup_printf(_("Successfully joined Qun %s (%u)"), rmd->title_utf8, rmd->ext_id);
223 qq_got_message(gc, msg); 223 qq_got_message(gc, msg);
224 g_free(msg); 224 g_free(msg);
225 } else { 225 } else {
226 qq_got_message(gc, _("Succeeded joining Qun")); 226 qq_got_message(gc, _("Successfully joined Qun"));
227 } 227 }
228 } 228 }
229 229
230 /* process group cmd reply "join group" */ 230 /* process group cmd reply "join group" */
231 void qq_process_group_cmd_join_group(guint8 *data, gint len, PurpleConnection *gc) 231 void qq_process_group_cmd_join_group(guint8 *data, gint len, PurpleConnection *gc)