diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-01 19:33:45 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-01 19:33:45 +0000 |
commit | 54c21eba62b55503dbe6fda607ccbef4a27a1f14 (patch) | |
tree | fd28942d1170f607e5e9979e0b0cdcef5240c88f /plugins/check_dns.c | |
parent | 5dc0b02ccc2b549d5ee7c8c7249723af9bd1cb74 (diff) | |
download | monitoring-plugins-54c21eba62b55503dbe6fda607ccbef4a27a1f14.tar.gz |
first pass at standardization of messages for the localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@962 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dns.c')
-rw-r--r-- | plugins/check_dns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c index 7b18270f..6c08c277 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c @@ -207,7 +207,7 @@ main (int argc, char **argv) printf (_("DNS CRITICAL - %s\n"), !strcmp (output, "") ? _(" Probably a non-existent host/domain") : output); else - printf (_("DNS problem - %s\n"), + printf (_("DNS UNKNOW - %s\n"), !strcmp (output, "") ? _(" Probably a non-existent host/domain") : output); return result; @@ -331,7 +331,7 @@ process_arguments (int argc, char **argv) case 'r': /* reverse server name */ /* TODO: Is this is_host necessary? */ if (is_host (optarg) == FALSE) { - usage2 (_("Invalid host name/address"), optarg); + usage2 (_("Invalid hostname/address"), optarg); } if (strlen (optarg) >= ADDRESS_LENGTH) die (STATE_UNKNOWN, _("Input buffer overflow\n")); @@ -359,7 +359,7 @@ process_arguments (int argc, char **argv) if (strlen(dns_server)==0 && c<argc) { /* TODO: See -s option */ if (is_host(argv[c]) == FALSE) { - printf (_("Invalid name/address: %s\n\n"), argv[c]); + printf (_("Invalid hostname/address: %s\n\n"), argv[c]); return ERROR; } if (strlen(argv[c]) >= ADDRESS_LENGTH) |