JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.6.1
[ckeditor.git] / _source / core / lang.js
index 541b7a4..46fe129 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -53,8 +53,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                        'is'    : 1,\r
                        'it'    : 1,\r
                        'ja'    : 1,\r
+                       'ka'    : 1,\r
                        'km'    : 1,\r
                        'ko'    : 1,\r
+                       'ku'    : 1,\r
                        'lt'    : 1,\r
                        'lv'    : 1,\r
                        'mn'    : 1,\r
@@ -74,6 +76,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                        'sv'    : 1,\r
                        'th'    : 1,\r
                        'tr'    : 1,\r
+                       'ug'    : 1,\r
                        'uk'    : 1,\r
                        'vi'    : 1,\r
                        'zh-cn' : 1,\r
@@ -132,7 +135,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                detect : function( defaultLanguage, probeLanguage )\r
                {\r
                        var languages = this.languages;\r
-                       probeLanguage = probeLanguage || navigator.userLanguage || navigator.language;\r
+                       probeLanguage = probeLanguage || navigator.userLanguage || navigator.language || defaultLanguage;\r
 \r
                        var parts = probeLanguage\r
                                        .toLowerCase()\r