diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-14 06:11:45 -0400 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-14 08:33:06 -0400 |
commit | 25d1ee331dbe4977a4a1a756c67f32bd51d9b070 (patch) | |
tree | b15cfec59fdbaa8b283f8e7aa2e3d8c4207a7376 /plugins/check_game.c | |
parent | b649333321701eccfd99df0d39c6b8d8c92d6a8b (diff) | |
download | monitoring-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_game.c')
-rw-r--r-- | plugins/check_game.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c index b1b6f7c0..bcde1038 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c | |||
@@ -300,8 +300,8 @@ print_help (void) | |||
300 | 300 | ||
301 | print_usage (); | 301 | print_usage (); |
302 | 302 | ||
303 | printf (_(UT_HELP_VRSN)); | 303 | printf (UT_HELP_VRSN); |
304 | printf (_(UT_EXTRA_OPTS)); | 304 | printf (UT_EXTRA_OPTS); |
305 | 305 | ||
306 | printf (" %s\n", "-p"); | 306 | printf (" %s\n", "-p"); |
307 | printf (" %s\n", _("Optional port of which to connect")); | 307 | printf (" %s\n", _("Optional port of which to connect")); |
@@ -312,7 +312,7 @@ print_help (void) | |||
312 | printf (" %s\n", "-pf"); | 312 | printf (" %s\n", "-pf"); |
313 | printf (" %s\n", _("Field number in raw qstat output that contains ping time")); | 313 | printf (" %s\n", _("Field number in raw qstat output that contains ping time")); |
314 | 314 | ||
315 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 315 | printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT); |
316 | 316 | ||
317 | printf ("\n"); | 317 | printf ("\n"); |
318 | printf ("%s\n", _("Notes:")); | 318 | printf ("%s\n", _("Notes:")); |
@@ -321,10 +321,10 @@ print_help (void) | |||
321 | printf (" %s\n", _("http://www.activesw.com/people/steve/qstat.html before you can use this plugin.")); | 321 | printf (" %s\n", _("http://www.activesw.com/people/steve/qstat.html before you can use this plugin.")); |
322 | #ifdef NP_EXTRA_OPTS | 322 | #ifdef NP_EXTRA_OPTS |
323 | printf ("\n"); | 323 | printf ("\n"); |
324 | printf (_(UT_EXTRA_OPTS_NOTES)); | 324 | printf (UT_EXTRA_OPTS_NOTES); |
325 | #endif | 325 | #endif |
326 | 326 | ||
327 | printf (_(UT_SUPPORT)); | 327 | printf (UT_SUPPORT); |
328 | } | 328 | } |
329 | 329 | ||
330 | 330 | ||