- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 25 Mar 2009 20:37:51 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/util In directory hutz:/tmp/cvs-serv14395/org/w3c/css/util Modified Files: Messages.java Log Message: adding farsi Index: Messages.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Messages.java,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- Messages.java 24 Mar 2009 20:12:38 -0000 1.33 +++ Messages.java 25 Mar 2009 20:37:49 -0000 1.34 @@ -400,20 +400,20 @@ // ----------------------- // 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 { + 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 Wednesday, 25 March 2009 20:38:01 UTC