Mercurial > pidgin
comparison src/protocols/napster/napster.c @ 6321:3613007cbb6e
[gaim-migrate @ 6820]
Bjoern Voigt:
"I've updated the German translation and fixed some i18n bugs.
The file i18n16.patch contains:
- updated German translation
- translation of the "boring default" away message works again
- marked some forgotten error messages as translatable"
Guntupalli Karunakar gave me a Hindi translation and Vincent van
Adrighem updated the dutch translation.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 29 Jul 2003 02:27:33 +0000 |
parents | d8cd876e613e |
children | 8f94cce8faa5 |
comparison
equal
deleted
inserted
replaced
6320:ef9065e52582 | 6321:3613007cbb6e |
---|---|
241 i = 0; | 241 i = 0; |
242 do { | 242 do { |
243 int tmp = read(source, buf + i, len - i); | 243 int tmp = read(source, buf + i, len - i); |
244 if (tmp <= 0) { | 244 if (tmp <= 0) { |
245 g_free(buf); | 245 g_free(buf); |
246 buf = g_strdup_printf("Unable to read mesage from server. Command is %hd, length is %hd.", len, command); | 246 buf = g_strdup_printf(_("Unable to read mesage from server. Command is %hd, length is %hd."), len, command); |
247 gaim_connection_error(gc, buf); | 247 gaim_connection_error(gc, buf); |
248 g_free(buf); | 248 g_free(buf); |
249 return; | 249 return; |
250 } | 250 } |
251 i += tmp; | 251 i += tmp; |
460 close(source); | 460 close(source); |
461 return; | 461 return; |
462 } | 462 } |
463 | 463 |
464 if (source < 0) { | 464 if (source < 0) { |
465 gaim_connection_error(gc, "Unable to connect"); | 465 gaim_connection_error(gc, _("Unable to connect")); |
466 return; | 466 return; |
467 } | 467 } |
468 | 468 |
469 ndata->fd = source; | 469 ndata->fd = source; |
470 | 470 |