added the hooks for internationalisation
[spider.git] / perl / DXVars.pm
index 42e8f8ab86d253bb751bfb8427381541806808c3..145631fd53b74b12b50b38e42787f1689e50c779 100644 (file)
@@ -17,6 +17,7 @@ require Exporter;
                 $clusterport $clusteraddr $debugfn 
                 $def_hopcount $data $system $cmd
                                $userfn $motd $local_cmd $mybbsaddr
+                $lang
                                $pc50_interval, $user_interval
                );
                           
@@ -48,6 +49,9 @@ $myemail = "djk\@tobit.co.uk";
 # Your BBS addr
 $mybbsaddr = "G1TLH\@GB7TLH.#35.GBR.EU";
 
+# the default language (the key used must match the one in the Messages file)
+$lang = 'en';
+
 # the tcp address of the cluster this can be an address of an ethernet port
 # but this is more secure. For normal use this will be fine. 
 $clusteraddr = "localhost";
@@ -86,4 +90,4 @@ $userfn = "$data/users";
 $motd = "$data/motd";
 
 # are we debugging ?
-@debug = ('chan');
+@debug = ('chan', 'state', 'msg');