Commit df5021f7 df5021f777480ec9fe8908be1f239ddf037bff8a by Sergey Poznyakoff

Further unification of diagnostic style

1 parent 206e1de7
...@@ -418,7 +418,7 @@ sieve_action_redirect (sieve_machine_t mach, list_t args, list_t tags) ...@@ -418,7 +418,7 @@ sieve_action_redirect (sieve_machine_t mach, list_t args, list_t tags)
418 sieve_error (mach, 418 sieve_error (mach,
419 /* TRANSLATORS: 'redirect' is the name of a Sieve action. 419 /* TRANSLATORS: 'redirect' is the name of a Sieve action.
420 Do not translate it! */ 420 Do not translate it! */
421 _("%d: redirect - cannot create from address <%s>: %s\n"), 421 _("%d: redirect - cannot create sender address <%s>: %s\n"),
422 sieve_get_message_num (mach), 422 sieve_get_message_num (mach),
423 fromaddr, mu_strerror (rc)); 423 fromaddr, mu_strerror (rc));
424 free (fromaddr); 424 free (fromaddr);
......
...@@ -31,9 +31,9 @@ static error_t sieve_argp_parser __P((int key, char *arg, ...@@ -31,9 +31,9 @@ static error_t sieve_argp_parser __P((int key, char *arg,
31 /* Options used by programs that use extended authentication mechanisms. */ 31 /* Options used by programs that use extended authentication mechanisms. */
32 static struct argp_option sieve_argp_option[] = { 32 static struct argp_option sieve_argp_option[] = {
33 { "includedir", 'I', N_("DIR"), 0, 33 { "includedir", 'I', N_("DIR"), 0,
34 "Append directory DIR to the list of directories searched for include files", 0 }, 34 _("Append directory DIR to the list of directories searched for include files"), 0 },
35 { "libdir", 'L', N_("DIR"), 0, 35 { "libdir", 'L', N_("DIR"), 0,
36 "Append directory DIR to the list of directories searched for library files", 0 }, 36 _("Append directory DIR to the list of directories searched for library files"), 0 },
37 { NULL, 0, NULL, 0, NULL, 0 } 37 { NULL, 0, NULL, 0, NULL, 0 }
38 }; 38 };
39 39
......
...@@ -104,7 +104,9 @@ dbm_retrieve_quota (char *name, size_t *quota) ...@@ -104,7 +104,9 @@ dbm_retrieve_quota (char *name, size_t *quota)
104 unlimited = 1; 104 unlimited = 1;
105 else if (MU_DATUM_SIZE (contentd) > sizeof(buffer)-1) 105 else if (MU_DATUM_SIZE (contentd) > sizeof(buffer)-1)
106 { 106 {
107 mu_error (_("Mailbox quota for `%s' is too big: %d digits"), 107 mu_error (ngettext ("Mailbox quota for `%s' is too big: %d digit",
108 "Mailbox quota for `%s' is too big: %d digits",
109 MU_DATUM_SIZE (contentd)),
108 name, MU_DATUM_SIZE (contentd)); 110 name, MU_DATUM_SIZE (contentd));
109 *quota = groupquota; 111 *quota = groupquota;
110 } 112 }
......
...@@ -46,7 +46,7 @@ static struct argp_option options[] = { ...@@ -46,7 +46,7 @@ static struct argp_option options[] = {
46 {"to", 't', 0, 0, N_("Precede message by a list of addresses"), 0}, 46 {"to", 't', 0, 0, N_("Precede message by a list of addresses"), 0},
47 {"user", 'u', N_("USER"), 0, N_("Operate on USER's mailbox"), 0}, 47 {"user", 'u', N_("USER"), 0, N_("Operate on USER's mailbox"), 0},
48 {"append", 'a', N_("HEADER: VALUE"), 0, 48 {"append", 'a', N_("HEADER: VALUE"), 0,
49 N_("Append given header to the message being sent."), 0}, 49 N_("Append given header to the message being sent"), 0},
50 { NULL, 0, NULL, 0, NULL, 0 } 50 { NULL, 0, NULL, 0, NULL, 0 }
51 }; 51 };
52 52
......
...@@ -80,7 +80,7 @@ static struct argp_option mu_mailbox_argp_option[] = { ...@@ -80,7 +80,7 @@ static struct argp_option mu_mailbox_argp_option[] = {
80 {"lock-expire-timeout", ARG_LOCK_EXPIRE_TIMEOUT, N_("SECONDS"), 0, 80 {"lock-expire-timeout", ARG_LOCK_EXPIRE_TIMEOUT, N_("SECONDS"), 0,
81 N_("Number of seconds after which the lock expires"), }, 81 N_("Number of seconds after which the lock expires"), },
82 {"external-locker", ARG_LOCK_EXTERNAL_PROGRAM, N_("PATH"), 0, 82 {"external-locker", ARG_LOCK_EXTERNAL_PROGRAM, N_("PATH"), 0,
83 N_("Set full path to the external locker program.") }, 83 N_("Set full path to the external locker program") },
84 { NULL, 0, NULL, 0, NULL, 0 } 84 { NULL, 0, NULL, 0, NULL, 0 }
85 }; 85 };
86 86
......
...@@ -32,7 +32,7 @@ static struct argp_option options[] = { ...@@ -32,7 +32,7 @@ static struct argp_option options[] = {
32 {"annotate", ARG_ANNOTATE, N_("BOOL"), OPTION_ARG_OPTIONAL, 32 {"annotate", ARG_ANNOTATE, N_("BOOL"), OPTION_ARG_OPTIONAL,
33 N_("* Add Replied: header to the message being replied to")}, 33 N_("* Add Replied: header to the message being replied to")},
34 {"build", ARG_BUILD, 0, 0, 34 {"build", ARG_BUILD, 0, 0,
35 N_("Build the draft and quit immediately.")}, 35 N_("Build the draft and quit immediately")},
36 {"draftfolder", ARG_DRAFTFOLDER, N_("FOLDER"), 0, 36 {"draftfolder", ARG_DRAFTFOLDER, N_("FOLDER"), 0,
37 N_("Specify the folder for message drafts")}, 37 N_("Specify the folder for message drafts")},
38 {"nodraftfolder", ARG_NODRAFTFOLDER, 0, 0, 38 {"nodraftfolder", ARG_NODRAFTFOLDER, 0, 0,
...@@ -65,7 +65,7 @@ static struct argp_option options[] = { ...@@ -65,7 +65,7 @@ static struct argp_option options[] = {
65 {"whatnowproc", ARG_WHATNOWPROC, N_("PROG"), 0, 65 {"whatnowproc", ARG_WHATNOWPROC, N_("PROG"), 0,
66 N_("* Set the replacement for whatnow program")}, 66 N_("* Set the replacement for whatnow program")},
67 {"nowhatnowproc", ARG_NOWHATNOWPROC, NULL, 0, 67 {"nowhatnowproc", ARG_NOWHATNOWPROC, NULL, 0,
68 N_("* Ignore whatnowproc variable. Use standard `whatnow' shell instead.")}, 68 N_("* Ignore whatnowproc variable. Use standard `whatnow' shell instead")},
69 {"use", ARG_USE, N_("BOOL"), OPTION_ARG_OPTIONAL, 69 {"use", ARG_USE, N_("BOOL"), OPTION_ARG_OPTIONAL,
70 N_("Use draft file preserved after the last session") }, 70 N_("Use draft file preserved after the last session") },
71 {"nouse", ARG_NOUSE, N_("BOOL"), OPTION_HIDDEN, "" }, 71 {"nouse", ARG_NOUSE, N_("BOOL"), OPTION_HIDDEN, "" },
......
...@@ -44,7 +44,7 @@ static struct argp_option options[] = { ...@@ -44,7 +44,7 @@ static struct argp_option options[] = {
44 {"preserve", ARG_PRESERVE, N_("BOOL"), OPTION_ARG_OPTIONAL, 44 {"preserve", ARG_PRESERVE, N_("BOOL"), OPTION_ARG_OPTIONAL,
45 N_("* Try to preserve message sequence numbers")}, 45 N_("* Try to preserve message sequence numbers")},
46 {"source", ARG_SOURCE, N_("FOLDER"), 0, 46 {"source", ARG_SOURCE, N_("FOLDER"), 0,
47 N_("Specify source folder. FOLDER will become the current folder after the program exits.")}, 47 N_("Specify source folder. FOLDER will become the current folder after the program exits")},
48 {"src", 0, NULL, OPTION_ALIAS, NULL}, 48 {"src", 0, NULL, OPTION_ALIAS, NULL},
49 {"file", ARG_FILE, N_("FILE"), 0, N_("Use FILE as the source message")}, 49 {"file", ARG_FILE, N_("FILE"), 0, N_("Use FILE as the source message")},
50 {"license", ARG_LICENSE, 0, 0, 50 {"license", ARG_LICENSE, 0, 0,
......
...@@ -51,12 +51,12 @@ static struct argp_option options[] = { ...@@ -51,12 +51,12 @@ static struct argp_option options[] = {
51 N_("Construct a group or followup reply") }, 51 N_("Construct a group or followup reply") },
52 {"editor", ARG_EDITOR, N_("PROG"), 0, N_("Set the editor program to use")}, 52 {"editor", ARG_EDITOR, N_("PROG"), 0, N_("Set the editor program to use")},
53 {"noedit", ARG_NOEDIT, 0, 0, N_("Suppress the initial edit")}, 53 {"noedit", ARG_NOEDIT, 0, 0, N_("Suppress the initial edit")},
54 {"fcc", ARG_FCC, N_("FOLDER"), 0, N_("* Set the folder to receive Fcc's.")}, 54 {"fcc", ARG_FCC, N_("FOLDER"), 0, N_("* Set the folder to receive Fcc's")},
55 {"filter", ARG_FILTER, N_("MHL-FILTER"), 0, 55 {"filter", ARG_FILTER, N_("MHL-FILTER"), 0,
56 N_("Set the mhl filter to preprocess the body of the message being replied")}, 56 N_("Set the mhl filter to preprocess the body of the message being replied")},
57 {"form", ARG_FORM, N_("FILE"), 0, N_("Read format from given file")}, 57 {"form", ARG_FORM, N_("FILE"), 0, N_("Read format from given file")},
58 {"format", ARG_FORMAT, N_("BOOL"), OPTION_ARG_OPTIONAL, 58 {"format", ARG_FORMAT, N_("BOOL"), OPTION_ARG_OPTIONAL,
59 N_("Include a copy of the message being replied. The message will be processed using either the default filter \"mhl.reply\", or the filter specified by --filter option.") }, 59 N_("Include a copy of the message being replied. The message will be processed using either the default filter \"mhl.reply\", or the filter specified by --filter option") },
60 {"inplace", ARG_INPLACE, N_("BOOL"), OPTION_ARG_OPTIONAL, 60 {"inplace", ARG_INPLACE, N_("BOOL"), OPTION_ARG_OPTIONAL,
61 N_("* Annotate the message in place")}, 61 N_("* Annotate the message in place")},
62 {"query", ARG_QUERY, N_("BOOL"), OPTION_ARG_OPTIONAL, 62 {"query", ARG_QUERY, N_("BOOL"), OPTION_ARG_OPTIONAL,
......
...@@ -52,7 +52,7 @@ static struct argp_option options[] = { ...@@ -52,7 +52,7 @@ static struct argp_option options[] = {
52 N_("* Reformat To: and Cc: addresses") }, 52 N_("* Reformat To: and Cc: addresses") },
53 {"noformat", ARG_NOFORMAT, NULL, OPTION_HIDDEN, "" }, 53 {"noformat", ARG_NOFORMAT, NULL, OPTION_HIDDEN, "" },
54 {"forward", ARG_FORWARD, N_("BOOL"), OPTION_ARG_OPTIONAL, 54 {"forward", ARG_FORWARD, N_("BOOL"), OPTION_ARG_OPTIONAL,
55 N_("* In case of failure forward the draft along with the failure notice to the sender.") }, 55 N_("* In case of failure forward the draft along with the failure notice to the sender") },
56 {"noforward", ARG_NOFORWARD, NULL, OPTION_HIDDEN, "" }, 56 {"noforward", ARG_NOFORWARD, NULL, OPTION_HIDDEN, "" },
57 {"mime", ARG_MIME, N_("BOOL"), OPTION_ARG_OPTIONAL, 57 {"mime", ARG_MIME, N_("BOOL"), OPTION_ARG_OPTIONAL,
58 N_("* Use MIME encapsulation") }, 58 N_("* Use MIME encapsulation") },
......
...@@ -53,7 +53,7 @@ N_("GNU sieve -- a mail filtering tool\n\ ...@@ -53,7 +53,7 @@ N_("GNU sieve -- a mail filtering tool\n\
53 \v\ 53 \v\
54 Debug flags:\n\ 54 Debug flags:\n\
55 g - main parser traces\n\ 55 g - main parser traces\n\
56 T - mailutil traces (MU_DEBUG_TRACE)\n\ 56 T - mailutils traces (MU_DEBUG_TRACE)\n\
57 P - network protocols (MU_DEBUG_PROT)\n\ 57 P - network protocols (MU_DEBUG_PROT)\n\
58 t - sieve trace (MU_SIEVE_DEBUG_TRACE)\n\ 58 t - sieve trace (MU_SIEVE_DEBUG_TRACE)\n\
59 i - sieve instructions trace (MU_SIEVE_DEBUG_INSTR)\n"); 59 i - sieve instructions trace (MU_SIEVE_DEBUG_INSTR)\n");
......