Commit 0386f3ca 0386f3ca8c159363bd8c862e79b35ec776dd5aa8 by Sergey Poznyakoff

(regex_comparator): Fix error diagnostics

1 parent 1032b772
...@@ -202,7 +202,7 @@ regex_comparator (void *item, void *data) ...@@ -202,7 +202,7 @@ regex_comparator (void *item, void *data)
202 REG_EXTENDED | REG_NOSUB | REG_NEWLINE | REG_ICASE)) 202 REG_EXTENDED | REG_NOSUB | REG_NEWLINE | REG_ICASE))
203 { 203 {
204 mu_sieve_error (d->mach, 204 mu_sieve_error (d->mach,
205 _("%d: cannot compile regular expression \"%s\"\n"), 205 _("%d: cannot compile regular expression \"%s\""),
206 mu_sieve_get_message_num (d->mach), 206 mu_sieve_get_message_num (d->mach),
207 item); 207 item);
208 return 0; 208 return 0;
...@@ -434,6 +434,8 @@ vacation_subject (mu_sieve_machine_t mach, mu_list_t tags, ...@@ -434,6 +434,8 @@ vacation_subject (mu_sieve_machine_t mach, mu_list_t tags,
434 if (rc) 434 if (rc)
435 { 435 {
436 mu_sieve_error (mach, 436 mu_sieve_error (mach,
437 /* TRANSLATORS: 'vacation' is the name of the
438 Sieve action. Do not translate it! */
437 _("%d: vacation - cannot compile reply prefix regexp: %s: %s"), 439 _("%d: vacation - cannot compile reply prefix regexp: %s: %s"),
438 mu_sieve_get_message_num (mach), 440 mu_sieve_get_message_num (mach),
439 mu_strerror (rc), 441 mu_strerror (rc),
......