[Pkg-javascript-commits] [dojo] 17/32: backport [27775]; refs #14048; !strict

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.6.2
in repository dojo.

commit bd880f15f9b0cce11d2b6b5d22e6ce0e90f3d14e
Author: Rawld Gill <rgill at altoviso.com>
Date:   Wed Feb 8 00:38:58 2012 +0000

    backport [27775]; refs #14048; !strict
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.6/dojo@27780 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 i18n.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/i18n.js b/i18n.js
index b6ca244..6a8ddcd 100644
--- a/i18n.js
+++ b/i18n.js
@@ -77,7 +77,7 @@ dojo.i18n.normalizeLocale = function(/*String?*/locale){
 	//		If no locale is specified, the dojo.locale is returned.  dojo.locale is defined by
 	//		the user agent's locale unless overridden by djConfig.
 
-	var result = locale ? locale.toLowerCase() : dojo.locale;
+	var result = (locale ? locale : dojo.locale).toLowerCase();
 	if(result == "root"){
 		result = "ROOT";
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list