diff src/protocols/jabber/buddy.c @ 13573:0b2e4a5a8e79

[gaim-migrate @ 15952] Bj??rn pointed out on gaim-i18n that the instructions are not translated. For users who might not speak English (or whatever language the server configuration file is in), it seems worthwhile to flag that text as coming from the server. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 26 Mar 2006 17:45:53 +0000
parents 02a8424191ea
children ee7f92a706ac
line wrap: on
line diff
--- a/src/protocols/jabber/buddy.c	Sun Mar 26 16:19:19 2006 +0000
+++ b/src/protocols/jabber/buddy.c	Sun Mar 26 17:45:53 2006 +0000
@@ -1383,7 +1383,11 @@
 		gaim_request_fields_add_group(fields, group);
 
 		if((instnode = xmlnode_get_child(query, "instructions")))
-			instructions = xmlnode_get_data(instnode);
+		{
+			char *tmp = xmlnode_get_data(instnode);
+			instructions = g_strdup_printf(_("Server Instructions: %s"), tmp);
+			g_free(tmp);
+		}
 		else
 			instructions = g_strdup(_("Fill in one or more fields to search "
 						"for any matching Jabber users."));