W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2009

2006/unicorn/org/w3c/unicorn/index IndexGenerator.java,1.10,1.11

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 28 Jul 2009 10:38:39 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MVk4t-0006wz-Jk@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/org/w3c/unicorn/index
In directory hutz:/tmp/cvs-serv26646/org/w3c/unicorn/index

Modified Files:
	IndexGenerator.java 
Log Message:
Internationalisation

Index: IndexGenerator.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/index/IndexGenerator.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- IndexGenerator.java	27 Jul 2009 11:18:08 -0000	1.10
+++ IndexGenerator.java	28 Jul 2009 10:38:37 -0000	1.11
@@ -130,9 +130,6 @@
 		
 		aVelocityContext.put("languages", languages);
 		
-		
-		//MergeProperties mergeProps = new MergeProperties();
-		
 		for (File langFile : langFiles) {
 			
 			String langCode = langFile.getName().split("\\.")[1];
@@ -144,9 +141,7 @@
 		    if (langCode.equals(Property.get("DEFAULT_LANGUAGE"))) {
 		    	writeIndex("index.html");
 		    	IndexGenerator.logger.info("Default language is \"" + props.getProperty("language") + "\" : created index.html");
-		    }
-		    
-		    
+		    }	 
 		   
 		    String indexPageName = "index." + langCode + ".html";
 			writeIndex(indexPageName);
@@ -154,8 +149,6 @@
 			IndexGenerator.logger.info("Created index page for language \"" + props.getProperty("language") + "\" : " + indexPageName);
 		}
 		
-		
-		
 		Template template = aVelocityEngine.getTemplate("index/en_parameters.js.vm");
 		
 		OutputStreamWriter fileWriter = new OutputStreamWriter(
Received on Tuesday, 28 July 2009 10:38:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:09 GMT