Code

- bindtextdomain for gettext, a few other smale cleanups here and there
[nagiosplug.git] / plugins / check_time.c
index e6c3c7167cdb0d4ed098db8044ce666f248524de..f73005d5f3aaab0be2f64ab5b97553741fedae15 100644 (file)
@@ -55,6 +55,10 @@ main (int argc, char **argv)
        int sd;
        int result;
 
+       setlocale (LC_ALL, "");
+       bindtextdomain (PACKAGE, LOCALEDIR);
+       textdomain (PACKAGE);
+
        if (process_arguments (argc, argv) != OK)
                usage (_("Invalid command arguments supplied\n"));