summaryrefslogtreecommitdiffstats
path: root/plugins/check_radius.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_radius.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_radius.c')
-rw-r--r--plugins/check_radius.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index b2f5732c..c95fbe1f 100644
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
@@ -341,10 +341,10 @@ print_help (void)
341 341
342 print_usage (); 342 print_usage ();
343 343
344 printf (_(UT_HELP_VRSN)); 344 printf (UT_HELP_VRSN);
345 printf (_(UT_EXTRA_OPTS)); 345 printf (UT_EXTRA_OPTS);
346 346
347 printf (_(UT_HOST_PORT), 'P', myport); 347 printf (UT_HOST_PORT, 'P', myport);
348 348
349 printf (" %s\n", "-u, --username=STRING"); 349 printf (" %s\n", "-u, --username=STRING");
350 printf (" %s\n", _("The user to authenticate")); 350 printf (" %s\n", _("The user to authenticate"));
@@ -361,7 +361,7 @@ print_help (void)
361 printf (" %s\n", "-r, --retries=INTEGER"); 361 printf (" %s\n", "-r, --retries=INTEGER");
362 printf (" %s\n", _("Number of times to retry a failed connection")); 362 printf (" %s\n", _("Number of times to retry a failed connection"));
363 363
364 printf (_(UT_TIMEOUT), timeout_interval); 364 printf (UT_TIMEOUT, timeout_interval);
365 365
366 printf ("\n"); 366 printf ("\n");
367 printf ("%s\n", _("This plugin tests a RADIUS server to see if it is accepting connections.")); 367 printf ("%s\n", _("This plugin tests a RADIUS server to see if it is accepting connections."));
@@ -377,10 +377,10 @@ print_help (void)
377#ifdef NP_EXTRA_OPTS 377#ifdef NP_EXTRA_OPTS
378 printf ("\n"); 378 printf ("\n");
379 printf ("%s\n", _("Notes:")); 379 printf ("%s\n", _("Notes:"));
380 printf (_(UT_EXTRA_OPTS_NOTES)); 380 printf (UT_EXTRA_OPTS_NOTES);
381#endif 381#endif
382 382
383 printf (_(UT_SUPPORT)); 383 printf (UT_SUPPORT);
384} 384}
385 385
386 386