diff src/protocols/yahoo/yahoo.c @ 8591:f96795b786d2

[gaim-migrate @ 9342] Alright, I had to get my tooltip construction deuglification on. I removed the \n between the core's tooltip and the prpl's tooltip. prpl's should PREpend a \n to each line they add to the tooltip instead of APpending. This way you don't have to worry about removing trailing newline... it makes a lot more sense to me. I also changed oscar and trepia to use g_strings instead of g_strdup_printf and g_strconcat. G strings are sexy. And I apologize to the translators for changing some strings (separated some html and some text). committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 06 Apr 2004 02:28:01 +0000
parents 72a0759a37a2
children aa815d1a996d
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Tue Apr 06 01:19:51 2004 +0000
+++ b/src/protocols/yahoo/yahoo.c	Tue Apr 06 02:28:01 2004 +0000
@@ -2383,7 +2383,7 @@
 
 	f = g_hash_table_lookup(yd->friends, b->name);
 	if (!f)
-		status = g_strdup(_("Not on server list"));
+		status = g_strdup_printf("\n%s", _("Not on server list"));
 	else
 		switch (f->status) {
 		case YAHOO_STATUS_IDLE:
@@ -2403,7 +2403,7 @@
 		}
 
 	escaped = g_markup_escape_text(status, strlen(status));
-	ret = g_strdup_printf(_("<b>Status:</b> %s"), escaped);
+	ret = g_strdup_printf(_("\n<b>%s:</b> %s"), _("Status"), escaped);
 	g_free(status);
 	g_free(escaped);