mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-09 08:42:17 -04:00
correcting some translation problems
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1611 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
a70fb5becf
commit
19b97afb12
11 changed files with 1798 additions and 1666 deletions
|
|
@ -754,7 +754,7 @@ print_help (void)
|
|||
printf (" %s\n", _("Path or partition (may be repeated)"));
|
||||
printf (" %s\n", "-x, --exclude_device=PATH <STRING>");
|
||||
printf (" %s\n", _("Ignore device (only works if -p unspecified)"));
|
||||
printf (" %s\n", _("-X, --exclude-type=TYPE <STRING>"));
|
||||
printf (" %s\n", "-X, --exclude-type=TYPE <STRING>");
|
||||
printf (" %s\n", _("Ignore all filesystems of indicated type (may be repeated)"));
|
||||
printf (" %s\n", "-m, --mountpoint");
|
||||
printf (" %s\n", _("Display the mountpoint instead of the partition"));
|
||||
|
|
|
|||
|
|
@ -1017,7 +1017,7 @@ check_http (void)
|
|||
msg = strdup(_("pattern not found"));
|
||||
else
|
||||
msg = strdup(_("pattern found"));
|
||||
printf (_("%s - %s%s|%s %s\n"),
|
||||
printf (("%s - %s%s|%s %s\n"),
|
||||
_("CRITICAL"),
|
||||
msg,
|
||||
(display_html ? "</A>" : ""),
|
||||
|
|
|
|||
|
|
@ -522,7 +522,7 @@ print_help (void)
|
|||
printf (" %s\n", "-0, --auto-off");
|
||||
printf (" %s\n", _("Turn off automatic offline tests"));
|
||||
printf (" %s\n", "-n, --nagios");
|
||||
printf (" %s\n", _("Output suitable for Nagios\n"));
|
||||
printf (" %s\n\n", _("Output suitable for Nagios"));
|
||||
printf (_(UT_SUPPORT));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -367,7 +367,7 @@ print_help (void)
|
|||
printf (" %s\n", _(" commands with different values for the <variable> argument. Of course,"));
|
||||
printf (" %s\n", _("you can always hack the code to make this plugin work for you..."));
|
||||
printf (" %s\n", _("- MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from"));
|
||||
printf (" %s\n", _("http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"));
|
||||
printf (" %s\n", "http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html");
|
||||
|
||||
printf (_(UT_SUPPORT));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -360,7 +360,7 @@ print_help (void)
|
|||
|
||||
printf ("%s\n", _("Notes:"));
|
||||
printf (" %s\n", _("- MRTG stands for Multi Router Traffic Grapher. It can be downloaded from"));
|
||||
printf (" %s\n", _(" http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"));
|
||||
printf (" %s\n", " http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html");
|
||||
printf (" %s\n", _("- While MRTG can monitor things other than traffic rates, this"));
|
||||
printf (" %s\n", _(" plugin probably won't work with much else without modification."));
|
||||
printf (" %s\n", _("- The calculated i/o rates are a little off from what MRTG actually"));
|
||||
|
|
|
|||
|
|
@ -451,15 +451,15 @@ print_help (void)
|
|||
printf ("\n");
|
||||
printf ("%s\n", _("Notes:"));
|
||||
|
||||
printf ("%s\n", _("For the available options, the critical threshold value should always be"));
|
||||
printf ("%s\n", _("For the available options, the critical threshold value should always be"));
|
||||
printf ("%s\n\n", _("higher than the warning threshold value, EXCEPT with the uptime variable"));
|
||||
|
||||
printf ("%s\n", _("This plugin requres that Eric Molitors' Over-CR collector daemon be"));
|
||||
printf ("%s\n", _("running on the remote server. Over-CR can be downloaded from"));
|
||||
printf ("%s\n", _("http://www.molitor.org/overcr (This plugin was tested with version 0.99.53"));
|
||||
printf ("%s\n", _("of the Over-CR collector)"));
|
||||
printf ("%s\n", _("This plugin requres that Eric Molitors' Over-CR collector daemon be"));
|
||||
printf ("%s\n", _("running on the remote server."));
|
||||
printf ("%s\n", " Over-CR can be downloaded from http://www.molitor.org/overcr");
|
||||
printf ("%s\n", _("This plugin was tested with version 0.99.53 of the Over-CR collector"));
|
||||
|
||||
printf (_(UT_SUPPORT));
|
||||
printf (_(UT_SUPPORT));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -297,14 +297,14 @@ main (int argc, char **argv)
|
|||
* we resent EHLO via TLS.
|
||||
*/
|
||||
if (my_send(helocmd, strlen(helocmd)) <= 0) {
|
||||
printf(_("SMTP UNKNOWN - Cannot send EHLO command via TLS.\n"));
|
||||
printf("%s\n", _("SMTP UNKNOWN - Cannot send EHLO command via TLS."));
|
||||
my_close();
|
||||
return STATE_UNKNOWN;
|
||||
}
|
||||
if (verbose)
|
||||
printf(_("sent %s"), helocmd);
|
||||
if ((n = my_recv(buffer, MAX_INPUT_BUFFER - 1)) <= 0) {
|
||||
printf(_("SMTP UNKNOWN - Cannot read EHLO response via TLS.\n"));
|
||||
printf("%s\n", _("SMTP UNKNOWN - Cannot read EHLO response via TLS."));
|
||||
my_close();
|
||||
return STATE_UNKNOWN;
|
||||
}
|
||||
|
|
@ -317,7 +317,7 @@ main (int argc, char **argv)
|
|||
if ( check_cert ) {
|
||||
result = np_net_ssl_check_cert(days_till_exp);
|
||||
if(result != STATE_OK){
|
||||
printf (_("CRITICAL - Cannot retrieve server certificate.\n"));
|
||||
printf ("%s\n", _("CRITICAL - Cannot retrieve server certificate."));
|
||||
}
|
||||
my_close();
|
||||
return result;
|
||||
|
|
|
|||
|
|
@ -342,7 +342,7 @@ main (int argc, char **argv)
|
|||
/* this is a bit stupid, because we don't want to print the
|
||||
* response time (which can look ok to the user) if we didn't get
|
||||
* the response we were looking for. if-else */
|
||||
printf(_("%s %s - "), SERVICE, state_text(result));
|
||||
printf("%s %s - ", SERVICE, state_text(result));
|
||||
|
||||
if(match == -2 && len && !(flags & FLAG_HIDE_OUTPUT))
|
||||
printf("Unexpected response from host/socket: %s", status);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue