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 diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index d34b267..dd2230a 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 b9ad29d..dd6ebda 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 51a84c7..3697da4 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 v0.10-9-g596f