- From: CVS User ylafon <cvsmail@w3.org>
- Date: Mon, 18 May 2015 08:49:22 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/index In directory roscoe:/var/tmp/cvs-serv20434/org/w3c/css/index Modified Files: TranslationTableGenerator.java Log Message: cosmetic --- /sources/public/2002/css-validator/org/w3c/css/index/TranslationTableGenerator.java 2012/03/26 12:11:25 1.13 +++ /sources/public/2002/css-validator/org/w3c/css/index/TranslationTableGenerator.java 2015/05/18 08:49:22 1.14 @@ -95,6 +95,7 @@ HashMap<String, ApplContext> translations = new HashMap<String, ApplContext>(); HashMap<String, Integer> translation_completeness = new HashMap<String, Integer>(); table_head.append("<tr><th scope='col'>Property</th>"); + for (int i = 0; i < Messages.languages_name.size(); ++i) { name = String.valueOf(Messages.languages_name.get(i)); HashMap<String, String> l = new HashMap<String, String>(); @@ -130,6 +131,7 @@ translation_completeness.put(name, 0); } + table_head.append("</tr>"); Vector<String> sorted_properties_keys; Set properties_keyset = ac_default.getMsg().properties.keySet(); @@ -146,7 +148,7 @@ translations_table.append("</p></th>"); for (int i = 0; i < Messages.languages_name.size(); ++i) { HashMap<String, String> language = languages.get(i); - ApplContext translation = (ApplContext) translations.get(language.get("name")); + ApplContext translation = translations.get(language.get("name")); String property_translated = translation.getMsg().getString(property_name); if (language.get("name").equals(default_lang)) { vc.put(property_name, property_translated);
Received on Monday, 18 May 2015 08:49:24 UTC