aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-09-24 20:13:57 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-09-24 20:13:57 +0000
commita12da4ee65e0d140bbbcb811eef1cba93785ce35 (patch)
treec549258dcd9b8d2848da3135cb86d51c75138097 /rcfile_y.y
parentf5ece9304c6f778f8888860b50d431dca147074c (diff)
downloadfetchmail-a12da4ee65e0d140bbbcb811eef1cba93785ce35.tar.gz
fetchmail-a12da4ee65e0d140bbbcb811eef1cba93785ce35.tar.bz2
fetchmail-a12da4ee65e0d140bbbcb811eef1cba93785ce35.zip
_( -> GT_(
svn path=/trunk/; revision=3478
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y22
1 files changed, 11 insertions, 11 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 523be003..7af94c63 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -117,7 +117,7 @@ statement : SET LOGFILE optmap STRING {run.logfile = xstrdup($4);}
/* detect and complain about the most common user error */
| define_server serverspecs userspecs serv_option
- {yyerror(_("server option after user options"));}
+ {yyerror(GT_("server option after user options"));}
;
define_server : POLL STRING {reset_server($2, FALSE);}
@@ -162,7 +162,7 @@ serv_option : AKA alias_list
current.server.protocol = P_POP3;
current.server.sdps = TRUE;
#else
- yyerror(_("SDPS not enabled."));
+ yyerror(GT_("SDPS not enabled."));
#endif /* SDPS_ENABLE */
}
| UIDL {current.server.uidl = FLAG_TRUE;}
@@ -210,27 +210,27 @@ serv_option : AKA alias_list
int requestlen;
if (net_security_strtorequest($2, &request, &requestlen))
- yyerror(_("invalid security request"));
+ yyerror(GT_("invalid security request"));
else {
current.server.netsec = xstrdup($2);
free(request);
}
#else
- yyerror(_("network-security support disabled"));
+ yyerror(GT_("network-security support disabled"));
#endif /* NET_SECURITY */
}
| INTERFACE STRING {
#if (defined(linux) && !defined(INET6_ENABLE)) || defined(__FreeBSD__)
interface_parse($2, &current.server);
#else /* (defined(linux) && !defined(INET6_ENABLE)) || defined(__FreeBSD__) */
- fprintf(stderr, _("fetchmail: interface option is only supported under Linux (without IPv6) and FreeBSD\n"));
+ fprintf(stderr, GT_("fetchmail: interface option is only supported under Linux (without IPv6) and FreeBSD\n"));
#endif /* (defined(linux) && !defined(INET6_ENABLE)) || defined(__FreeBSD__) */
}
| MONITOR STRING {
#if (defined(linux) && !defined(INET6_ENABLE)) || defined(__FreeBSD__)
current.server.monitor = xstrdup($2);
#else /* (defined(linux) && !defined(INET6_ENABLE)) || defined(__FreeBSD__) */
- fprintf(stderr, _("fetchmail: monitor option is only supported under Linux (without IPv6) and FreeBSD\n"));
+ fprintf(stderr, GT_("fetchmail: monitor option is only supported under Linux (without IPv6) and FreeBSD\n"));
#endif /* (defined(linux) && !defined(INET6_ENABLE) || defined(__FreeBSD__)) */
}
| PLUGIN STRING { current.server.plugin = xstrdup($2); }
@@ -381,8 +381,8 @@ static struct query *hosttail; /* where to add new elements */
void yyerror (const char *s)
/* report a syntax error */
{
- report_at_line(stderr, 0, rcfile, prc_lineno, _("%s at %s"), s,
- (yytext && yytext[0]) ? yytext : _("end of input"));
+ report_at_line(stderr, 0, rcfile, prc_lineno, GT_("%s at %s"), s,
+ (yytext && yytext[0]) ? yytext : GT_("end of input"));
prc_errflag++;
}
@@ -419,14 +419,14 @@ int prc_filecheck(const char *pathname, const flag securecheck)
if ((statbuf.st_mode & S_IFLNK) == S_IFLNK)
{
- fprintf(stderr, _("File %s must not be a symbolic link.\n"), pathname);
+ fprintf(stderr, GT_("File %s must not be a symbolic link.\n"), pathname);
return(PS_IOERR);
}
#ifndef __BEOS__
if (statbuf.st_mode & ~(S_IFREG | S_IREAD | S_IWRITE | S_IEXEC | S_IXGRP))
{
- fprintf(stderr, _("File %s must have no more than -rwx--x--- (0710) permissions.\n"),
+ fprintf(stderr, GT_("File %s must have no more than -rwx--x--- (0710) permissions.\n"),
pathname);
return(PS_IOERR);
}
@@ -438,7 +438,7 @@ int prc_filecheck(const char *pathname, const flag securecheck)
if (statbuf.st_uid != getuid())
#endif /* HAVE_GETEUID */
{
- fprintf(stderr, _("File %s must be owned by you.\n"), pathname);
+ fprintf(stderr, GT_("File %s must be owned by you.\n"), pathname);
return(PS_IOERR);
}
#endif