summaryrefslogtreecommitdiffstats
path: root/plugins/check_dns.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2010-04-14 10:11:45 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2010-04-14 12:33:06 (GMT)
commit25d1ee331dbe4977a4a1a756c67f32bd51d9b070 (patch)
treeb15cfec59fdbaa8b283f8e7aa2e3d8c4207a7376 /plugins/check_dns.c
parentb649333321701eccfd99df0d39c6b8d8c92d6a8b (diff)
downloadmonitoring-plugins-25d1ee331dbe4977a4a1a756c67f32bd51d9b070.tar.gz
Fix translations when extra-opts aren't enabled
Bug #2832884 reported problem with translations outputting pot file headers. This is caused by "" matching the header of the translation files. This patch moves gettext macros inside utils macros and update some french translations.
Diffstat (limited to 'plugins/check_dns.c')
-rw-r--r--plugins/check_dns.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 873dcae..a921429 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -455,8 +455,8 @@ print_help (void)
455 455
456 print_usage (); 456 print_usage ();
457 457
458 printf (_(UT_HELP_VRSN)); 458 printf (UT_HELP_VRSN);
459 printf (_(UT_EXTRA_OPTS)); 459 printf (UT_EXTRA_OPTS);
460 460
461 printf (" -H, --hostname=HOST\n"); 461 printf (" -H, --hostname=HOST\n");
462 printf (" %s\n", _("The name or address you want to query")); 462 printf (" %s\n", _("The name or address you want to query"));
@@ -474,15 +474,15 @@ print_help (void)
474 printf (" -c, --critical=seconds\n"); 474 printf (" -c, --critical=seconds\n");
475 printf (" %s\n", _("Return critical if elapsed time exceeds value. Default off")); 475 printf (" %s\n", _("Return critical if elapsed time exceeds value. Default off"));
476 476
477 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); 477 printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
478 478
479#ifdef NP_EXTRA_OPTS 479#ifdef NP_EXTRA_OPTS
480 printf ("\n"); 480 printf ("\n");
481 printf ("%s\n", _("Notes:")); 481 printf ("%s\n", _("Notes:"));
482 printf (_(UT_EXTRA_OPTS_NOTES)); 482 printf (UT_EXTRA_OPTS_NOTES);
483#endif 483#endif
484 484
485 printf (_(UT_SUPPORT)); 485 printf (UT_SUPPORT);
486} 486}
487 487
488 488