2002/css-validator/org/w3c/css/css StyleSheetGenerator.java,1.11,1.12 xhtml.properties,1.6,1.7

Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv7383/org/w3c/css/css

Modified Files:
	StyleSheetGenerator.java xhtml.properties 
Log Message:
Using translation to display the css version

Index: xhtml.properties
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/xhtml.properties,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- xhtml.properties	6 Aug 2007 13:57:21 -0000	1.6
+++ xhtml.properties	13 Aug 2007 08:30:37 -0000	1.7
@@ -48,7 +48,7 @@
                 <a style="float: right" href="http://jigsaw.w3.org/css-validator/">
                     <img src="http://jigsaw.w3.org/css-validator/images/vcss" alt="$valid_CSS" />
                 </a>
-                $doc_validates_before_link <a href=$css_link>$cssversion</a> $doc_validates_after_link 
+                $doc_validates_before_link <a href=$css_link>$css</a> $doc_validates_after_link 
             </p>
         #if ( !$file_title.trim().startsWith("file://localhost") )
             <p>

Index: StyleSheetGenerator.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetGenerator.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- StyleSheetGenerator.java	7 Aug 2007 10:53:39 -0000	1.11
+++ StyleSheetGenerator.java	13 Aug 2007 08:30:37 -0000	1.12
@@ -145,7 +145,8 @@
 		context.put("rules_count", new Integer(items.size()));
 		context.put("no_errors_report", new Boolean(false));
 		context.put("charset", ac.getContentEncoding());
-		context.put("cssversion", ac.getFormatedCssVersion());
+		context.put("cssversion", ac.getCssVersion());
+		context.put("css", ac.getMsg().getString(ac.getCssVersion()));
 		context.put("css_link", getURLProperty("@url-base_"+ac.getCssVersion()));
 		context.put("is_valid", (errors.getErrorCount() == 0) ? "true" : "false");
 		context.put("author", "www-validator-css");

Received on Monday, 13 August 2007 08:30:41 UTC