From 154b5caf9ea0aedf502a754c345fa0553c146b48 Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Sat, 4 Dec 2004 12:31:41 +0000 Subject: various internationalization fixes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1002 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_by_ssh.c | 4 ++-- plugins/check_dns.c | 4 +--- po/POTFILES.in | 1 - 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index d34b2678..dd2230a0 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c @@ -338,8 +338,8 @@ print_help (void) { print_revision (progname, revision); - printf (_("Copyright (c) 1999 Karl DeBisschop \n")); - printf (_(COPYRIGHT), copyright, email); + printf ("Copyright (c) 1999 Karl DeBisschop \n"); + printf (COPYRIGHT, copyright, email); printf (_("This plugin uses SSH to execute commands on a remote host\n\n")); diff --git a/plugins/check_dns.c b/plugins/check_dns.c index b9ad29d3..dd6ebdab 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c @@ -324,9 +324,7 @@ process_arguments (int argc, char **argv) /* TODO: this is_host check is probably unnecessary. */ /* Better to confirm nslookup response matches */ if (is_host (optarg) == FALSE) { - printf (_("Invalid hostname/address\n\n")); - print_usage (); - exit (STATE_UNKNOWN); + usage2 (_("Invalid hostname/address"), optarg); } if (strlen (optarg) >= ADDRESS_LENGTH) die (STATE_UNKNOWN, _("Input buffer overflow\n")); diff --git a/po/POTFILES.in b/po/POTFILES.in index 51a84c76..3697da4e 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -7,7 +7,6 @@ plugins/check_fping.c plugins/check_game.c plugins/check_hpjd.c plugins/check_http.c -plugins/check_ide-smart.c plugins/check_ldap.c plugins/check_load.c plugins/check_mrtg.c -- cgit v1.2.3-74-g34f1