diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-02-23 10:03:37 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-02-23 10:03:37 +0200 |
commit | 337a06f32fb530e0e0884fef2f5f630cca9911a1 (patch) | |
tree | d0687ccd3e9ff527d9c5613fd052cbe0f79bb40a /src/mail.c | |
parent | 7543ff5973d1afe75b0f4226a3a02cc8d375ad3e (diff) | |
download | wydawca-337a06f32fb530e0e0884fef2f5f630cca9911a1.tar.gz wydawca-337a06f32fb530e0e0884fef2f5f630cca9911a1.tar.bz2 |
Add missing i18n markers
Diffstat (limited to 'src/mail.c')
-rw-r--r-- | src/mail.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -38,7 +38,7 @@ mail_init () { const char *url = NULL; mu_mailer_get_url_default (&url); - logmsg (LOG_ERR, "cannot create default mailer `%s': %s", + logmsg (LOG_ERR, _("cannot create default mailer `%s': %s"), url, mu_strerror (rc)); } } @@ -85,7 +85,7 @@ mail_send_message (mu_address_t rcpt, const char *text) { mu_url_t url = NULL; mu_mailer_get_url (mailer, &url); - logmsg (LOG_CRIT, "opening mailer `%s' failed: %s", + logmsg (LOG_CRIT, _("opening mailer `%s' failed: %s"), url ? mu_url_to_string (url) : "(unknown URL)", mu_strerror (rc)); return; @@ -95,7 +95,7 @@ mail_send_message (mu_address_t rcpt, const char *text) rc = mu_mailer_send_message (mailer, msg, from_address, rcpt); if (rc) - logmsg (LOG_CRIT, "cannot send message: %s", mu_strerror (rc)); + logmsg (LOG_CRIT, _("cannot send message: %s"), mu_strerror (rc)); mu_message_destroy (&msg, mu_message_get_owner (msg)); } @@ -213,7 +213,7 @@ mail_stats () if (!admin_address) { - logmsg (LOG_ERR, "Cannot mail statistics: admin-address not defined"); + logmsg (LOG_ERR, _("cannot mail statistics: admin-address not defined")); return; } @@ -224,7 +224,7 @@ mail_stats () mu_address_to_string (admin_address, NULL, 0, &size); buf = xmalloc (size + 1); mu_address_to_string (admin_address, buf, size + 1, NULL); - logmsg (LOG_DEBUG, "Sending stats to %s", buf); + logmsg (LOG_DEBUG, _("sending stats to %s"), buf); free (buf); } @@ -242,7 +242,7 @@ mail_stats () tmpl = resolve_message_template (admin_stat_message); if (!tmpl) { - logmsg (LOG_ERR, "undefined message reference: %s", + logmsg (LOG_ERR, _("undefined message reference: %s"), admin_stat_message); return; } @@ -347,7 +347,7 @@ do_notify (struct file_triplet *trp, enum notification_event ev, if (!rcpt) { - logmsg (LOG_ERR, "not notifying %s (project %s) about %s: %s", + logmsg (LOG_ERR, _("not notifying %s (project %s) about %s: %s"), notification_target_str (ntf->tgt), trp->project, notification_event_str (ev), errp); @@ -361,7 +361,7 @@ do_notify (struct file_triplet *trp, enum notification_event ev, mu_address_to_string (rcpt, NULL, 0, &size); buf = xmalloc (size + 1); mu_address_to_string (rcpt, buf, size + 1, NULL); - logmsg (LOG_DEBUG, "notifying %s (project %s) about %s", + logmsg (LOG_DEBUG, _("notifying %s (project %s) about %s"), buf, trp->project, notification_event_str (ev)); free (buf); } @@ -370,7 +370,7 @@ do_notify (struct file_triplet *trp, enum notification_event ev, { const char *msg = resolve_message_template (ntf->msg); if (!msg) - logmsg (LOG_ERR, "undefined message reference: %s", ntf->msg); + logmsg (LOG_ERR, _("undefined message reference: %s"), ntf->msg); else { char *text = triplet_expand_param (msg, trp); |