summaryrefslogtreecommitdiffstats
path: root/plugins-root/check_dhcp.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-root/check_dhcp.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-root/check_dhcp.c')
-rw-r--r--plugins-root/check_dhcp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index bdd348f..51ac96e 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -1392,10 +1392,10 @@ void print_help(void){
1392 1392
1393 print_usage(); 1393 print_usage();
1394 1394
1395 printf (_(UT_HELP_VRSN)); 1395 printf (UT_HELP_VRSN);
1396 printf (_(UT_EXTRA_OPTS)); 1396 printf (UT_EXTRA_OPTS);
1397 1397
1398 printf (_(UT_VERBOSE)); 1398 printf (UT_VERBOSE);
1399 1399
1400 printf (" %s\n", "-s, --serverip=IPADDRESS"); 1400 printf (" %s\n", "-s, --serverip=IPADDRESS");
1401 printf (" %s\n", _("IP address of DHCP server that we must hear from")); 1401 printf (" %s\n", _("IP address of DHCP server that we must hear from"));
@@ -1413,10 +1413,10 @@ void print_help(void){
1413#ifdef NP_EXTRA_OPTS 1413#ifdef NP_EXTRA_OPTS
1414 printf ("\n"); 1414 printf ("\n");
1415 printf ("%s\n", _("Notes:")); 1415 printf ("%s\n", _("Notes:"));
1416 printf (_(UT_EXTRA_OPTS_NOTES)); 1416 printf (UT_EXTRA_OPTS_NOTES);
1417#endif 1417#endif
1418 1418
1419 printf (_(UT_SUPPORT)); 1419 printf (UT_SUPPORT);
1420 return; 1420 return;
1421 } 1421 }
1422 1422