Update jquery.ime from upstream

jquery.ime:
* Add keyboards for Acholi (ach), Lango (laj),
  Pontic (pnt), and Click languages—initially Khoekhoe (naq),
  but more may be added in the future.

Change-Id: I38ce6f6f60f4069b20792e8e8cb8627b4a63144e
This commit is contained in:
Amir E. Aharoni
2024-10-01 15:50:27 -04:00
committed by Amire80
parent 0978032c73
commit 3fe6ad6661
5 changed files with 111 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
/*! jquery.ime - v0.2.0+20240924 /*! jquery.ime - v0.2.0+20241001
* https://github.com/wikimedia/jquery.ime * https://github.com/wikimedia/jquery.ime
* Copyright (c) 2024 Santhosh Thottingal; License: (GPL-2.0-or-later OR MIT) */ * Copyright (c) 2024 Santhosh Thottingal; License: (GPL-2.0-or-later OR MIT) */
( function ( $ ) { ( function ( $ ) {
@@ -1642,6 +1642,10 @@
// All keys have quotes for consistency // All keys have quotes for consistency
/* eslint-disable quote-props */ /* eslint-disable quote-props */
$.extend( $.ime.sources, { $.extend( $.ime.sources, {
'ach-tilde': {
name: 'Acholi tilde',
source: 'rules/ach/ach-tilde.js'
},
'af-tilde': { 'af-tilde': {
name: 'Afrikaans tilde', name: 'Afrikaans tilde',
source: 'rules/af/af-tilde.js' source: 'rules/af/af-tilde.js'
@@ -2182,6 +2186,10 @@
name: 'Kusaal tilde', name: 'Kusaal tilde',
source: 'rules/kus/kus-tilde.js' source: 'rules/kus/kus-tilde.js'
}, },
'laj-tilde': {
name: 'Lango tilde',
source: 'rules/laj/laj-tilde.js'
},
'lg-tilde': { 'lg-tilde': {
name: 'Luganda tilde', name: 'Luganda tilde',
source: 'rules/lg/lg-tilde.js' source: 'rules/lg/lg-tilde.js'
@@ -2420,6 +2428,10 @@
name: 'Piemontèis', name: 'Piemontèis',
source: 'rules/pms/pms.js' source: 'rules/pms/pms.js'
}, },
'pnt-tilde': {
name: 'Pontic tilde',
source: 'rules/pnt/pnt-tilde.js'
},
'roa-tara-GVU': { 'roa-tara-GVU': {
name: 'Tarandine', name: 'Tarandine',
source: 'rules/roa-tara/roa-tara.js' source: 'rules/roa-tara/roa-tara.js'
@@ -2660,6 +2672,10 @@
autonym: 'Abron', autonym: 'Abron',
inputmethods: [ 'ak-qx', 'ak-tilde' ] inputmethods: [ 'ak-qx', 'ak-tilde' ]
}, },
ach: {
autonym: 'Acoli',
inputmethods: [ 'ach-tilde' ]
},
ady: { ady: {
autonym: 'адыгэбзэ', autonym: 'адыгэбзэ',
inputmethods: [ 'cyrl-palochka' ] inputmethods: [ 'cyrl-palochka' ]
@@ -3048,6 +3064,10 @@
autonym: 'Kʋsaal', autonym: 'Kʋsaal',
inputmethods: [ 'kus-tilde' ] inputmethods: [ 'kus-tilde' ]
}, },
laj: {
autonym: 'Lëblaŋo',
inputmethods: [ 'laj-tilde' ]
},
lbe: { lbe: {
autonym: 'лакку', autonym: 'лакку',
inputmethods: [ 'cyrl-palochka' ] inputmethods: [ 'cyrl-palochka' ]
@@ -3192,6 +3212,10 @@
autonym: 'Piemontèis', autonym: 'Piemontèis',
inputmethods: [ 'pms' ] inputmethods: [ 'pms' ]
}, },
pnt: {
autonym: 'Ποντιακά',
inputmethods: [ 'pnt-tilde' ]
},
rif: { rif: {
autonym: 'ⵜⴰⵔⵉⴼⵉⵜ', autonym: 'ⵜⴰⵔⵉⴼⵉⵜ',
inputmethods: [ 'ber-tfng' ] inputmethods: [ 'ber-tfng' ]

View File

@@ -0,0 +1,22 @@
( function ( $ ) {
'use strict';
var achTilde = {
id: 'ach-tilde',
name: 'ach-tilde',
description: 'Acholi tilde keyboard',
date: '2024-09-30',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Amir E. Aharoni',
license: 'GPLv3',
version: '1.0',
patterns: [
[ '~N', 'Ŋ' ],
[ '~n', 'ŋ' ],
[ '~/', '\u0301' ], // Combining acute
[ '~\\\\', '\u0300' ] // Combining grave
]
};
$.ime.register( achTilde );
}( jQuery ) );

View File

@@ -0,0 +1,29 @@
( function ( $ ) {
'use strict';
var lajTilde = {
id: 'laj-tilde',
name: 'Lango tilde',
description: 'Lango tilde',
date: '2024-09-30',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Amir E. Aharoni',
license: 'GPLv3',
version: '1.0',
maxKeyLength: 2,
patterns: [
[ '~E', 'Ë' ],
[ '~e', 'ë' ],
[ '~I', 'Ï' ],
[ '~i', 'ï' ],
[ '~N', 'Ŋ' ],
[ '~n', 'ŋ' ],
[ '~O', 'Ö' ],
[ '~o', 'ö' ],
[ '~U', 'Ü' ],
[ '~u', 'ü' ]
]
};
$.ime.register( lajTilde );
}( jQuery ) );

View File

@@ -11,23 +11,23 @@
license: 'GPLv3', license: 'GPLv3',
version: '1.0', version: '1.0',
patterns: [ patterns: [
// Typing based on shape // Typing based on shape
[ '~o', 'ʘ' ], // U+0298: Bilabial click [ '~o', 'ʘ' ], // U+0298: Bilabial click
[ '~1', 'ǀ' ], // U+01C0: Dental click (tilde + 1 => not a pipe) [ '~1', 'ǀ' ], // U+01C0: Dental click (tilde + 1 => not a pipe)
[ 'ǀ1', 'ǁ' ], // U+01C1: Lateral click (not a pipe + 1 => double pipe) [ 'ǀ1', 'ǁ' ], // U+01C1: Lateral click (not a pipe + 1 => double pipe)
[ '~=', 'ǂ' ], // U+01C2: Alveolar click [ '~=', 'ǂ' ], // U+01C2: Alveolar click
[ '~#', 'ǂ' ], // U+01C2: Alveolar click [ '~#', 'ǂ' ], // U+01C2: Alveolar click
[ '~!', 'ǃ' ], // U+01C3: Retroflex click (tilde + exclamation point => not an exclamation point) [ '~!', 'ǃ' ], // U+01C3: Retroflex click (tilde + exclamation point => not an exclamation point)
[ '~,', '𝼊' ], // U+1DF0A: Retroflex click with retroflex hook [ '~,', '𝼊' ], // U+1DF0A: Retroflex click with retroflex hook
// Typing based on Zulu and Xhosa orthography // Typing based on Zulu and Xhosa orthography
[ '~c', 'ǀ' ], // U+01C0: Dental click (not a pipe!) [ '~c', 'ǀ' ], // U+01C0: Dental click (not a pipe!)
[ '~x', 'ǁ' ], // U+01C1: Lateral click [ '~x', 'ǁ' ], // U+01C1: Lateral click
[ '~q', 'ǃ' ], // U+01C3: Retroflex click (not an exclamation point!) [ '~q', 'ǃ' ], // U+01C3: Retroflex click (not an exclamation point!)
[ '~\\\\', '\u0300' ], // Combining grave [ '~\\\\', '\u0300' ], // Combining grave
[ '~/', '\u0301' ], // Combining acute [ '~/', '\u0301' ], // Combining acute
[ '~\\^', '\u0302' ], // Combining circumflex [ '~\\^', '\u0302' ], // Combining circumflex
[ '~\\{', '\u0303' ], // Combining tilde [ '~\\{', '\u0303' ], // Combining tilde
[ '~-', '\u0304' ] // Combining macron [ '~-', '\u0304' ] // Combining macron
] ]

View File

@@ -0,0 +1,22 @@
( function ( $ ) {
'use strict';
var pntTilde = {
id: 'pnt-tilde',
name: 'Pontic tilde',
description: 'Pontic tilde',
date: '2024-09-26',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Amir E. Aharoni',
license: 'GPLv3',
version: '1.0',
maxKeyLength: 2,
patterns: [
[ '~"', '\u0308' ], // Combining diaeresis
[ '~\\^', '\u030C' ], // Combining caron
[ '~:', '\u0324' ] // Combining diaeresis below
]
};
$.ime.register( pntTilde );
}( jQuery ) );