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

2006/unicorn/WebContent/WEB-INF/resources/templates language.vm,1.22,1.23

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 22 Mar 2010 18:29:25 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NtmNR-0001Zu-3J@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv6052/WebContent/WEB-INF/resources/templates

Modified Files:
	language.vm 
Log Message:
added defaultLocale displayName of languages in the table header

Index: language.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/language.vm,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- language.vm	22 Mar 2010 18:17:41 -0000	1.22
+++ language.vm	22 Mar 2010 18:29:23 -0000	1.23
@@ -62,7 +62,7 @@
 				#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())))
-				<th scope="col">$strUtils.capitalize($locale.getDisplayName($locale))<br />$percent.intValue()% <a href="./translations?ucn_lang=$locale.getName()">Edit</a></th>
+				<th scope="col">$strUtils.capitalize($locale.getDisplayName($defaultLocale))<br />$strUtils.capitalize($locale.getDisplayName($locale))<br />$percent.intValue()%<br /><a href="./translations?ucn_lang=$locale.getName()">Edit</a></th>
 			#end
 			#end
 			</tr>
Received on Monday, 22 March 2010 18:29:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:19 GMT