Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
8590:de3d7eb3fc86 | 8591:f96795b786d2 |
---|---|
304 return NULL; | 304 return NULL; |
305 | 305 |
306 ret = g_string_new(""); | 306 ret = g_string_new(""); |
307 | 307 |
308 if (rb->aim != NULL) | 308 if (rb->aim != NULL) |
309 g_string_append_printf(ret, _("<b>AIM Screen name</b>: %s\n"), rb->aim); | 309 g_string_append_printf(ret, "\n<b>%s</b>: %s", _("AIM Screen name"), rb->aim); |
310 | 310 |
311 if (rb->msg != NULL) { | 311 if (rb->msg != NULL) { |
312 if (rb->status == UC_UNAVAILABLE) | 312 if (rb->status == UC_UNAVAILABLE) |
313 g_string_append_printf(ret, _("<b>Away</b>: %s\n"), rb->msg); | 313 g_string_append_printf(ret, "\n<b>%s</b>: %s", _("Away"), rb->msg); |
314 else | 314 else |
315 g_string_append_printf(ret, _("<b>Available</b>: %s\n"), rb->msg); | 315 g_string_append_printf(ret, "\n<b>%s</b>: %s", _("Available"), rb->msg); |
316 } | 316 } |
317 | 317 |
318 /* XXX - Fix blist.c so we can prepend the \n's rather than appending them */ | 318 /* XXX - Fix blist.c so we can prepend the \n's rather than appending them */ |
319 | 319 |
320 return g_string_free(ret, FALSE); | 320 return g_string_free(ret, FALSE); |