diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-11-26 03:58:57 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-11-26 03:58:57 +0000 |
commit | cffef417bb9e0a231968c5fbadca8e5141a65083 (patch) | |
tree | 6de7999c000af0698dab13fa294229db4948402b /getpass.c | |
parent | 89f0f156f5df8b1e561577b90956ec403b114b4a (diff) | |
download | fetchmail-cffef417bb9e0a231968c5fbadca8e5141a65083.tar.gz fetchmail-cffef417bb9e0a231968c5fbadca8e5141a65083.tar.bz2 fetchmail-cffef417bb9e0a231968c5fbadca8e5141a65083.zip |
Internationalization support via GNU gettext().
svn path=/trunk/; revision=2208
Diffstat (limited to 'getpass.c')
-rw-r--r-- | getpass.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 <acme@conectiva.com.br> 7-Nov-1998 ***********************************************************************/ @@ -21,6 +23,7 @@ #include <unistd.h> #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 */ |