- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 07 Apr 2011 14:37:43 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/util
In directory hutz:/tmp/cvs-serv16207
Modified Files:
Messages.java
Log Message:
added greek
Index: Messages.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Messages.java,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- Messages.java 3 Mar 2010 19:19:36 -0000 1.39
+++ Messages.java 7 Apr 2011 14:37:41 -0000 1.40
@@ -522,6 +522,23 @@
}
// -----------------------
+ // Greek
+ try {
+ java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.el");
+ try {
+ tmp = new Utf8Properties<String, String>();
+ tmp.load(f);
+ languages_name.add("el");
+ languages.put("el", tmp);
+ } finally {
+ f.close();
+ }
+ } catch (Exception e) {
+ System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties el");
+ System.err.println(" " + e.toString());
+ }
+
+ // -----------------------
// Chinese
try {
java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.zh-cn");
Received on Thursday, 7 April 2011 14:37:44 UTC