Index: smtp.c =================================================================== RCS file: /home/cvs/debian/fetchmail/smtp.c,v retrieving revision 1.1.1.4 retrieving revision 1.6 diff -u -r1.1.1.4 -r1.6 --- smtp.c 10 Mar 2002 19:35:32 -0000 1.1.1.4 +++ smtp.c 13 Mar 2002 03:26:15 -0000 1.6 @@ -15,6 +15,7 @@ #include "socket.h" #include "smtp.h" #include "config.h" +#include "i18n.h" struct opt { @@ -73,7 +74,7 @@ memset(digest, 0, 16); if (outlevel >= O_MONITOR) - report(stdout, "ESMTP CRAM-MD5 Authentication...\n"); + report(stdout, GT_("ESMTP CRAM-MD5 Authentication...\n")); SockPrintf(sock, "AUTH CRAM-MD5\r\n"); SockRead(sock, smtp_response, sizeof(smtp_response) - 1); strncpy(tmp, smtp_response, sizeof(tmp)); @@ -82,7 +83,7 @@ SockPrintf(sock, "*\r\n"); SockRead(sock, smtp_response, sizeof(smtp_response) - 1); if (outlevel >= O_MONITOR) - report(stdout, "Server rejected the AUTH command.\n"); + report(stdout, GT_("Server rejected the AUTH command.\n")); return; } @@ -90,7 +91,7 @@ p++; from64tobits(b64buf, p, sizeof(b64buf)); if (outlevel >= O_DEBUG) - report(stdout, "Challenge decoded: %s\n", b64buf); + report(stdout, GT_("Challenge decoded: %s\n"), b64buf); hmac_md5(password, strlen(password), b64buf, strlen(b64buf), digest, sizeof(digest)); for (c = 0; c < 16; c++) @@ -109,7 +110,7 @@ else if (strstr(buf, "PLAIN")) { int len; if (outlevel >= O_MONITOR) - report(stdout, "ESMTP PLAIN Authentication...\n"); + report(stdout, GT_("ESMTP PLAIN Authentication...\n")); #ifdef HAVE_SNPRINTF snprintf(tmp, sizeof(tmp), #else @@ -129,7 +130,7 @@ } else if (strstr(buf, "LOGIN")) { if (outlevel >= O_MONITOR) - report(stdout, "ESMTP LOGIN Authentication...\n"); + report(stdout, GT_("ESMTP LOGIN Authentication...\n")); SockPrintf(sock, "AUTH LOGIN\r\n"); SockRead(sock, smtp_response, sizeof(smtp_response) - 1); strncpy(tmp, smtp_response, sizeof(tmp)); @@ -138,7 +139,7 @@ SockPrintf(sock, "*\r\n"); SockRead(sock, smtp_response, sizeof(smtp_response) - 1); if (outlevel >= O_MONITOR) - report(stdout, "Server rejected the AUTH command.\n"); + report(stdout, GT_("Server rejected the AUTH command.\n")); return; } Index: po/POTFILES.in =================================================================== RCS file: /home/cvs/debian/fetchmail/po/POTFILES.in,v retrieving revision 1.1.1.6 retrieving revision 1.4 diff -u -r1.1.1.6 -r1.4 --- po/POTFILES.in 3 Oct 2001 23:28:33 -0000 1.1.1.6 +++ po/POTFILES.in 13 Mar 2002 22:30:08 -0000 1.4 @@ -23,6 +23,7 @@ rfc822.c rpa.c sink.c +smtp.c socket.c transact.c uid.c