Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
9557:1ea8d59a7957 | 9558:f1137cf462d8 |
---|---|
177 gaim_debug(GAIM_DEBUG_WARNING, "irc", "Received end of WHOIS for %s, expecting %s\n", args[1], irc->whois.nick); | 177 gaim_debug(GAIM_DEBUG_WARNING, "irc", "Received end of WHOIS for %s, expecting %s\n", args[1], irc->whois.nick); |
178 return; | 178 return; |
179 } | 179 } |
180 | 180 |
181 info = g_string_new(""); | 181 info = g_string_new(""); |
182 g_string_append_printf(info, "<b>%s:</b> %s%s%s<br>", _("Nick"), args[1], | 182 g_string_append_printf(info, _("<b>%s:</b> %s"), _("Nick"), args[1]); |
183 g_string_append_printf(info, "%s%s<br>", | |
183 irc->whois.ircop ? _(" <i>(ircop)</i>") : "", | 184 irc->whois.ircop ? _(" <i>(ircop)</i>") : "", |
184 irc->whois.identified ? _(" <i>(identified)</i>") : ""); | 185 irc->whois.identified ? _(" <i>(identified)</i>") : ""); |
185 if (irc->whois.away) { | 186 if (irc->whois.away) { |
186 g_string_append_printf(info, "<b>%s:</b> %s<br>", _("Away"), irc->whois.away); | 187 g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Away"), irc->whois.away); |
187 g_free(irc->whois.away); | 188 g_free(irc->whois.away); |
188 } | 189 } |
189 if (irc->whois.userhost) { | 190 if (irc->whois.userhost) { |
190 g_string_append_printf(info, "<b>%s:</b> %s<br>", _("Username"), irc->whois.userhost); | 191 g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Username"), irc->whois.userhost); |
191 g_string_append_printf(info, "<b>%s:</b> %s<br>", _("Realname"), irc->whois.name); | 192 g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Realname"), irc->whois.name); |
192 g_free(irc->whois.userhost); | 193 g_free(irc->whois.userhost); |
193 g_free(irc->whois.name); | 194 g_free(irc->whois.name); |
194 } | 195 } |
195 if (irc->whois.server) { | 196 if (irc->whois.server) { |
196 g_string_append_printf(info, "<b>%s:</b> %s (%s)<br>", _("Server"), irc->whois.server, irc->whois.serverinfo); | 197 g_string_append_printf(info, _("<b>%s:</b> %s"), _("Server"), irc->whois.server); |
198 g_string_append_printf(info, " (%s)<br>", irc->whois.serverinfo); | |
197 g_free(irc->whois.server); | 199 g_free(irc->whois.server); |
198 g_free(irc->whois.serverinfo); | 200 g_free(irc->whois.serverinfo); |
199 } | 201 } |
200 if (irc->whois.channels) { | 202 if (irc->whois.channels) { |
201 g_string_append_printf(info, "<b>%s:</b> %s<br>", _("Currently on"), irc->whois.channels); | 203 g_string_append_printf(info, _("<b>%s:</b> %s<br>"), _("Currently on"), irc->whois.channels); |
202 g_free(irc->whois.channels); | 204 g_free(irc->whois.channels); |
203 } | 205 } |
204 if (irc->whois.idle) { | 206 if (irc->whois.idle) { |
205 gchar *timex = gaim_str_seconds_to_string(irc->whois.idle); | 207 gchar *timex = gaim_str_seconds_to_string(irc->whois.idle); |
206 g_string_append_printf(info, _("<b>Idle for:</b> %s<br>"), timex); | 208 g_string_append_printf(info, _("<b>Idle for:</b> %s<br>"), timex); |
207 g_free(timex); | 209 g_free(timex); |
208 g_string_append_printf(info, "<b>%s:</b> %s", _("Online since"), ctime(&irc->whois.signon)); | 210 g_string_append_printf(info, _("<b>%s:</b> %s"), _("Online since"), ctime(&irc->whois.signon)); |
209 } | 211 } |
210 if (!strcmp(irc->whois.nick, "Paco-Paco")) { | 212 if (!strcmp(irc->whois.nick, "Paco-Paco")) { |
211 g_string_append_printf(info, _("<br><b>Defining adjective:</b> Glorious<br>")); | 213 g_string_append_printf(info, _("<br><b>Defining adjective:</b> Glorious<br>")); |
212 } | 214 } |
213 | 215 |