validator/share/templates/en_US json_output.tmpl,1.3,1.4

Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv23198

Modified Files:
	json_output.tmpl 
Log Message:
Fix info message handling in JSON output.

Index: json_output.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/json_output.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- json_output.tmpl	4 Oct 2009 20:20:35 -0000	1.3
+++ json_output.tmpl	4 Oct 2009 20:26:55 -0000	1.4
@@ -10,9 +10,8 @@
     "messages": [
         <TMPL_LOOP NAME="file_errors">
           {
-              <TMPL_IF NAME="err_type_err">"type": "error",</TMPL_IF>
-              <TMPL_IF NAME="err_type_warn">"type": "info",
-              "subtype": "warning"</TMPL_IF>
+              "type": <TMPL_IF NAME="err_type_err">"error"<TMPL_ELSE>"info"<TMPL_IF NAME="err_type_warn">,
+              "subtype": "warning"</TMPL_IF></TMPL_IF>,
               "lastLine": "<TMPL_VAR NAME="line">",
               "lastColumn": <TMPL_VAR NAME="char">,
               "message": <TMPL_VAR NAME="msg">,

Received on Sunday, 4 October 2009 20:27:01 UTC