summaryrefslogtreecommitdiffstats
path: root/plugins/check_ide_smart.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_ide_smart.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_ide_smart.c')
-rw-r--r--plugins/check_ide_smart.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index e036a37..3811dc1 100644
--- a/plugins/check_ide_smart.c
+++ b/plugins/check_ide_smart.c
@@ -489,8 +489,8 @@ print_help (void)
489 489
490 print_usage (); 490 print_usage ();
491 491
492 printf (_(UT_HELP_VRSN)); 492 printf (UT_HELP_VRSN);
493 printf (_(UT_EXTRA_OPTS)); 493 printf (UT_EXTRA_OPTS);
494 494
495 printf (" %s\n", "-d, --device=DEVICE"); 495 printf (" %s\n", "-d, --device=DEVICE");
496 printf (" %s\n", _("Select device DEVICE")); 496 printf (" %s\n", _("Select device DEVICE"));
@@ -509,10 +509,10 @@ print_help (void)
509#ifdef NP_EXTRA_OPTS 509#ifdef NP_EXTRA_OPTS
510 printf ("\n"); 510 printf ("\n");
511 printf ("%s\n", _("Notes:")); 511 printf ("%s\n", _("Notes:"));
512 printf (_(UT_EXTRA_OPTS_NOTES)); 512 printf (UT_EXTRA_OPTS_NOTES);
513#endif 513#endif
514 514
515 printf (_(UT_SUPPORT)); 515 printf (UT_SUPPORT);
516} 516}
517 517
518 /* todo : add to the long nanual as example 518 /* todo : add to the long nanual as example