summaryrefslogtreecommitdiffstats
path: root/plugins/check_load.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2010-04-14 06:11:45 -0400
committerThomas Guyot-Sionnest <dermoth@aei.ca>2010-04-14 08:33:06 -0400
commit25d1ee331dbe4977a4a1a756c67f32bd51d9b070 (patch)
treeb15cfec59fdbaa8b283f8e7aa2e3d8c4207a7376 /plugins/check_load.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_load.c')
-rw-r--r--plugins/check_load.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c
index 940d37ec..450a4fc3 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -305,8 +305,8 @@ print_help (void)
305 305
306 print_usage (); 306 print_usage ();
307 307
308 printf (_(UT_HELP_VRSN)); 308 printf (UT_HELP_VRSN);
309 printf (_(UT_EXTRA_OPTS)); 309 printf (UT_EXTRA_OPTS);
310 310
311 printf (" %s\n", "-w, --warning=WLOAD1,WLOAD5,WLOAD15"); 311 printf (" %s\n", "-w, --warning=WLOAD1,WLOAD5,WLOAD15");
312 printf (" %s\n", _("Exit with WARNING status if load average exceeds WLOADn")); 312 printf (" %s\n", _("Exit with WARNING status if load average exceeds WLOADn"));
@@ -319,10 +319,10 @@ print_help (void)
319#ifdef NP_EXTRA_OPTS 319#ifdef NP_EXTRA_OPTS
320 printf ("\n"); 320 printf ("\n");
321 printf ("%s\n", _("Notes:")); 321 printf ("%s\n", _("Notes:"));
322 printf (_(UT_EXTRA_OPTS_NOTES)); 322 printf (UT_EXTRA_OPTS_NOTES);
323#endif 323#endif
324 324
325 printf (_(UT_SUPPORT)); 325 printf (UT_SUPPORT);
326} 326}
327 327
328void 328void