- From: Karl Dubost via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 12 Dec 2006 07:22:55 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/css In directory hutz:/tmp/cvs-serv10835 Modified Files: StyleSheetGeneratorHTML2.java Log Message: adding class names for the line numbers, suppressing the message line in different languages Index: StyleSheetGeneratorHTML2.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetGeneratorHTML2.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- StyleSheetGeneratorHTML2.java 26 Apr 2006 12:44:14 -0000 1.19 +++ StyleSheetGeneratorHTML2.java 12 Dec 2006 07:22:53 -0000 1.20 @@ -354,21 +354,23 @@ // || !warn.getWarningMessage().equals(oldMessage)) { oldLine = warn.getLine(); oldMessage = warn.getWarningMessage(); - ret.append("\n<li><span class='warning'>"); - ret.append(ac.getMsg().getGeneratorString("line")); - ret.append(" : "); + ret.append("\n<li='warning'><span class='linenumber'>"); +// to remove the trigger of line label in languages. +// ret.append(ac.getMsg().getGeneratorString("line")); +// ret.append(" : "); ret.append(oldLine); + ret.append("</span>. "); +// <span class='level1'> - level of warning if (warn.getLevel() != 0) { - ret.append(" (Level : "); + ret.append("<span class='level"); ret.append(warn.getLevel()); - ret.append(")"); + ret.append("'"); } - ret.append("</span> "); ret.append(Util.escapeHTML(oldMessage)); - if (warn.getContext() != null) { ret.append(" : ").append(warn.getContext()); } + ret.append("</span> "); ret.append("</li>"); // } }
Received on Tuesday, 12 December 2006 07:23:07 UTC