Code

- bindtextdomain for gettext, a few other smale cleanups here and there
[nagiosplug.git] / plugins / check_dummy.c
index 3db5238f8eb3ce1837e7c77728d2559bf111b220..9ca7a3aba071e503e8d0a613561ff92c68c37078 100644 (file)
@@ -34,6 +34,10 @@ main (int argc, char **argv)
 {
        int result;
 
+       setlocale (LC_ALL, "");
+       bindtextdomain (PACKAGE, LOCALEDIR);
+       textdomain (PACKAGE);
+
        if (argc != 2)
                usage (_("Incorrect number of arguments supplied\n"));
        else if (strcmp (argv[1], "-V") == 0 || strcmp (argv[1], "--version") == 0) {