- From: Mercurial notifier <nobody@w3.org>
- Date: Fri, 30 Jul 2010 03:39:02 +0000
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1402:0ceafe41f977
user: Thomas Gambet <tgambet@w3.org>
date: Thu Jul 29 23:38:12 2010 -0400
files: WebContent/WEB-INF/resources/templates/includes/footer.vm WebContent/WEB-INF/resources/templates/language.vm
description:
+ filter languages
diff -r b05231137654 -r 0ceafe41f977 WebContent/WEB-INF/resources/templates/includes/footer.vm
--- a/WebContent/WEB-INF/resources/templates/includes/footer.vm Thu Jul 29 23:23:54 2010 -0400
+++ b/WebContent/WEB-INF/resources/templates/includes/footer.vm Thu Jul 29 23:38:12 2010 -0400
@@ -6,6 +6,7 @@
</ul>
<ul id="lang_choice">
#foreach( $locale in $languages )
+#if ($locale.getName() != "lolcat")
<li>
#set($localeName = $strUtils.capitalize($locale.getDisplayName($locale)))
#if ($locale.getName() == $lang)
@@ -15,6 +16,7 @@
<a href="${queryString}ucn_lang=$langKey" lang="$langKey" xml:lang="$langKey" hreflang="$langKey" rel="alternate">$localeName</a>
#end
</li>
+#end
#end
</ul>
<div id="footer">
diff -r b05231137654 -r 0ceafe41f977 WebContent/WEB-INF/resources/templates/language.vm
--- a/WebContent/WEB-INF/resources/templates/language.vm Thu Jul 29 23:23:54 2010 -0400
+++ b/WebContent/WEB-INF/resources/templates/language.vm Thu Jul 29 23:38:12 2010 -0400
@@ -58,7 +58,7 @@
<tr>
<th scope="col">Property</th>
#foreach($locale in $uiLocales)
- #if ($locale != $defaultLocale)
+ #if ($locale != $defaultLocale && $locale.Name != 'lolcat')
#set($prop = $languageProps.get($locale))
#set($meta = $metadataProps.get($locale))
#set($percent = 100 * $math.div($math.add($prop.size(), $meta.size()), $math.add($defaultProps.size(), $defaultMetadata.size())))
@@ -73,7 +73,7 @@
<tr>
<th class="property_name" scope="row" title="$esc.xml($defaultProps.get($key))">$key</th>
#foreach($locale in $uiLocales)
- #if ($locale != $defaultLocale)
+ #if ($locale != $defaultLocale && $locale.Name != 'lolcat')
#set($localeKey = $strUtils.replace($locale.getName(), '_', '-'))
#set($prop = $languageProps.get($locale))
#if($prop.get($key))
@@ -89,7 +89,7 @@
<tr>
<th class="property_name" scope="row" title="$esc.xml($defaultMetadata.get($key))">$key</th>
#foreach($locale in $uiLocales)
- #if ($locale != $defaultLocale)
+ #if ($locale != $defaultLocale && $locale.Name != 'lolcat')
#set($localeKey = $strUtils.replace($locale.getName(), '_', '-'))
#set($meta = $metadataProps.get($locale))
#if($meta.get($key))
Received on Friday, 30 July 2010 03:39:03 UTC