W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2009

2006/unicorn/WebContent/WEB-INF/resources/templates/includes macros_index.vm,1.13,1.14

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 06 Oct 2009 09:58:57 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mv6or-00087y-Pi@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes
In directory hutz:/tmp/cvs-serv31228/WebContent/WEB-INF/resources/templates/includes

Modified Files:
	macros_index.vm 
Log Message:
passes the lang parameter to the getMessage method of a Message

Index: macros_index.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/macros_index.vm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- macros_index.vm	5 Oct 2009 14:26:21 -0000	1.13
+++ macros_index.vm	6 Oct 2009 09:58:55 -0000	1.14
@@ -19,7 +19,7 @@
 #foreach ($message in $messages)
 	#if ($message.Level == 2)
 	<div class="error">
-		<h4>#evaluate($message.Message)</h4>
+		<h4>$message.getMessage($lang)</h4>
 		#if ($message.Content)
 		<pre>#if($message.doEvaluateContent())#evaluate($message.Content)#else$message.Content#end</pre>
 		#end
@@ -29,7 +29,7 @@
 #foreach ($message in $messages)
 	#if ($message.Level == 1)
 	<div class="warning">
-		<h4>#evaluate($message.Message)</h4>
+		<h4>$message.getMessage($lang)</h4>
 		#if ($message.Content)
 		<pre>#evaluate($message.Content)</pre>
 		#end
@@ -39,7 +39,7 @@
 #foreach ($message in $messages)
 	#if ($message.Level == 0)
 	<div class="info">
-		<h4>#evaluate($message.Message)</h4>
+		<h4>$message.getMessage($lang)</h4>
 		#if ($message.Content)
 		<pre>#evaluate($message.Content)</pre>
 		#end
Received on Tuesday, 6 October 2009 09:58:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:39 UTC