Code

various internationalization fixes
authorBenoit Mortier <opensides@users.sourceforge.net>
Sat, 4 Dec 2004 12:31:41 +0000 (12:31 +0000)
committerBenoit Mortier <opensides@users.sourceforge.net>
Sat, 4 Dec 2004 12:31:41 +0000 (12:31 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1002 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_by_ssh.c
plugins/check_dns.c
po/POTFILES.in

index d34b2678fc9561fdfe6921a61e2e33c3c1dc7c07..dd2230a00f26b80867eff26a9bb5ca848cfb6c74 100644 (file)
@@ -338,8 +338,8 @@ print_help (void)
 {
        print_revision (progname, revision);
 
-       printf (_("Copyright (c) 1999 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n"));
-       printf (_(COPYRIGHT), copyright, email);
+       printf ("Copyright (c) 1999 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n");
+       printf (COPYRIGHT, copyright, email);
 
        printf (_("This plugin uses SSH to execute commands on a remote host\n\n"));
 
index b9ad29d3070b5b21f5b0a15dc510c079c3e9258e..dd6ebdabf25aae510cc722a40bff9c529c29a2f1 100644 (file)
@@ -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"));
index 51a84c7657c1eb020c91040399e88877661081ae..3697da4eb5d2b61ef76626c700d79c787f971ecd 100644 (file)
@@ -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