Commit ddfa7207 ddfa7207dee35437e68a836e3ab0e63c88cda695 by Sergey Poznyakoff

Use gettext markers in verbose diagnostics

1 parent 7bf46a83
...@@ -298,7 +298,7 @@ open_mailer () ...@@ -298,7 +298,7 @@ open_mailer ()
298 mailer_t mailer; 298 mailer_t mailer;
299 int status; 299 int status;
300 300
301 WATCH(("creating mailer %s", url)); 301 WATCH ((_("Creating mailer %s"), url));
302 status = mailer_create (&mailer, url); 302 status = mailer_create (&mailer, url);
303 if (status) 303 if (status)
304 { 304 {
...@@ -313,7 +313,7 @@ open_mailer () ...@@ -313,7 +313,7 @@ open_mailer ()
313 mu_debug_set_level (debug, MU_DEBUG_TRACE | MU_DEBUG_PROT); 313 mu_debug_set_level (debug, MU_DEBUG_TRACE | MU_DEBUG_PROT);
314 } 314 }
315 315
316 WATCH(("opening mailer %s", url)); 316 WATCH ((_("Opening mailer %s"), url));
317 status = mailer_open (mailer, MU_STREAM_RDWR); 317 status = mailer_open (mailer, MU_STREAM_RDWR);
318 if (status) 318 if (status)
319 { 319 {
...@@ -444,7 +444,7 @@ _action_send (void *item, void *data) ...@@ -444,7 +444,7 @@ _action_send (void *item, void *data)
444 header_t hdr; 444 header_t hdr;
445 size_t n; 445 size_t n;
446 446
447 WATCH(("Getting message")); 447 WATCH ((_("Getting message")));
448 448
449 if (message_get_header (msg, &hdr) == 0) 449 if (message_get_header (msg, &hdr) == 0)
450 { 450 {
...@@ -484,7 +484,7 @@ _action_send (void *item, void *data) ...@@ -484,7 +484,7 @@ _action_send (void *item, void *data)
484 if (!mailer) 484 if (!mailer)
485 return 1; 485 return 1;
486 486
487 WATCH(("Sending message")); 487 WATCH ((_("Sending message")));
488 rc = mailer_send_message (mailer, msg, NULL, NULL); 488 rc = mailer_send_message (mailer, msg, NULL, NULL);
489 if (rc) 489 if (rc)
490 { 490 {
...@@ -492,7 +492,7 @@ _action_send (void *item, void *data) ...@@ -492,7 +492,7 @@ _action_send (void *item, void *data)
492 return 1; 492 return 1;
493 } 493 }
494 494
495 WATCH(("Destroying the mailer")); 495 WATCH ((_("Destroying the mailer")));
496 mailer_close (mailer); 496 mailer_close (mailer);
497 mailer_destroy (&mailer); 497 mailer_destroy (&mailer);
498 498
......