2006/unicorn/src/org/w3c/unicorn/util Language.java,1.1,1.2

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/util
In directory hutz:/tmp/cvs-serv18011/src/org/w3c/unicorn/util

Modified Files:
	Language.java 
Log Message:
fixed all non default languages were always incomplete

Index: Language.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/util/Language.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Language.java	1 Sep 2009 13:39:41 -0000	1.1
+++ Language.java	4 Sep 2009 14:09:09 -0000	1.2
@@ -42,10 +42,10 @@
 	}
 
 	public static void complete(Properties props, Properties defaultProps) {
-		props.put("complete", "false");
+		props.put("complete", "true");
 		for (Object key : defaultProps.keySet()) {
 			if (!props.containsKey(key)) {
-				props.put("incomplete", "true");
+				props.put("complete", "false");
 				props.put(key, defaultProps.get(key));
 				Framework.logger.warn(">> Missing property in " + props.getProperty("lang") + ".properties for key: \"" + (String) key + "\". Added default property for this key: \"" + defaultProps.get(key) + "\""); 
 			}

Received on Friday, 4 September 2009 14:09:21 UTC