diff options
Diffstat (limited to 'MLEB/UniversalLanguageSelector/lib/jquery.uls')
19 files changed, 115 insertions, 39 deletions
diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/css/jquery.uls.lcd.css b/MLEB/UniversalLanguageSelector/lib/jquery.uls/css/jquery.uls.lcd.css index 1f991557..a97121d5 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/css/jquery.uls.lcd.css +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/css/jquery.uls.lcd.css @@ -94,7 +94,7 @@ font-size: 14px; display: inline-block; width: 100%; - overflow: hidden; + overflow-x: hidden; /* * Some languages have long names for various reasons and we still want * them to appear on one line. diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/az.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/az.json index e54a146a..007d5c25 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/az.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/az.json @@ -2,10 +2,11 @@ "@metadata": { "authors": [ "AZISS", - "Khan27" + "Khan27", + "Wertuose" ] }, - "uls-region-WW": "Ümumdünya", + "uls-region-WW": "Dünya üzrə", "uls-region-SP": "Xüsusi", "uls-region-AM": "Amerika", "uls-region-AF": "Afrika", @@ -15,7 +16,7 @@ "uls-region-PA": "Okeaniya", "uls-region-all": "Bütün dillər", "uls-no-results-found": "Nəticələr tapılmadı", - "uls-common-languages": "Təkliflənən dillər", + "uls-common-languages": "Təklif edilən dillər", "uls-no-results-suggestion-title": "Sizin üçün maraqlı ola bilər:", "uls-search-help": "Siz dilin adı, yazısı və ISO-kodu üzrə və ya region üzrə axtarış edə bilərsiz.", "uls-search-placeholder": "Dili axtar" diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/cop.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/cop.json index a6b8361a..545315c0 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/cop.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/cop.json @@ -5,7 +5,7 @@ "Bloomaround" ] }, - "uls-region-WW": "ⲧⲏⲣⲙⲁⲓ", + "uls-region-WW": "ⲡⲓⲑⲟ ⲧⲏⲣϥ", "uls-region-AM": "ⲁⲙⲉⲣⲓⲕⲏ", "uls-region-AF": "ⲁⲫⲣⲓⲕⲏ", "uls-region-EU": "ⲉⲩⲣⲱⲡⲏ", @@ -15,6 +15,6 @@ "uls-region-all": "ⲁⲥⲡⲓ ⲛⲓⲃⲉⲛ", "uls-no-results-found": "ⲁⲩϫⲓⲙⲓ ⲁⲛ ⲛⲓⲁⲡⲟⲧⲉⲗⲉⲥⲙⲁ", "uls-common-languages": "ⲛⲓⲁⲥⲡⲓ ⲁⲩϯⲙⲉⲩⲓ", - "uls-search-help": "ⲧⲉⲧⲉⲛϫⲉⲙϫⲟⲙ ϫⲉⲙⲣⲁⲧ ϩⲉⲛ `ⲫⲣⲁⲛ ⲛⲧⲉ ⲁⲥⲡⲓ, `ⲫⲣⲁⲛ ⲛⲧⲉ ⲓⲟⲡⲓⲥϧⲁⲓ , ISO ⲕⲱⲇⲓⲕⲟⲥ ⲛⲧⲉ ⲁⲥⲡⲓ ⲓⲉ ⲧⲉⲧⲉⲛϫⲉⲙϫⲟⲙ ⲥⲓⲛⲓ ϧⲁⲧⲉⲛⲙⲁⲛⲧⲉϭⲁ.", + "uls-search-help": "ⲧⲉⲧⲉⲛϫⲉⲙϫⲟⲙ ⲉϫⲉⲙⲣⲁⲧ ϩⲉⲛ ⲡⲓⲣⲁⲛ ⲛⲧⲉ ⲟⲩⲁⲥⲡⲓ, ⲡⲓⲣⲁⲛ ⲛⲧⲉ ⲟⲩⲙⲉⲧⲥϦⲁⲓ, ⲟⲩϣⲓϥⲣ `ⲛISO ⲛⲧⲉ ⲁⲥⲡⲓ ⲓⲉ ⲧⲉⲧⲉⲛϫⲉⲙϫⲟⲙ ⲉⲥⲓⲛⲓ ϧⲁⲧⲉⲛⲟⲩⲭⲱⲣⲁ", "uls-search-placeholder": "ϫⲉⲙⲣⲁⲧⲕ `ⲛⲟⲩⲁⲥⲡⲓ" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/gcr.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/gcr.json index fc0a3e72..c9c2b8f5 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/gcr.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/gcr.json @@ -4,7 +4,7 @@ "LeGuyanaisPure" ] }, - "uls-region-WW": "Annan monn antché-a", + "uls-region-WW": "Annan monn antché", "uls-region-SP": "Èspésyal", "uls-region-AM": "Lanmérik", "uls-region-AF": "Lafrik", @@ -16,6 +16,6 @@ "uls-no-results-found": "Pyès rézilta trouvé", "uls-common-languages": "Lanng sigjéré", "uls-no-results-suggestion-title": "Zòt pouvé fika entérésé pa :", - "uls-search-help": "Zòt pouvé sasé pa non di lanng, pa non di ékritir-a, pa kod ISO di lanng-an, oben zòt pouvé navigé pa réjyon.", + "uls-search-help": "Zòt pouvé sasé pa non di lanng, pa non di lékritir-a, pa kod ISO di lanng-an, oben zòt pouvé navigé pa réjyon.", "uls-search-placeholder": "Sasé roun lanng" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/hy.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/hy.json index 8d80ea18..5f9a2707 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/hy.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/hy.json @@ -1,7 +1,8 @@ { "@metadata": { "authors": [ - "Xelgen" + "Xelgen", + "Nona" ] }, "uls-region-WW": "Միջազգային", @@ -12,6 +13,7 @@ "uls-region-AS": "Ասիա", "uls-region-ME": "Միջին արևելք", "uls-region-PA": "Օվկիանիա", + "uls-region-all": "Բոլոր լեզուները", "uls-no-results-found": "Ոչինչ չի գտնվել", "uls-common-languages": "Առաջարկվող լեզուներ", "uls-no-results-suggestion-title": "Ձեզ գուցե հետաքրքրեն․", diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/io.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/io.json index 293a4af0..c44c8c2b 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/io.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/io.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Robin van der Vliet", - "Algentem" + "Algentem", + "Joao Xavier" ] }, "uls-region-WW": "Tota mondo", @@ -16,5 +17,6 @@ "uls-region-all": "Omna lingui", "uls-no-results-found": "Ne trovis ulo", "uls-common-languages": "Sugestanta lingui", + "uls-search-help": "Vu povas serchar segun linguala kodexo, nomo dil 'script', kodexo ISO por la linguo, o vu povas serchar segun la regiono.", "uls-search-placeholder": "Serchar linguo" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/kjp.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/kjp.json new file mode 100644 index 00000000..e7134a35 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/kjp.json @@ -0,0 +1,21 @@ +{ + "@metadata": { + "authors": [ + "Rul1902" + ] + }, + "uls-region-WW": "ခါန်ႋညာညာႋသါ်", + "uls-region-SP": "အ်ုခေါဟ်", + "uls-region-AM": "အ်ုမေရိကိုင်", + "uls-region-AF": "အာဖရိက", + "uls-region-EU": "ဥရဴပ", + "uls-region-AS": "အာယှ", + "uls-region-ME": "အ်ုကၠာမူႋနုက်ခဝ့်", + "uls-region-PA": "ပ်ုစိဖေံ", + "uls-region-all": "ဆ်ုခၠါင်ဘာႋသာ့လုက်ဆိင့်", + "uls-no-results-found": "အ်ုတင်ၮေဝ်ႋအှ် လ်ုဍးၜး", + "uls-common-languages": "ဖှ်ေဆ်ုကုံႋ ဆ်ုခၠါင်ဘာႋသာ့လ်ုဖး", + "uls-no-results-suggestion-title": "ၮ်ုမ်ုသာ့ထိင်ၜးဆ်ု:", + "uls-search-help": "ဆ်ုခၠါင်ဘာႋသာ့လ်ုမိင်မိင် ၮ်ုအင်းၰူ့ၮေဝ်ႋၜးသာစာ်ၜိုဝ် အင်းၰူ့ ၜးဆါင့်အ်ုသီးလိက်ဖၠုံးၯေဝ်၊ ISO ဝီႋဖၠုံးၜီးၜါ်သီးမွာဲၯေဝ် လ်ုမွာဲၜး လေဝ်အင်းၰူ့ၮေဝ်ႋဝေ့ ဆ်ုလင်ႋသီးသှ်ေဆေဝ်ႋလှ်။", + "uls-search-placeholder": "မ်ုအင်းၰူ့ ဆ်ုခၠါင်လ်ုမိင်ၯင်" +} diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lez.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lez.json index 4b5b3880..18b3a014 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lez.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lez.json @@ -5,17 +5,18 @@ "Soul Train" ] }, - "uls-region-WW": "Virialemdin", - "uls-region-SP": "Гьакlдар", - "uls-region-AM": "ŵAmerika", + "uls-region-WW": "Вири дуьньядин", + "uls-region-SP": "Махсус", + "uls-region-AM": "Америка", "uls-region-AF": "Африка", "uls-region-EU": "Европа", "uls-region-AS": "Азия", - "uls-region-ME": "Muq'o erch'i pad", + "uls-region-ME": "Юкьван РагъэкъечӀдай пад", "uls-region-PA": "Океания", - "uls-no-results-found": "Jaghanach", - "uls-common-languages": "Bulvilin ch'alar", - "uls-no-results-suggestion-title": "Kwez mumkin i ch'alar muqaya xun:", - "uls-search-help": "Mumkinval ava jagharun chalan t'warceay ni xat'unay, ISO koday chalan ik'ni kiligun ellday", - "uls-search-placeholder": "Чlал жагъурун" + "uls-region-all": "Вири чӀалар", + "uls-no-results-found": "No results found", + "uls-common-languages": "Теклифнавай чӀалар", + "uls-no-results-suggestion-title": "You may be interested in:", + "uls-search-help": "Вавай чӀалан дахьайтӀа кхьинвилин тӀварунай къекъвез жеда, чӀалан ISO-коддай дахьайтӀа региондай килигиз жеда.", + "uls-search-placeholder": "ЧӀал жагъурун" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lt.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lt.json index b3abaf22..b9d104ed 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lt.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lt.json @@ -5,7 +5,8 @@ "Mantak111", "Eitvys200", "Amire80", - "Zygimantus" + "Zygimantus", + "Manvydasz" ] }, "uls-region-WW": "Visame pasaulyje", @@ -19,7 +20,7 @@ "uls-region-all": "Visos kalbos", "uls-no-results-found": "Rezultatų nerasta", "uls-common-languages": "Siūlomos kalbos", - "uls-no-results-suggestion-title": "Jums gali būti įdomu:", + "uls-no-results-suggestion-title": "Galbūt domina:", "uls-search-help": "Galite ieškoti pagal kalbos pavadinimą, scenarijaus pavadinimą, ISO kalbos kodą arba galite naršyti pagal regioną.", "uls-search-placeholder": "Ieškoti kalbos" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lv.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lv.json index 53a232f4..09128889 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lv.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lv.json @@ -12,7 +12,7 @@ "uls-region-AF": "Āfrika", "uls-region-EU": "Eiropa", "uls-region-AS": "Āzija", - "uls-region-ME": "Tuvie Austrumi", + "uls-region-ME": "Vidējie Austrumi", "uls-region-PA": "Klusā okeāna", "uls-region-all": "Visas valodas", "uls-no-results-found": "Nav atrasts neviens rezultāts", diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/ml.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/ml.json index b3872339..6489de67 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/ml.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/ml.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Praveenp", - "Santhosh.thottingal" + "Santhosh.thottingal", + "Ranjithsiji" ] }, "uls-region-WW": "ആഗോള ഭാഷകൾ", @@ -13,9 +14,10 @@ "uls-region-AS": "ഏഷ്യ", "uls-region-ME": "മദ്ധ്യപൂർവേഷ്യ", "uls-region-PA": "പസഫിക്", + "uls-region-all": "എല്ലാ ഭാഷകളും", "uls-no-results-found": "ഒന്നും കണ്ടെത്താനായില്ല", - "uls-common-languages": "സാധാരണ ഭാഷകൾ", + "uls-common-languages": "നിർദ്ദേശിക്കുന്ന ഭാഷകൾ", "uls-no-results-suggestion-title": "താങ്കൾക്കാവശ്യം ഇതായിരിക്കാം:", - "uls-search-help": "താങ്കൾക്ക് ഭാഷയുടെ പേര്, ISO 639 കോഡ്, ലിപിയുടെ പേര് എന്നിവ ഉപയോഗിച്ച് തിരയാം. അല്ലെങ്കിൽ ഈ മേഖലകളിൽ തിരയാം:", - "uls-search-placeholder": "ഭാഷ തിരയുക" + "uls-search-help": "താങ്കൾക്ക് ഭാഷയുടെ പേര്, ISO കോഡ്, ലിപിയുടെ പേര് എന്നിവ ഉപയോഗിച്ച് തിരയാം. അല്ലെങ്കിൽ ഈ മേഖലകളിൽ തിരയാം:", + "uls-search-placeholder": "ഒരു ഭാഷക്കായി തിരയുക" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/mnw.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/mnw.json new file mode 100644 index 00000000..22787da2 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/mnw.json @@ -0,0 +1,21 @@ +{ + "@metadata": { + "authors": [ + "Aue Nai" + ] + }, + "uls-region-WW": "ဇမၞော်ဂၠး", + "uls-region-SP": "တၟေၚ်", + "uls-region-AM": "အမေရိက", + "uls-region-AF": "အာဖရိက", + "uls-region-EU": "ဥရောပ", + "uls-region-AS": "အာယှ", + "uls-region-ME": "လဒေါဝ် ဗၟံက်", + "uls-region-PA": "ပသဳဖှေတ်", + "uls-region-all": "အရေဝ်ဘာသာ သီုဖအိုတ်", + "uls-no-results-found": "အရာမဂၠာဲဂှ် မုဟွံဂွံ ဆဵု", + "uls-common-languages": "အရေဝ်ဘာသာ မကဵုလဝ်ကသပ်ဂမၠိုၚ်", + "uls-no-results-suggestion-title": "မၞး စိုတ်လုပ်စမာန် :", + "uls-search-help": "မၞးဂၠာဲကေတ်နကဵု ယၟုအရေဝ်ဘာသာမာန်၊ ယၟုအက္ခရ်, မခတ် ISO ဒဒှ်အရေဝ်ဘာသာ ဟွံသေၚ် မၞးတြးပၠးပတိတ် နကဵု ဒေသမာန်.", + "uls-search-placeholder": "ဂၠာဲ သွက် အရေဝ်ဘာသာ မွဲ" +} diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/my.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/my.json index 5ce9a07a..3321d3cc 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/my.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/my.json @@ -1,7 +1,8 @@ { "@metadata": { "authors": [ - "Dr Lotus Black" + "Dr Lotus Black", + "Ninjastrikers" ] }, "uls-region-SP": "အထူး", @@ -9,7 +10,7 @@ "uls-region-AF": "အာဖရိက", "uls-region-EU": "ဥရောပ", "uls-region-AS": "အာရှ", - "uls-region-ME": "အရှ့အလယ်ပိုင်း", + "uls-region-ME": "အရှေ့အလယ်ပိုင်း", "uls-region-PA": "ပစိဖိတ်", "uls-region-all": "ဘာသာစကားများ အားလုံး", "uls-no-results-found": "မည်သည့်ရလဒ်မျှ မရပါ", diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/shn.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/shn.json index 301b6e85..a257cb6c 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/shn.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/shn.json @@ -12,6 +12,7 @@ "uls-region-AS": "ဢေးသျႃး", "uls-region-ME": "ပွတ်းၵၢင်တၢင်းဢွၵ်ႇ", "uls-region-PA": "ပသိၽိၵ်ႉ", + "uls-region-all": "ၽႃႇသႃႇၵႂၢမ်း တင်းသဵင်ႈ", "uls-no-results-found": "ဢမ်ႇႁၼ်ၽွၼ်းလႆႈ", "uls-common-languages": "ၽႃႇသႃႇဢၼ်ၸႂ်ႉၼမ်", "uls-no-results-suggestion-title": "ၸဝ်ႈၵဝ်ႇၸၢင်ႈၶဝ်ႈၸႂ်ပႃး", diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.core.js b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.core.js index 893ae68f..e4607878 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.core.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.core.js @@ -302,7 +302,8 @@ * @param {Event} e */ cancel: function ( e ) { - if ( e && ( this.$element.is( e.target ) || $.contains( this.$element[ 0 ], e.target ) ) ) { + if ( e && ( this.$element.is( e.target ) || + $.contains( this.$element[ 0 ], e.target ) ) ) { return; } @@ -427,7 +428,7 @@ * since the last time it was invoked. * * @param {Function} fn Function to be debounced. - * @param {Number} wait Wait interval in milliseconds. + * @param {number} wait Wait interval in milliseconds. * @param {boolean} [immediate] Trigger the function on the leading edge of the wait interval, * instead of the trailing edge. * @return {Function} Debounced function. diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.js b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.js index 23171cf5..e061515a 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.js @@ -655,6 +655,23 @@ module.exports=( function ( $ ) { ], "Lai holh" ], + "cnr": [ + "cnr-latn" + ], + "cnr-cyrl": [ + "Cyrl", + [ + "EU" + ], + "црногорски" + ], + "cnr-latn": [ + "Latn", + [ + "EU" + ], + "crnogorski" + ], "co": [ "Latn", [ diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.utils.js b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.utils.js index a41354c8..5606ab9e 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.utils.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.utils.js @@ -27,7 +27,8 @@ */ $.uls.data.isRedirect = function ( language ) { return ( $.uls.data.languages[ language ] !== undefined && - $.uls.data.languages[ language ].length === 1 ) ? $.uls.data.languages[ language ][ 0 ] : false; + $.uls.data.languages[ language ].length === 1 ) ? + $.uls.data.languages[ language ][ 0 ] : false; }; /** @@ -77,7 +78,8 @@ return $.uls.data.getAutonym( target ); } - return ( $.uls.data.languages[ language ] && $.uls.data.languages[ language ][ 2 ] ) || language; + return ( $.uls.data.languages[ language ] && + $.uls.data.languages[ language ][ 2 ] ) || language; }; /** @@ -137,7 +139,7 @@ * Returns an associative array of languages in a region, * grouped by script group. * @param {string} region Region code - * @return {object} + * @return {Object} */ $.uls.data.getLanguagesByScriptGroupInRegion = function ( region ) { return $.uls.data.getLanguagesByScriptGroupInRegions( [ region ] ); diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.languagefilter.js b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.languagefilter.js index 4262efd7..cdc96c6f 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.languagefilter.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.languagefilter.js @@ -268,7 +268,8 @@ } userInput = this.$element.val(); - suggestion = userInput + languageName.substring( userInput.length, languageName.length ); + suggestion = userInput + + languageName.substring( userInput.length, languageName.length ); if ( suggestion.toLowerCase() !== languageName.toLowerCase() ) { // see if it was autonym match diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.lcd.js b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.lcd.js index 3829e66e..ceadbf15 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.lcd.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.lcd.js @@ -41,7 +41,8 @@ * @cfg {number} [columns] Number of columns for languages. Default is 4. * @cfg {Function} [languageDecorator] Callback function to be called when a language * link is prepared - for custom decoration. - * @cfg {Function|string[]} [quickList] The languages to display as suggestions for quick selection. + * @cfg {Function|string[]} [quickList] The languages to display as suggestions for quick + * selection. * @cfg {Function} [clickhandler] Callback when language is selected. * @cfg {jQuery|Function} [noResultsTemplate] */ @@ -127,7 +128,8 @@ * Override the default region grouping setting. * This is to allow LanguageFilter to disable grouping when displaying search results. * - * @param {boolean|null} val True to force grouping, false to disable, null to undo override. + * @param {boolean|null} val True to force grouping, false to disable, null + * to undo override. */ setGroupByRegionOverride: function ( val ) { this.groupByRegionOverride = val; @@ -218,7 +220,7 @@ /** * Adds given languages sorted into rows and columns into given element. * @param {jQuery} $region Element to add language list. - * @param {array} languages List of language codes. + * @param {Array} languages List of language codes. * @param {number} itemsPerColumn How many languages fit in a column. * @param {number} columnsPerRow How many columns fit in a row. */ @@ -257,8 +259,8 @@ nextScript = $.uls.data.getScriptGroupOfLanguage( languages[ i + 1 ] ); lastItem = languagesCount - i === 1; - // Force column break if script changes and column has more than one row already, - // but only if grouping by region + // Force column break if script changes and column has more than one + // row already, but only if grouping by region if ( i === 0 || !this.isGroupingByRegionEnabled() ) { currentScript = $.uls.data.getScriptGroupOfLanguage( languages[ i ] ); } else if ( currentScript !== nextScript && items.length > 1 ) { |