summaryrefslogtreecommitdiffstats
path: root/plugins/check_ssh.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_ssh.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_ssh.c')
-rw-r--r--plugins/check_ssh.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index 04cc4d9..9a19343 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -277,27 +277,27 @@ print_help (void)
277 277
278 print_usage (); 278 print_usage ();
279 279
280 printf (_(UT_HELP_VRSN)); 280 printf (UT_HELP_VRSN);
281 printf (_(UT_EXTRA_OPTS)); 281 printf (UT_EXTRA_OPTS);
282 282
283 printf (_(UT_HOST_PORT), 'p', myport); 283 printf (UT_HOST_PORT, 'p', myport);
284 284
285 printf (_(UT_IPv46)); 285 printf (UT_IPv46);
286 286
287 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); 287 printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
288 288
289 printf (" %s\n", "-r, --remote-version=STRING"); 289 printf (" %s\n", "-r, --remote-version=STRING");
290 printf (" %s\n", _("Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)")); 290 printf (" %s\n", _("Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)"));
291 291
292 printf (_(UT_VERBOSE)); 292 printf (UT_VERBOSE);
293 293
294#ifdef NP_EXTRA_OPTS 294#ifdef NP_EXTRA_OPTS
295 printf ("\n"); 295 printf ("\n");
296 printf ("%s\n", _("Notes:")); 296 printf ("%s\n", _("Notes:"));
297 printf (_(UT_EXTRA_OPTS_NOTES)); 297 printf (UT_EXTRA_OPTS_NOTES);
298#endif 298#endif
299 299
300 printf (_(UT_SUPPORT)); 300 printf (UT_SUPPORT);
301} 301}
302 302
303 303