summaryrefslogtreecommitdiff
path: root/guimb/collect.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-01-04 17:16:42 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-01-04 17:16:42 +0000
commitd56fde2d16113fa30b68379d40c4087cf2fd84e5 (patch)
tree1a1d1a4d5c84342ba9dd05026f6e22dc7a869602 /guimb/collect.c
parentbd178bb676dcbb88aacd25293ebb7c098be98a31 (diff)
downloadmailutils-d56fde2d16113fa30b68379d40c4087cf2fd84e5.tar.gz
mailutils-d56fde2d16113fa30b68379d40c4087cf2fd84e5.tar.bz2
Revise error messages for accordance with GNU standards:
begin messages with a capital letter, unless they are prefixed with `file:line:' or their exact look is important due to compatibility reasons. Do not end messages with a period. Avoid using contracted negations.
Diffstat (limited to 'guimb/collect.c')
-rw-r--r--guimb/collect.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/guimb/collect.c b/guimb/collect.c
index 6b63ff790..7bf1ae8b9 100644
--- a/guimb/collect.c
+++ b/guimb/collect.c
@@ -31,14 +31,14 @@ collect_open_default ()
asprintf (&default_mailbox, "%s%s", mu_path_maildir, user_name);
if (!default_mailbox)
{
- util_error (_("not enough memory"));
+ util_error (_("Not enough memory"));
exit (1);
}
}
if (mailbox_create (&mbox, default_mailbox) != 0
|| mailbox_open (mbox, MU_STREAM_RDWR) != 0)
{
- util_error (_("can't open default mailbox %s: %s"),
+ util_error (_("Cannot open default mailbox %s: %s"),
default_mailbox, mu_strerror (errno));
exit (1);
}
@@ -82,7 +82,7 @@ collect_append_file (char *name)
fp = fopen (name, "r");
if (!fp)
{
- util_error (_("can't open input file %s: %s"), name, strerror (errno));
+ util_error (_("Cannot open input file %s: %s"), name, strerror (errno));
return -1;
}
}
@@ -110,7 +110,7 @@ collect_create_mailbox ()
if (mailbox_create (&mbox, temp_filename) != 0
|| mailbox_open (mbox, MU_STREAM_READ) != 0)
{
- util_error (_("can't create temp mailbox %s: %s"),
+ util_error (_("Cannot create temp mailbox %s: %s"),
temp_filename, strerror (errno));
unlink (temp_filename);
exit (1);
@@ -121,7 +121,7 @@ collect_create_mailbox ()
if (nmesg == 0)
{
- util_error (_("input format not recognized"));
+ util_error (_("Input format not recognized"));
exit (1);
}
}
@@ -146,7 +146,7 @@ collect_output ()
|| mailbox_open (outbox, MU_STREAM_RDWR|MU_STREAM_CREAT) != 0)
{
mailbox_destroy (&outbox);
- fprintf (stderr, _("guimb: can't open output mailbox %s: %s\n"),
+ fprintf (stderr, _("Cannot open output mailbox %s: %s\n"),
default_mailbox, strerror (errno));
return 1;
}

Return to:

Send suggestions and report system problems to the System administrator.