Update jquery.ime from upstream

* Adding a transliteration layout for the Ho language
  in the Warang Citi alphabet (by Purty).
* Enable the Palochka layout for Ingush (by stjn).
* Styling improvements in the IME selector (by Volker E).
* Fixes for the Blin / Tigre / Tigrinya GeezIM layout (by Fitsum Gaim).
* Fixes for the Santali Ol Chiki InScript 2 layout (by Ramjit Tudu).

Updating to
2046765d31

Change-Id: I04ba0553ec52fa8f5c8317c538394232c2291346
This commit is contained in:
Amir Aharoni
2018-12-03 14:35:51 +02:00
parent 88b443a143
commit 215145a95a
7 changed files with 179 additions and 43 deletions

View File

@@ -30,7 +30,7 @@
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
outline: none; outline: none;
color: #222222; color: #222;
line-height: 1em; line-height: 1em;
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 4px;
@@ -85,6 +85,10 @@ span.ime-disable-shortcut {
} }
.imeselector-menu { .imeselector-menu {
background-color: #fff;
-webkit-background-clip: padding-box;
-moz-background-clip: padding-box;
background-clip: padding-box;
position: absolute; position: absolute;
top: 14px; top: 14px;
right: 0; right: 0;
@@ -94,15 +98,11 @@ span.ime-disable-shortcut {
margin-top: 13px; margin-top: 13px;
min-width: 160px; min-width: 160px;
padding: 0; padding: 0;
border: 1px solid #888; border: 1px solid #a2a9b1;
background-color: #FFFFFF; border-radius: 2px;
border-radius: 5px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
text-align: left; text-align: left;
} }
@@ -119,7 +119,7 @@ span.ime-disable-shortcut {
/* The triangle shaped callout */ /* The triangle shaped callout */
.imeselector-menu:before { .imeselector-menu:before {
border-bottom: 7px solid #888; border-bottom: 7px solid #a2a9b1;
border-left: 7px solid transparent; border-left: 7px solid transparent;
border-right: 7px solid transparent; border-right: 7px solid transparent;
content: ""; content: "";
@@ -135,7 +135,7 @@ span.ime-disable-shortcut {
} }
.imeselector-menu:after { .imeselector-menu:after {
border-bottom: 6px solid #FFFFFF; border-bottom: 6px solid #fff;
border-left: 6px solid transparent; border-left: 6px solid transparent;
border-right: 6px solid transparent; border-right: 6px solid transparent;
content: ""; content: "";
@@ -152,15 +152,15 @@ span.ime-disable-shortcut {
} }
.imeselector-menu.ime-position-top:before { .imeselector-menu.ime-position-top:before {
border-bottom: 0 none; border-bottom: 0;
border-top: 7px solid #888; border-top: 7px solid #a2a9b1;
top: auto; top: auto;
bottom: -7px; bottom: -7px;
} }
.imeselector-menu.ime-position-top:after { .imeselector-menu.ime-position-top:after {
border-bottom: 0 none; border-bottom: 0;
border-top: 6px solid #FFFFFF; border-top: 6px solid #fff;
top: auto; top: auto;
bottom: -6px; bottom: -6px;
} }
@@ -176,7 +176,7 @@ span.ime-disable-shortcut {
.imeselector-menu .ime-help-link { .imeselector-menu .ime-help-link {
background-color: #f0f0f0; background-color: #f0f0f0;
border-radius: 0 0 5px 5px; border-radius: 0 0 2px 2px;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
margin-top: 6px; margin-top: 6px;
padding: 2px 0; padding: 2px 0;
@@ -189,11 +189,11 @@ span.ime-disable-shortcut {
} }
.imeselector-menu .selectable-row-item { .imeselector-menu .selectable-row-item {
color: #333;
display: block; display: block;
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
font-weight: normal; font-weight: normal;
color: #333333;
outline: none; outline: none;
white-space: nowrap; white-space: nowrap;
position: relative; position: relative;

View File

@@ -1,4 +1,4 @@
/*! jquery.ime - v0.2.0+20181004 /*! jquery.ime - v0.2.0+20181203
* https://github.com/wikimedia/jquery.ime * https://github.com/wikimedia/jquery.ime
* Copyright (c) 2018 Santhosh Thottingal; License: (GPL-2.0+ OR MIT) */ * Copyright (c) 2018 Santhosh Thottingal; License: (GPL-2.0+ OR MIT) */
( function ( $ ) { ( function ( $ ) {
@@ -1926,6 +1926,10 @@
name: 'Venjuleg eyðublöð', name: 'Venjuleg eyðublöð',
source: 'rules/is/is-normforms.js' source: 'rules/is/is-normforms.js'
}, },
'hoc-transliteration': {
name: 'Ho transliteration',
source: 'rules/hoc/hoc-transliteration.js'
},
'jv-transliteration': { 'jv-transliteration': {
name: 'Transliteration', name: 'Transliteration',
source: 'rules/jv/jv-transliteration.js' source: 'rules/jv/jv-transliteration.js'
@@ -2120,7 +2124,7 @@
name: 'Lushootseed Tulalip', name: 'Lushootseed Tulalip',
source: 'rules/lut/lut-tulalip.js' source: 'rules/lut/lut-tulalip.js'
}, },
mh: { 'mh': {
name: 'Kajin M̧ajeļ', name: 'Kajin M̧ajeļ',
source: 'rules/mh/mh.js' source: 'rules/mh/mh.js'
}, },
@@ -2271,7 +2275,8 @@
'te-apple': { 'te-apple': {
name: 'ఆపిల్', name: 'ఆపిల్',
source: 'rules/te/te-apple.js' source: 'rules/te/te-apple.js'
},'te-modular': { },
'te-modular': {
name: 'మాడ్యులర్', name: 'మాడ్యులర్',
source: 'rules/te/te-modular.js' source: 'rules/te/te-modular.js'
}, },
@@ -2598,6 +2603,10 @@
autonym: 'हिन्दी', autonym: 'हिन्दी',
inputmethods: [ 'hi-transliteration', 'hi-inscript', 'hi-bolnagri', 'hi-phonetic', 'hi-inscript2' ] inputmethods: [ 'hi-transliteration', 'hi-inscript', 'hi-bolnagri', 'hi-phonetic', 'hi-inscript2' ]
}, },
hoc: {
autonym: '𑢹𑣉𑣉',
inputmethods: [ 'hoc-transliteration' ]
},
hr: { hr: {
autonym: 'Hrvatski', autonym: 'Hrvatski',
inputmethods: [ 'hr-kbd' ] inputmethods: [ 'hr-kbd' ]
@@ -2610,6 +2619,10 @@
autonym: 'छत्तीसगढ़ी', autonym: 'छत्तीसगढ़ी',
inputmethods: [ 'hi-transliteration' ] inputmethods: [ 'hi-transliteration' ]
}, },
inh: {
autonym: 'гӀалгӀай',
inputmethods: [ 'cyrl-palochka' ]
},
is: { is: {
autonym: 'Íslenska', autonym: 'Íslenska',
inputmethods: [ 'is-normforms' ] inputmethods: [ 'is-normforms' ]

View File

@@ -292,6 +292,12 @@
[ '(ጚe|ጝE)', 'ጜ' ], [ '(ጚe|ጝE)', 'ጜ' ],
[ 'ጝo', 'ጞ' ], [ 'ጝo', 'ጞ' ],
[ 'ጙe', 'ⶓ' ],
[ 'ጙi', 'ⶔ' ],
[ 'ጙa', 'ጟ' ],
[ '(ⶔe|ⶔE)', 'ⶕ' ],
[ 'ጝW', 'ⶖ' ],
[ 'ጥe', 'ጠ' ], [ 'ጥe', 'ጠ' ],
[ 'ጥu', 'ጡ' ], [ 'ጥu', 'ጡ' ],
[ 'ጥi', 'ጢ' ], [ 'ጥi', 'ጢ' ],
@@ -347,6 +353,14 @@
[ 'ፕo', 'ፖ' ], [ 'ፕo', 'ፖ' ],
[ 'ፑa', 'ፗ' ], // et [ 'ፑa', 'ፗ' ], // et
[ 'O', 'ዕ' ],
[ 'ዕe', '' ],
[ 'ዕu', 'ዑ' ],
[ 'ዕi', 'ዒ' ],
[ 'ዕa', 'ዓ' ],
[ '(ዒe|ዕE)', 'ዔ' ],
[ 'ዕo', 'ዖ' ],
// vowels // vowels
[ 'A', 'እ' ], [ 'A', 'እ' ],
[ '(እu|u)', 'ኡ' ], [ '(እu|u)', 'ኡ' ],
@@ -357,14 +371,6 @@
[ '(እo|o)', 'ኦ' ], [ '(እo|o)', 'ኦ' ],
[ 'አa', 'ኧ' ], // et [ 'አa', 'ኧ' ], // et
[ 'O', 'ዕ' ],
[ 'ዕe', '' ],
[ 'ዕu', 'ዑ' ],
[ 'ዕi', 'ዒ' ],
[ 'ዕa', 'ዓ' ],
[ '(ዒe|ዕE)', 'ዔ' ],
[ 'ዕo', 'ዖ' ],
// punctuations // punctuations
[ ',', '፣' ], [ ',', '፣' ],
[ '።\\.', '.' ], [ '።\\.', '.' ],

View File

@@ -0,0 +1,105 @@
( function ( $ ) {
'use strict';
var hocTransliteration = {
id: 'hoc-transliteration',
name: 'ho transliteration',
description: 'Phonetic keyboard for Ho',
date: '2018-09-29',
author: 'Purty',
license: 'GPLv3',
version: '1.0',
contextLength: 1,
maxKeyLength: 3,
patterns: [
[ '\\\\([A-Za-z\\>_~\\.0-9@])', '\\\\', '$1' ],
[ 'a', '𑣁' ],
[ '𑣁i', '𑣆' ],
[ '𑣁u', '𑣇' ],
[ 'b', '𑣗' ],
[ 'c', 'c' ],
[ 'ch', '𑣏' ],
[ 'd', '𑣑' ],
[ '𑣑h', '𑣔' ],
[ 'e', '𑣈' ],
[ 'k', '𑣌' ],
[ 'l', '𑣚' ],
[ 'm', '𑣖' ],
[ '𑣓g', '𑣊' ],
[ '𑣓j', '𑣍' ],
[ '𑣓n', '𑣐' ],
[ 'o', '𑣉' ],
[ 'p', '𑣘' ],
[ 'q', '𑣄' ],
[ '𑣜r', '𑣛' ],
[ 's', '𑣞' ],
[ 't', '𑣒' ],
[ '𑣒h', '𑣕' ],
[ 'v', '𑣀' ],
[ 'w', '𑣟' ],
[ 'x', '𑣝' ],
[ 'y', '𑣅' ],
[ 'A', '𑢡' ],
[ '𑢡(i|I)', '𑢦' ],
[ '𑢡(U|u)', '𑢧' ],
[ 'B', '𑢷' ],
[ 'C', 'C' ],
[ 'C(H|h)', '𑢯' ],
[ 'D', '𑢱' ],
[ '𑢱(H|h)', '𑢴' ],
[ 'E', '𑢨' ],
[ 'I', '𑢢' ],
[ 'K', '𑢬' ],
[ 'L', '𑢺' ],
[ 'M', '𑢶' ],
[ '𑢳(G|g)', '𑢪' ],
[ '𑢳(J|j)', '𑢭' ],
[ '𑢳(N|n)', '𑢰' ],
[ 'O', '𑢩' ],
[ 'P', '𑢸' ],
[ 'Q', '𑢤' ],
[ '𑢼(R|r)', '𑢻' ],
[ 'S', '𑢾' ],
[ 'T', '𑢲' ],
[ '𑢲(H|h)', '𑢵' ],
[ 'U', '𑢣' ],
[ 'V', '𑢠' ],
[ 'W', '𑢿' ],
[ 'X', '𑢽' ],
[ 'Y', '𑢥' ],
[ 'G', '𑢫' ],
[ 'J', '𑢮' ],
[ 'N', '𑢳' ],
[ 'R', '𑢼' ],
[ 'H', '𑢹' ],
[ 'h', '𑣙' ],
[ 'g', '𑣋' ],
[ 'j', '𑣎' ],
[ '@', '𑣿' ],
[ 'r', '𑣜' ],
[ 'n', '𑣓' ],
[ 'i', '𑣂' ],
[ 'u', '𑣃' ],
[ '0', '𑣠' ],
[ '1', '𑣡' ],
[ '2', '𑣢' ],
[ '3', '𑣣' ],
[ '4', '𑣤' ],
[ '5', '𑣥' ],
[ '6', '𑣦' ],
[ '7', '𑣧' ],
[ '8', '𑣨' ],
[ '9', '𑣩' ]
]
};
$.ime.register( hocTransliteration );
}( jQuery ) );

View File

@@ -51,7 +51,7 @@
[ 'c', 'ᱢ' ], [ 'c', 'ᱢ' ],
[ 'v', 'ᱱ' ], [ 'v', 'ᱱ' ],
[ 'B', 'ᱶ' ], [ 'B', 'ᱶ' ],
[ 'b', '' ], [ 'b', '' ],
[ 'n', 'ᱞ' ], [ 'n', 'ᱞ' ],
[ 'm', 'ᱥ' ], [ 'm', 'ᱥ' ],
[ '\\,', '᱿' ], [ '\\,', '᱿' ],

View File

@@ -292,6 +292,12 @@
[ '(ጚe|ጝE)', 'ጜ' ], [ '(ጚe|ጝE)', 'ጜ' ],
[ 'ጝo', 'ጞ' ], [ 'ጝo', 'ጞ' ],
[ 'ጙe', 'ⶓ' ],
[ 'ጙi', 'ⶔ' ],
[ 'ጙa', 'ጟ' ],
[ '(ⶔe|ⶔE)', 'ⶕ' ],
[ 'ጝW', 'ⶖ' ],
[ 'ጥe', 'ጠ' ], [ 'ጥe', 'ጠ' ],
[ 'ጥu', 'ጡ' ], [ 'ጥu', 'ጡ' ],
[ 'ጥi', 'ጢ' ], [ 'ጥi', 'ጢ' ],
@@ -347,6 +353,14 @@
[ 'ፕo', 'ፖ' ], [ 'ፕo', 'ፖ' ],
[ 'ፑa', 'ፗ' ], // et [ 'ፑa', 'ፗ' ], // et
[ 'O', 'ዕ' ],
[ 'ዕe', '' ],
[ 'ዕu', 'ዑ' ],
[ 'ዕi', 'ዒ' ],
[ 'ዕa', 'ዓ' ],
[ '(ዒe|ዕE)', 'ዔ' ],
[ 'ዕo', 'ዖ' ],
// vowels // vowels
[ 'A', 'እ' ], [ 'A', 'እ' ],
[ '(እu|u)', 'ኡ' ], [ '(እu|u)', 'ኡ' ],
@@ -357,14 +371,6 @@
[ '(እo|o)', 'ኦ' ], [ '(እo|o)', 'ኦ' ],
[ 'አa', 'ኧ' ], // et [ 'አa', 'ኧ' ], // et
[ 'O', 'ዕ' ],
[ 'ዕe', '' ],
[ 'ዕu', 'ዑ' ],
[ 'ዕi', 'ዒ' ],
[ 'ዕa', 'ዓ' ],
[ '(ዒe|ዕE)', 'ዔ' ],
[ 'ዕo', 'ዖ' ],
// punctuations // punctuations
[ ',', '፣' ], [ ',', '፣' ],
[ '።\\.', '.' ], [ '።\\.', '.' ],

View File

@@ -292,6 +292,12 @@
[ '(ጚe|ጝE)', 'ጜ' ], [ '(ጚe|ጝE)', 'ጜ' ],
[ 'ጝo', 'ጞ' ], [ 'ጝo', 'ጞ' ],
[ 'ጙe', 'ⶓ' ],
[ 'ጙi', 'ⶔ' ],
[ 'ጙa', 'ጟ' ],
[ '(ⶔe|ⶔE)', 'ⶕ' ],
[ 'ጝW', 'ⶖ' ],
[ 'ጥe', 'ጠ' ], [ 'ጥe', 'ጠ' ],
[ 'ጥu', 'ጡ' ], [ 'ጥu', 'ጡ' ],
[ 'ጥi', 'ጢ' ], [ 'ጥi', 'ጢ' ],
@@ -347,6 +353,14 @@
[ 'ፕo', 'ፖ' ], [ 'ፕo', 'ፖ' ],
[ 'ፑa', 'ፗ' ], // et [ 'ፑa', 'ፗ' ], // et
[ 'O', 'ዕ' ],
[ 'ዕe', '' ],
[ 'ዕu', 'ዑ' ],
[ 'ዕi', 'ዒ' ],
[ 'ዕa', 'ዓ' ],
[ '(ዒe|ዕE)', 'ዔ' ],
[ 'ዕo', 'ዖ' ],
// vowels // vowels
[ 'A', 'እ' ], [ 'A', 'እ' ],
[ '(እu|u)', 'ኡ' ], [ '(እu|u)', 'ኡ' ],
@@ -357,14 +371,6 @@
[ '(እo|o)', 'ኦ' ], [ '(እo|o)', 'ኦ' ],
[ 'አa', 'ኧ' ], // et [ 'አa', 'ኧ' ], // et
[ 'O', 'ዕ' ],
[ 'ዕe', '' ],
[ 'ዕu', 'ዑ' ],
[ 'ዕi', 'ዒ' ],
[ 'ዕa', 'ዓ' ],
[ '(ዒe|ዕE)', 'ዔ' ],
[ 'ዕo', 'ዖ' ],
// punctuations // punctuations
[ ',', '፣' ], [ ',', '፣' ],
[ '።\\.', '.' ], [ '።\\.', '.' ],