- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 07 Jul 2008 19:05:30 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/util In directory hutz:/tmp/cvs-serv19958/org/w3c/css/util Modified Files: Messages.java Added Files: Messages.properties.ru Log Message: new Russian translation, courtesy of Anatoly Vahramenko with help from Alexey Beshenov --- NEW FILE: Messages.properties.ru --- (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.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- Messages.java 2 Jul 2008 18:49:11 -0000 1.20 +++ Messages.java 7 Jul 2008 19:05:28 -0000 1.21 @@ -349,6 +349,22 @@ System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties pt-br"); System.err.println(" " + e.toString()); } + // ----------------------- + try { + URL url = adjustURL(Messages.class.getResource("Messages.properties.ru")); + java.io.InputStream f = url.openStream(); + try { + tmp = new Utf8Properties(); + tmp.load(f); + languages_name.add("ru"); + languages.put("ru", tmp); + } finally { + f.close(); + } + } catch (Exception e) { + System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties ru"); + System.err.println(" " + e.toString()); + } // ----------------------- try {
Received on Monday, 7 July 2008 19:06:04 UTC