On 13:40 Fri 18 Nov, Vincent Lefevre wrote:
> In compress.c:
> 
>     mutt_error (_(" %s: Error compressing mailbox!  Uncompressed one 
> kept!\n"), ctx->path);
> 
> Is the space before the %s there on purpose?
> 
> It is the only mutt_error instance for which the message starts
> with a space.
> 
> Moreover, sometimes "Can't" is used, sometimes "Cannot":
> 
> cventin:~/software/mutt/mutt> grep 'mutt_error.*Can' **/*.c
> attach.c:      mutt_error _("MIME type not defined.  Cannot view 
> attachment.");
> attach.c:       mutt_error _("Cannot create filter");
> browser.c:    mutt_error _("Can't attach a directory!");
> browser.c:          mutt_error _("Cannot delete root folder");
> browser.c:        mutt_error _("Can't view a directory");
> commands.c:      mutt_error (_("Cannot create display filter"));
> compose.c:          mutt_error (_("Can't stat %s: %s"), fname, strerror 
> (errno));
> compose.c:          mutt_error (_("Can't create file %s"), fname);
> compress.c:    mutt_error (_("Can't identify the contents of the compressed 
> file"));
> compress.c:    mutt_error (_("Can't find mailbox ops for mailbox type %d"), 
> ctx->magic);
> compress.c:    mutt_error (_("Cannot append without an append-hook or 
> close-hook : %s"), ctx->path);
> compress.c:    mutt_error (_("Can't find mailbox ops for mailbox type %d"), 
> ctx->magic);
> compress.c:  mutt_error (_("Cannot append without an append-hook or 
> close-hook : %s"), ctx->path);
> compress.c:    mutt_error (_("Can't sync a compressed file without a 
> close-hook"));
> curs_main.c:    mutt_error _("Cannot toggle write on a readonly mailbox!");
> editmsg.c:    mutt_error (_("Can't stat %s: %s"), tmp, strerror (errno));
> editmsg.c:    mutt_error (_("Can't stat %s: %s"), tmp, strerror (errno));
> editmsg.c:    mutt_error (_("Can't open message file: %s"), strerror (errno));
> editmsg.c:    mutt_error (_("Can't append to folder: %s"), strerror (errno));
> editmsg.c:    mutt_error (_("Can't append to folder: %s"), strerror (errno));
> imap/browse.c:    mutt_error _("Cannot rename root folder");
> main.c:   mutt_error ( _("Can't create %s: %s."), Maildir, strerror (errno));
> muttlib.c:    mutt_error _("Can't save message to POP mailbox.");
> mx.c:      mutt_error ( _("Can't dotlock %s.\n"), path);
> mx.c:    mutt_error _("Can't open trash folder");
> pop.c:      mutt_error _("Can't write header to temporary file!");
> pop.c:      mutt_error _("Can't write message to temporary file!");
> recvattach.c:      mutt_error _("Can't decrypt encrypted message!");
> recvattach.c:     mutt_error _("Can't delete attachment from POP server.");
> recvcmd.c:    mutt_error (_("Can't open temporary file %s."), tmpbody);
> recvcmd.c:      mutt_error (_("Can't create %s."), tmpbody);
> recvcmd.c:    mutt_error _("Can't find any tagged messages.");
> recvcmd.c:    mutt_error (_("Can't create %s."), tmpbody);
> remailer.c:    mutt_error _("Can't get mixmaster's type2.list!");
> sendlib.c:    mutt_error (_("Can't stat %s: %s"), fname, strerror (errno));
> smime.c:    mutt_error _("Can't sign: No key specified. Use Sign As.");
> 
> There should be an error style guide, like:
>   https://www.postgresql.org/docs/9.2/static/error-style-guide.html

Also pgp menu entries start with lowercase letter!

Reply via email to