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

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

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 22 Mar 2010 18:17:43 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NtmC7-0000l2-JP@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv2891/WebContent/WEB-INF/resources/templates

Modified Files:
	language.vm 
Log Message:
Added default locale name of languages in the drop-down menu

Index: language.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/language.vm,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- language.vm	20 Mar 2010 17:14:26 -0000	1.21
+++ language.vm	22 Mar 2010 18:17:41 -0000	1.22
@@ -24,7 +24,7 @@
 					<optgroup label="Select a language">
 					#foreach ($locale in $availableLocales)
 					#set($localeKey = $locale.getName())
-						<option value="$localeKey" xml:lang="$localeKey" #if($native_lang == $localeKey)selected="selected"#end>$esc.html($strUtils.capitalize($locale.getDisplayName($locale)))</option>
+						<option value="$localeKey" xml:lang="$localeKey" #if($native_lang == $localeKey)selected="selected"#end>$esc.html($strUtils.capitalize($locale.getDisplayName($defaultLocale))) - $esc.html($strUtils.capitalize($locale.getDisplayName($locale)))</option>
 					#end
 					</optgroup>
 				</select>
Received on Monday, 22 March 2010 18:17:45 GMT

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