diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-23 23:53:17 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-23 23:53:17 +0000 |
commit | 589d4664919638bedd6e2e1710c323887d19584a (patch) | |
tree | 50514688170db6103000e94694111282e848cb6e /plugins/check_by_ssh.c | |
parent | cc0f1249e662304282fb10c7d8538e4ab881b57e (diff) | |
download | monitoring-plugins-589d4664919638bedd6e2e1710c323887d19584a.tar.gz |
Standardising translation texts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@929 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r-- | plugins/check_by_ssh.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index bbed9541..49794cc7 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c @@ -86,7 +86,7 @@ main (int argc, char **argv) child_process = spopen (comm); if (child_process == NULL) { - printf (_("Unable to open pipe: %s"), comm); + printf (_("Could not open pipe: %s\n"), comm); return STATE_UNKNOWN; } @@ -145,7 +145,7 @@ main (int argc, char **argv) eol[0] = 0; if (service[commands] && status_text && sscanf (status_text, "STATUS CODE: %d", &cresult) == 1) { - fprintf (fp, _("[%d] PROCESS_SERVICE_CHECK_RESULT;%s;%s;%d;%s\n"), + fprintf (fp, "[%d] PROCESS_SERVICE_CHECK_RESULT;%s;%s;%d;%s\n", (int) local_time, host_shortname, service[commands++], cresult, output); } @@ -232,13 +232,13 @@ process_arguments (int argc, char **argv) break; case 't': /* timeout period */ if (!is_integer (optarg)) - usage2 (_("timeout interval must be an integer"), optarg); + usage2 (_("Timeout interval must be a positive integer"), optarg); else timeout_interval = atoi (optarg); break; case 'H': /* host */ if (!is_host (optarg)) - usage2 (_("invalid host name"), optarg); + usage2 (_("Invalid host name"), optarg); hostname = optarg; break; case 'p': /* port number */ |