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

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

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 22 Mar 2010 18:30:51 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NtmOp-0001hK-UE@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv6512/WebContent/WEB-INF/resources/templates

Modified Files:
	language.vm 
Log Message:
added xml:lang attribute on language names of the table

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

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