Mercurial > pidgin.yaz
diff src/protocols/rendezvous/rendezvous.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 | f3b928825a72 |
line wrap: on
line diff
--- a/src/protocols/rendezvous/rendezvous.c Tue Apr 06 01:19:51 2004 +0000 +++ b/src/protocols/rendezvous/rendezvous.c Tue Apr 06 02:28:01 2004 +0000 @@ -306,13 +306,13 @@ ret = g_string_new(""); if (rb->aim != NULL) - g_string_append_printf(ret, _("<b>AIM Screen name</b>: %s\n"), rb->aim); + g_string_append_printf(ret, "\n<b>%s</b>: %s", _("AIM Screen name"), rb->aim); if (rb->msg != NULL) { if (rb->status == UC_UNAVAILABLE) - g_string_append_printf(ret, _("<b>Away</b>: %s\n"), rb->msg); + g_string_append_printf(ret, "\n<b>%s</b>: %s", _("Away"), rb->msg); else - g_string_append_printf(ret, _("<b>Available</b>: %s\n"), rb->msg); + g_string_append_printf(ret, "\n<b>%s</b>: %s", _("Available"), rb->msg); } /* XXX - Fix blist.c so we can prepend the \n's rather than appending them */