Mercurial > pidgin.yaz
diff src/protocols/irc/msgs.c @ 9558:f1137cf462d8
[gaim-migrate @ 10394]
some _() updates from Ambrose C. LI
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 18 Jul 2004 18:47:20 +0000 |
parents | 8b2451878e26 |
children | f4654d3b7b8d |
line wrap: on
line diff
--- a/src/protocols/irc/msgs.c Sun Jul 18 18:21:26 2004 +0000 +++ b/src/protocols/irc/msgs.c Sun Jul 18 18:47:20 2004 +0000 @@ -179,33 +179,35 @@ } info = g_string_new(""); - g_string_append_printf(info, "<b>%s:</b> %s%s%s<br>", _("Nick"), args[1], + g_string_append_printf(info, _("<b>%s:</b> %s"), _("Nick"), args[1]); + g_string_append_printf(info, "%s%s<br>", irc->whois.ircop ? _(" <i>(ircop)</i>") : "", irc->whois.identified ? _(" <i>(identified)</i>") : ""); if (irc->whois.away) { - g_string_append_printf(info, "<b>%s:</b> %s<br>", _("Away"), irc->whois.away); + g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Away"), irc->whois.away); g_free(irc->whois.away); } if (irc->whois.userhost) { - g_string_append_printf(info, "<b>%s:</b> %s<br>", _("Username"), irc->whois.userhost); - g_string_append_printf(info, "<b>%s:</b> %s<br>", _("Realname"), irc->whois.name); + g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Username"), irc->whois.userhost); + g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Realname"), irc->whois.name); g_free(irc->whois.userhost); g_free(irc->whois.name); } if (irc->whois.server) { - g_string_append_printf(info, "<b>%s:</b> %s (%s)<br>", _("Server"), irc->whois.server, irc->whois.serverinfo); + g_string_append_printf(info, _("<b>%s:</b> %s"), _("Server"), irc->whois.server); + g_string_append_printf(info, " (%s)<br>", irc->whois.serverinfo); g_free(irc->whois.server); g_free(irc->whois.serverinfo); } if (irc->whois.channels) { - g_string_append_printf(info, "<b>%s:</b> %s<br>", _("Currently on"), irc->whois.channels); + g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Currently on"), irc->whois.channels); g_free(irc->whois.channels); } if (irc->whois.idle) { gchar *timex = gaim_str_seconds_to_string(irc->whois.idle); g_string_append_printf(info, _("<b>Idle for:</b> %s<br>"), timex); g_free(timex); - g_string_append_printf(info, "<b>%s:</b> %s", _("Online since"), ctime(&irc->whois.signon)); + g_string_append_printf(info, _("<b>%s:</b> %s"), _("Online since"), ctime(&irc->whois.signon)); } if (!strcmp(irc->whois.nick, "Paco-Paco")) { g_string_append_printf(info, _("<br><b>Defining adjective:</b> Glorious<br>"));