diff options
-rw-r--r-- | compose.c | 4 | ||||
-rw-r--r-- | mutt.h | 1 | ||||
-rw-r--r-- | recvattach.c | 4 |
3 files changed, 6 insertions, 3 deletions
@@ -37,7 +37,9 @@ #include <unistd.h> #include <stdlib.h> -#define CHECK_COUNT if (idxlen == 0) { mutt_error _("There are no attachments."); break; } +static const char* There_are_no_attachments = N_("There are no attachments."); + +#define CHECK_COUNT if (idxlen == 0) { mutt_error _(There_are_no_attachments); break; } @@ -646,7 +646,6 @@ typedef struct unsigned int readonly : 1; /* don't allow changes to the mailbox */ unsigned int dontwrite : 1; /* dont write the mailbox on close */ unsigned int append : 1; /* mailbox is opened in append mode */ - unsigned int setgid : 1; unsigned int quiet : 1; /* inhibit status messages? */ unsigned int revsort : 1; /* mailbox sorted in reverse? */ unsigned int collapsed : 1; /* are all threads collapsed? */ diff --git a/recvattach.c b/recvattach.c index ed60b777..120e050d 100644 --- a/recvattach.c +++ b/recvattach.c @@ -945,10 +945,12 @@ mutt_attach_display_loop (MUTTMENU *menu, int op, FILE *fp, ATTACHPTR **idx) } +static const char *Function_not_permitted = N_("Function not permitted in attach-message mode."); + #define CHECK_ATTACH if(option(OPTATTACHMSG)) \ {\ mutt_flushinp (); \ - mutt_error ("Function not permitted in attach-message mode."); \ + mutt_error _(Function_not_permitted); \ break; \ } |