diff src/protocols/silc/buddy.c @ 8891:4f7c365c5c5a

[gaim-migrate @ 9660] i18n fixes for SILC from Ambrose Li and ?ric Boumaour. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 06 May 2004 12:17:17 +0000
parents 50d0f76639e7
children 26c9b8761707
line wrap: on
line diff
--- a/src/protocols/silc/buddy.c	Thu May 06 06:27:26 2004 +0000
+++ b/src/protocols/silc/buddy.c	Thu May 06 12:17:17 2004 +0000
@@ -1076,14 +1076,16 @@
 		gaim_request_field_list_add(f, tmp, clients[i]);
 	}
 
-	g_snprintf(tmp, sizeof(tmp),
-		   _("More than one users were found with the same %s. Select "
-		     "the correct user from the list to add to the buddy list."),
-		   r->pubkey_search ? "public key" : "name");
 	gaim_request_fields(NULL, _("Add Buddy"),
-			    _("Select correct user"), tmp, fields,
-			    "OK", G_CALLBACK(silcgaim_add_buddy_select_cb),
-			    "Cancel", G_CALLBACK(silcgaim_add_buddy_select_cancel), r);
+				_("Select correct user"),
+				r->pubkey_search
+					? _("More than one user was found with the same public key. Select "
+						"the correct user from the list to add to the buddy list.")
+					: _("More than one user was found with the same name. Select "
+						"the correct user from the list to add to the buddy list."),
+				fields,
+				_("OK"), G_CALLBACK(silcgaim_add_buddy_select_cb),
+				_("Cancel"), G_CALLBACK(silcgaim_add_buddy_select_cancel), r);
 }
 
 static void