summaryrefslogtreecommitdiff
path: root/comsat/cfg.c
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2002-12-23 22:01:35 +0000
committerWojciech Polak <polak@gnu.org>2002-12-23 22:01:35 +0000
commite7e50f768f6cb99795f2252255d6b92154481804 (patch)
tree8bef15dd01a015c63d61b889e433929263ad3eab /comsat/cfg.c
parent348d388ccab203b02a6e058732d66081f7c2d483 (diff)
downloadmailutils-e7e50f768f6cb99795f2252255d6b92154481804.tar.gz
mailutils-e7e50f768f6cb99795f2252255d6b92154481804.tar.bz2
Added initial NLS support
Diffstat (limited to 'comsat/cfg.c')
-rw-r--r--comsat/cfg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/comsat/cfg.c b/comsat/cfg.c
index ea97d9e90..b78e23d19 100644
--- a/comsat/cfg.c
+++ b/comsat/cfg.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU Inetutils.
@@ -111,7 +111,7 @@ netdef_parse (char *str)
netdef = malloc (sizeof *netdef);
if (!netdef)
{
- syslog (LOG_ERR, "out of memory");
+ syslog (LOG_ERR, _("out of memory"));
exit (1);
}
@@ -136,7 +136,7 @@ read_config (const char *config_file)
fp = fopen (config_file, "r");
if (!fp)
{
- syslog (LOG_ERR, "can't open config file %s: %m", config_file);
+ syslog (LOG_ERR, _("can't open config file %s: %m"), config_file);
return;
}
@@ -163,7 +163,7 @@ read_config (const char *config_file)
argcv_get (ptr, "", NULL, &argc, &argv);
if (argc < 2)
{
- syslog (LOG_ERR, "%s:%d: too few fields", config_file, line);
+ syslog (LOG_ERR, _("%s:%d: too few fields"), config_file, line);
argcv_free (argc, argv);
continue;
}
@@ -175,7 +175,7 @@ read_config (const char *config_file)
else if (strcmp (argv[1], "no") == 0)
allow_biffrc = 0;
else
- syslog (LOG_ERR, "%s:%d: yes or no expected", config_file, line);
+ syslog (LOG_ERR, _("%s:%d: yes or no expected"), config_file, line);
}
else if (strcmp (argv[0], "max-requests") == 0)
maxrequests = strtoul (argv[1], NULL, 0);
@@ -195,7 +195,7 @@ read_config (const char *config_file)
action = ACT_DENY;
else
{
- syslog (LOG_ERR, "%s:%d: unknown keyword", config_file, line);
+ syslog (LOG_ERR, _("%s:%d: unknown keyword"), config_file, line);
argcv_free (argc, argv);
continue;
}
@@ -206,7 +206,7 @@ read_config (const char *config_file)
netdef_t *cur = netdef_parse (argv[i]);
if (!cur)
{
- syslog (LOG_ERR, "%s:%d: can't parse netdef: %s",
+ syslog (LOG_ERR, _("%s:%d: can't parse netdef: %s"),
config_file, line, argv[i]);
continue;
}
@@ -222,7 +222,7 @@ read_config (const char *config_file)
acl = malloc (sizeof *acl);
if (!acl)
{
- syslog (LOG_CRIT, "out of memory");
+ syslog (LOG_CRIT, _("out of memory"));
exit (1);
}
acl->next = NULL;

Return to:

Send suggestions and report system problems to the System administrator.