2002/css-validator/org/w3c/css/util Messages.properties.hi,NONE,1.1 Messages.java,1.41,1.42

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

Modified Files:
	Messages.java 
Added Files:
	Messages.properties.hi 
Log Message:
Added Hindi translation, contributed by Bhavatmaj Seth (See http://lists.w3.org/Archives/Public/w3c-translators/2011JulSep/0060.html )

--- NEW FILE: Messages.properties.hi ---
(This appears to be a binary file; contents omitted.)

Index: Messages.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Messages.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- Messages.java	29 Aug 2011 07:21:01 -0000	1.41
+++ Messages.java	6 Sep 2011 09:32:48 -0000	1.42
@@ -538,6 +538,23 @@
         }
 
         // -----------------------
+        // Hindi
+        try {
+            java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.hi");
+            try {
+                tmp = new Utf8Properties<String, String>();
+                tmp.load(f);
+                languages_name.add("hi");
+                languages.put("hi", tmp);
+            } finally {
+                f.close();
+            }
+        } catch (Exception e) {
+            System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties hi");
+            System.err.println("  " + e.toString());
+        }
+
+        // -----------------------
         // Chinese
         try {
             java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.zh-cn");

Received on Tuesday, 6 September 2011 09:32:52 UTC