- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 24 Apr 2008 07:25:59 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/util In directory hutz:/tmp/cvs-serv22272 Modified Files: Messages.java Log Message: reordering languages, putting Hangul between French and Italian Index: Messages.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Messages.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- Messages.java 24 Apr 2008 06:41:04 -0000 1.15 +++ Messages.java 24 Apr 2008 07:25:57 -0000 1.16 @@ -238,6 +238,24 @@ } // ----------------------- + + 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()); + } + + // ----------------------- try { URL url = adjustURL(Messages.class.getResource("Messages.properties.it")); @@ -331,23 +349,6 @@ 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 07:26:38 UTC