diff src/protocols/toc/toc.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 69c9b6e63a98
children 8f94cce8faa5
line wrap: on
line diff
--- a/src/protocols/toc/toc.c	Mon Jul 28 22:53:14 2003 +0000
+++ b/src/protocols/toc/toc.c	Tue Jul 29 02:27:33 2003 +0000
@@ -180,7 +180,7 @@
 				gaim_account_get_string(account, "server", TOC_HOST),
 				gaim_account_get_int(account, "port", TOC_PORT),
 				toc_login_callback, gc) != 0 || !account->gc) {
-		g_snprintf(buf, sizeof(buf), "Connect to %s failed",
+		g_snprintf(buf, sizeof(buf), _("Connect to %s failed"),
 				gaim_account_get_string(account, "server", TOC_HOST));
 		gaim_connection_error(gc, buf);
 		return;
@@ -204,7 +204,7 @@
 
 	if (source == -1) {
 		/* we didn't successfully connect. tdt->toc_fd is valid here */
-		gaim_connection_error(gc, "Unable to connect.");
+		gaim_connection_error(gc, _("Unable to connect."));
 		return;
 	}
 	tdt->toc_fd = source;
@@ -221,7 +221,7 @@
 
 	debug_printf("* Client sends \"FLAPON\\r\\n\\r\\n\"\n");
 	if (toc_write(tdt->toc_fd, FLAPON, strlen(FLAPON)) < 0) {
-		gaim_connection_error(gc, "Disconnected.");
+		gaim_connection_error(gc, _("Disconnected."));
 		return;
 	}
 	tdt->state = STATE_FLAPON;
@@ -557,7 +557,7 @@
                 break;
         case 977:
                 g_snprintf(buf, sizeof(buf), _("User has no directory information."));
-                /* g_snprintf(buf, sizeof(buf), "Language not supported."); */
+                /* g_snprintf(buf, sizeof(buf), _("Language not supported.")); */
                 break;
         case 978:
                 g_snprintf(buf, sizeof(buf), _("Country not supported."));