perl/modules/W3C/LogValidator/lib/W3C/LogValidator HTMLValidator.pm,1.24,1.25

Update of /sources/public/perl/modules/W3C/LogValidator/lib/W3C/LogValidator
In directory hutz:/tmp/cvs-serv9127/lib/W3C/LogValidator

Modified Files:
	HTMLValidator.pm 
Log Message:
fixing instances of 'invalid' text to reflect flexibility of output

Index: HTMLValidator.pm
===================================================================
RCS file: /sources/public/perl/modules/W3C/LogValidator/lib/W3C/LogValidator/HTMLValidator.pm,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- HTMLValidator.pm	4 Sep 2007 05:38:13 -0000	1.24
+++ HTMLValidator.pm	6 Sep 2007 06:23:46 -0000	1.25
@@ -348,7 +348,7 @@
 		{
 			$outro="Conclusion :
 I had to check $last_invalid_position document(s) in order to find $invalid_census $whatweshow_str HTML documents.
-This means that about $ratio\% of your most popular documents were invalid.";
+This means that about $ratio\% of your most popular documents were $whatweshow_str.";
 		}
 		else
 		# we didn't find as many invalid docs as requested
@@ -357,12 +357,12 @@
 			$outro="Conclusion :
 You asked for $max_invalid $whatweshow_str HTML document but I could only find $invalid_census 
 by processing (all the) $total_census document(s) in your logs. 
-This means that about $ratio\% of your most popular documents were invalid.";}
+This means that about $ratio\% of your most popular documents were $whatweshow_str.";}
         else # max_invalid set to 0, user asked for all invalid docs
    		{$outro="Conclusion :
 I found $invalid_census $whatweshow_str HTML document(s)
 by processing (all the) $total_census document(s) in your logs. 
-This means that about $ratio\% of your most popular documents were invalid.";}     
+This means that about $ratio\% of your most popular documents were $whatweshow_str.";}     
 		}
 	}
 	elsif (!$total_census)
@@ -373,7 +373,7 @@
 	else # everything was actually valid!
 	{
 		$intro=~s/<census> //;
-		$outro="I couldn't find any invalid document in this log. Congratulations!";
+		$outro="I couldn't find any $whatweshow_str document in this log.";
 	}
 	if (($total_census == $max_documents) and ($total_census)) # we stopped because of max_documents
 	{

Received on Thursday, 6 September 2007 06:23:53 UTC