From 8619a1cb3b5a4b84b365571b711cf792e12ab620 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 25 Aug 2009 10:31:59 +0300 Subject: Change error messages to comply with the GNU standards. The string MESSAGE should not begin with a capital letter when it follows a program name and/or file name, because that isn't the beginning of a sentence. (The sentence conceptually starts at the beginning of the line.) Also, it should not end with a period. * include/mailutils/diag.h (mu_diag_funcall): New prototype. * mailbox/diag.c: New function. * comsat/action.c, comsat/comsat.c, comsat/oldcfg.c, config/mailutils-config.c, configure.ac, dotlock/dotlock.c, frm/common.c, frm/from.c, guimb/collect.c, guimb/main.c, guimb/util.c, imap4d/auth_gsasl.c, imap4d/auth_gss.c, imap4d/bye.c, imap4d/close.c, imap4d/imap4d.c, imap4d/login.c, imap4d/preauth.c, imap4d/signal.c, imap4d/starttls.c, imap4d/util.c, lib/mailcap.c, lib/tcpwrap.c, libmu_argp/mu_argp.c, libmu_auth/ldap.c, libmu_auth/radius.c, libmu_auth/sql.c, libmu_auth/tls.c, libmu_cfg/acl.c, libmu_cfg/common.c, libmu_cfg/init.c, libmu_cfg/ldap.c, libmu_cfg/sql.c, libmu_sieve/actions.c, libmu_sieve/comparator.c, libmu_sieve/extensions/moderator.c, libmu_sieve/prog.c, libmu_sieve/sieve.l, libproto/imap/folder.c, libproto/mbox/mbox.c, maidag/deliver.c, maidag/lmtp.c, maidag/maidag.c, maidag/mailquota.c, maidag/mailtmp.c, maidag/script.c, mail/alias.c, mail/cd.c, mailbox/cfg_lexer.l, mailbox/cfg_parser.y, mailbox/file_stream.c, mailbox/gocs.c, mailbox/msrv.c, mailbox/mutil.c, mailbox/registrar.c, messages/messages.c, mh/folder.c, mh/forw.c, mh/inc.c, mh/mark.c, mh/mh_ctx.c, mh/mh_fmtgram.y, mh/mh_format.c, mh/mh_init.c, mh/mh_list.c, mh/mh_msgset.c, mh/mh_whatnow.c, mh/mh_whom.c, mh/mhl.c, mh/mhn.c, mh/pick.c, mh/refile.c, mh/repl.c, mh/rmf.c, mh/scan.c, mh/send.c, mimeview/mimetypes.l, mimeview/mimeview.c, movemail/movemail.c, pop3d/apop.c, pop3d/bulletin.c, pop3d/extra.c, pop3d/lock.c, pop3d/logindelay.c, pop3d/pop3d.c, pop3d/popauth.c, pop3d/quit.c, pop3d/signal.c, pop3d/user.c, readmsg/readmsg.c, sieve/sieve.c: Fix error messages. --- mh/repl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mh/repl.c') diff --git a/mh/repl.c b/mh/repl.c index 52d3ec872..c97268465 100644 --- a/mh/repl.c +++ b/mh/repl.c @@ -1,6 +1,6 @@ /* GNU Mailutils -- a suite of utilities for electronic mail Copyright (C) 2002, 2003, 2005, 2006, 2007, - 2008 Free Software Foundation, Inc. + 2008, 2009 Free Software Foundation, Inc. GNU Mailutils is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -213,7 +213,7 @@ opt_handler (int key, char *arg, void *unused, struct argp_state *state) width = strtoul (arg, NULL, 0); if (!width) { - argp_error (state, _("Invalid width")); + argp_error (state, _("invalid width")); exit (1); } break; @@ -314,7 +314,7 @@ make_draft (mu_mailbox_t mbox, int disp, struct mh_whatnow_env *wh) rc = mu_mailbox_get_message (mbox, msgset.list[0], &msg); if (rc) { - mu_error (_("Cannot read message %s: %s"), + mu_error (_("cannot read message %s: %s"), mu_umaxtostr (0, msgset.list[0]), mu_strerror (rc)); exit (1); @@ -335,14 +335,14 @@ make_draft (mu_mailbox_t mbox, int disp, struct mh_whatnow_env *wh) MU_STREAM_WRITE|MU_STREAM_CREAT); if (rc) { - mu_error (_("Cannot create draft file stream %s: %s"), + mu_error (_("cannot create draft file stream %s: %s"), wh->file, mu_strerror (rc)); exit (1); } if ((rc = mu_stream_open (str))) { - mu_error (_("Cannot open draft file %s: %s"), + mu_error (_("cannot open draft file %s: %s"), wh->file, mu_strerror (rc)); exit (1); } -- cgit v1.2.1