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

2006/unicorn/WebContent/WEB-INF/resources/templates language.vm,1.9,1.10

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 06 Oct 2009 16:14:21 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MvCg9-0002cP-6Z@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv10051/WebContent/WEB-INF/resources/templates

Modified Files:
	language.vm 
Log Message:
automatically updates the number of languages Unicorn is translated in

Index: language.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/language.vm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- language.vm	6 Oct 2009 12:11:18 -0000	1.9
+++ language.vm	6 Oct 2009 16:14:19 -0000	1.10
@@ -9,8 +9,8 @@
 
 <div class="text">
 	<h2>Translation of Unicorn</h2>
-
-	<p>Unicorn is currently available in 2 languages. <!--The translations are mainly contributed by <a href="thanks.html">volunteers</a>.--></p>
+	#set($langNb = $languageProps.size() + 1)
+	<p>Unicorn is currently available in $langNb languages. <!--The translations are mainly contributed by <a href="thanks.html">volunteers</a>.--></p>
 
 	<h3>Translate Unicorn in a new language</h3>
 	<p>If Unicorn is not yet available in your native language and you would like to translate it:</p>
Received on Tuesday, 6 October 2009 16:14:25 UTC

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