Code

- bindtextdomain for gettext, a few other smale cleanups here and there
[nagiosplug.git] / plugins / check_hpjd.c
index edde341e9e3dce5d4a9102a027a33034c359bda8..72f6bd7e2717f598c5b69e6e0b4cc36e02f9654d 100644 (file)
@@ -79,6 +79,10 @@ main (int argc, char **argv)
 
        errmsg = malloc(MAX_INPUT_BUFFER);
 
+       setlocale (LC_ALL, "");
+       bindtextdomain (PACKAGE, LOCALEDIR);
+       textdomain (PACKAGE);
+
        if (process_arguments (argc, argv) != OK)
                usage (_("Invalid command arguments supplied\n"));
 
@@ -374,6 +378,7 @@ print_help (void)
 {
        print_revision (progname, revision);
 
+       printf (_("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"));
        printf (_(COPYRIGHT), copyright, email);
 
        printf (_("\