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

2006/unicorn/src/org/w3c/unicorn Framework.java,1.21,1.22

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 12 Oct 2009 15:27:35 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MxMoB-00081I-8o@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn
In directory hutz:/tmp/cvs-serv30814/src/org/w3c/unicorn

Modified Files:
	Framework.java 
Log Message:
initializes LanguageAction.availableLocales with the value returned by Language.getAvailableLocales()

Index: Framework.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Framework.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- Framework.java	6 Oct 2009 08:11:13 -0000	1.21
+++ Framework.java	12 Oct 2009 15:27:33 -0000	1.22
@@ -477,6 +477,8 @@
 		for (String key : languageProperties.keySet()) {
 			languages.put(key, languageProperties.get(key).getProperty("language"));
 		}
+		
+		LanguageAction.setAvailableLocales(Language.getAvailablesLocales());
 	}	
 	public static void initVelocity() throws InitializationFailedException {	
 		// Creating velocity contexts
Received on Monday, 12 October 2009 15:27:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:39 UTC