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

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

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 03 Mar 2010 19:19:38 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Nmu6c-0001IV-Vf@lionel-hutz.w3.org>
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 GMT

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