aboutsummaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-02-23 10:03:37 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-02-23 10:03:37 +0200
commit337a06f32fb530e0e0884fef2f5f630cca9911a1 (patch)
treed0687ccd3e9ff527d9c5613fd052cbe0f79bb40a /src/process.c
parent7543ff5973d1afe75b0f4226a3a02cc8d375ad3e (diff)
downloadwydawca-337a06f32fb530e0e0884fef2f5f630cca9911a1.tar.gz
wydawca-337a06f32fb530e0e0884fef2f5f630cca9911a1.tar.bz2
Add missing i18n markers
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/process.c b/src/process.c
index 57a12e7..0d2bf5e 100644
--- a/src/process.c
+++ b/src/process.c
@@ -114,7 +114,7 @@ scan_spool (struct spool *spool)
if (chdir (spool->source_dir))
{
- logmsg (LOG_ERR, "cannot chdir to %s: %s", spool->source_dir,
+ logmsg (LOG_ERR, _("cannot chdir to %s: %s"), spool->source_dir,
strerror (errno));
return;
}
@@ -122,7 +122,7 @@ scan_spool (struct spool *spool)
dir = opendir (".");
if (!dir)
{
- logmsg (LOG_ERR, "cannot open directory %s: %s", spool->source_dir,
+ logmsg (LOG_ERR, _("cannot open directory %s: %s"), spool->source_dir,
strerror (errno));
return;
}
@@ -139,7 +139,7 @@ scan_spool (struct spool *spool)
if (stat (ent->d_name, &st))
{
- logmsg (LOG_ERR, "cannot stat file %s/%s: %s",
+ logmsg (LOG_ERR, _("cannot stat file %s/%s: %s"),
spool->source_dir, ent->d_name,
strerror (errno));
continue;
@@ -147,7 +147,7 @@ scan_spool (struct spool *spool)
if (!S_ISREG (st.st_mode))
{
- logmsg (LOG_NOTICE, "not a regular file: %s/%s",
+ logmsg (LOG_NOTICE, _("not a regular file: %s/%s"),
spool->source_dir, ent->d_name);
continue;
}
@@ -155,7 +155,7 @@ scan_spool (struct spool *spool)
if (!match_uid_p (st.st_uid))
{
if (debug_level)
- logmsg (LOG_DEBUG, "ignoring file: %s/%s",
+ logmsg (LOG_DEBUG, _("ignoring file: %s/%s"),
spool->source_dir, ent->d_name);
continue;
}
@@ -164,12 +164,8 @@ scan_spool (struct spool *spool)
parse_file_name (ent->d_name, &finfo);
if (debug_level)
- {
- const char *s = file_type_str (finfo.type);
- logmsg (LOG_DEBUG, "file %s is %s %s, root %.*s", ent->d_name,
- strchr ("aeiou", s[0]) ? "an" : "a", s,
- finfo.root_len, finfo.name);
- }
+ logmsg (LOG_DEBUG, _("file %s: %s, root %.*s"), ent->d_name,
+ file_type_str (finfo.type), finfo.root_len, finfo.name);
register_file (&finfo);
}
@@ -184,7 +180,7 @@ scan_spool (struct spool *spool)
{
if (method_init (spool->access_method[i]))
{
- logmsg (LOG_ERR, "failed to initialize access method %d", i);
+ logmsg (LOG_ERR, _("failed to initialize access method %d"), i);
return;
}
}

Return to:

Send suggestions and report system problems to the System administrator.