Code

- bindtextdomain for gettext, a few other smale cleanups here and there
[nagiosplug.git] / plugins / check_ssh.c
index 26709a7d91e4fd7a5cb7fc49fc7789885d0348ef..79e17017ba24755631d0891df01336fc81acd13c 100644 (file)
@@ -48,6 +48,10 @@ main (int argc, char **argv)
 {
        int result;
 
+       setlocale (LC_ALL, "");
+       bindtextdomain (PACKAGE, LOCALEDIR);
+       textdomain (PACKAGE);
+
        if (process_arguments (argc, argv) == ERROR)
                usage (_("Could not parse arguments\n"));