Update jquery.ime and jquery.uls from upstream

jquery.ime:
* Update Batak keyboard.
* Add new Javanese and Sundanese keyboards.
Updating to
07ab0cae9a

jquery.uls:
* Update language-data: Add Pintupi-Luritja (piu)
  and some internal data files cleanup.
* Code cleanup in lcd.
Updating to:
95e50bb37b

Change-Id: Ifc900e6dfd2bc2a5dfd12243a7c8bc662e99a711
This commit is contained in:
Amir E. Aharoni
2023-07-24 11:14:19 +03:00
parent 7c6986ccb5
commit 04a8b6457a
7 changed files with 384 additions and 317 deletions

View File

@@ -1,4 +1,4 @@
/*! jquery.ime - v0.2.0+20230710 /*! jquery.ime - v0.2.0+20230724
* https://github.com/wikimedia/jquery.ime * https://github.com/wikimedia/jquery.ime
* Copyright (c) 2023 Santhosh Thottingal; License: (GPL-2.0-or-later OR MIT) */ * Copyright (c) 2023 Santhosh Thottingal; License: (GPL-2.0-or-later OR MIT) */
( function ( $ ) { ( function ( $ ) {
@@ -2054,6 +2054,10 @@
name: 'Transliteration', name: 'Transliteration',
source: 'rules/jv/jv-transliteration.js' source: 'rules/jv/jv-transliteration.js'
}, },
'jv-keyboard': {
name: 'Jawa Latin extended',
source: 'rules/jv/jv-keyboard.js'
},
'ka-kbd': { 'ka-kbd': {
name: 'სტანდარტული კლავიატურის', name: 'სტანდარტული კლავიატურის',
source: 'rules/ka/ka-kbd.js' source: 'rules/ka/ka-kbd.js'
@@ -2468,6 +2472,10 @@
name: 'Sesotho tilde', name: 'Sesotho tilde',
source: 'rules/st/st-tilde.js' source: 'rules/st/st-tilde.js'
}, },
'su-keyboard': {
name: 'Sundanese keyboard',
source: 'rules/su/su-keyboard.js'
},
'sv-normforms': { 'sv-normforms': {
name: 'Normal forms', name: 'Normal forms',
source: 'rules/sv/sv-normforms.js' source: 'rules/sv/sv-normforms.js'
@@ -2885,8 +2893,8 @@
inputmethods: [ 'ish-tilde' ] inputmethods: [ 'ish-tilde' ]
}, },
jv: { jv: {
autonym: 'ꦧꦱꦗꦮ', autonym: 'ꦧꦱꦗꦮ (Basa Jawa)',
inputmethods: [ 'jv-transliteration' ] inputmethods: [ 'jv-transliteration', 'jv-keyboard' ]
}, },
ka: { ka: {
autonym: 'ქართული ენა', autonym: 'ქართული ენა',
@@ -3152,6 +3160,10 @@
autonym: 'Sesotho', autonym: 'Sesotho',
inputmethods: [ 'st-tilde' ] inputmethods: [ 'st-tilde' ]
}, },
su: {
autonym: 'Sunda',
inputmethods: [ 'su-keyboard' ]
},
sv: { sv: {
autonym: 'Svenska', autonym: 'Svenska',
inputmethods: [ 'sv-normforms' ] inputmethods: [ 'sv-normforms' ]

View File

@@ -7,8 +7,8 @@
description: 'QWERTY-based Batak Toba transliteration', description: 'QWERTY-based Batak Toba transliteration',
date: '2014-04-20', date: '2014-04-20',
URL: 'http://evertype.com/fonts/batak/', URL: 'http://evertype.com/fonts/batak/',
author: 'design by Michael Everson, implementation by Amir E. Aharoni', author: 'design by Michael Everson, implementation by Amir E. Aharoni and Benny Lin',
version: '1.0', version: '1.1',
patterns: [ patterns: [
[ 'q', 'ᯥ' ], [ 'q', 'ᯥ' ],
[ 'w', 'ᯋ' ], [ 'w', 'ᯋ' ],
@@ -52,38 +52,29 @@
[ 'A', 'ᯁ' ], [ 'A', 'ᯁ' ],
[ 'S', 'ᯙ' ], [ 'S', 'ᯙ' ],
[ 'D', 'ᯩ' ],
[ 'F', '᯳' ], [ 'F', '᯳' ],
[ 'G', 'ᯏ' ], [ 'G', 'ᯏ' ],
[ 'H', 'ᯃ' ], [ 'H', 'ᯃ' ],
[ 'J', 'ᯄ' ], [ 'J', 'ᯄ' ],
[ 'K', 'ᯱ' ],
[ 'L', 'ᯟ' ], [ 'L', 'ᯟ' ],
[ 'Z', 'ᯚ' ], [ 'Z', 'ᯚ' ],
[ 'X', 'ᯰ' ],
[ 'C', 'ᯠ' ],
[ 'V', '᯦' ],
[ 'B', 'ᯆ' ], [ 'B', 'ᯆ' ],
[ 'N', 'ᯊ' ], [ 'N', 'ᯊ' ],
[ 'M', 'ᯕ' ], [ 'M', 'ᯕ' ],
[ '`', 'ᯠ' ],
[ '=', 'ᯱ' ],
[ '\\+', '᯦' ],
[ '-', '' ],
[ '_', 'ᯩ' ],
[ 'B', 'ᯆ' ]
], ],
patterns_x: [ patterns_x: [
[ '4', '᯼' ], [ '4', '᯼' ],
[ '5', '᯽' ], [ '5', '᯽' ],
[ '6', '᯾' ], [ '6', '᯾' ],
[ '7', '᯿' ], [ '7', '᯿' ]
[ 'w', 'ᯍ' ],
[ '`', '`' ]
] ]
}; };
$.ime.register( tobaKbd ); $.ime.register( tobaKbd );
}( jQuery ) ); }( jQuery ) );

