Code

- bindtextdomain for gettext, a few other smale cleanups here and there
[nagiosplug.git] / plugins / check_disk.c
index c8cfecd2a4a2cfa73ac46238c9f77b0a597d328c..36f30a591f8ed47e1e67bcac7da638ba641c489f 100644 (file)
@@ -151,6 +151,10 @@ main (int argc, char **argv)
        output = strdup ("");
        details = strdup ("");
 
+       setlocale (LC_ALL, "");
+       bindtextdomain (PACKAGE, LOCALEDIR);
+       textdomain (PACKAGE);
+
        mount_list = read_filesystem_list (0);
 
        if (process_arguments (argc, argv) != OK)