diff src/protocols/irc/irc.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 1bf6fd117797
children e06e04e44914
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Mon Jul 28 22:53:14 2003 +0000
+++ b/src/protocols/irc/irc.c	Tue Jul 29 02:27:33 2003 +0000
@@ -1812,7 +1812,7 @@
 
 	i = read(idata->fd, buf, 1024);
 	if (i <= 0) {
-		gaim_connection_error(gc, "Read error");
+		gaim_connection_error(gc, _("Read error"));
 		return;
 	}
 
@@ -1871,7 +1871,7 @@
 	idata = gc->proto_data;
 
 	if (source < 0) {
-		gaim_connection_error(gc, "Write error");
+		gaim_connection_error(gc, _("Write error"));
 		return;
 	}
 	idata->fd = source;
@@ -1899,7 +1899,7 @@
 				   gaim_account_get_password(account));
 
 		if (irc_write(idata->fd, buf, strlen(buf)) < 0) {
-			gaim_connection_error(gc, "Write error");
+			gaim_connection_error(gc, _("Write error"));
 			return;
 		}
 	}
@@ -1912,7 +1912,7 @@
 		   (alias == NULL ? "gaim" : alias));
 
 	if (irc_write(idata->fd, buf, strlen(buf)) < 0) {
-		gaim_connection_error(gc, "Write error");
+		gaim_connection_error(gc, _("Write error"));
 		return;
 	}
 
@@ -1920,7 +1920,7 @@
 			   gaim_connection_get_display_name(gc));
 
 	if (irc_write(idata->fd, buf, strlen(buf)) < 0) {
-		gaim_connection_error(gc, "Write error");
+		gaim_connection_error(gc, _("Write error"));
 		return;
 	}