comparison src/protocols/silc/buddy.c @ 8910:26c9b8761707

[gaim-migrate @ 9680] a patch from wing to fix some grammer and puctuation (but not my spelling), and some white space committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 09 May 2004 04:06:58 +0000
parents 4f7c365c5c5a
children 7ab20f829190
comparison
equal deleted inserted replaced
8909:87e171358001 8910:26c9b8761707
143 gboolean force_local) 143 gboolean force_local)
144 { 144 {
145 SilcGaim sg = gc->proto_data; 145 SilcGaim sg = gc->proto_data;
146 SilcClientEntry *clients; 146 SilcClientEntry *clients;
147 SilcUInt32 clients_count; 147 SilcUInt32 clients_count;
148 char *local_ip = NULL, *remote_ip = NULL;; 148 char *local_ip = NULL, *remote_ip = NULL;
149 gboolean local = TRUE; 149 gboolean local = TRUE;
150 char *nickname; 150 char *nickname;
151 SilcGaimKeyAgr a; 151 SilcGaimKeyAgr a;
152 152
153 if (!sg->conn || !name) 153 if (!sg->conn || !name)
682 { 682 {
683 char tmp[512]; 683 char tmp[512];
684 g_snprintf(tmp, sizeof(tmp), _("The %s buddy is not trusted"), 684 g_snprintf(tmp, sizeof(tmp), _("The %s buddy is not trusted"),
685 r->b->name); 685 r->b->name);
686 gaim_notify_error(r->client->application, _("Add Buddy"), tmp, 686 gaim_notify_error(r->client->application, _("Add Buddy"), tmp,
687 _("You cannot receive buddy notifications untill you " 687 _("You cannot receive buddy notifications until you "
688 "import its public key. You can use the Get Public Key " 688 "import his/her public key. You can use the Get Public Key "
689 "command to get the public key.")); 689 "command to get the public key."));
690 gaim_blist_update_buddy_presence(r->b, GAIM_BUDDY_OFFLINE); 690 gaim_blist_update_buddy_presence(r->b, GAIM_BUDDY_OFFLINE);
691 } 691 }
692 692
693 static void 693 static void
985 { 985 {
986 char tmp[512]; 986 char tmp[512];
987 g_snprintf(tmp, sizeof(tmp), _("The %s buddy is not present in the network"), 987 g_snprintf(tmp, sizeof(tmp), _("The %s buddy is not present in the network"),
988 r->b->name); 988 r->b->name);
989 gaim_request_action(NULL, _("Add Buddy"), tmp, 989 gaim_request_action(NULL, _("Add Buddy"), tmp,
990 _("To add the buddy you must import its public key. " 990 _("To add the buddy you must import his/her public key. "
991 "Press Import to import a public key."), 0, r, 2, 991 "Press Import to import a public key."), 0, r, 2,
992 _("Cancel"), G_CALLBACK(silcgaim_add_buddy_ask_pk_cb), 992 _("Cancel"), G_CALLBACK(silcgaim_add_buddy_ask_pk_cb),
993 _("Import..."), G_CALLBACK(silcgaim_add_buddy_ask_pk_cb)); 993 _("Import..."), G_CALLBACK(silcgaim_add_buddy_ask_pk_cb));
994 } 994 }
995 995