- From: Mercurial notifier <nobody@w3.org>
- Date: Fri, 12 Aug 2011 18:44:27 +0000
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1668:c44b7f88c170
tag: tip
user: Thomas Gambet <tgambet@w3.org>
date: Fri Aug 12 14:44:17 2011 -0400
files: WebContent/WEB-INF/resources/tasklist/tasklist.xml
description:
+ i18n in custom task
diff -r 0e5a531e853d -r c44b7f88c170 WebContent/WEB-INF/resources/tasklist/tasklist.xml
--- a/WebContent/WEB-INF/resources/tasklist/tasklist.xml Fri Aug 12 11:35:13 2011 -0400
+++ b/WebContent/WEB-INF/resources/tasklist/tasklist.xml Fri Aug 12 14:44:17 2011 -0400
@@ -275,6 +275,9 @@
<cond id="param_http" result="passed" type="parameter" parameter="tests">
<value>http</value>
</cond>
+ <cond id="param_i18n" result="passed" type="parameter" parameter="tests">
+ <value>i18n</value>
+ </cond>
</conds>
<routine>
@@ -296,6 +299,9 @@
<if test="param_http">
<then><exec id="http" value="http" type="observation" /></then>
</if>
+ <if test="param_i18n">
+ <then><exec id="i18n" value="i18n" type="observation" /></then>
+ </if>
</routine>
<parameters>
@@ -306,6 +312,7 @@
<value name="mobileok"></value>
<value name="feed"></value>
<value name="http"></value>
+ <value name="i18n"></value>
</parameter>
<parameter name="profile" type="dropdown" ui="advanced" observer="css-validator" default="css21"/>
<parameter name="warning" type="dropdown" ui="advanced" observer="css-validator" default="2"/>
@@ -320,6 +327,7 @@
<observation>mobileok</observation>
<observation>feed</observation>
<observation>http</observation>
+ <observation>i18n</observation>
</group>
</output>
</task>
Received on Friday, 12 August 2011 18:44:29 UTC