View File

@@ -0,0 +1,36 @@
( function ( $ ) {
'use strict';
var jvKeyboard = {
id: 'jv-keyboard',
name: 'Jawa Latin extended keyboard',
description: 'Javanese keyboard that include several accented letters',
date: '2023-06-06',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Benny Lin',
license: 'GPLv3',
version: '1',
patterns: [
[ '~E', 'É' ],
[ '~e', 'é' ],
[ '`E', 'È' ],
[ '`e', 'è' ],
[ '\\^E', 'Ê' ],
[ '\\^e', 'ê' ],
[ '\\^A', 'Å' ],
[ '\\^a', 'å' ],
[ '~A', 'Å' ],
[ '~a', 'å' ],
[ '~D', 'Ḍ' ],
[ '~d', 'ḍ' ],
[ '~T', 'Ṭ' ],
[ '~t', 'ṭ' ],
[ '.D', 'Ḍ' ],
[ '.d', 'ḍ' ],
[ '.T', 'Ṭ' ],
[ '.t', 'ṭ' ]
]
};
$.ime.register( jvKeyboard );
}( jQuery ) );

View File

@@ -0,0 +1,20 @@
( function ( $ ) {
'use strict';
var suKeyboard = {
id: 'su-keyboard',
name: 'su-keyboard',
description: 'Sundanese keyboard',
date: '2023-05-07',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Pijri Paijar',
license: 'GPLv3',
version: '1',
patterns: [
[ '~E', 'É' ],
[ '~e', 'é' ]
]
};
$.ime.register( suKeyboard );
}( jQuery ) );

View File

@@ -8,19 +8,19 @@
"Гусейн" "Гусейн"
] ]
}, },
"uls-region-WW": "Həmədınyo", "uls-region-WW": "Həmmə dynjo",
"uls-region-SP": "Xısusi", "uls-region-SP": "Xysusi",
"uls-region-AM": "Əmerikə", "uls-region-AM": "Əmerikə",
"uls-region-AF": "Afrika", "uls-region-AF": "Afrika",
"uls-region-EU": "Avropə", "uls-region-EU": "Avropə",
"uls-region-AS": "Asiyə", "uls-region-AS": "Asijə",
"uls-region-ME": "Miyonə Şərğ", "uls-region-ME": "Mijonə Həšipemə",
"uls-region-PA": "Pasifik", "uls-region-PA": "Pasifik",
"uls-region-all": "Həmə zıvonon", "uls-region-all": "Həmmə zyvonon",
"uls-no-results-found": "Hiçi pəydo bıəni", "uls-no-results-found": "Hiči pəjdo byəni",
"uls-common-languages": "Tovsiyə kardə bıə zıvonon", "uls-common-languages": "Tovsijə kardə byə zyvonon",
"uls-no-results-suggestion-title": "Bəzne bə ki bo şımə marağinin ın zıvonon:", "uls-no-results-suggestion-title": "Bəzyne be ki bo šymə maraǧinin yn zyvonon:",
"uls-search-help": "Шымә бәзнејон де зывони номи ја нывыштәј нәве, де зывони ISO-коди ја де вилојәти дијә карде.", "uls-search-help": "Šymə bəzynejon de zyvoni nomi ja nyvyštəj nyve, de zyvoni ISO kodi ja de vilojəti dijə karde.",
"uls-search-placeholder": "Bınəv zıvoni", "uls-search-placeholder": "Zyvoni nəve",
"uls-search-placeholder-short": "Bınəv" "uls-search-placeholder-short": "Nəve"
} }

File diff suppressed because it is too large Load Diff

View File

@@ -112,8 +112,9 @@
if ( this.navigationIndex === null ) { if ( this.navigationIndex === null ) {
this.navigationIndex = 0; this.navigationIndex = 0;
} else { } else {
// Auto-correct the index. It has been noticed that the navigationIndex goes beyond the // Auto-correct the index.
// max index sometimes. See: phab:T328956#8854835 // It has been noticed that the navigationIndex goes beyond
// the max index sometimes. See: phab:T328956#8854835
if ( this.navigationIndex > maxIndex ) { if ( this.navigationIndex > maxIndex ) {
this.navigationIndex = maxIndex; this.navigationIndex = maxIndex;
} else { } else {