summaryrefslogtreecommitdiffstats
path: root/plugins/check_users.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_users.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_users.c')
-rw-r--r--plugins/check_users.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_users.c b/plugins/check_users.c
index 1bd2c8b..dc661d8 100644
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
@@ -211,8 +211,8 @@ print_help (void)
211 211
212 print_usage (); 212 print_usage ();
213 213
214 printf (_(UT_HELP_VRSN)); 214 printf (UT_HELP_VRSN);
215 printf (_(UT_EXTRA_OPTS)); 215 printf (UT_EXTRA_OPTS);
216 216
217 printf (" %s\n", "-w, --warning=INTEGER"); 217 printf (" %s\n", "-w, --warning=INTEGER");
218 printf (" %s\n", _("Set WARNING status if more than INTEGER users are logged in")); 218 printf (" %s\n", _("Set WARNING status if more than INTEGER users are logged in"));
@@ -222,10 +222,10 @@ print_help (void)
222#ifdef NP_EXTRA_OPTS 222#ifdef NP_EXTRA_OPTS
223 printf ("\n"); 223 printf ("\n");
224 printf ("%s\n", _("Notes:")); 224 printf ("%s\n", _("Notes:"));
225 printf (_(UT_EXTRA_OPTS_NOTES)); 225 printf (UT_EXTRA_OPTS_NOTES);
226#endif 226#endif
227 227
228 printf (_(UT_SUPPORT)); 228 printf (UT_SUPPORT);
229} 229}
230 230
231 231