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

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