- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 20 Aug 2009 14:59:17 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes In directory hutz:/tmp/cvs-serv28716/WebContent/WEB-INF/resources/templates/includes Modified Files: Tag: dev2 macros.vm Log Message: Parameters were not translated: fixed Index: macros.vm =================================================================== RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/Attic/macros.vm,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- macros.vm 20 Aug 2009 14:38:16 -0000 1.1.2.1 +++ macros.vm 20 Aug 2009 14:59:15 -0000 1.1.2.2 @@ -1,9 +1,9 @@ #macro(createDropdown $param $multiple) #set($defaults = $param.getMapOfDefaultValue()) -<label><span>$param.getLongName("en"):</span> +<label><span>$param.getLongName($lang):</span> <select name="$param.Name" class="option_select" #if($multiple) multiple="multiple" size="3" #end> #foreach ($value in $param.getMapOfValue()) - <option value="$value.Name"#if($defaults.containsKey($value.getName())) selected="selected" #end>$value.getLongName("en")</option> + <option value="$value.Name"#if($defaults.containsKey($value.getName())) selected="selected" #end>$value.getLongName($lang)</option> #end </select> </label> @@ -11,9 +11,9 @@ #macro(createCheckboxList $param) #set($defaults = $param.getMapOfDefaultValue()) -<label><span>$param.getLongName("en"):</span></label> +<label><span>$param.getLongName($lang):</span></label> #foreach ($value in $param.getMapOfValue()) - <label>$value.getLongName("en") + <label>$value.getLongName($lang) <input type="checkbox" name="$param.getName()" value="$value.getName()"#if($defaults.containsKey($value.getName())) checked="checked" #end/> </label> #end
Received on Thursday, 20 August 2009 14:59:27 UTC