X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Flang.js;h=46fe1292fcc334d314a133d25b22ac9394b68103;hb=a272c66d841421f8bf933c16535bdcde1c4649fc;hp=541b7a4f4ad41f663799977b4b929138ccc41a7d;hpb=039a051ccf3901311661022a30afd60fc38130c9;p=ckeditor.git diff --git a/_source/core/lang.js b/_source/core/lang.js index 541b7a4..46fe129 100644 --- a/_source/core/lang.js +++ b/_source/core/lang.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -53,8 +53,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license 'is' : 1, 'it' : 1, 'ja' : 1, + 'ka' : 1, 'km' : 1, 'ko' : 1, + 'ku' : 1, 'lt' : 1, 'lv' : 1, 'mn' : 1, @@ -74,6 +76,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license 'sv' : 1, 'th' : 1, 'tr' : 1, + 'ug' : 1, 'uk' : 1, 'vi' : 1, 'zh-cn' : 1, @@ -132,7 +135,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license detect : function( defaultLanguage, probeLanguage ) { var languages = this.languages; - probeLanguage = probeLanguage || navigator.userLanguage || navigator.language; + probeLanguage = probeLanguage || navigator.userLanguage || navigator.language || defaultLanguage; var parts = probeLanguage .toLowerCase()