Code

- bindtextdomain for gettext, a few other smale cleanups here and there
[nagiosplug.git] / plugins / check_users.c
index 9f308bc3f9b76fe038e59c5f0fa7355434dfd264..3705ee100bd511a787c0e4b68b25307dc11f07b7 100644 (file)
@@ -41,6 +41,10 @@ main (int argc, char **argv)
        int result = STATE_OK;
        char input_buffer[MAX_INPUT_BUFFER];
 
+       setlocale (LC_ALL, "");
+       bindtextdomain (PACKAGE, LOCALEDIR);
+       textdomain (PACKAGE);
+
        if (process_arguments (argc, argv) == ERROR)
                usage (_("Could not parse arguments\n"));