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

2006/unicorn/src/org/w3c/unicorn/util Language.java,1.19,1.20

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 21 Mar 2010 22:32:37 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NtThF-0000wa-6V@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/util
In directory hutz:/tmp/cvs-serv3614/src/org/w3c/unicorn/util

Modified Files:
	Language.java 
Log Message:
Fixed: isComplete returned false only if a metadata string was missing (not considering ui strings)

Index: Language.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/util/Language.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- Language.java	20 Mar 2010 16:56:50 -0000	1.19
+++ Language.java	21 Mar 2010 22:32:35 -0000	1.20
@@ -14,6 +14,7 @@
 
 import org.apache.velocity.VelocityContext;
 import org.w3c.unicorn.Framework;
+import org.w3c.unicorn.action.LanguageAction;
 
 import com.ibm.icu.util.LocaleMatcher;
 import com.ibm.icu.util.LocalePriorityList;
@@ -148,7 +149,7 @@
 	}
 	
 	public static boolean isComplete(ULocale localeParam) {
-		Properties testedProps = Framework.getLanguageProperties().get(localeParam);
+		Properties testedProps = LanguageAction.getLanguageProperties().get(localeParam);
 		Properties testedMetadataProps = Framework.getMetadataProperties().get(localeParam);
 		
 		if (testedProps == null)
Received on Sunday, 21 March 2010 22:32:38 GMT

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