W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2015

unicorn commit: remove text at the top of translation pages if translation contribs are disabled

From: Mercurial notifier <nobody@w3.org>
Date: Fri, 27 Mar 2015 10:54:01 +0000
To: Unicorn Updates <www-validator-cvs@w3.org>
Message-Id: <E1YbRtp-0001ez-Fq@mcbain.w3.org>
changeset:   1743:f5547924f714
tag:         tip
user:        Jean-Guilhem Rouel <jean-gui@w3.org>
date:        Fri Mar 27 11:53:51 2015 +0100
files:       WebContent/WEB-INF/resources/templates/language.vm
description:
remove text at the top of translation pages if translation contribs are disabled


diff -r c482f6a9a7be -r f5547924f714 WebContent/WEB-INF/resources/templates/language.vm
--- a/WebContent/WEB-INF/resources/templates/language.vm	Fri Mar 27 11:51:42 2015 +0100
+++ b/WebContent/WEB-INF/resources/templates/language.vm	Fri Mar 27 11:53:51 2015 +0100
@@ -12,7 +12,7 @@
 	<h2>Translation of Unicorn</h2>
 	#set($langNb = $uiLocales.size())
 	<p>Unicorn is currently available in $langNb languages. Many thanks to all the <a href="http://code.w3.org/unicorn/wiki/Translators">volunteer translators</a> who have helped make Unicorn available in different languages.</p>
-
+#if ($enable_translation_contribs)
 	<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>
@@ -52,6 +52,7 @@
 	</ul>
 	<p>You can help fill the blanks and complete the translation in <strong>your</strong> language!</p>
 </div>
+#end
 
 <div id="translations">
 	<table>
Received on Friday, 27 March 2015 10:54:02 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 March 2015 10:54:02 UTC