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

2002/css-validator/org/w3c/css/util Messages.java,1.32,1.33

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 24 Mar 2009 20:12:40 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1LmCzI-0005iV-9i@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/util
In directory hutz:/tmp/cvs-serv21953/org/w3c/css/util

Modified Files:
	Messages.java 
Log Message:
disabling - for now - problematic farsi translation

Index: Messages.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Messages.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- Messages.java	24 Mar 2009 20:10:21 -0000	1.32
+++ Messages.java	24 Mar 2009 20:12:38 -0000	1.33
@@ -398,20 +398,22 @@
 	}
 
 	// -----------------------
-	try {
-	    java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.fa");
-	    try {
-		tmp = new Utf8Properties<String,String>();
-		tmp.load(f);
-		languages_name.add("fa");
-		languages.put("fa", tmp);
-	    } finally {
-		f.close();
-	    }
-	} catch (Exception e) {
-	    System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties fa");
-	    System.err.println("  " + e.toString());
-	}
+    // disabled for the time being, the properties file has trouble with line breaks
+    // and the rtl text makes it difficult to fix with my editor. Ball is in the camp of translator 2009-03 -- olivier
+    // try {
+    //     java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.fa");
+    //     try {
+    //  tmp = new Utf8Properties<String,String>();
+    //  tmp.load(f);
+    //  languages_name.add("fa");
+    //  languages.put("fa", tmp);
+    //     } finally {
+    //  f.close();
+    //     }
+    // } catch (Exception e) {
+    //     System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties fa");
+    //     System.err.println("  " + e.toString());
+    // }
 
 	// -----------------------
 	try {
Received on Tuesday, 24 March 2009 20:12:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:35 UTC