- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 18 Dec 2009 15:35:39 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/util
In directory hutz:/tmp/cvs-serv2835
Modified Files:
Messages.java
Added Files:
Messages.properties.cs
Log Message:
added czech translation, thanks to Vaclav Vranicky
--- NEW FILE: Messages.properties.cs ---
(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.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- Messages.java 22 Oct 2009 22:24:48 -0000 1.35
+++ Messages.java 18 Dec 2009 15:35:37 -0000 1.36
@@ -465,7 +465,24 @@
}
// -----------------------
+ // Czech
+ try {
+ java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.cs");
+ try {
+ tmp = new Utf8Properties<String,String>();
+ tmp.load(f);
+ languages_name.add("cs");
+ languages.put("cs", tmp);
+ } finally {
+ f.close();
+ }
+ } catch (Exception e) {
+ System.err.println("org.w3c.css.util.Messages: " + "couldn't load properties cs");
+ System.err.println(" " + e.toString());
+ }
+ // -----------------------
+ // Chinese
try {
java.io.InputStream f = Messages.class.getResourceAsStream("Messages.properties.zh-cn");
try {
Received on Friday, 18 December 2009 15:35:41 UTC