Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/message.c @ 23079:8fbfe45506a2
Don't include the space in the localized text at all for the text/code error separation
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Wed, 21 May 2008 01:58:04 +0000 |
parents | a7c09c653558 |
children | 16bdfbe5b0b4 |
comparison
equal
deleted
inserted
replaced
23078:a7c09c653558 | 23079:8fbfe45506a2 |
---|---|
409 if ((enclosed_text_node = xmlnode_get_child(child, "text"))) | 409 if ((enclosed_text_node = xmlnode_get_child(child, "text"))) |
410 text = xmlnode_get_data(enclosed_text_node); | 410 text = xmlnode_get_data(enclosed_text_node); |
411 } | 411 } |
412 | 412 |
413 if(code) | 413 if(code) |
414 code_txt = g_strdup_printf(_("%s(Code %s)"), (text ? " " : ""), code); | 414 code_txt = g_strdup_printf(_("(Code %s)"), code); |
415 | 415 |
416 if(!jm->error) | 416 if(!jm->error) |
417 jm->error = g_strdup_printf("%s%s", text ? text : "", | 417 jm->error = g_strdup_printf("%s%s%s", |
418 text ? text : "", | |
419 text && code_text ? " " : "", | |
418 code_txt ? code_txt : ""); | 420 code_txt ? code_txt : ""); |
419 | 421 |
420 g_free(code_txt); | 422 g_free(code_txt); |
421 g_free(text); | 423 g_free(text); |
422 } else if(!strcmp(child->name, "delay") && xmlns && !strcmp(xmlns,"urn:xmpp:delay")) { | 424 } else if(!strcmp(child->name, "delay") && xmlns && !strcmp(xmlns,"urn:xmpp:delay")) { |