test_setup.php
changeset 2 9a485c41cfcf
parent 1 58094faf794d
child 3 64525a2eb098
--- a/test_setup.php	Tue Apr 10 22:40:43 2007 +0000
+++ b/test_setup.php	Sat Apr 14 11:37:27 2007 +0000
@@ -55,11 +55,11 @@
 
 if($bad)
 {
-	?><TABLE CLASS="error"><TR><TD CLASS="error"><H2>Not all tables are ok!</H2><?
+	?><TABLE CLASS="error"><TR><TD CLASS="error"><H2><? echo _('Not all tables are ok!'); ?></H2><?
 }
 else
 {
-	?><TABLE CLASS="messagetable"><TR><TD CLASS="message"><H2>Successful!</H2><?
+	?><TABLE CLASS="messagetable"><TR><TD CLASS="message"><H2><? echo _('Successful!'); ?></H2><?
 }
 ?>
 <BR>
@@ -67,16 +67,16 @@
 <?
 if($bad)
 {
-	?>Sorry, but there are error(s) found in the following table(s):<?
+	echo _('Sorry, but there are error(s) found in the following table(s):'); 
 	foreach($bad_array as $table)
 	{
 		echo " '$table'";
 		}
-		?>.</P><P>Please fix these errors and run the script again.</P><?
+		?>.</P><P><? echo _('Please fix these errors and run the script again.'); ?></P><?
 	}
 	else
 	{
-		echo "Successful! Everything is set up ok, you can rumble!";
+		echo _('Successful! Everything is set up ok, you can rumble!"');
 	}
 ?>
 <BR></TD></TR></TABLE></P>