Update jquery.uls and jquery.ime from upstream
jquery.uls: * Make "ha" the primary code for Hausa (should address Bug T279269). * Localisation updates: ms-arab, ce, fur. * Minor whitespace fixes for eslint. Updating to9b879ca89bjquery.ime: * Minor whitespace and escaping fixes for eslint. Updating to1fd57c64b9Bug: T279269 Change-Id: I46aeb0a8397ebd9dc8a5d68a9e92368d8156ae2d
This commit is contained in:
committed by
jenkins-bot
parent
53c076a736
commit
7c6a6b528b
@@ -1,4 +1,4 @@
|
||||
/*! jquery.ime - v0.2.0+20210414
|
||||
/*! jquery.ime - v0.2.0+20210524
|
||||
* https://github.com/wikimedia/jquery.ime
|
||||
* Copyright (c) 2021 Santhosh Thottingal; License: (GPL-2.0-or-later OR MIT) */
|
||||
( function ( $ ) {
|
||||
@@ -607,7 +607,10 @@
|
||||
/**
|
||||
* @inheritdoc SelectionWrapper
|
||||
*/
|
||||
ContentEditableEntry.prototype.replaceTextAtSelection = function ( precedingCharCount, newText ) {
|
||||
ContentEditableEntry.prototype.replaceTextAtSelection = function (
|
||||
precedingCharCount,
|
||||
newText
|
||||
) {
|
||||
var textNode, textOffset, newOffset, newRange,
|
||||
sel = window.getSelection(),
|
||||
range = this.getSelectedRange();
|
||||
@@ -1092,7 +1095,8 @@
|
||||
this.selectIM( previousInputMethods[ 0 ] );
|
||||
} else {
|
||||
// Provide the default input method in this case.
|
||||
firstInputmethod = $.ime.languages[ languageCode ].inputmethods[ 0 ];
|
||||
firstInputmethod =
|
||||
$.ime.languages[ languageCode ].inputmethods[ 0 ];
|
||||
this.selectIM( firstInputmethod );
|
||||
}
|
||||
}
|
||||
@@ -1423,7 +1427,9 @@
|
||||
);
|
||||
|
||||
if ( imeSelector.options.helpHandler ) {
|
||||
$inputMethod.append( imeSelector.options.helpHandler.call( imeSelector, inputmethod ) );
|
||||
$inputMethod.append(
|
||||
imeSelector.options.helpHandler.call( imeSelector, inputmethod )
|
||||
);
|
||||
}
|
||||
|
||||
$imeList.append( $inputMethod );
|
||||
@@ -1600,7 +1606,8 @@
|
||||
// Add to the previous languages,
|
||||
if ( inputMethod !== 'system' ) {
|
||||
this.registry.previousInputMethods.unshift( inputMethod );
|
||||
this.registry.previousInputMethods = this.registry.previousInputMethods.slice( 0, 5 );
|
||||
this.registry.previousInputMethods =
|
||||
this.registry.previousInputMethods.slice( 0, 5 );
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
[ 'P', 'ঝ' ],
|
||||
[ '\\}', 'ঞ' ],
|
||||
[ '\'', 'ট' ],
|
||||
[ '\"', 'ঠ' ],
|
||||
[ '"', 'ঠ' ],
|
||||
[ '\\[', 'ড' ],
|
||||
[ '\\{', 'ঢ' ],
|
||||
[ 'C', 'ণ' ],
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
[ '\\(', '(' ],
|
||||
[ '\\)', ')' ],
|
||||
[ '0', '০' ],
|
||||
[ '\"', 'ঠ' ],
|
||||
[ '"', 'ঠ' ],
|
||||
[ '\'', 'ট' ],
|
||||
[ ',', ',' ],
|
||||
[ '-', '-' ],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
( function ( $ ) {
|
||||
'use strict';
|
||||
|
||||
var azb_kbd = {
|
||||
var azbKbd = {
|
||||
id: 'azb-kbd',
|
||||
name: 'تۆرکجه',
|
||||
description: 'South Azerbaijani Keyboard Layout',
|
||||
@@ -104,5 +104,5 @@
|
||||
]
|
||||
};
|
||||
|
||||
$.ime.register( azb_kbd );
|
||||
$.ime.register( azbKbd );
|
||||
}( jQuery ) );
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
[ '\\.', 'ю' ],
|
||||
[ '/', '.' ],
|
||||
[ '\\!', '!' ],
|
||||
[ '\\@', '\"' ],
|
||||
[ '\\@', '"' ],
|
||||
[ '\\#', '№' ],
|
||||
[ '\\$', ';' ],
|
||||
[ '\\%', '%' ],
|
||||
@@ -81,7 +81,7 @@
|
||||
[ 'K', 'Л' ],
|
||||
[ 'L', 'Д' ],
|
||||
[ ':', 'Ж' ],
|
||||
[ '\"', 'Э' ],
|
||||
[ '"', 'Э' ],
|
||||
[ '\\|', '|' ],
|
||||
[ 'Z', 'Я' ],
|
||||
[ 'X', 'Ч' ],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
( function ( $ ) {
|
||||
'use strict';
|
||||
|
||||
var bgn_kbd = {
|
||||
var bgnKbd = {
|
||||
id: 'bgn-kbd',
|
||||
name: 'روچ کپتین بلوچی',
|
||||
description: 'Western Baluchi Keyboard Layout',
|
||||
@@ -104,5 +104,5 @@
|
||||
]
|
||||
};
|
||||
|
||||
$.ime.register( bgn_kbd );
|
||||
$.ime.register( bgnKbd );
|
||||
}( jQuery ) );
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
[ 'P', 'ঝ' ],
|
||||
[ '\\}', 'ঞ' ],
|
||||
[ '\'', 'ট' ],
|
||||
[ '\"', 'ঠ' ],
|
||||
[ '"', 'ঠ' ],
|
||||
[ '\\[', 'ড' ],
|
||||
[ '\\{', 'ঢ' ],
|
||||
[ 'C', 'ণ' ],
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
[ '\\(', '(' ],
|
||||
[ '\\)', ')' ],
|
||||
[ '0', '০' ],
|
||||
[ '\"', 'ঠ' ],
|
||||
[ '"', 'ঠ' ],
|
||||
[ '\'', 'ট' ],
|
||||
[ ',', ',' ],
|
||||
[ '-', '-' ],
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
[ 'l', 'त' ],
|
||||
[ ':', 'छ' ],
|
||||
[ ';', 'च' ],
|
||||
[ '\"', 'ठ' ],
|
||||
[ '"', 'ठ' ],
|
||||
[ '\'', 'ट' ],
|
||||
[ 'z', 'ʼ' ],
|
||||
[ 'X', 'ँ' ],
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
[ 'Y', 'إ' ],
|
||||
[ 'U', 'ۊ' ],
|
||||
[ 'I', '\'' ],
|
||||
[ 'O', '\"' ],
|
||||
[ 'O', '"' ],
|
||||
[ 'P', '؛' ],
|
||||
[ '\\{', '>' ],
|
||||
[ '\\}', '<' ],
|
||||
@@ -84,7 +84,7 @@
|
||||
[ 'J', 'ـ' ],
|
||||
[ 'K', '،' ],
|
||||
[ 'L', '\\' ],
|
||||
[ '\"', 'ط' ],
|
||||
[ '"', 'ط' ],
|
||||
|
||||
[ 'Z', 'ڎ' ],
|
||||
[ 'X', 'وو' ],
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
// This Chuvash keyboard is a stripped version of latin Mercen
|
||||
// https://sites.google.com/site/mercen77/
|
||||
// http://cvlat.blogspot.com
|
||||
// only Chuvash diacritics are used, no additional letters for Turkish or dead keys implemented (for now?)
|
||||
// Only Chuvash diacritics are used, no additional letters
|
||||
// for Turkish or dead keys implemented (for now?)
|
||||
|
||||
( function ( $ ) {
|
||||
'use strict';
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
[ 'l', 'त' ],
|
||||
[ ':', 'छ' ],
|
||||
[ ';', 'च' ],
|
||||
[ '\"', 'ठ' ],
|
||||
[ '"', 'ठ' ],
|
||||
[ '\'', 'ट' ],
|
||||
[ 'z', 'ʼ' ],
|
||||
[ 'X', 'ँ' ],
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
[ 'l', 'ત' ],
|
||||
[ ':', 'છ' ],
|
||||
[ ';', 'ચ' ],
|
||||
[ '\"', 'ઠ' ],
|
||||
[ '"', 'ઠ' ],
|
||||
[ '\\\'', 'ટ' ],
|
||||
[ '\\|', 'ઑ' ],
|
||||
[ '\\', 'ૉ' ],
|
||||
|
||||
@@ -10,7 +10,9 @@
|
||||
author: 'Amir E. Aharoni (אָמִיר אֱלִישָׁע אַהֲרוֹנִי, [[User:Amire80]])',
|
||||
license: 'GPLv3',
|
||||
version: '1.0',
|
||||
patterns: [], // Empty, because the assumption is that the user is using a Hebrew keyboard already
|
||||
// Empty, because the assumption is that
|
||||
// the user is using a Hebrew keyboard already
|
||||
patterns: [],
|
||||
patterns_x: [
|
||||
[ '\u05E9', 'ְ' ], // Sheva, ש
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
[ 'l', 'त' ],
|
||||
[ ':', 'छ' ],
|
||||
[ ';', 'च' ],
|
||||
[ '\"', 'ठ' ],
|
||||
[ '"', 'ठ' ],
|
||||
[ '\'', 'ट' ],
|
||||
[ '\\|', 'ऑ' ],
|
||||
[ '\\\\', 'ॉ' ],
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
[ '¨O', 'Ö' ],
|
||||
[ '¨u', 'ü' ],
|
||||
[ '¨U', 'Ü' ],
|
||||
[ '\\@', '\"' ],
|
||||
[ '\\@', '"' ],
|
||||
[ '\\^', '&' ],
|
||||
[ '\\&', '/' ],
|
||||
[ '\\*', '(' ],
|
||||
@@ -44,7 +44,7 @@
|
||||
[ ';', 'č' ],
|
||||
[ ':', 'Č' ],
|
||||
[ '\'', 'ć' ],
|
||||
[ '\"', 'Ć' ],
|
||||
[ '"', 'Ć' ],
|
||||
[ '\\\\', 'ž' ],
|
||||
[ '\\|', 'Ž' ],
|
||||
[ 'z', 'y' ],
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
[ ';', 'թ' ],
|
||||
[ ':', 'Թ' ],
|
||||
[ '\'', 'փ' ],
|
||||
[ '\"', 'Փ' ],
|
||||
[ '"', 'Փ' ],
|
||||
[ 'z', 'զ' ],
|
||||
[ 'Z', 'Զ' ],
|
||||
[ 'x', 'ց' ],
|
||||
@@ -156,7 +156,7 @@
|
||||
[ ';', ';' ],
|
||||
[ '\\:', ':' ],
|
||||
[ '\'', '\'' ],
|
||||
[ '\"', '\"' ],
|
||||
[ '"', '"' ],
|
||||
[ '\\<', '<' ],
|
||||
[ '\\.', '.' ],
|
||||
[ '\\>', '>' ],
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
[ ';', ';' ],
|
||||
[ ':', '։' ],
|
||||
[ '\'', '՛' ],
|
||||
[ '\"', '"' ],
|
||||
[ '"', '"' ],
|
||||
[ 'z', 'զ' ],
|
||||
[ 'Z', 'Զ' ],
|
||||
[ 'x', 'ղ' ],
|
||||
@@ -160,7 +160,7 @@
|
||||
[ ';', ';' ],
|
||||
[ '\\:', ':' ],
|
||||
[ '\'', '\'' ],
|
||||
[ '\"', '\"' ],
|
||||
[ '"', '"' ],
|
||||
[ '\\<', '<' ],
|
||||
[ '\\.', '.' ],
|
||||
[ '\\>', '>' ],
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
[ ';', ';' ],
|
||||
[ ':', '։' ],
|
||||
[ '\'', '՛' ],
|
||||
[ '\"', '"' ],
|
||||
[ '"', '"' ],
|
||||
[ 'z', 'զ' ],
|
||||
[ 'Z', 'Զ' ],
|
||||
[ 'x', 'ղ' ],
|
||||
@@ -158,7 +158,7 @@
|
||||
[ ';', ';' ],
|
||||
[ '\\:', ':' ],
|
||||
[ '\'', '\'' ],
|
||||
[ '\"', '\"' ],
|
||||
[ '"', '"' ],
|
||||
[ '\\<', '<' ],
|
||||
[ '\\.', '.' ],
|
||||
[ '\\>', '>' ],
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
[ ';', 'պ' ],
|
||||
[ ':', 'Պ' ],
|
||||
[ '\'', 'ր' ],
|
||||
[ '\"', 'Ր' ],
|
||||
[ '"', 'Ր' ],
|
||||
[ 'z', 'ժ' ],
|
||||
[ 'Z', 'Ժ' ],
|
||||
[ 'x', 'դ' ],
|
||||
@@ -155,7 +155,7 @@
|
||||
[ ';', ';' ],
|
||||
[ '\\:', ':' ],
|
||||
[ '\'', '\'' ],
|
||||
[ '\"', '\"' ],
|
||||
[ '"', '"' ],
|
||||
[ '\\<', '<' ],
|
||||
[ '\\.', '.' ],
|
||||
[ '\\>', '>' ],
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
[ ';', 'թ' ],
|
||||
[ ':', 'Թ' ],
|
||||
[ '\'', 'փ' ],
|
||||
[ '\"', 'Փ' ],
|
||||
[ '"', 'Փ' ],
|
||||
[ 'z', 'զ' ],
|
||||
[ 'Z', 'Զ' ],
|
||||
[ 'x', 'ց' ],
|
||||
@@ -156,7 +156,7 @@
|
||||
[ ';', ';' ],
|
||||
[ '\\:', ':' ],
|
||||
[ '\'', '\'' ],
|
||||
[ '\"', '\"' ],
|
||||
[ '"', '"' ],
|
||||
[ '\\<', '<' ],
|
||||
[ '\\.', '.' ],
|
||||
[ '\\>', '>' ],
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
patterns: [
|
||||
[ '`', '(' ],
|
||||
[ '\\~', ')' ],
|
||||
[ '1', '\"' ],
|
||||
[ '1', '"' ],
|
||||
[ '2', 'ә' ],
|
||||
[ '\\@', 'Ә' ],
|
||||
[ '3', 'і' ],
|
||||
@@ -81,7 +81,7 @@
|
||||
[ ';', 'ж' ],
|
||||
[ ':', 'Ж' ],
|
||||
[ '\'', 'э' ],
|
||||
[ '\"', 'Э' ],
|
||||
[ '"', 'Э' ],
|
||||
[ 'z', 'я' ],
|
||||
[ 'Z', 'Я' ],
|
||||
[ 'x', 'ч' ],
|
||||
|
||||
@@ -27,7 +27,8 @@
|
||||
],
|
||||
|
||||
patterns: [
|
||||
// NOTE: Contextual rules must appear before rules
|
||||
// NOTE:
|
||||
// Contextual rules must appear before rules
|
||||
// without context to avoid collisions.
|
||||
// Make sure contextLength is large enough for
|
||||
// these rules.
|
||||
@@ -54,12 +55,12 @@
|
||||
// Unicode 4.0: normalize consonant shifter before
|
||||
// subscript consonants and their optional following
|
||||
// robats: (SR?)+Z?C -> Z?C(SR?)+
|
||||
/* XXX: Not compatible with Unicode 3.0, which places
|
||||
consonant shifters after subscript consonants.
|
||||
Make sure maxKeyLength is large enough for this rule.
|
||||
[ '((?:\u17d2.\u17cc?)+)((:?\u200c|\u200d)?)/', '$2\u17ca$1' ], // ៊
|
||||
[ '((?:\u17d2.\u17cc?)+)((:?\u200c|\u200d)?)\"', '$2\u17c9$1' ], // ៉
|
||||
*/
|
||||
// XXX:
|
||||
// Not compatible with Unicode 3.0, which places
|
||||
// consonant shifters after subscript consonants.
|
||||
// Make sure maxKeyLength is large enough for this rule.
|
||||
// [ '((?:\u17d2.\u17cc?)+)((:?\u200c|\u200d)?)/', '$2\u17ca$1' ], // ៊
|
||||
// [ '((?:\u17d2.\u17cc?)+)((:?\u200c|\u200d)?)"', '$2\u17c9$1' ], // ៉
|
||||
|
||||
// consonants
|
||||
[ 'q', 'ឆ' ],
|
||||
@@ -130,7 +131,7 @@
|
||||
[ ',', '\u17bb\u17c6' ], // ុា
|
||||
[ '/', '\u17ca' ], // ៊
|
||||
[ ':', '\u17c4\u17c7' ], // ោះ
|
||||
[ '\"', '\u17c9' ], // ៉
|
||||
[ '"', '\u17c9' ], // ៉
|
||||
[ '<', '\u17bb\u17c7' ], // ុះ
|
||||
[ '\\^', '\u17cd' ], // ៍
|
||||
[ '&', '\u17d0' ], // ័
|
||||
@@ -160,7 +161,7 @@
|
||||
[ '~', '»' ],
|
||||
[ '\\!', '!' ],
|
||||
[ '@', 'ៗ' ],
|
||||
[ '#', '\"' ],
|
||||
[ '#', '"' ],
|
||||
[ '\\$', '៛' ],
|
||||
[ '%', '%' ],
|
||||
[ '\\(', '(' ],
|
||||
@@ -252,7 +253,7 @@
|
||||
[ 'K', '᧳' ], // shift-k
|
||||
[ 'L', '᧴' ], // shift-l
|
||||
[ ':', '᧵' ], // shift-;
|
||||
[ '\"', '᧶' ], // shift-'
|
||||
[ '"', '᧶' ], // shift-'
|
||||
[ 'Z', '᧷' ], // shift-z
|
||||
[ 'X', '᧸' ], // shift-x
|
||||
[ 'C', '᧹' ], // shift-c
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
[ 'l', 'त' ],
|
||||
[ ':', 'छ' ],
|
||||
[ ';', 'च' ],
|
||||
[ '\"', 'ठ' ],
|
||||
[ '"', 'ठ' ],
|
||||
[ '\'', 'ट' ],
|
||||
[ '\\|', 'ऑ' ],
|
||||
[ '\\\\', 'ॉ' ],
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
[ 'l', 'ل' ],
|
||||
[ ':', ':' ],
|
||||
[ ';', '؛' ],
|
||||
[ '\"', '\"' ],
|
||||
[ '"', '"' ],
|
||||
[ '\'', 'ٰ' ],
|
||||
[ '\\|', 'أ' ],
|
||||
[ '\\\\', '؎' ],
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
version: '1.0',
|
||||
patterns: [
|
||||
[ '\\!', '1' ],
|
||||
[ '\"', '=' ],
|
||||
[ '"', '=' ],
|
||||
[ '\\#', '3' ],
|
||||
[ '\\$', '4' ],
|
||||
[ '\\&', '5' ],
|
||||
@@ -68,7 +68,7 @@
|
||||
[ 'W', '0' ],
|
||||
[ 'X', '(' ],
|
||||
[ 'Y', 'ິ' ],
|
||||
[ 'Z', '\"' ],
|
||||
[ 'Z', '"' ],
|
||||
[ '\\[', 'ບ' ],
|
||||
[ '\\]', 'ລ' ],
|
||||
[ '\\^', 'ຼ' ],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
( function ( $ ) {
|
||||
'use strict';
|
||||
|
||||
var lrc_kbd = {
|
||||
var lrcKbd = {
|
||||
id: 'lrc-kbd',
|
||||
name: 'لۊری شومالی',
|
||||
description: 'Northern Luri Keyboard Layout',
|
||||
@@ -104,5 +104,5 @@
|
||||
]
|
||||
};
|
||||
|
||||
$.ime.register( lrc_kbd );
|
||||
$.ime.register( lrcKbd );
|
||||
}( jQuery ) );
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
[ '\\(', '(' ],
|
||||
[ '\\)', ')' ],
|
||||
[ '0', '০' ],
|
||||
[ '\"', 'ঠ' ],
|
||||
[ '"', 'ঠ' ],
|
||||
[ '\'', 'ট' ],
|
||||
[ ',', ',' ],
|
||||
[ '-', '-' ],
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
[ 'l', 'ल' ],
|
||||
[ ':', 'ई' ],
|
||||
[ ';', 'इ' ],
|
||||
[ '\"', 'ऊ' ],
|
||||
[ '"', 'ऊ' ],
|
||||
[ '\'', 'उ' ],
|
||||
[ '\\|', 'ऒ' ],
|
||||
[ '\\\\', 'ॊ' ],
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
[ ':', '\u1002' ],
|
||||
|
||||
[ '\'', '\'' ],
|
||||
[ '\"', '"' ],
|
||||
[ '"', '"' ],
|
||||
|
||||
[ 'z', '\u1016' ],
|
||||
[ 'Z', '\u1007' ],
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
version: '1.0',
|
||||
patterns: [
|
||||
[ '\\!', '!' ],
|
||||
[ '\"', '"' ],
|
||||
[ '"', '"' ],
|
||||
[ '\\#', '#' ],
|
||||
[ '\\$', 'रु' ],
|
||||
[ '\'', '\'' ],
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
license: 'GPLv3',
|
||||
version: '1.0',
|
||||
patterns: [
|
||||
[ '\"', 'ू' ],
|
||||
[ '"', 'ू' ],
|
||||
[ '\\#', 'घ' ],
|
||||
[ '\'', 'ु' ],
|
||||
[ '\\(', 'ढ' ],
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
maxKeyLength: 4,
|
||||
patterns: [
|
||||
[ '/([A-Za-z\\>_\\-\\!@#\\$\\^\\&\\%\\*\\~\\.\\|\\\\0-9])', '$1' ],
|
||||
[ '\'([\'])','\"' ], // '' to "
|
||||
[ '\"([\'])','\'\'\'' ], // '''
|
||||
[ '([କ-ହ]୍[କ-ହ])@@', 'ର୍\$1' ], // reph
|
||||
[ '([କ-ହ])@@', 'ର୍\$1' ], // reph
|
||||
[ '\'([\'])', '"' ], // '' to "
|
||||
[ '"([\'])', '\'\'\'' ], // '''
|
||||
[ '([କ-ହ]୍[କ-ହ])@@', 'ର୍$1' ], // reph
|
||||
[ '([କ-ହ])@@', 'ର୍$1' ], // reph
|
||||
[ '%%', 'ଙ୍କ' ], // Anka
|
||||
[ '"', 'ଁ' ], // chanda bindu
|
||||
[ '([ର])}', 'ର୍ୟ' ], // special case: Ja phala (ର + ZWJ + ୍ୟ)
|
||||
[ '\\}', '୍ୟ' ], // Ja phala
|
||||
[ '୍\ ', '୍ ' ], // ending with halant+zwnj
|
||||
[ '୍ ', '୍ ' ], // ending with halant+zwnj
|
||||
[ '{', 'ୃ' ], // Ru kara
|
||||
[ 'େk', 'ୋ' ], // l= ekar, lk = okar
|
||||
[ 'ାl', 'ୋ' ], // l= ekar, kl = okar
|
||||
@@ -35,7 +35,7 @@
|
||||
[ '([ର])##', 'ର୍ୱ' ], // special case ର + ZWJ + ୍ୱ
|
||||
[ '([କ-ହ])##', '$1୍ୱ' ], //
|
||||
[ 'ଦQ', 'ହ' ],
|
||||
[ '([କନପସମ])Q', 'ତ୍\$1' ],
|
||||
[ '([କନପସମ])Q', 'ତ୍$1' ],
|
||||
[ '([ଖଥଧ])Q', '$1ି' ],
|
||||
[ '([ନସ])_', '$1୍ତ୍ର' ], // ନ୍ତ୍ର , ସ୍ତ୍ର
|
||||
[ '\\$', 'କ୍ଷ' ],
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
[ 'l', 'ତ' ],
|
||||
[ ':', 'ଛ' ],
|
||||
[ ';', 'ଚ' ],
|
||||
[ '\"', 'ଠ' ],
|
||||
[ '"', 'ଠ' ],
|
||||
[ '\'', 'ଟ' ],
|
||||
[ 'X', 'ଁ' ],
|
||||
[ 'x', 'ଂ' ],
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
[ '\\.', 'ю' ],
|
||||
[ '/', '.' ],
|
||||
[ '\\!', '!' ],
|
||||
[ '\\@', '\"' ],
|
||||
[ '\\@', '"' ],
|
||||
[ '\\#', '№' ],
|
||||
[ '\\$', ';' ],
|
||||
[ '\\%', '%' ],
|
||||
@@ -81,7 +81,7 @@
|
||||
[ 'K', 'Л' ],
|
||||
[ 'L', 'Д' ],
|
||||
[ ':', 'Ж' ],
|
||||
[ '\"', 'Э' ],
|
||||
[ '"', 'Э' ],
|
||||
[ '\\|', '|' ],
|
||||
[ 'Z', 'Я' ],
|
||||
[ 'X', 'Ч' ],
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
[ 'l', 'त' ],
|
||||
[ ':', 'छ' ],
|
||||
[ ';', 'च' ],
|
||||
[ '\"', 'ठ' ],
|
||||
[ '"', 'ठ' ],
|
||||
[ '\'', 'ट' ],
|
||||
[ 'z', 'ʼ' ],
|
||||
[ 'X', 'ँ' ],
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
[ 'l', 'त' ],
|
||||
[ ':', 'छ' ],
|
||||
[ ';', 'च' ],
|
||||
[ '\"', 'ठ' ],
|
||||
[ '"', 'ठ' ],
|
||||
[ '\'', 'ट' ],
|
||||
[ 'X', 'ँ' ],
|
||||
[ 'C', 'ण' ],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
( function ( $ ) {
|
||||
'use strict';
|
||||
|
||||
var sdh_kbd = {
|
||||
var sdhKbd = {
|
||||
id: 'sdh-kbd',
|
||||
name: 'کوردی خوارگ',
|
||||
description: 'Southern Kurdish Keyboard Layout',
|
||||
@@ -104,5 +104,5 @@
|
||||
]
|
||||
};
|
||||
|
||||
$.ime.register( sdh_kbd );
|
||||
$.ime.register( sdhKbd );
|
||||
}( jQuery ) );
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
[ 'K', 'ණ' ],
|
||||
[ 'L', 'ඛ' ],
|
||||
[ '\\:', 'ථ' ],
|
||||
[ '\"', ',' ],
|
||||
[ '"', ',' ],
|
||||
[ 'Z', '"' ],
|
||||
[ 'X', 'ඃ' ],
|
||||
[ 'C', 'ඣ' ],
|
||||
|
||||
@@ -42,9 +42,9 @@
|
||||
[ '\\\\', 'ň' ],
|
||||
[ '\\|', ')' ],
|
||||
[ ';', 'ô' ],
|
||||
[ ':', '\"' ],
|
||||
[ ':', '"' ],
|
||||
[ '\'', '§' ],
|
||||
[ '\"', '!' ],
|
||||
[ '"', '!' ],
|
||||
[ '\\<', '?' ],
|
||||
[ '\\>', ':' ],
|
||||
[ '/', '-' ],
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
[ '\'G', 'Ѓ' ],
|
||||
[ '\'k', 'ќ' ],
|
||||
[ '\'K', 'Ќ' ],
|
||||
[ '\\@', '\"' ],
|
||||
[ '\\@', '"' ],
|
||||
[ '\\^', '&' ],
|
||||
[ '\\&', '/' ],
|
||||
[ '\\*', '(' ],
|
||||
@@ -70,7 +70,7 @@
|
||||
[ ';', 'ч' ],
|
||||
[ ':', 'Ч' ],
|
||||
[ '\'', 'ћ' ],
|
||||
[ '\"', 'Ћ' ],
|
||||
[ '"', 'Ћ' ],
|
||||
[ '\\\\', 'ж' ],
|
||||
[ '\\|', 'Ж' ],
|
||||
[ 'z', 'ѕ' ],
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
[ 'K', 'ษ' ],
|
||||
[ 'L', 'ศ' ],
|
||||
[ ':', 'ซ' ],
|
||||
[ '\"', '.' ],
|
||||
[ '"', '.' ],
|
||||
[ 'Z', '(' ],
|
||||
[ 'X', ')' ],
|
||||
[ 'C', 'ฉ' ],
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
[ 'K', 'Л' ],
|
||||
[ 'L', 'Д' ],
|
||||
[ ':', 'Ж' ],
|
||||
[ '\"', 'Є' ],
|
||||
[ '"', 'Є' ],
|
||||
[ '\\|', '|' ],
|
||||
[ 'Z', 'Я' ],
|
||||
[ 'X', 'Ч' ],
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
/* Yeh with hamza above */ [ '\\$', 'ئ' ],
|
||||
[ '\\(', ')' ],
|
||||
[ '\\)', '(' ],
|
||||
[ '\\_" "ّ' ],
|
||||
/* Shadda */ [ '_', 'ّ' ],
|
||||
/* Alef with hamza above */ [ '\\-', 'أ' ],
|
||||
/* Alef with madda above */ [ '\\+', 'آ' ],
|
||||
/* Waw with hamza above */ [ '\\=', 'ؤ' ],
|
||||
[ 'Q', 'ْ' ],
|
||||
/* Sukun */ [ 'Q', 'ْ' ],
|
||||
[ 'q', 'ق' ],
|
||||
[ 'W', 'ﷺ' ],
|
||||
[ 'w', 'و' ],
|
||||
@@ -34,23 +34,23 @@
|
||||
[ 'y', 'ے' ],
|
||||
[ 'U', '،' ],
|
||||
[ 'u', 'ء' ],
|
||||
[ 'I', 'ٰ' ],
|
||||
/* superscript alef */ [ 'I', 'ٰ' ],
|
||||
[ 'i', 'ی' ],
|
||||
/* Teh marbuta goal */ [ 'O', 'ۃ' ],
|
||||
[ 'o', 'ہ' ],
|
||||
[ 'P', 'ُ' ],
|
||||
/* damma */ [ 'P', 'ُ' ],
|
||||
[ 'p', 'پ' ],
|
||||
[ '\\{', 'ٰ' ],
|
||||
/* superscript alef */ [ '\\{', 'ٰ' ],
|
||||
[ '\\[', ']' ],
|
||||
[ '\\}', 'ٰٰ' ],
|
||||
/* double superscript alef */ [ '\\}', 'ٰٰ' ],
|
||||
[ '\\]', '[' ],
|
||||
[ 'A', 'ٓ' ],
|
||||
/* madda */ [ 'A', 'ٓ' ],
|
||||
[ 'a', 'ا' ],
|
||||
[ 'S', 'ص' ],
|
||||
[ 's', 'س' ],
|
||||
[ 'D', 'ڈ' ],
|
||||
[ 'd', 'د' ],
|
||||
[ 'F', '' ],
|
||||
/* Empty */ [ 'F', '' ],
|
||||
[ 'f', 'ف' ],
|
||||
[ 'G', 'غ' ],
|
||||
[ 'g', 'گ' ],
|
||||
@@ -64,12 +64,12 @@
|
||||
[ 'l', 'ل' ],
|
||||
[ ':', ':' ],
|
||||
/* Arabic semicolon */ [ ';', '؛' ],
|
||||
[ '\"', '؎' ],
|
||||
[ '\'', 'ٰ' ],
|
||||
[ '\\|', 'ؔ' ],
|
||||
[ '\\', '؎' ],
|
||||
[ '\\~', 'ً' ],
|
||||
[ '\\`', 'ٍ' ],
|
||||
/* verse sign */ [ '"', '؎' ],
|
||||
/* superscript alef */ [ '\'', 'ٰ' ],
|
||||
/* takhallus */ [ '\\|', 'ؔ' ],
|
||||
/* verse sign */ [ '\\', '؎' ],
|
||||
/* fathatan */ [ '\\~', 'ً' ],
|
||||
/* kasratan */ [ '\\`', 'ٍ' ],
|
||||
[ 'Z', 'ذ' ],
|
||||
[ 'z', 'ز' ],
|
||||
[ 'X', 'ژ' ],
|
||||
@@ -78,20 +78,20 @@
|
||||
[ 'c', 'چ' ],
|
||||
[ 'V', 'ظ' ],
|
||||
[ 'v', 'ط' ],
|
||||
[ 'B', 'ؒ' ],
|
||||
/* rakhmatullah */ [ 'B', 'ؒ' ],
|
||||
[ 'b', 'ب' ],
|
||||
[ 'N', 'ں' ],
|
||||
[ 'n', 'ن' ],
|
||||
[ 'M', '' ],
|
||||
/* Empty */ [ 'M', '' ],
|
||||
[ 'm', 'م' ],
|
||||
[ '\\<', 'ِ' ],
|
||||
/* kasra */ [ '\\<', 'ِ' ],
|
||||
[ ',', '،' ],
|
||||
[ '\\>', 'َ' ],
|
||||
/* fatha */ [ '\\>', 'َ' ],
|
||||
/* Arabic full stop */ [ '\\.', '۔' ],
|
||||
/* Arabic question mark */ [ '\\?', '؟' ],
|
||||
[ '\\^', 'ۖ' ],
|
||||
[ '\\&', 'ٔ' ],
|
||||
[ '\\*', 'ٌ' ] ]
|
||||
/* sla */ [ '\\^', 'ۖ' ],
|
||||
/* hamza above */ [ '\\&', 'ٔ' ],
|
||||
/* dammatan */ [ '\\*', 'ٌ' ] ]
|
||||
};
|
||||
|
||||
$.ime.register( urPhonetic );
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
[ 'P', 'خ' ],
|
||||
[ '\\}', '{' ],
|
||||
[ '\'', '\'' ],
|
||||
[ '\"', '\"' ],
|
||||
[ '"', '"' ],
|
||||
[ '\\[', ']' ],
|
||||
[ '\\{', '{' ],
|
||||
[ 'C', 'ۓ' ],
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
[ '\\.', 'ю' ],
|
||||
[ '/', '.' ],
|
||||
[ '\\!', '!' ],
|
||||
[ '\\@', '\"' ],
|
||||
[ '\\@', '"' ],
|
||||
[ '\\#', '№' ],
|
||||
[ '\\$', ';' ],
|
||||
[ '\\%', '%' ],
|
||||
@@ -83,7 +83,7 @@
|
||||
[ 'K', 'Л' ],
|
||||
[ 'L', 'Д' ],
|
||||
[ ':', 'Ж' ],
|
||||
[ '\"', 'Э' ],
|
||||
[ '"', 'Э' ],
|
||||
[ '\\|', '|' ],
|
||||
[ 'Z', 'Я' ],
|
||||
[ 'X', 'Ч' ],
|
||||
|
||||
@@ -16,6 +16,6 @@
|
||||
"uls-no-results-found": "Цакарийна",
|
||||
"uls-common-languages": "Ша дӀанисбелла меттанаш",
|
||||
"uls-no-results-suggestion-title": "Хьуна хӀара меттанаш хьашта хила мега:",
|
||||
"uls-search-help": "Хьа таро ю меттан я йозанан цӀарца лаха, меттан ISO-кодаца я регионаца хьажа.",
|
||||
"uls-search-help": "Хьа таро йу меттан йа йозанан цӀарца лаха, меттан ISO-кодаца йа регионаца хьажа.",
|
||||
"uls-search-placeholder": "Лаха мотт"
|
||||
}
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
"uls-region-ME": "Medi Orient",
|
||||
"uls-region-PA": "Pacjific",
|
||||
"uls-no-results-found": "Nissun risultât",
|
||||
"uls-common-languages": "Lenghis comunis",
|
||||
"uls-common-languages": "Lenghis sugjeridis",
|
||||
"uls-no-results-suggestion-title": "Tu puedis jessi interessât a:",
|
||||
"uls-search-help": "Tu pues cirî par non de lenghe, non dal alfabet, codis ISO de lenghe o tu puedis cirî intune regjon:",
|
||||
"uls-search-placeholder": "Ricercje de lenghe"
|
||||
"uls-search-help": "Tu pues cirî par non de lenghe, non dal alfabet, codis ISO de lenghe o tu puedis cirî intune regjon.",
|
||||
"uls-search-placeholder": "Cîr une lenghe"
|
||||
}
|
||||
|
||||
21
lib/jquery.uls/i18n/ms-arab.json
Normal file
21
lib/jquery.uls/i18n/ms-arab.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Tofeiku"
|
||||
]
|
||||
},
|
||||
"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": "اندا بوليه چاري مڠيکوت نام بهاس، نام توليسن، کود اءي. ايس. او. بهاس اتاو اندا بوليه لاير مڠيکوت رنتاو.",
|
||||
"uls-search-placeholder": "چاري بهاس"
|
||||
}
|
||||
@@ -13,9 +13,8 @@
|
||||
* header is left intact. See files GPL-LICENSE and MIT-LICENSE for details.
|
||||
*
|
||||
* @file
|
||||
* @ingroup Extensions
|
||||
* @licence GNU General Public Licence 2.0 or later
|
||||
* @licence MIT License
|
||||
* @license GNU General Public Licence 2.0 or later
|
||||
* @license MIT License
|
||||
*/
|
||||
|
||||
( function ( $ ) {
|
||||
@@ -47,6 +46,7 @@
|
||||
|
||||
/**
|
||||
* ULS Public class definition
|
||||
*
|
||||
* @param {Element} element
|
||||
* @param {Object} options
|
||||
*/
|
||||
@@ -112,6 +112,7 @@
|
||||
/**
|
||||
* Calculate the position of ULS
|
||||
* Returns an object with top and left properties.
|
||||
*
|
||||
* @return {Object}
|
||||
*/
|
||||
position: function () {
|
||||
@@ -292,6 +293,7 @@
|
||||
|
||||
/**
|
||||
* On select handler for search results
|
||||
*
|
||||
* @param {string} langCode
|
||||
* @param {Object} event The jQuery click event
|
||||
*/
|
||||
@@ -304,6 +306,7 @@
|
||||
|
||||
/**
|
||||
* On cancel handler for the uls menu
|
||||
*
|
||||
* @param {Event} e
|
||||
*/
|
||||
cancel: function ( e ) {
|
||||
@@ -337,6 +340,7 @@
|
||||
|
||||
/**
|
||||
* Get the panel menu width parameter
|
||||
*
|
||||
* @return {string}
|
||||
*/
|
||||
getMenuWidth: function () {
|
||||
|
||||
@@ -1470,6 +1470,13 @@
|
||||
],
|
||||
"Gaelg"
|
||||
],
|
||||
"ha": [
|
||||
"Latn",
|
||||
[
|
||||
"AF"
|
||||
],
|
||||
"Hausa"
|
||||
],
|
||||
"ha-arab": [
|
||||
"Arab",
|
||||
[
|
||||
@@ -1478,14 +1485,7 @@
|
||||
"هَوُسَ"
|
||||
],
|
||||
"ha-latn": [
|
||||
"Latn",
|
||||
[
|
||||
"AF"
|
||||
],
|
||||
"Hausa"
|
||||
],
|
||||
"ha": [
|
||||
"ha-latn"
|
||||
"ha"
|
||||
],
|
||||
"hai": [
|
||||
"Latn",
|
||||
@@ -4750,7 +4750,7 @@
|
||||
"ar",
|
||||
"ksf",
|
||||
"ha-arab",
|
||||
"ha-latn"
|
||||
"ha"
|
||||
],
|
||||
"CN": [
|
||||
"zh",
|
||||
@@ -5016,7 +5016,7 @@
|
||||
"ee",
|
||||
"gur",
|
||||
"gaa",
|
||||
"ha-latn",
|
||||
"ha",
|
||||
"ff"
|
||||
],
|
||||
"GI": [
|
||||
@@ -5515,7 +5515,7 @@
|
||||
"fr"
|
||||
],
|
||||
"NE": [
|
||||
"ha-latn",
|
||||
"ha",
|
||||
"fr",
|
||||
"ar",
|
||||
"ff"
|
||||
@@ -5525,7 +5525,7 @@
|
||||
],
|
||||
"NG": [
|
||||
"en",
|
||||
"ha-latn",
|
||||
"ha",
|
||||
"ig",
|
||||
"yo",
|
||||
"ha-arab",
|
||||
@@ -5768,7 +5768,7 @@
|
||||
"ar",
|
||||
"en",
|
||||
"ha-arab",
|
||||
"ha-latn"
|
||||
"ha"
|
||||
],
|
||||
"SE": [
|
||||
"sv",
|
||||
|
||||
@@ -12,9 +12,8 @@
|
||||
* header is left intact. See files GPL-LICENSE and MIT-LICENSE for details.
|
||||
*
|
||||
* @file
|
||||
* @ingroup Extensions
|
||||
* @licence GNU General Public Licence 2.0 or later
|
||||
* @licence MIT License
|
||||
* @license GNU General Public Licence 2.0 or later
|
||||
* @license MIT License
|
||||
*/
|
||||
|
||||
( function ( $ ) {
|
||||
@@ -22,6 +21,7 @@
|
||||
|
||||
/**
|
||||
* Is this language a redirect to another language?
|
||||
*
|
||||
* @param {string} language Language code
|
||||
* @return {string|boolean} Target language code if it's a redirect or false if it's not
|
||||
*/
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
/**
|
||||
* Returns the script of the language.
|
||||
*
|
||||
* @param {string} language Language code
|
||||
* @return {string}
|
||||
*/
|
||||
@@ -53,6 +54,7 @@
|
||||
|
||||
/**
|
||||
* Returns the regions in which a language is spoken.
|
||||
*
|
||||
* @param {string} language Language code
|
||||
* @return {string|string[]}
|
||||
*/
|
||||
@@ -68,6 +70,7 @@
|
||||
|
||||
/**
|
||||
* Returns the autonym of the language.
|
||||
*
|
||||
* @param {string} language Language code
|
||||
* @return {string}
|
||||
*/
|
||||
@@ -84,6 +87,7 @@
|
||||
|
||||
/**
|
||||
* Returns all language codes and corresponding autonyms
|
||||
*
|
||||
* @return {string[]}
|
||||
*/
|
||||
$.uls.data.getAutonyms = function () {
|
||||
@@ -103,6 +107,7 @@
|
||||
|
||||
/**
|
||||
* Returns all languages written in script.
|
||||
*
|
||||
* @param {string} script string
|
||||
* @return {string[]} languages codes
|
||||
*/
|
||||
@@ -112,6 +117,7 @@
|
||||
|
||||
/**
|
||||
* Returns all languages written in the given scripts.
|
||||
*
|
||||
* @param {string[]} scripts
|
||||
* @return {string[]} languages codes
|
||||
*/
|
||||
@@ -138,6 +144,7 @@
|
||||
/**
|
||||
* Returns an associative array of languages in a region,
|
||||
* grouped by script group.
|
||||
*
|
||||
* @param {string} region Region code
|
||||
* @return {Object}
|
||||
*/
|
||||
@@ -147,6 +154,7 @@
|
||||
|
||||
/**
|
||||
* Get the given list of languages grouped by script.
|
||||
*
|
||||
* @param {string[]} languages Array of language codes to group
|
||||
* @return {string[]} Array of language codes
|
||||
*/
|
||||
@@ -169,6 +177,7 @@
|
||||
/**
|
||||
* Returns an associative array of languages in several regions,
|
||||
* grouped by script group.
|
||||
*
|
||||
* @param {string[]} regions region codes
|
||||
* @return {Object}
|
||||
*/
|
||||
@@ -201,6 +210,7 @@
|
||||
/**
|
||||
* Returns the script group of a script or 'Other' if it doesn't
|
||||
* belong to any group.
|
||||
*
|
||||
* @param {string} script Script code
|
||||
* @return {string} script group name
|
||||
*/
|
||||
@@ -218,6 +228,7 @@
|
||||
|
||||
/**
|
||||
* Returns the script group of a language.
|
||||
*
|
||||
* @param {string} language Language code
|
||||
* @return {string} script group name
|
||||
*/
|
||||
@@ -227,6 +238,7 @@
|
||||
|
||||
/**
|
||||
* Return the list of languages sorted by script groups.
|
||||
*
|
||||
* @param {string[]} languages Array of language codes to sort
|
||||
* @return {string[]} Array of language codes
|
||||
*/
|
||||
@@ -247,6 +259,7 @@
|
||||
/**
|
||||
* A callback for sorting languages by autonym.
|
||||
* Can be used as an argument to a sort function.
|
||||
*
|
||||
* @param {string} a Language code
|
||||
* @param {string} b Language code
|
||||
* @return {number}
|
||||
@@ -260,6 +273,7 @@
|
||||
|
||||
/**
|
||||
* Check if a language is right-to-left.
|
||||
*
|
||||
* @param {string} language Language code
|
||||
* @return {boolean}
|
||||
*/
|
||||
@@ -269,6 +283,7 @@
|
||||
|
||||
/**
|
||||
* Return the direction of the language
|
||||
*
|
||||
* @param {string} language Language code
|
||||
* @return {string}
|
||||
*/
|
||||
@@ -278,6 +293,7 @@
|
||||
|
||||
/**
|
||||
* Returns the languages spoken in a territory.
|
||||
*
|
||||
* @param {string} territory Territory code
|
||||
* @return {string[]} list of language codes
|
||||
*/
|
||||
|
||||
@@ -12,9 +12,8 @@
|
||||
* header is left intact. See files GPL-LICENSE and MIT-LICENSE for details.
|
||||
*
|
||||
* @file
|
||||
* @ingroup Extensions
|
||||
* @licence GNU General Public Licence 2.0 or later
|
||||
* @licence MIT License
|
||||
* @license GNU General Public Licence 2.0 or later
|
||||
* @license MIT License
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -224,6 +223,7 @@
|
||||
/**
|
||||
* Handler method to be called once search is over.
|
||||
* Based on search result triggers resultsfound or noresults events
|
||||
*
|
||||
* @param {string} query
|
||||
* @param {string[]} results
|
||||
* @param {string} [autofillLabel]
|
||||
@@ -306,6 +306,7 @@
|
||||
* b) Language autonym 'starts with' search string.
|
||||
* c) ISO 639 code match with search string.
|
||||
* d) ISO 15924 code for the script match the search string.
|
||||
*
|
||||
* @param {string} langCode
|
||||
* @param {string} searchTerm
|
||||
* @return {boolean}
|
||||
|
||||
@@ -14,9 +14,8 @@
|
||||
* header is left intact. See files GPL-LICENSE and MIT-LICENSE for details.
|
||||
*
|
||||
* @file
|
||||
* @ingroup Extensions
|
||||
* @licence GNU General Public Licence 2.0 or later
|
||||
* @licence MIT License
|
||||
* @license GNU General Public Licence 2.0 or later
|
||||
* @license MIT License
|
||||
*/
|
||||
|
||||
( function ( $ ) {
|
||||
@@ -32,6 +31,7 @@
|
||||
|
||||
/**
|
||||
* Language category display
|
||||
*
|
||||
* @param {Element} element The container element to which the languages to be displayed
|
||||
* @param {Object} [options] Configuration object
|
||||
* @cfg {Object} [languages] Selectable languages. Keyed by language code, values are autonyms.
|
||||
@@ -69,6 +69,7 @@
|
||||
|
||||
/**
|
||||
* Adds language to the language list.
|
||||
*
|
||||
* @param {string} langCode
|
||||
* @param {string} [regionCode]
|
||||
* @return {boolean} Whether the language was known and accepted
|
||||
@@ -112,6 +113,7 @@
|
||||
|
||||
/**
|
||||
* Whether we should render languages grouped to geographic regions.
|
||||
*
|
||||
* @return {boolean}
|
||||
*/
|
||||
isGroupingByRegionEnabled: function () {
|
||||
@@ -219,6 +221,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 {number} itemsPerColumn How many languages fit in a column.
|
||||
@@ -286,6 +289,7 @@
|
||||
|
||||
/**
|
||||
* Creates dom node representing one item in language list.
|
||||
*
|
||||
* @param {string} code Language code
|
||||
* @return {Element}
|
||||
*/
|
||||
@@ -387,6 +391,7 @@
|
||||
|
||||
/**
|
||||
* No-results event handler
|
||||
*
|
||||
* @param {Event} event
|
||||
* @param {Object} data Information about the failed search query
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user