- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 24 Apr 2008 06:41:06 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/util In directory hutz:/tmp/cvs-serv15208/org/w3c/css/util Modified Files: Messages.java Log Message: enabling the korean translation, for testing Index: Messages.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Messages.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- Messages.java 23 Aug 2007 09:18:45 -0000 1.14 +++ Messages.java 24 Apr 2008 06:41:04 -0000 1.15 @@ -330,6 +330,24 @@ System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties cn"); System.err.println(" " + e.toString()); } + + // ----------------------- + + try { + URL url = adjustURL(Messages.class.getResource("Messages.properties.ko")); + java.io.InputStream f = url.openStream(); + try { + tmp = new Utf8Properties(); + tmp.load(f); + languages_name.add("ko"); + languages.put("ko", tmp); + } finally { + f.close(); + } + } catch (Exception e) { + System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties ko"); + System.err.println(" " + e.toString()); + } } /**
Received on Thursday, 24 April 2008 06:41:36 UTC