- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 22 Oct 2009 22:24:50 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/util
In directory hutz:/tmp/cvs-serv3207
Modified Files:
Messages.java
Log Message:
added Ukrainian translation
Index: Messages.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Messages.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- Messages.java 25 Mar 2009 20:37:49 -0000 1.34
+++ Messages.java 22 Oct 2009 22:24:48 -0000 1.35
@@ -448,6 +448,23 @@
}
// -----------------------
+ // Ukrainian
+ try {
+ java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.uk");
+ try {
+ tmp = new Utf8Properties<String,String>();
+ tmp.load(f);
+ languages_name.add("uk");
+ languages.put("uk", tmp);
+ } finally {
+ f.close();
+ }
+ } catch (Exception e) {
+ System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties uk");
+ System.err.println(" " + e.toString());
+ }
+
+ // -----------------------
try {
java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.zh-cn");
Received on Thursday, 22 October 2009 22:24:51 UTC