aboutsummaryrefslogtreecommitdiffstats
path: root/netrc.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-26 03:58:57 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-26 03:58:57 +0000
commitcffef417bb9e0a231968c5fbadca8e5141a65083 (patch)
tree6de7999c000af0698dab13fa294229db4948402b /netrc.c
parent89f0f156f5df8b1e561577b90956ec403b114b4a (diff)
downloadfetchmail-cffef417bb9e0a231968c5fbadca8e5141a65083.tar.gz
fetchmail-cffef417bb9e0a231968c5fbadca8e5141a65083.tar.bz2
fetchmail-cffef417bb9e0a231968c5fbadca8e5141a65083.zip
Internationalization support via GNU gettext().
svn path=/trunk/; revision=2208
Diffstat (limited to 'netrc.c')
-rw-r--r--netrc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/netrc.c b/netrc.c
index 6d3a645f..494a3c96 100644
--- a/netrc.c
+++ b/netrc.c
@@ -2,6 +2,8 @@
Copyright (C) 1996, Free Software Foundation, Inc.
Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+ i18n by Arnaldo Carvalho de Melo <acme@conectiva.com.br> 7-Nov-1998
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
@@ -26,6 +28,7 @@
#include "config.h"
#include "fetchmail.h"
#include "netrc.h"
+#include "i18n.h"
#ifdef STANDALONE
/* Normally defined in xstrdup.c. */
@@ -226,7 +229,7 @@ parse_netrc (file)
premature_token);
#else
fprintf (stderr,
- "%s:%d: warning: found \"%s\" before any host names\n",
+ _("%s:%d: warning: found \"%s\" before any host names\n"),
file, ln, premature_token);
#endif
premature_token = NULL;
@@ -262,7 +265,7 @@ parse_netrc (file)
else
{
- fprintf (stderr, "%s:%d: warning: unknown token \"%s\"\n",
+ fprintf (stderr, _("%s:%d: warning: unknown token \"%s\"\n"),
file, ln, tok);
}
}