summaryrefslogtreecommitdiffstats
path: root/plugins/check_apt.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_apt.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_apt.c')
-rw-r--r--plugins/check_apt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_apt.c b/plugins/check_apt.c
index 3da54bc..7276f03 100644
--- a/plugins/check_apt.c
+++ b/plugins/check_apt.c
@@ -411,10 +411,10 @@ print_help (void)
411 411
412 print_usage(); 412 print_usage();
413 413
414 printf(_(UT_HELP_VRSN)); 414 printf(UT_HELP_VRSN);
415 printf(_(UT_EXTRA_OPTS)); 415 printf(UT_EXTRA_OPTS);
416 416
417 printf(_(UT_TIMEOUT), timeout_interval); 417 printf(UT_TIMEOUT, timeout_interval);
418 418
419 printf (" %s\n", "-U, --upgrade=OPTS"); 419 printf (" %s\n", "-U, --upgrade=OPTS");
420 printf (" %s\n", _("[Default] Perform an upgrade. If an optional OPTS argument is provided,")); 420 printf (" %s\n", _("[Default] Perform an upgrade. If an optional OPTS argument is provided,"));
@@ -456,10 +456,10 @@ print_help (void)
456#ifdef NP_EXTRA_OPTS 456#ifdef NP_EXTRA_OPTS
457 printf("\n"); 457 printf("\n");
458 printf("%s\n", _("Notes:")); 458 printf("%s\n", _("Notes:"));
459 printf(_(UT_EXTRA_OPTS_NOTES)); 459 printf(UT_EXTRA_OPTS_NOTES);
460#endif 460#endif
461 461
462 printf(_(UT_SUPPORT)); 462 printf(UT_SUPPORT);
463} 463}
464 464
465 465