- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 26 Mar 2012 12:11:27 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/index In directory hutz:/tmp/cvs-serv21683/index Modified Files: TranslationTableGenerator.java Log Message: various changes to allow direct use + some small typos Index: TranslationTableGenerator.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/index/TranslationTableGenerator.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- TranslationTableGenerator.java 9 Sep 2011 12:16:41 -0000 1.12 +++ TranslationTableGenerator.java 26 Mar 2012 12:11:25 -0000 1.13 @@ -175,7 +175,7 @@ name = String.valueOf(Messages.languages_name.get(i)); HashMap<String, String> l = languages.get(i); int completeness_percent = 100 * Integer.parseInt(translation_completeness.get(l.get("name")).toString()); - completeness_percent = completeness_percent / ac_default.getMsg().properties.size(); + completeness_percent /= ac_default.getMsg().properties.size(); l.put("completeness", Integer.toString(completeness_percent)); // FIXME not needed // languages[i] = l; }
Received on Monday, 26 March 2012 12:11:36 UTC