validator/httpd/cgi-bin check,1.448,1.449

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv16067

Modified Files:
	check 
Log Message:
use $lang instead of constant

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.448
retrieving revision 1.449
diff -u -d -r1.448 -r1.449
--- check	10 Sep 2005 09:32:06 -0000	1.448
+++ check	10 Sep 2005 09:37:28 -0000	1.449
@@ -290,14 +290,14 @@
 # templates for alternate output formats
 my $XMLT = HTML::Template->new(
   filename          => File::Spec->catfile($CFG->{Paths}->{Templates},
-                                          'en_US', 'xml_output.tmpl'),
+                                          $lang, 'xml_output.tmpl'),
   die_on_bad_params => FALSE,
   loop_context_vars => TRUE,
   cache             => TRUE,
 );
 my $EARLT = HTML::Template->new(
   filename          => File::Spec->catfile($CFG->{Paths}->{Templates},
-                                          'en_US', 'earl_xml.tmpl'),
+                                          $lang, 'earl_xml.tmpl'),
   die_on_bad_params => FALSE,
   loop_context_vars => TRUE,
   cache             => TRUE,
@@ -305,7 +305,7 @@
 );
 my $N3T = HTML::Template->new(
   filename          => File::Spec->catfile($CFG->{Paths}->{Templates},
-                                          'en_US', 'earl_n3.tmpl'),
+                                          $lang, 'earl_n3.tmpl'),
   die_on_bad_params => FALSE,
   loop_context_vars => TRUE,
   cache             => TRUE,

Received on Saturday, 10 September 2005 09:37:37 UTC