changeset 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 1ea8d59a7957
children 92adc34d45da
files src/protocols/irc/msgs.c src/protocols/msn/msn.c
diffstat 2 files changed, 10 insertions(+), 8 deletions(-) [+]
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>"));
--- a/src/protocols/msn/msn.c	Sun Jul 18 18:21:26 2004 +0000
+++ b/src/protocols/msn/msn.c	Sun Jul 18 18:47:20 2004 +0000
@@ -447,7 +447,7 @@
 
 	if (GAIM_BUDDY_IS_ONLINE(b))
 	{
-		text = g_strdup_printf("\n<b>%s:</b> %s", _("Status"),
+		text = g_strdup_printf(_("\n<b>%s:</b> %s"), _("Status"),
 							   msn_away_get_text(MSN_AWAY_TYPE(b->uc)));
 	}