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

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 UTC