diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2007-02-06 21:03:21 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2007-02-06 21:03:21 +0000 |
commit | 19b97afb125056ed6021d6f6ecf5a9b0ace2b314 (patch) | |
tree | e596af9be917bca4c8a7d649b9aa4b6ddcf9a25e /plugins | |
parent | a70fb5becfef4479fc44c530658e5fcf2512d289 (diff) | |
download | monitoring-plugins-19b97afb125056ed6021d6f6ecf5a9b0ace2b314.tar.gz |
correcting some translation problems
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1611 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_disk.c | 2 | ||||
-rw-r--r-- | plugins/check_http.c | 2 | ||||
-rw-r--r-- | plugins/check_ide_smart.c | 2 | ||||
-rw-r--r-- | plugins/check_mrtg.c | 2 | ||||
-rw-r--r-- | plugins/check_mrtgtraf.c | 2 | ||||
-rw-r--r-- | plugins/check_overcr.c | 12 | ||||
-rw-r--r-- | plugins/check_smtp.c | 6 | ||||
-rw-r--r-- | plugins/check_tcp.c | 2 |
8 files changed, 15 insertions, 15 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 99a7201e..3b9e36b1 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -754,7 +754,7 @@ print_help (void) | |||
754 | printf (" %s\n", _("Path or partition (may be repeated)")); | 754 | printf (" %s\n", _("Path or partition (may be repeated)")); |
755 | printf (" %s\n", "-x, --exclude_device=PATH <STRING>"); | 755 | printf (" %s\n", "-x, --exclude_device=PATH <STRING>"); |
756 | printf (" %s\n", _("Ignore device (only works if -p unspecified)")); | 756 | printf (" %s\n", _("Ignore device (only works if -p unspecified)")); |
757 | printf (" %s\n", _("-X, --exclude-type=TYPE <STRING>")); | 757 | printf (" %s\n", "-X, --exclude-type=TYPE <STRING>"); |
758 | printf (" %s\n", _("Ignore all filesystems of indicated type (may be repeated)")); | 758 | printf (" %s\n", _("Ignore all filesystems of indicated type (may be repeated)")); |
759 | printf (" %s\n", "-m, --mountpoint"); | 759 | printf (" %s\n", "-m, --mountpoint"); |
760 | printf (" %s\n", _("Display the mountpoint instead of the partition")); | 760 | printf (" %s\n", _("Display the mountpoint instead of the partition")); |
diff --git a/plugins/check_http.c b/plugins/check_http.c index d1f3998b..82f6ebde 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -1017,7 +1017,7 @@ check_http (void) | |||
1017 | msg = strdup(_("pattern not found")); | 1017 | msg = strdup(_("pattern not found")); |
1018 | else | 1018 | else |
1019 | msg = strdup(_("pattern found")); | 1019 | msg = strdup(_("pattern found")); |
1020 | printf (_("%s - %s%s|%s %s\n"), | 1020 | printf (("%s - %s%s|%s %s\n"), |
1021 | _("CRITICAL"), | 1021 | _("CRITICAL"), |
1022 | msg, | 1022 | msg, |
1023 | (display_html ? "</A>" : ""), | 1023 | (display_html ? "</A>" : ""), |
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c index 234f23b7..e30d89cc 100644 --- a/plugins/check_ide_smart.c +++ b/plugins/check_ide_smart.c | |||
@@ -522,7 +522,7 @@ print_help (void) | |||
522 | printf (" %s\n", "-0, --auto-off"); | 522 | printf (" %s\n", "-0, --auto-off"); |
523 | printf (" %s\n", _("Turn off automatic offline tests")); | 523 | printf (" %s\n", _("Turn off automatic offline tests")); |
524 | printf (" %s\n", "-n, --nagios"); | 524 | printf (" %s\n", "-n, --nagios"); |
525 | printf (" %s\n", _("Output suitable for Nagios\n")); | 525 | printf (" %s\n\n", _("Output suitable for Nagios")); |
526 | printf (_(UT_SUPPORT)); | 526 | printf (_(UT_SUPPORT)); |
527 | } | 527 | } |
528 | 528 | ||
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c index 4abe1d76..57cfee63 100644 --- a/plugins/check_mrtg.c +++ b/plugins/check_mrtg.c | |||
@@ -367,7 +367,7 @@ print_help (void) | |||
367 | printf (" %s\n", _(" commands with different values for the <variable> argument. Of course,")); | 367 | printf (" %s\n", _(" commands with different values for the <variable> argument. Of course,")); |
368 | printf (" %s\n", _("you can always hack the code to make this plugin work for you...")); | 368 | printf (" %s\n", _("you can always hack the code to make this plugin work for you...")); |
369 | printf (" %s\n", _("- MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from")); | 369 | printf (" %s\n", _("- MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from")); |
370 | printf (" %s\n", _("http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html")); | 370 | printf (" %s\n", "http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"); |
371 | 371 | ||
372 | printf (_(UT_SUPPORT)); | 372 | printf (_(UT_SUPPORT)); |
373 | } | 373 | } |
diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c index e587e5cd..d86bf8aa 100644 --- a/plugins/check_mrtgtraf.c +++ b/plugins/check_mrtgtraf.c | |||
@@ -360,7 +360,7 @@ print_help (void) | |||
360 | 360 | ||
361 | printf ("%s\n", _("Notes:")); | 361 | printf ("%s\n", _("Notes:")); |
362 | printf (" %s\n", _("- MRTG stands for Multi Router Traffic Grapher. It can be downloaded from")); | 362 | printf (" %s\n", _("- MRTG stands for Multi Router Traffic Grapher. It can be downloaded from")); |
363 | printf (" %s\n", _(" http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html")); | 363 | printf (" %s\n", " http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"); |
364 | printf (" %s\n", _("- While MRTG can monitor things other than traffic rates, this")); | 364 | printf (" %s\n", _("- While MRTG can monitor things other than traffic rates, this")); |
365 | printf (" %s\n", _(" plugin probably won't work with much else without modification.")); | 365 | printf (" %s\n", _(" plugin probably won't work with much else without modification.")); |
366 | printf (" %s\n", _("- The calculated i/o rates are a little off from what MRTG actually")); | 366 | printf (" %s\n", _("- The calculated i/o rates are a little off from what MRTG actually")); |
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c index 25a7785a..5bcf931d 100644 --- a/plugins/check_overcr.c +++ b/plugins/check_overcr.c | |||
@@ -451,15 +451,15 @@ print_help (void) | |||
451 | printf ("\n"); | 451 | printf ("\n"); |
452 | printf ("%s\n", _("Notes:")); | 452 | printf ("%s\n", _("Notes:")); |
453 | 453 | ||
454 | printf ("%s\n", _("For the available options, the critical threshold value should always be")); | 454 | printf ("%s\n", _("For the available options, the critical threshold value should always be")); |
455 | printf ("%s\n\n", _("higher than the warning threshold value, EXCEPT with the uptime variable")); | 455 | printf ("%s\n\n", _("higher than the warning threshold value, EXCEPT with the uptime variable")); |
456 | 456 | ||
457 | printf ("%s\n", _("This plugin requres that Eric Molitors' Over-CR collector daemon be")); | 457 | printf ("%s\n", _("This plugin requres that Eric Molitors' Over-CR collector daemon be")); |
458 | printf ("%s\n", _("running on the remote server. Over-CR can be downloaded from")); | 458 | printf ("%s\n", _("running on the remote server.")); |
459 | printf ("%s\n", _("http://www.molitor.org/overcr (This plugin was tested with version 0.99.53")); | 459 | printf ("%s\n", " Over-CR can be downloaded from http://www.molitor.org/overcr"); |
460 | printf ("%s\n", _("of the Over-CR collector)")); | 460 | printf ("%s\n", _("This plugin was tested with version 0.99.53 of the Over-CR collector")); |
461 | 461 | ||
462 | printf (_(UT_SUPPORT)); | 462 | printf (_(UT_SUPPORT)); |
463 | } | 463 | } |
464 | 464 | ||
465 | 465 | ||
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 94b97c4f..a7ba45a1 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -297,14 +297,14 @@ main (int argc, char **argv) | |||
297 | * we resent EHLO via TLS. | 297 | * we resent EHLO via TLS. |
298 | */ | 298 | */ |
299 | if (my_send(helocmd, strlen(helocmd)) <= 0) { | 299 | if (my_send(helocmd, strlen(helocmd)) <= 0) { |
300 | printf(_("SMTP UNKNOWN - Cannot send EHLO command via TLS.\n")); | 300 | printf("%s\n", _("SMTP UNKNOWN - Cannot send EHLO command via TLS.")); |
301 | my_close(); | 301 | my_close(); |
302 | return STATE_UNKNOWN; | 302 | return STATE_UNKNOWN; |
303 | } | 303 | } |
304 | if (verbose) | 304 | if (verbose) |
305 | printf(_("sent %s"), helocmd); | 305 | printf(_("sent %s"), helocmd); |
306 | if ((n = my_recv(buffer, MAX_INPUT_BUFFER - 1)) <= 0) { | 306 | if ((n = my_recv(buffer, MAX_INPUT_BUFFER - 1)) <= 0) { |
307 | printf(_("SMTP UNKNOWN - Cannot read EHLO response via TLS.\n")); | 307 | printf("%s\n", _("SMTP UNKNOWN - Cannot read EHLO response via TLS.")); |
308 | my_close(); | 308 | my_close(); |
309 | return STATE_UNKNOWN; | 309 | return STATE_UNKNOWN; |
310 | } | 310 | } |
@@ -317,7 +317,7 @@ main (int argc, char **argv) | |||
317 | if ( check_cert ) { | 317 | if ( check_cert ) { |
318 | result = np_net_ssl_check_cert(days_till_exp); | 318 | result = np_net_ssl_check_cert(days_till_exp); |
319 | if(result != STATE_OK){ | 319 | if(result != STATE_OK){ |
320 | printf (_("CRITICAL - Cannot retrieve server certificate.\n")); | 320 | printf ("%s\n", _("CRITICAL - Cannot retrieve server certificate.")); |
321 | } | 321 | } |
322 | my_close(); | 322 | my_close(); |
323 | return result; | 323 | return result; |
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 66bf4489..c8a23869 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -342,7 +342,7 @@ main (int argc, char **argv) | |||
342 | /* this is a bit stupid, because we don't want to print the | 342 | /* this is a bit stupid, because we don't want to print the |
343 | * response time (which can look ok to the user) if we didn't get | 343 | * response time (which can look ok to the user) if we didn't get |
344 | * the response we were looking for. if-else */ | 344 | * the response we were looking for. if-else */ |
345 | printf(_("%s %s - "), SERVICE, state_text(result)); | 345 | printf("%s %s - ", SERVICE, state_text(result)); |
346 | 346 | ||
347 | if(match == -2 && len && !(flags & FLAG_HIDE_OUTPUT)) | 347 | if(match == -2 && len && !(flags & FLAG_HIDE_OUTPUT)) |
348 | printf("Unexpected response from host/socket: %s", status); | 348 | printf("Unexpected response from host/socket: %s", status); |