Code

- bindtextdomain for gettext, a few other smale cleanups here and there
[nagiosplug.git] / plugins / check_nt.c
index 3b2bd5e1178db98725bfb8c29867db0b3733a60d..c0d6c4e5c296e7e3db39c668f5ad1e54cc651ae2 100644 (file)
@@ -96,6 +96,10 @@ int main(int argc, char **argv){
        int uphours=0;
        int upminutes=0;
 
+       setlocale (LC_ALL, "");
+       bindtextdomain (PACKAGE, LOCALEDIR);
+       textdomain (PACKAGE);
+
        if(process_arguments(argc,argv)==ERROR)
                usage(_("Could not parse arguments\n"));