diff options
Diffstat (limited to 'src/mail.c')
-rw-r--r-- | src/mail.c | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -106,3 +106,6 @@ mail_finish () if (mailer_opened) - mu_mailer_close (mailer); + { + mu_mailer_close (mailer); + mailer_opened = 0; + } } @@ -271,3 +274,3 @@ get_recipient (struct access_method *method, struct file_triplet *trp, { - *errp = "access method is not configured"; + *errp = N_("access method is not configured"); return NULL; @@ -278,3 +281,3 @@ get_recipient (struct access_method *method, struct file_triplet *trp, { - *errp = "failed to open access method"; + *errp = N_("failed to open access method"); return NULL; @@ -291,3 +294,3 @@ get_recipient (struct access_method *method, struct file_triplet *trp, { - *errp = "cannot obtain recipient emails"; + *errp = N_("cannot obtain recipient emails"); method_close (method, md); @@ -301,3 +304,3 @@ get_recipient (struct access_method *method, struct file_triplet *trp, { - *errp = "cannot obtain recipient emails"; + *errp = N_("cannot obtain recipient emails"); return NULL; @@ -352,3 +355,3 @@ do_notify (struct file_triplet *trp, enum notification_event ev, trp->project, - notification_event_str (ev), errp); + notification_event_str (ev), gettext (errp)); return; |