2002/css-validator/org/w3c/css/util Messages.java,1.38,1.39

Update of /sources/public/2002/css-validator/org/w3c/css/util
In directory hutz:/tmp/cvs-serv4969

Modified Files:
	Messages.java 
Log Message:
added Magyar


Index: Messages.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Messages.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- Messages.java	5 Jan 2010 13:50:00 -0000	1.38
+++ Messages.java	3 Mar 2010 19:19:36 -0000	1.39
@@ -505,6 +505,23 @@
         }
 
         // -----------------------
+        // Magyar (Hungarian)
+        try {
+            java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.hu");
+            try {
+                tmp = new Utf8Properties<String, String>();
+                tmp.load(f);
+                languages_name.add("hu");
+                languages.put("hu", tmp);
+            } finally {
+                f.close();
+            }
+        } catch (Exception e) {
+            System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties hu");
+            System.err.println("  " + e.toString());
+        }
+
+        // -----------------------
         // Chinese
         try {
             java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.zh-cn");

Received on Wednesday, 3 March 2010 19:19:40 UTC