#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; }
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? */
}
+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; \
}