Update jquery.ime and jquery.uls from upstream
jquery.ime: * Update characters for the Basaa keyboard. * add ~1 rule to the Palochka layout and make it available for the Dargwa language Updating to51418055cdjquery.uls: language-data: Add the Dargwa (Dargin) language (dar) Updating to67e4d46f6aChange-Id: I6fe23100a5a4b2ad0507353d6a7cd4c5520867c0
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/*! jquery.ime - v0.2.0+20210331
|
/*! jquery.ime - v0.2.0+20210414
|
||||||
* https://github.com/wikimedia/jquery.ime
|
* https://github.com/wikimedia/jquery.ime
|
||||||
* Copyright (c) 2021 Santhosh Thottingal; License: (GPL-2.0-or-later OR MIT) */
|
* Copyright (c) 2021 Santhosh Thottingal; License: (GPL-2.0-or-later OR MIT) */
|
||||||
( function ( $ ) {
|
( function ( $ ) {
|
||||||
@@ -718,7 +718,7 @@
|
|||||||
$.ime.languages = {};
|
$.ime.languages = {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @property {string} Relative/absolute path for the rules folder of jquery.ime
|
* @property {string} Relative or absolute path for the rules folder of jquery.ime
|
||||||
*/
|
*/
|
||||||
$.ime.path = '../';
|
$.ime.path = '../';
|
||||||
$.ime.textEntryFactory = TextEntryFactory.static.singleton;
|
$.ime.textEntryFactory = TextEntryFactory.static.singleton;
|
||||||
@@ -2615,6 +2615,10 @@
|
|||||||
autonym: 'Dagbani',
|
autonym: 'Dagbani',
|
||||||
inputmethods: [ 'dag-alt', 'dag-tilde' ]
|
inputmethods: [ 'dag-alt', 'dag-tilde' ]
|
||||||
},
|
},
|
||||||
|
dar: {
|
||||||
|
autonym: 'дарган',
|
||||||
|
inputmethods: [ 'cyrl-palochka' ]
|
||||||
|
},
|
||||||
de: {
|
de: {
|
||||||
autonym: 'Deutsch',
|
autonym: 'Deutsch',
|
||||||
inputmethods: [ 'de-transliteration' ]
|
inputmethods: [ 'de-transliteration' ]
|
||||||
|
|||||||
@@ -21,7 +21,9 @@
|
|||||||
[ '~o', 'ɔ' ],
|
[ '~o', 'ɔ' ],
|
||||||
[ '~\\\\', '\u0300' ], // Combining grave accent
|
[ '~\\\\', '\u0300' ], // Combining grave accent
|
||||||
[ '~/', '\u0301' ], // Combining acute accent
|
[ '~/', '\u0301' ], // Combining acute accent
|
||||||
[ '~\\^', '\u0302' ] // Combining circumflex accent
|
[ '~\\^', '\u0302' ], // Combining circumflex accent
|
||||||
|
[ '~-', '\u0304' ], // Combining macron
|
||||||
|
[ '~v', '\u030C' ] // Combining caron
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -6,17 +6,27 @@
|
|||||||
*
|
*
|
||||||
* This layout assumes that the standard Russian keyboard layout is used. All the rules produce the
|
* This layout assumes that the standard Russian keyboard layout is used. All the rules produce the
|
||||||
* same character palochka, and the characters used are the same that are often used by the speakers
|
* same character palochka, and the characters used are the same that are often used by the speakers
|
||||||
* of these languages online: 1. Latin small 'l'. 2. Latin capital 'I'. 3. Ukrainian capital 'І'. 4.
|
* of these languages online:
|
||||||
* Alt-1 (the digit one). 5. Alt-д (Cyrillic small 'de', on the same key as Latin 'l'). 6. Alt-ш
|
* 1. Latin small 'l'.
|
||||||
* (Cyrillic small 'sha', on the same key as Latin 'i'). 7. Alt-Ш (Cyrillic capital 'sha', on the
|
* 2. Latin capital 'I'.
|
||||||
* same key as Latin 'I').
|
* 3. Ukrainian capital 'І'.
|
||||||
|
* 4. Alt-1 (the digit one).
|
||||||
|
* 5. Alt-д (Cyrillic small 'de', on the same key as Latin 'l').
|
||||||
|
* 6. Alt-ш (Cyrillic small 'sha', on the same key as Latin 'i').
|
||||||
|
* 7. Alt-Ш (Cyrillic capital 'sha', on the same key as Latin 'I').
|
||||||
*/
|
*/
|
||||||
|
|
||||||
( function ( $ ) {
|
( function ( $ ) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
var cyrlPalochka,
|
||||||
// All the characters are very similar in appearance,
|
// All the characters are very similar in appearance,
|
||||||
// so it's better to give them names to avoid confusion.
|
// so it's better to give them names to avoid confusion.
|
||||||
var cyrlPalochka;
|
latinSmallL = 'l',
|
||||||
|
latinCapitalI = 'I',
|
||||||
|
ukrainianCapitalI = 'І',
|
||||||
|
palochka = 'Ӏ',
|
||||||
|
digitOne = '1';
|
||||||
|
|
||||||
cyrlPalochka = {
|
cyrlPalochka = {
|
||||||
id: 'cyrl-palochka',
|
id: 'cyrl-palochka',
|
||||||
@@ -26,16 +36,22 @@
|
|||||||
URL: 'http://github.com/wikimedia/jquery.ime',
|
URL: 'http://github.com/wikimedia/jquery.ime',
|
||||||
author: 'Amir E. Aharoni',
|
author: 'Amir E. Aharoni',
|
||||||
license: 'GPLv3',
|
license: 'GPLv3',
|
||||||
version: '1.0',
|
version: '1.1',
|
||||||
|
contextLength: 2,
|
||||||
|
maxKeyLength: 3,
|
||||||
patterns: [
|
patterns: [
|
||||||
[ 'l', 'Ӏ' ],
|
[ '~~' + digitOne, '~~', '~1' ],
|
||||||
[ 'I', 'Ӏ' ],
|
[ '~' + digitOne, palochka ],
|
||||||
[ 'І', 'Ӏ' ] ],
|
[ latinSmallL, palochka ],
|
||||||
|
[ latinCapitalI, palochka ],
|
||||||
|
[ ukrainianCapitalI, palochka ]
|
||||||
|
],
|
||||||
patterns_x: [
|
patterns_x: [
|
||||||
[ '1', 'Ӏ' ],
|
[ digitOne, palochka ],
|
||||||
[ 'д', 'Ӏ' ],
|
[ 'д', palochka ],
|
||||||
[ 'ш', 'Ӏ' ],
|
[ 'ш', palochka ],
|
||||||
[ 'Ш', 'Ӏ' ] ]
|
[ 'Ш', palochka ]
|
||||||
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
$.ime.register( cyrlPalochka );
|
$.ime.register( cyrlPalochka );
|
||||||
|
|||||||
@@ -899,6 +899,13 @@
|
|||||||
],
|
],
|
||||||
"dagbanli"
|
"dagbanli"
|
||||||
],
|
],
|
||||||
|
"dar": [
|
||||||
|
"Cyrl",
|
||||||
|
[
|
||||||
|
"EU"
|
||||||
|
],
|
||||||
|
"дарган"
|
||||||
|
],
|
||||||
"de-at": [
|
"de-at": [
|
||||||
"Latn",
|
"Latn",
|
||||||
[
|
[
|
||||||
@@ -5710,6 +5717,7 @@
|
|||||||
"os",
|
"os",
|
||||||
"kbd",
|
"kbd",
|
||||||
"myv",
|
"myv",
|
||||||
|
"dar",
|
||||||
"mdf",
|
"mdf",
|
||||||
"kum",
|
"kum",
|
||||||
"kv",
|
"kv",
|
||||||
|
|||||||
Reference in New Issue
Block a user