- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 28 Jul 2009 10:38:39 +0000
- To: www-validator-cvs@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 UTC