W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2010

2006/unicorn/src/org/w3c/unicorn/output OutputModule.java,1.11,1.12

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 20 Mar 2010 16:58:22 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Nt20E-0007in-KR@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv29667/src/org/w3c/unicorn/output

Modified Files:
	OutputModule.java 
Log Message:
Changed call to Language.getContext to match the new signature

Index: OutputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/OutputModule.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- OutputModule.java	29 Sep 2009 16:04:35 -0000	1.11
+++ OutputModule.java	20 Mar 2010 16:58:20 -0000	1.12
@@ -61,7 +61,7 @@
 	}
 
 	protected void displayOnIndex(Map<String, Object> mapOfStringObject, Writer writer) {
-		VelocityContext context = new VelocityContext(Language.getContext(outputParameters.get("lang")));
+		VelocityContext context = new VelocityContext(Language.getContext(Language.getLocale(outputParameters.get("lang"))));
 		
 		for (final String sObjectName : mapOfStringObject.keySet())
 			context.put(sObjectName, mapOfStringObject.get(sObjectName));
Received on Saturday, 20 March 2010 16:58:23 GMT

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