summaryrefslogtreecommitdiffstats
path: root/plugins/check_nt.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_nt.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_nt.c')
-rw-r--r--plugins/check_nt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index d038efe..c877f9c 100644
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
@@ -655,8 +655,8 @@ void print_help(void)
655 655
656 print_usage(); 656 print_usage();
657 657
658 printf (_(UT_HELP_VRSN)); 658 printf (UT_HELP_VRSN);
659 printf (_(UT_EXTRA_OPTS)); 659 printf (UT_EXTRA_OPTS);
660 660
661 printf ("%s\n", _("Options:")); 661 printf ("%s\n", _("Options:"));
662 printf (" %s\n", "-H, --hostname=HOST"); 662 printf (" %s\n", "-H, --hostname=HOST");
@@ -749,10 +749,10 @@ void print_help(void)
749 printf (" %s\n", _("One fix for this is to change the port to something else on check_nt ")); 749 printf (" %s\n", _("One fix for this is to change the port to something else on check_nt "));
750 printf (" %s\n", _("and on the client service it\'s connecting to.")); 750 printf (" %s\n", _("and on the client service it\'s connecting to."));
751#ifdef NP_EXTRA_OPTS 751#ifdef NP_EXTRA_OPTS
752 printf (" -%s", _(UT_EXTRA_OPTS_NOTES)); 752 printf (" -%s", UT_EXTRA_OPTS_NOTES);
753#endif 753#endif
754 754
755 printf (_(UT_SUPPORT)); 755 printf (UT_SUPPORT);
756} 756}
757 757
758 758