diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-14 10:11:45 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-14 12:33:06 (GMT) |
commit | 25d1ee331dbe4977a4a1a756c67f32bd51d9b070 (patch) | |
tree | b15cfec59fdbaa8b283f8e7aa2e3d8c4207a7376 /plugins/check_hpjd.c | |
parent | b649333321701eccfd99df0d39c6b8d8c92d6a8b (diff) | |
download | monitoring-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_hpjd.c')
-rw-r--r-- | plugins/check_hpjd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index add9cc8..e4e8e6e 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c | |||
@@ -395,8 +395,8 @@ print_help (void) | |||
395 | 395 | ||
396 | print_usage (); | 396 | print_usage (); |
397 | 397 | ||
398 | printf (_(UT_HELP_VRSN)); | 398 | printf (UT_HELP_VRSN); |
399 | printf (_(UT_EXTRA_OPTS)); | 399 | printf (UT_EXTRA_OPTS); |
400 | 400 | ||
401 | printf (" %s\n", "-C, --community=STRING"); | 401 | printf (" %s\n", "-C, --community=STRING"); |
402 | printf (" %s", _("The SNMP community name ")); | 402 | printf (" %s", _("The SNMP community name ")); |
@@ -406,10 +406,10 @@ print_help (void) | |||
406 | #ifdef NP_EXTRA_OPTS | 406 | #ifdef NP_EXTRA_OPTS |
407 | printf ("\n"); | 407 | printf ("\n"); |
408 | printf ("%s\n", _("Notes:")); | 408 | printf ("%s\n", _("Notes:")); |
409 | printf (_(UT_EXTRA_OPTS_NOTES)); | 409 | printf (UT_EXTRA_OPTS_NOTES); |
410 | #endif | 410 | #endif |
411 | 411 | ||
412 | printf (_(UT_SUPPORT)); | 412 | printf (UT_SUPPORT); |
413 | } | 413 | } |
414 | 414 | ||
415 | 415 | ||