From cffef417bb9e0a231968c5fbadca8e5141a65083 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 Nov 1998 03:58:57 +0000 Subject: Internationalization support via GNU gettext(). svn path=/trunk/; revision=2208 --- getpass.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'getpass.c') diff --git a/getpass.c b/getpass.c index 4d0a75f7..31ba2a7d 100644 --- a/getpass.c +++ b/getpass.c @@ -9,6 +9,8 @@ description: getpass() replacement which allows for long passwords. This version hacked by Wilfred Teiken, allowing the password to be piped to fetchmail. + + i18n by Arnaldo Carvalho de Melo 7-Nov-1998 ***********************************************************************/ @@ -21,6 +23,7 @@ #include #endif #include "fetchmail.h" +#include "i18n.h" #define INPUT_BUF_SIZE PASSWORDLEN @@ -67,7 +70,7 @@ char *prompt; char *getpass(); return getpass(prompt); #else - fputs("ERROR: no support for getpassword() routine\n",stderr); + fputs(_("ERROR: no support for getpassword() routine\n"),stderr); exit(1); #endif #else @@ -189,7 +192,7 @@ static void restore_tty_state(void) static RETSIGTYPE sigint_handler(int signum) { restore_tty_state(); - error(1, 0, "\nCaught signal... bailing out."); + error(1, 0, _("\nCaught signal... bailing out.")); } /* getpass.c ends here */ -- cgit v1.2.3