changeset 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 7773c79bbe01
children e3c13c8096f0
files src/protocols/jabber/buddy.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
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."));