From 3fea8984d13a36de363f5d9cb9e137ebb08cffec Mon Sep 17 00:00:00 2001 From: Kartik Mistry Date: Mon, 17 Jan 2022 16:54:04 +0530 Subject: [PATCH] Update jquery.ime from upstream Changes: * Change label from National to Jatiyo for bn-nkb keyboard. * Add diacritics to the Ga keyboard. * Fixed el-kbd keyboard. Bug: T299328 Change-Id: I947397af089fc6f5ef87ea2efc9273fde4990b54 --- lib/jquery.ime/jquery.ime.js | 4 ++-- lib/jquery.ime/rules/bn/bn-nkb.js | 6 +++--- lib/jquery.ime/rules/el/el-kbd.js | 1 + lib/jquery.ime/rules/gaa/gaa-tilde.js | 7 +++++-- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/lib/jquery.ime/jquery.ime.js b/lib/jquery.ime/jquery.ime.js index 77670ac8..7d4508f3 100644 --- a/lib/jquery.ime/jquery.ime.js +++ b/lib/jquery.ime/jquery.ime.js @@ -1,6 +1,6 @@ -/*! jquery.ime - v0.2.0+20211115 +/*! jquery.ime - v0.2.0+20220117 * https://github.com/wikimedia/jquery.ime -* Copyright (c) 2021 Santhosh Thottingal; License: (GPL-2.0-or-later OR MIT) */ +* Copyright (c) 2022 Santhosh Thottingal; License: (GPL-2.0-or-later OR MIT) */ ( function ( $ ) { 'use strict'; diff --git a/lib/jquery.ime/rules/bn/bn-nkb.js b/lib/jquery.ime/rules/bn/bn-nkb.js index 9fcce54a..11e6db8d 100644 --- a/lib/jquery.ime/rules/bn/bn-nkb.js +++ b/lib/jquery.ime/rules/bn/bn-nkb.js @@ -3,10 +3,10 @@ var bnNkb = { id: 'bn-nkb', - name: 'National Keyboard', - description: 'Bengali National Keyboard input method', + name: 'Jatiyo Keyboard', + description: 'Bengali Jatiyo Keyboard input method', date: '2012-10-10', - URL: 'http://github.com/wikimedia/jquery.ime', + URL: 'https://github.com/wikimedia/jquery.ime', author: 'Junaid P V', license: 'GPLv3', version: '1.0', diff --git a/lib/jquery.ime/rules/el/el-kbd.js b/lib/jquery.ime/rules/el/el-kbd.js index 63b30a6e..223d1064 100644 --- a/lib/jquery.ime/rules/el/el-kbd.js +++ b/lib/jquery.ime/rules/el/el-kbd.js @@ -10,6 +10,7 @@ author: 'Parag Nemade', license: 'GPLv3', version: '1.0', + maxKeyLength: 2, patterns: [ [ '΄¨i', 'ΐ' ], [ '¨΄i', 'ΐ' ], diff --git a/lib/jquery.ime/rules/gaa/gaa-tilde.js b/lib/jquery.ime/rules/gaa/gaa-tilde.js index b0f3f8ba..d89d685c 100644 --- a/lib/jquery.ime/rules/gaa/gaa-tilde.js +++ b/lib/jquery.ime/rules/gaa/gaa-tilde.js @@ -9,7 +9,7 @@ URL: 'https://github.com/wikimedia/jquery.ime', author: 'Amir E. Aharoni', license: 'GPLv3', - version: '1.0', + version: '1.1', maxKeyLength: 2, patterns: [ [ '~E', 'Ɛ' ], @@ -17,7 +17,10 @@ [ '~N', 'Ŋ' ], [ '~n', 'ŋ' ], [ '~O', 'Ɔ' ], - [ '~o', 'ɔ' ] + [ '~o', 'ɔ' ], + [ '~\\\\', '\u0300' ], // Combining grave accent + [ '~/', '\u0301' ], // Combining acute accent + [ '~\\{', '\u0303' ] // Combining tilde ] };