Amire80 has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/351771 )

Change subject: Update jquery.ime from upstream
......................................................................

Update jquery.ime from upstream

* Fixed Arabic keyboard name.
* Renamed Akan keyboard and made it usable also for Twi.
* Added Ga keyboard.
* Added Dinka keyboard.

Updating to
https://github.com/wikimedia/jquery.ime/commit/e3a6368df032fea9dec433f5f378d2f021dd5eb9

Change-Id: I310fb8e33555a704ea23bbbf1ba720b46158323b
---
M lib/jquery.ime/jquery.ime.js
M lib/jquery.ime/rules/ak/ak-qx.js
M lib/jquery.ime/rules/ar/ar-kbd.js
A lib/jquery.ime/rules/din/din-fqsx.js
A lib/jquery.ime/rules/gaa/gaa-cqx.js
5 files changed, 100 insertions(+), 5 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector 
refs/changes/71/351771/1

diff --git a/lib/jquery.ime/jquery.ime.js b/lib/jquery.ime/jquery.ime.js
index c88a356..ce2c0a1 100644
--- a/lib/jquery.ime/jquery.ime.js
+++ b/lib/jquery.ime/jquery.ime.js
@@ -1,4 +1,4 @@
-/*! jquery.ime - v0.1.0+20170217
+/*! jquery.ime - v0.1.0+20170504
 * https://github.com/wikimedia/jquery.ime
 * Copyright (c) 2017 Santhosh Thottingal; Licensed GPL, MIT */
 ( function ( $ ) {
@@ -1691,11 +1691,11 @@
                        source: 'rules/am/am-transliteration.js'
                },
                'ak-qx': {
-                       name: 'Akan - QX replacement',
+                       name: 'QX replacement',
                        source: 'rules/ak/ak-qx.js'
                },
                'ar-kbd': {
-                       name: 'أرابيك',
+                       name: 'لوحة المفاتيح العربية',
                        source: 'rules/ar/ar-kbd.js'
                },
                'as-avro': {
@@ -1822,6 +1822,10 @@
                        name: 'normalformer',
                        source: 'rules/da/da-normforms.js'
                },
+               'din-fqsx': {
+                       name: 'Dinka FQSX',
+                       source: 'rules/din/din-fqsx.js'
+               },
                'doi-inscript2': {
                        name: 'इनस्क्रिप्ट २',
                        source: 'rules/doi/doi-inscript2.js'
@@ -1865,6 +1869,10 @@
                'fi-transliteration': {
                        name: 'translitterointi',
                        source: 'rules/fi/fi-transliteration.js'
+               },
+               'gaa-cqx': {
+                       name: 'Ga - CQX replacement',
+                       source: 'rules/gaa/gaa-cqx.js'
                },
                'lud-transliteration': {
                        name: 'lud',
@@ -2422,6 +2430,10 @@
                        autonym: 'Deutsch',
                        inputmethods: [ 'de-transliteration' ]
                },
+               din: {
+                       autonym: 'Thuɔŋjäŋ',
+                       inputmethods: [ 'din-fqsx' ]
+               },
                diq: {
                        autonym: 'Kirdkî',
                        inputmethods: [ 'ku-h', 'ku-tr' ]
@@ -2453,6 +2465,10 @@
                fi: {
                        autonym: 'Suomi',
                        inputmethods: [ 'fi-transliteration' ]
+               },
+               gaa: {
+                       autonym: 'Ga',
+                       inputmethods: [ 'gaa-cqx' ]
                },
                lrc: {
                        autonym: 'لۊری شومالی',
@@ -2682,6 +2698,10 @@
                        autonym: 'цӀаӀхна миз',
                        inputmethods: [ 'cyrl-palochka' ]
                },
+               tw: {
+                       autonym: 'Twi',
+                       inputmethods: [ 'ak-qx' ]
+               },
                tzm: {
                        autonym: 'ⵜⴰⵎⴰⵣⵉⵖⵜ',
                        inputmethods: [ 'ber-tfng' ]
diff --git a/lib/jquery.ime/rules/ak/ak-qx.js b/lib/jquery.ime/rules/ak/ak-qx.js
index 0c979b5..529e4df 100644
--- a/lib/jquery.ime/rules/ak/ak-qx.js
+++ b/lib/jquery.ime/rules/ak/ak-qx.js
@@ -3,7 +3,7 @@
 
        var defs = {
                id: 'ak-qx',
-               name: 'Akan - QX replacement',
+               name: 'QX replacement',
                description: 'Akan input method with Q and X replaced by Ɛ and 
Ɔ',
                date: '2016-06-23',
                URL: 'http://www.kasahorow.org/node/260',
diff --git a/lib/jquery.ime/rules/ar/ar-kbd.js 
b/lib/jquery.ime/rules/ar/ar-kbd.js
index 5ee5445..13ca3c0 100644
--- a/lib/jquery.ime/rules/ar/ar-kbd.js
+++ b/lib/jquery.ime/rules/ar/ar-kbd.js
@@ -4,7 +4,7 @@
        var arKbd = {
                id: 'ar-kbd',
                name: 'kbd',
-               description: 'Arabic keyboard layout',
+               description: 'PC Arabic keyboard layout',
                date: '2013-02-09',
                URL: 'http://github.com/wikimedia/jquery.ime',
                author: 'Parag Nemade',
diff --git a/lib/jquery.ime/rules/din/din-fqsx.js 
b/lib/jquery.ime/rules/din/din-fqsx.js
new file mode 100644
index 0000000..8411aad
--- /dev/null
+++ b/lib/jquery.ime/rules/din/din-fqsx.js
@@ -0,0 +1,49 @@
+( function ( $ ) {
+       'use strict';
+
+       var defs = {
+               id: 'din-fqsx',
+               name: 'FQSX replacement',
+               description: 'Dinka input method with F, Q, S and X replaced by 
Ɣ, Ŋ, Ɛ, and Ɔ',
+               date: '2017-04-26',
+               URL: 'http://keymanweb.com/#dib,Keyboard_dinkaweb11',
+               author: 'Amir E. Aharoni, based on Keyman',
+               license: 'GPLv3',
+               version: '1.0',
+               contextLength: 2,
+               maxKeyLength: 2,
+               patterns: [
+                       [ '\\\\F', 'F' ],
+                       [ '\\\\f', 'f' ],
+                       [ '\\\\Q', 'Q' ],
+                       [ '\\\\q', 'q' ],
+                       [ '\\\\S', 'S' ],
+                       [ '\\\\s', 's' ],
+                       [ '\\\\X', 'X' ],
+                       [ '\\\\x', 'x' ],
+                       [ '\\\\;', ';' ],
+                       [ 'A;', 'Ä' ],
+                       [ 'a;', 'ä' ],
+                       [ 'E;', 'Ë' ],
+                       [ 'e;', 'ë' ],
+                       [ 'Ɛ;', 'Ɛ̈' ],
+                       [ 'ɛ;', 'ɛ̈' ],
+                       [ 'I;', 'Ï' ],
+                       [ 'i;', 'ï' ],
+                       [ 'O;', 'Ö' ],
+                       [ 'o;', 'ö' ],
+                       [ 'Ɔ;', 'Ɔ̈' ],
+                       [ 'ɔ;', 'ɔ̈' ],
+                       [ 'F', 'Ɣ' ],
+                       [ 'f', 'ɣ' ],
+                       [ 'Q', 'Ŋ' ],
+                       [ 'q', 'ŋ' ],
+                       [ 'S', 'Ɛ' ],
+                       [ 's', 'ɛ' ],
+                       [ 'X', 'Ɔ' ],
+                       [ 'x', 'ɔ' ]
+               ],
+       };
+
+       $.ime.register( defs );
+}( jQuery ) );
diff --git a/lib/jquery.ime/rules/gaa/gaa-cqx.js 
b/lib/jquery.ime/rules/gaa/gaa-cqx.js
new file mode 100644
index 0000000..f74b1bb
--- /dev/null
+++ b/lib/jquery.ime/rules/gaa/gaa-cqx.js
@@ -0,0 +1,26 @@
+( function ( $ ) {
+       'use strict';
+
+       var defs = {
+               id: 'gaa-cqx',
+               name: 'Ga - CQX replacement',
+               description: 'Ga input method with C, Q and X replaced by Ŋ, Ɛ 
and Ɔ',
+               date: '2016-06-23',
+               URL: 'http://www.kasahorow.org/node/260',
+               author: 'Amir E. Aharoni, based on Kasahorow Akan',
+               license: 'GPLv3',
+               version: '1.0',
+               contextLength: 1,
+               maxKeyLength: 1,
+               patterns: [
+                       [ 'C', 'Ŋ' ],
+                       [ 'c', 'ŋ' ],
+                       [ 'Q', 'Ɛ' ],
+                       [ 'q', 'ɛ' ],
+                       [ 'X', 'Ɔ' ],
+                       [ 'x', 'ɔ' ]
+               ]
+       };
+
+       $.ime.register( defs );
+}( jQuery ) );

-- 
To view, visit https://gerrit.wikimedia.org/r/351771
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I310fb8e33555a704ea23bbbf1ba720b46158323b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Amire80 <amir.ahar...@mail.huji.ac.il>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to