From 552cd25ae6b618e93effed6f6002d2876ffb06dd Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Mon, 22 Apr 2013 13:19:40 +0300 Subject: [PATCH] Update from upstream Change-Id: I8affdf79e5a2f33c88f7661082d2cbd7777240fb --- .gitignore | 2 - lib/jquery.ime/jquery.ime.js | 20 +- lib/jquery.ime/rules/as/as-avro.js | 2 +- lib/jquery.ime/rules/as/as-inscript2.js | 6 +- lib/jquery.ime/rules/as/as-phonetic.js | 189 ++++++++------- lib/jquery.ime/rules/bn/bn-avro.js | 2 +- lib/jquery.ime/rules/bn/bn-inscript2.js | 6 +- lib/jquery.ime/rules/el/el-kbd.js | 156 ++++++------ lib/jquery.ime/rules/eo/eo-plena.js | 6 +- lib/jquery.ime/rules/eo/eo-q.js | 2 +- lib/jquery.ime/rules/fo/fo-normforms.js | 22 +- lib/jquery.ime/rules/gu/gu-inscript2.js | 201 +++++++-------- lib/jquery.ime/rules/gu/gu-phonetic.js | 188 +++++++------- .../rules/he/he-standard-2012-extonly.js | 4 +- lib/jquery.ime/rules/hi/hi-inscript2.js | 2 +- lib/jquery.ime/rules/is/is-normforms.js | 27 +-- lib/jquery.ime/rules/kn/kn-inscript2.js | 200 +++++++-------- lib/jquery.ime/rules/kok/kok-inscript2.js | 204 ++++++++-------- lib/jquery.ime/rules/lo/lo-kbd.js | 4 +- lib/jquery.ime/rules/mh/mh.js | 44 ++++ lib/jquery.ime/rules/ml/ml-inscript2.js | 221 +++++++++-------- lib/jquery.ime/rules/mr/mr-inscript2.js | 204 ++++++++-------- lib/jquery.ime/rules/ne/ne-inscript2.js | 198 +++++++-------- lib/jquery.ime/rules/or/or-inscript.js | 4 +- lib/jquery.ime/rules/or/or-inscript2.js | 2 +- lib/jquery.ime/rules/or/or-lekhani.js | 13 +- lib/jquery.ime/rules/or/or-phonetic.js | 190 +++++++-------- lib/jquery.ime/rules/or/or-transliteration.js | 4 +- lib/jquery.ime/rules/pa/pa-inscript2.js | 187 +++++++------- lib/jquery.ime/rules/pa/pa-jhelum.js | 229 +++++++++--------- lib/jquery.ime/rules/sa/sa-inscript2.js | 200 +++++++-------- lib/jquery.ime/rules/sd/sd-inscript2.js | 4 +- lib/jquery.ime/rules/se/se-normforms.js | 5 +- lib/jquery.ime/rules/sr/sr-kbd.js | 6 +- lib/jquery.ime/rules/ta/ta-inscript2.js | 176 +++++++------- lib/jquery.ime/rules/te/te-inscript.js | 1 - lib/jquery.ime/rules/te/te-inscript2.js | 216 ++++++++--------- lib/jquery.ime/rules/th/th-kedmanee.js | 1 - lib/jquery.ime/rules/th/th-pattachote.js | 1 - lib/jquery.ime/rules/ur/ur-phonetic.js | 3 +- lib/jquery.uls/i18n/fur.json | 21 ++ lib/jquery.uls/i18n/gu.json | 2 + lib/jquery.uls/i18n/ko.json | 3 +- lib/jquery.uls/i18n/ps.json | 21 ++ lib/jquery.uls/i18n/te.json | 1 + lib/jquery.uls/src/jquery.uls.core.js | 6 +- .../src/jquery.uls.languagefilter.js | 14 +- lib/jquery.uls/src/jquery.uls.lcd.js | 46 ++-- lib/jquery.uls/src/jquery.uls.regionfilter.js | 26 +- 49 files changed, 1704 insertions(+), 1588 deletions(-) create mode 100755 lib/jquery.ime/rules/mh/mh.js create mode 100644 lib/jquery.uls/i18n/fur.json create mode 100644 lib/jquery.uls/i18n/ps.json diff --git a/.gitignore b/.gitignore index bc683169..0055405e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,4 @@ *.kate-swp .*.swp .idea -lib/jquery.uls/css/jquery.uls.min.css -lib/jquery.uls/jquery.uls.min.js diff --git a/lib/jquery.ime/jquery.ime.js b/lib/jquery.ime/jquery.ime.js index 159e5cb4..4323068f 100644 --- a/lib/jquery.ime/jquery.ime.js +++ b/lib/jquery.ime/jquery.ime.js @@ -1,4 +1,4 @@ -/*! jquery.ime - v0.1.0 - 2013-04-03 +/*! jquery.ime - v0.1.0 - 2013-04-23 * https://github.com/wikimedia/jquery.ime * Copyright (c) 2013 Santhosh Thottingal; Licensed GPL, MIT */ ( function ( $ ) { @@ -136,8 +136,12 @@ - this.inputmethod.contextLength ); } - // it is a noop - if ( replacement === input ) { + // If replacement equals to input, no replacement is made, because + // there's apparently nothing to do. However, there may be something + // to do if AltGr was pressed. For example, if a layout is built in + // a way that allows typing the original character instead of + // the replacement by pressing it with AltGr. + if ( !altGr && replacement === input ) { return true; } @@ -1399,6 +1403,10 @@ name: 'າຶກ', source: 'rules/lo/lo-kbd.js' }, + 'mh': { + name: 'Kajin M̧ajeļ', + source: 'rules/mh/mh.js' + }, 'mn-cyrl': { name: 'Кирилл', source: 'rules/mn/mn-cyrl.js' @@ -1759,13 +1767,17 @@ inputmethods: [ 'cyrl-palochka' ] }, 'lo': { - autonym: 'ພາສາລາວ', + autonym: 'ລາວ', inputmethods: [ 'lo-kbd' ] }, 'mai': { autonym: 'मैथिली', inputmethods: [ 'mai-inscript', 'mai-inscript2' ] }, + 'mh': { + autonym: 'Kajin M̧ajeļ', + inputmethods: [ 'mh' ] + }, 'ml': { autonym: 'മലയാളം', inputmethods: [ 'ml-transliteration', 'ml-inscript', 'ml-inscript2' ] diff --git a/lib/jquery.ime/rules/as/as-avro.js b/lib/jquery.ime/rules/as/as-avro.js index 6710df57..4120cac4 100644 --- a/lib/jquery.ime/rules/as/as-avro.js +++ b/lib/jquery.ime/rules/as/as-avro.js @@ -53,7 +53,7 @@ ['([ক-হড়ঢ়য়ৰ])y', '[^o`]', '$1্য'], ['নc', '[^o`]', 'ঞ্চ'], - ['ত`', '`' , 'ৎ'], + ['ত`', '`', 'ৎ'], ['ক্ক(h|H)', '[^o`]', 'ক্ষ'], ['কশ(h|H)', '[^o`]', 'ক্ষ'], diff --git a/lib/jquery.ime/rules/as/as-inscript2.js b/lib/jquery.ime/rules/as/as-inscript2.js index 5183f453..2c248ff8 100644 --- a/lib/jquery.ime/rules/as/as-inscript2.js +++ b/lib/jquery.ime/rules/as/as-inscript2.js @@ -95,7 +95,7 @@ ['x', 'ং'], ['y', 'ব'], ['z', 'ʼ'] - ], + ], patterns_x: [ ['\\!', '৴'], ['1', '‍'], @@ -120,9 +120,9 @@ ['f', 'ৢ'], ['l', 'ৎ'], ['r', 'ৣ'], - ['x', '৺']] + ['x', '৺'] + ] }; $.ime.register( asInScript2 ); - }( jQuery ) ); diff --git a/lib/jquery.ime/rules/as/as-phonetic.js b/lib/jquery.ime/rules/as/as-phonetic.js index 81b731f7..c1065238 100644 --- a/lib/jquery.ime/rules/as/as-phonetic.js +++ b/lib/jquery.ime/rules/as/as-phonetic.js @@ -11,100 +11,101 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["\\!", "!"], - ["1", "১"], - ["\\@", "@"], - ["2", "২"], - ["\\#", "#"], - ["3", "৩"], - ["\\$", "ৎ"], - ["4", "৪"], - ["\\%", "%"], - ["5", "৫"], - ["\\^", "ঞ"], - ["6", "৬"], - ["\\&", "&"], - ["7", "৭"], - ["\\*", "*"], - ["8", "৮"], - ["\\(", "("], - ["9", "৯"], - ["\\)", ")"], - ["0", "০"], - ["\\_", "_"], - ["\\-", "-"], - ["\\+", "+"], - ["\\=", "="], - ["Q", "ধ"], - ["q", "দ"], - ["W", "ঊ"], - ["w", "ূ"], - ["E", "ঈ"], - ["e", "ী"], - ["R", "ড়"], - ["r", "ৰ"], - ["T", "ঠ"], - ["t", "ট"], - ["Y", "ঐ"], - ["y", "এ"], - ["U", "উ"], - ["u", "ু"], - ["I", "ই"], - ["i", "ি"], - ["O", "ঔ"], - ["o", "ও"], - ["P", "ফ"], - ["p", "প"], - ["\\{", "ৈ"], - ["\\[", "ে"], - ["\\}", "ৌ"], - ["\\]", "ো"], - ["A", "অ"], - ["a", "া"], - ["S", "ষ"], - ["s", "স"], - ["D", "ঢ"], - ["d", "ড"], - ["F", "থ"], - ["f", "ত"], - ["G", "ঘ"], - ["g", "গ"], - ["H", "ঃ"], - ["h", "হ"], - ["J", "ঝ"], - ["j", "জ"], - ["K", "খ"], - ["k", "ক"], - ["L", "ং"], - ["l", "ল"], - [":", ":"], - [";", ";"], - ["\"", "\""], - ["'", "'"], - ["\\|", "৺"], - ["\\\\", "ৱ"], - ["\\~", "‌"], - ["\\`", "‍"], - ["Z", "য"], - ["z", "য়"], - ["X", "ঢ়"], - ["x", "শ"], - ["C", "ছ"], - ["c", "চ"], - ["V", "ঋ"], - ["v", "আ"], - ["B", "ভ"], - ["b", "ব"], - ["N", "ণ"], - ["n", "ন"], - ["M", "ঙ"], - ["m", "ম"], - ["\\<", "ৃ"], - [",", ","], - ["\\>", "ঁ"], - ["\\.", "।"], - ["\\?", "?"], - ["/", "্"]] + ['\\!', '!'], + ['1', '১'], + ['\\@', '@'], + ['2', '২'], + ['\\#', '#'], + ['3', '৩'], + ['\\$', 'ৎ'], + ['4', '৪'], + ['\\%', '%'], + ['5', '৫'], + ['\\^', 'ঞ'], + ['6', '৬'], + ['\\&', '&'], + ['7', '৭'], + ['\\*', '*'], + ['8', '৮'], + ['\\(', '('], + ['9', '৯'], + ['\\)', ')'], + ['0', '০'], + ['\\_', '_'], + ['\\-', '-'], + ['\\+', '+'], + ['\\=', '='], + ['Q', 'ধ'], + ['q', 'দ'], + ['W', 'ঊ'], + ['w', 'ূ'], + ['E', 'ঈ'], + ['e', 'ী'], + ['R', 'ড়'], + ['r', 'ৰ'], + ['T', 'ঠ'], + ['t', 'ট'], + ['Y', 'ঐ'], + ['y', 'এ'], + ['U', 'উ'], + ['u', 'ু'], + ['I', 'ই'], + ['i', 'ি'], + ['O', 'ঔ'], + ['o', 'ও'], + ['P', 'ফ'], + ['p', 'প'], + ['\\{', 'ৈ'], + ['\\[', 'ে'], + ['\\}', 'ৌ'], + ['\\]', 'ো'], + ['A', 'অ'], + ['a', 'া'], + ['S', 'ষ'], + ['s', 'স'], + ['D', 'ঢ'], + ['d', 'ড'], + ['F', 'থ'], + ['f', 'ত'], + ['G', 'ঘ'], + ['g', 'গ'], + ['H', 'ঃ'], + ['h', 'হ'], + ['J', 'ঝ'], + ['j', 'জ'], + ['K', 'খ'], + ['k', 'ক'], + ['L', 'ং'], + ['l', 'ল'], + [':', ':'], + [';', ';'], + ['"', '"'], + ['\'', '\''], + ['\\|', '৺'], + ['\\\\', 'ৱ'], + ['\\~', '‌'], + ['\\`', '‍'], + ['Z', 'য'], + ['z', 'য়'], + ['X', 'ঢ়'], + ['x', 'শ'], + ['C', 'ছ'], + ['c', 'চ'], + ['V', 'ঋ'], + ['v', 'আ'], + ['B', 'ভ'], + ['b', 'ব'], + ['N', 'ণ'], + ['n', 'ন'], + ['M', 'ঙ'], + ['m', 'ম'], + ['\\<', 'ৃ'], + [',', ','], + ['\\>', 'ঁ'], + ['\\.', '।'], + ['\\?', '?'], + ['/', '্'] + ] }; $.ime.register( asPhonetic ); diff --git a/lib/jquery.ime/rules/bn/bn-avro.js b/lib/jquery.ime/rules/bn/bn-avro.js index 4f073510..58079fe3 100644 --- a/lib/jquery.ime/rules/bn/bn-avro.js +++ b/lib/jquery.ime/rules/bn/bn-avro.js @@ -56,7 +56,7 @@ ['([ক-হড়ঢ়য়])y','[^o`]','$1্য'], ['নc','[^o`]','ঞ্চ'], - ['ত`','`' ,'ৎ'], + ['ত`','`', 'ৎ'], ['ক্ক(h|H)','[^o`]','ক্ষ'], ['কশ(h|H)','[^o`]','ক্ষ'], diff --git a/lib/jquery.ime/rules/bn/bn-inscript2.js b/lib/jquery.ime/rules/bn/bn-inscript2.js index c31f79f9..671adcf3 100644 --- a/lib/jquery.ime/rules/bn/bn-inscript2.js +++ b/lib/jquery.ime/rules/bn/bn-inscript2.js @@ -94,7 +94,7 @@ ['x', 'ং'], ['y', 'ব'], ['z', 'ʼ'] - ], + ], patterns_x: [ ['\\!', '৴'], ['1', '‍'], @@ -120,9 +120,9 @@ ['f', 'ৢ'], ['l', 'ৎ'], ['r', 'ৣ'], - ['x', '৺']] + ['x', '৺'] + ] }; $.ime.register( bnInScript2 ); - }( jQuery ) ); diff --git a/lib/jquery.ime/rules/el/el-kbd.js b/lib/jquery.ime/rules/el/el-kbd.js index d17f712c..48f95701 100644 --- a/lib/jquery.ime/rules/el/el-kbd.js +++ b/lib/jquery.ime/rules/el/el-kbd.js @@ -11,84 +11,84 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["΄¨i", "ΐ"], - ["¨΄i", "ΐ"], - ["΄¨y", "ΰ"], - ["¨΄y", "ΰ"], - ["¨i", "ϊ"], - ["¨y", "ϋ"], - ["¨I", "Ϊ"], - ["¨Y", "Ϋ"], - ["΄a", "ά"], - ["΄e", "έ"], - ["΄h", "ή"], - ["΄i", "ί"], - ["΄o", "ό"], - ["΄y", "ύ"], - ["΄v", "ώ"], - ["΄A", "Ά"], - ["΄E", "Έ"], - ["΄H", "Ή"], - ["΄I", "Ί"], - ["΄O", "Ό"], - ["΄Y", "Ύ"], - ["΄V", "Ώ"], - ["q", ";"], - ["w", "ς"], - ["e", "ε"], - ["r", "ρ"], - ["t", "τ"], - ["y", "υ"], - ["u", "θ"], - ["i", "ι"], - ["o", "ο"], - ["p", "π"], - ["\\[", "["], - ["\\]", "]"], - ["a", "α"], - ["s", "σ"], - ["d", "δ"], - ["f", "φ"], - ["g", "γ"], - ["h", "η"], - ["j", "ξ"], - ["k", "κ"], - ["l", "λ"], - [";", "΄"], - ["z", "ζ"], - ["x", "χ"], - ["c", "ψ"], - ["v", "ω"], - ["b", "β"], - ["n", "ν"], - ["m", "μ"], - ["Q", ":"], - ["W", "Σ"], - ["E", "Ε"], - ["R", "Ρ"], - ["T", "Τ"], - ["Y", "Υ"], - ["U", "Θ"], - ["I", "Ι"], - ["O", "Ο"], - ["P", "Π"], - ["A", "Α"], - ["S", "Σ"], - ["D", "Δ"], - ["F", "Φ"], - ["G", "Γ"], - ["H", "Η"], - ["J", "Ξ"], - ["K", "Κ"], - ["L", "Λ"], - [":", "¨"], - ["Z", "Ζ"], - ["X", "Χ"], - ["C", "Ψ"], - ["V", "Ω"], - ["B", "Β"], - ["N", "Ν"], - ["M", "Μ"]] + ['΄¨i', 'ΐ'], + ['¨΄i', 'ΐ'], + ['΄¨y', 'ΰ'], + ['¨΄y', 'ΰ'], + ['¨i', 'ϊ'], + ['¨y', 'ϋ'], + ['¨I', 'Ϊ'], + ['¨Y', 'Ϋ'], + ['΄a', 'ά'], + ['΄e', 'έ'], + ['΄h', 'ή'], + ['΄i', 'ί'], + ['΄o', 'ό'], + ['΄y', 'ύ'], + ['΄v', 'ώ'], + ['΄A', 'Ά'], + ['΄E', 'Έ'], + ['΄H', 'Ή'], + ['΄I', 'Ί'], + ['΄O', 'Ό'], + ['΄Y', 'Ύ'], + ['΄V', 'Ώ'], + ['q', ';'], + ['w', 'ς'], + ['e', 'ε'], + ['r', 'ρ'], + ['t', 'τ'], + ['y', 'υ'], + ['u', 'θ'], + ['i', 'ι'], + ['o', 'ο'], + ['p', 'π'], + ['\\[', '['], + ['\\]', ']'], + ['a', 'α'], + ['s', 'σ'], + ['d', 'δ'], + ['f', 'φ'], + ['g', 'γ'], + ['h', 'η'], + ['j', 'ξ'], + ['k', 'κ'], + ['l', 'λ'], + [';', '΄'], + ['z', 'ζ'], + ['x', 'χ'], + ['c', 'ψ'], + ['v', 'ω'], + ['b', 'β'], + ['n', 'ν'], + ['m', 'μ'], + ['Q', ':'], + ['W', 'Σ'], + ['E', 'Ε'], + ['R', 'Ρ'], + ['T', 'Τ'], + ['Y', 'Υ'], + ['U', 'Θ'], + ['I', 'Ι'], + ['O', 'Ο'], + ['P', 'Π'], + ['A', 'Α'], + ['S', 'Σ'], + ['D', 'Δ'], + ['F', 'Φ'], + ['G', 'Γ'], + ['H', 'Η'], + ['J', 'Ξ'], + ['K', 'Κ'], + ['L', 'Λ'], + [':', '¨'], + ['Z', 'Ζ'], + ['X', 'Χ'], + ['C', 'Ψ'], + ['V', 'Ω'], + ['B', 'Β'], + ['N', 'Ν'], + ['M', 'Μ']] }; $.ime.register( elKbd ); diff --git a/lib/jquery.ime/rules/eo/eo-plena.js b/lib/jquery.ime/rules/eo/eo-plena.js index 414dc3d2..d0b529b2 100644 --- a/lib/jquery.ime/rules/eo/eo-plena.js +++ b/lib/jquery.ime/rules/eo/eo-plena.js @@ -52,7 +52,7 @@ ['AŬU', 'AU'], ['EŬU', 'EU'], - ['cx', 'ĉ'], + ['cx', 'ĉ'], ['gx', 'ĝ'], ['hx', 'ĥ'], ['jx', 'ĵ'], @@ -91,9 +91,9 @@ ['JH', 'Ĵ'], ['SH', 'Ŝ'], ['AU', 'AŬ'], - ['EU', 'EŬ']] + ['EU', 'EŬ'] + ] }; $.ime.register( eoPlena ); - }( jQuery ) ); diff --git a/lib/jquery.ime/rules/eo/eo-q.js b/lib/jquery.ime/rules/eo/eo-q.js index d74e4042..ca6215a8 100644 --- a/lib/jquery.ime/rules/eo/eo-q.js +++ b/lib/jquery.ime/rules/eo/eo-q.js @@ -10,7 +10,7 @@ author: 'Parag Nemade', license: 'GPLv3', version: '1.0', - patterns: [ + patterns: [ ['ĉq', 'cq'], ['ĝq', 'gq'], ['ĥq', 'hq'], diff --git a/lib/jquery.ime/rules/fo/fo-normforms.js b/lib/jquery.ime/rules/fo/fo-normforms.js index 7bf54394..b1e5a721 100644 --- a/lib/jquery.ime/rules/fo/fo-normforms.js +++ b/lib/jquery.ime/rules/fo/fo-normforms.js @@ -14,16 +14,16 @@ maxKeyLength: 3, patterns: [ // Uses "'" as an accent - [ "'a", 'á' ], - [ "'A", 'Á' ], - [ "'i", 'í' ], - [ "'I", 'Í' ], - [ "'o", 'ó' ], - [ "'O", 'Ó' ], - [ "'u", 'ú' ], - [ "'U", 'Ú' ], - [ "'y", 'ý' ], - [ "'Y", 'Ý' ], + [ '\'a', 'á' ], + [ '\'A', 'Á' ], + [ '\'i', 'í' ], + [ '\'I', 'Í' ], + [ '\'o', 'ó' ], + [ '\'O', 'Ó' ], + [ '\'u', 'ú' ], + [ '\'U', 'Ú' ], + [ '\'y', 'ý' ], + [ '\'Y', 'Ý' ], // Uses "~" as "approximatly similar to" [ '~d', 'ð' ], [ '~D', 'Ð' ], @@ -63,4 +63,4 @@ $.ime.register( defs ); -}( jQuery ) ); \ No newline at end of file +}( jQuery ) ); diff --git a/lib/jquery.ime/rules/gu/gu-inscript2.js b/lib/jquery.ime/rules/gu/gu-inscript2.js index 7a2365c7..19dc1f37 100644 --- a/lib/jquery.ime/rules/gu/gu-inscript2.js +++ b/lib/jquery.ime/rules/gu/gu-inscript2.js @@ -10,107 +10,108 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["!", "ઍ"], - ["1", "૧"], - ["\\@", "ૅ"], - ["2", "૨"], - ["\\#", "્ર"], - ["3", "૩"], - ["$", "ર્"], - ["4", "૪"], - ["5", "૫"], - ["6", "૬"], - ["7", "૭"], - ["8", "૮"], - ["\\(", "("], - ["9", "૯"], - ["\\)", ")"], - ["0", "૦"], - ["\\_", "ઃ"], - ["\\-", "-"], - ["\\+", "ઋ"], - ["\\=", "ૃ"], - ["Q", "ઔ"], - ["q", "ૌ"], - ["W", "ઐ"], - ["w", "ૈ"], - ["E", "આ"], - ["e", "ા"], - ["R", "ઈ"], - ["r", "ી"], - ["T", "ઊ"], - ["t", "ૂ"], - ["Y", "ભ"], - ["y", "બ"], - ["U", "ઙ"], - ["u", "હ"], - ["I", "ઘ"], - ["i", "ગ"], - ["O", "ધ"], - ["o", "દ"], - ["P", "ઝ"], - ["p", "જ"], - ["\\{", "ઢ"], - ["\\[", "ડ"], - ["\\}", "ઞ"], - ["\\]", "઼"], - ["A", "ઓ"], - ["a", "ો"], - ["S", "એ"], - ["s", "ે"], - ["D", "અ"], - ["d", "્"], - ["F", "ઇ"], - ["f", "િ"], - ["G", "ઉ"], - ["g", "ુ"], - ["H", "ફ"], - ["h", "પ"], - ["j", "ર"], - ["K", "ખ"], - ["k", "ક"], - ["L", "થ"], - ["l", "ત"], - [":", "છ"], - [";", "ચ"], - ["\"", "ઠ"], - ["\\'", "ટ"], - ["\\|", "ઑ"], - ["\\", "ૉ"], - ["X", "ઁ"], - ["x", "ં"], - ["C", "ણ"], - ["c", "મ"], - ["v", "ન"], - ["b", "વ"], - ["N", "ળ"], - ["n", "લ"], - ["M", "શ"], - ["m", "સ"], - ["\\<", "ષ"], - [",", ","], - ["\\>", "।"], - ["\\.", "."], - ["/", "ય"], - ["\\%", "જ્ઞ"], - ["\\^", "ત્ર"], - ["\\&", "ક્ષ"], - ["\\*", "શ્ર"] - ], + ['!', 'ઍ'], + ['1', '૧'], + ['\\@', 'ૅ'], + ['2', '૨'], + ['\\#', '્ર'], + ['3', '૩'], + ['$', 'ર્'], + ['4', '૪'], + ['5', '૫'], + ['6', '૬'], + ['7', '૭'], + ['8', '૮'], + ['\\(', '('], + ['9', '૯'], + ['\\)', ')'], + ['0', '૦'], + ['\\_', 'ઃ'], + ['\\-', '-'], + ['\\+', 'ઋ'], + ['\\=', 'ૃ'], + ['Q', 'ઔ'], + ['q', 'ૌ'], + ['W', 'ઐ'], + ['w', 'ૈ'], + ['E', 'આ'], + ['e', 'ા'], + ['R', 'ઈ'], + ['r', 'ી'], + ['T', 'ઊ'], + ['t', 'ૂ'], + ['Y', 'ભ'], + ['y', 'બ'], + ['U', 'ઙ'], + ['u', 'હ'], + ['I', 'ઘ'], + ['i', 'ગ'], + ['O', 'ધ'], + ['o', 'દ'], + ['P', 'ઝ'], + ['p', 'જ'], + ['\\{', 'ઢ'], + ['\\[', 'ડ'], + ['\\}', 'ઞ'], + ['\\]', '઼'], + ['A', 'ઓ'], + ['a', 'ો'], + ['S', 'એ'], + ['s', 'ે'], + ['D', 'અ'], + ['d', '્'], + ['F', 'ઇ'], + ['f', 'િ'], + ['G', 'ઉ'], + ['g', 'ુ'], + ['H', 'ફ'], + ['h', 'પ'], + ['j', 'ર'], + ['K', 'ખ'], + ['k', 'ક'], + ['L', 'થ'], + ['l', 'ત'], + [':', 'છ'], + [';', 'ચ'], + ['"', 'ઠ'], + ['\\\'', 'ટ'], + ['\\|', 'ઑ'], + ['\\', 'ૉ'], + ['X', 'ઁ'], + ['x', 'ં'], + ['C', 'ણ'], + ['c', 'મ'], + ['v', 'ન'], + ['b', 'વ'], + ['N', 'ળ'], + ['n', 'લ'], + ['M', 'શ'], + ['m', 'સ'], + ['\\<', 'ષ'], + [',', ','], + ['\\>', '।'], + ['\\.', '.'], + ['/', 'ય'], + ['\\%', 'જ્ઞ'], + ['\\^', 'ત્ર'], + ['\\&', 'ક્ષ'], + ['\\*', 'શ્ર'] + ], patterns_x: [ - ["1", "‍"], - ["2", "‌"], - ["4", "₹"], - ["\\+", "ૠ"], - ["\\=", "ૄ"], - ["R", "ૡ"], - ["r", "ૣ"], - ["F", "ઌ"], - ["f", "ૢ"], - ["X", "ૐ"], - [",", "૱"], - ["\\>", "૥"], - ["\\.", "ઽ"]] + ['1', '‍'], + ['2', '‌'], + ['4', '₹'], + ['\\+', 'ૠ'], + ['\\=', 'ૄ'], + ['R', 'ૡ'], + ['r', 'ૣ'], + ['F', 'ઌ'], + ['f', 'ૢ'], + ['X', 'ૐ'], + [',', '૱'], + ['\\>', '૥'], + ['\\.', 'ઽ'] + ] }; $.ime.register( guInScript2 ); diff --git a/lib/jquery.ime/rules/gu/gu-phonetic.js b/lib/jquery.ime/rules/gu/gu-phonetic.js index c244e2a1..8e6ecb97 100644 --- a/lib/jquery.ime/rules/gu/gu-phonetic.js +++ b/lib/jquery.ime/rules/gu/gu-phonetic.js @@ -10,100 +10,100 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["\\~", "ઍ"], - ["\\`", "ૅ"], - ["\\!", "!"], - ["1", "૧"], - ["\\@", "@"], - ["2", "૨"], - ["\\#", "#"], - ["3", "૩"], - ["\\$", "$"], - ["4", "૪"], - ["\\&", "૱"], - ["5", "૫"], - ["6", "૬"], - ["7", "૭"], - ["8", "૮"], - ["\\(", "("], - ["9", "૯"], - ["\\)", ")"], - ["0", "૦"], - ["\\_", "_"], - ["\\-", "-"], - ["\\+", "+"], - ["\\=", "="], - ["Q", "ઔ"], - ["q", "ઓ"], - ["W", "ઠ"], - ["w", "ટ"], - ["E", "ૈ"], - ["e", "ે"], - ["R", "ૃ"], - ["r", "ર"], - ["T", "થ"], - ["t", "ત"], - ["Y", "ય઼"], - ["y", "ય"], - ["U", "ૂ"], - ["u", "ુ"], - ["I", "ી"], - ["i", "િ"], - ["O", "ૌ"], - ["o", "ો"], - ["P", "ફ"], - ["p", "પ"], - ["\\{", "ઢ"], - ["\\[", "ડ"], - ["\\}", "ર઼"], - ["\\]", "ઋ"], - ["A", "આ"], - ["a", "ા"], - ["S", "શ"], - ["s", "સ"], - ["D", "ધ"], - ["d", "દ"], - ["F", "અ"], - ["f", "્"], - ["G", "ઘ"], - ["g", "ગ"], - ["H", "ઃ"], - ["h", "હ"], - ["J", "ઝ"], - ["j", "જ"], - ["K", "ખ"], - ["k", "ક"], - ["L", "ળ"], - ["l", "લ"], - [":", "ઈ"], - [";", "ઇ"], - ["\"", "ઊ"], - ["\\'", "ઉ"], - ["\\|", "ઑ"], - ["\\", "ૉ"], - ["Z", "ઁ"], - ["z", "ઙ"], - ["x", "ષ"], - ["C", "છ"], - ["c", "ચ"], - ["V", "ઽ"], - ["v", "વ"], - ["B", "ભ"], - ["b", "બ"], - ["N", "ણ"], - ["n", "ન"], - ["M", "ં"], - ["m", "મ"], - ["\\<", "ૐ"], - [",", ","], - ["\\>", "઼"], - ["\\.", "."], - ["\\?", "ઐ"], - ["/", "એ"], - ["X", "ક્ષ"], - ["\\%", "જ્ઞ"], - ["\\^", "ત્ર"], - ["\\*", "શ્ર"]] + ['\\~', 'ઍ'], + ['\\`', 'ૅ'], + ['\\!', '!'], + ['1', '૧'], + ['\\@', '@'], + ['2', '૨'], + ['\\#', '#'], + ['3', '૩'], + ['\\$', '$'], + ['4', '૪'], + ['\\&', '૱'], + ['5', '૫'], + ['6', '૬'], + ['7', '૭'], + ['8', '૮'], + ['\\(', '('], + ['9', '૯'], + ['\\)', ')'], + ['0', '૦'], + ['\\_', '_'], + ['\\-', '-'], + ['\\+', '+'], + ['\\=', '='], + ['Q', 'ઔ'], + ['q', 'ઓ'], + ['W', 'ઠ'], + ['w', 'ટ'], + ['E', 'ૈ'], + ['e', 'ે'], + ['R', 'ૃ'], + ['r', 'ર'], + ['T', 'થ'], + ['t', 'ત'], + ['Y', 'ય઼'], + ['y', 'ય'], + ['U', 'ૂ'], + ['u', 'ુ'], + ['I', 'ી'], + ['i', 'િ'], + ['O', 'ૌ'], + ['o', 'ો'], + ['P', 'ફ'], + ['p', 'પ'], + ['\\{', 'ઢ'], + ['\\[', 'ડ'], + ['\\}', 'ર઼'], + ['\\]', 'ઋ'], + ['A', 'આ'], + ['a', 'ા'], + ['S', 'શ'], + ['s', 'સ'], + ['D', 'ધ'], + ['d', 'દ'], + ['F', 'અ'], + ['f', '્'], + ['G', 'ઘ'], + ['g', 'ગ'], + ['H', 'ઃ'], + ['h', 'હ'], + ['J', 'ઝ'], + ['j', 'જ'], + ['K', 'ખ'], + ['k', 'ક'], + ['L', 'ળ'], + ['l', 'લ'], + [':', 'ઈ'], + [';', 'ઇ'], + ['"', 'ઊ'], + ['\\\'', 'ઉ'], + ['\\|', 'ઑ'], + ['\\', 'ૉ'], + ['Z', 'ઁ'], + ['z', 'ઙ'], + ['x', 'ષ'], + ['C', 'છ'], + ['c', 'ચ'], + ['V', 'ઽ'], + ['v', 'વ'], + ['B', 'ભ'], + ['b', 'બ'], + ['N', 'ણ'], + ['n', 'ન'], + ['M', 'ં'], + ['m', 'મ'], + ['\\<', 'ૐ'], + [',', ','], + ['\\>', '઼'], + ['\\.', '.'], + ['\\?', 'ઐ'], + ['/', 'એ'], + ['X', 'ક્ષ'], + ['\\%', 'જ્ઞ'], + ['\\^', 'ત્ર'], + ['\\*', 'શ્ર']] }; $.ime.register( guPhonetic ); diff --git a/lib/jquery.ime/rules/he/he-standard-2012-extonly.js b/lib/jquery.ime/rules/he/he-standard-2012-extonly.js index c0462c74..6c23127d 100644 --- a/lib/jquery.ime/rules/he/he-standard-2012-extonly.js +++ b/lib/jquery.ime/rules/he/he-standard-2012-extonly.js @@ -51,8 +51,8 @@ // Some source code editors may show the next two lines // in a weird way because of auto-directionality. - [';', '׳'], // Geresh, ; - [',', '״'], // Gershayim, , + [';', '׳'], // Geresh, ';' + [',', '״'], // Gershayim, ',' ['\u05E3', '„'], // Opening double quote, ף ['\u05DA', '”'], // Closing double quote, ך ['\u05E5', '‚'], // Opening single quote, ץ diff --git a/lib/jquery.ime/rules/hi/hi-inscript2.js b/lib/jquery.ime/rules/hi/hi-inscript2.js index 14688d24..19feaf34 100644 --- a/lib/jquery.ime/rules/hi/hi-inscript2.js +++ b/lib/jquery.ime/rules/hi/hi-inscript2.js @@ -108,7 +108,7 @@ ['r', 'ॣ'], ['p', 'ज़'], ['\\{', 'ढ़'], - ['\\[', ,'ड़'], + ['\\[', 'ड़'], ['H', 'फ़'], ['K', 'ख़'], ['k', 'क़'], diff --git a/lib/jquery.ime/rules/is/is-normforms.js b/lib/jquery.ime/rules/is/is-normforms.js index 41c7d9a1..a37c99b0 100644 --- a/lib/jquery.ime/rules/is/is-normforms.js +++ b/lib/jquery.ime/rules/is/is-normforms.js @@ -14,18 +14,18 @@ maxKeyLength: 3, patterns: [ // Uses "'" as an accent - [ "'a", 'á' ], - [ "'A", 'Á' ], - [ "'i", 'í' ], - [ "'I", 'Í' ], - [ "'e", 'é' ], - [ "'E", 'É' ], - [ "'o", 'ó' ], - [ "'O", 'Ó' ], - [ "'u", 'ú' ], - [ "'U", 'Ú' ], - [ "'y", 'ý' ], - [ "'Y", 'Ý' ], + [ '\'a', 'á' ], + [ '\'A', 'Á' ], + [ '\'i', 'í' ], + [ '\'I', 'Í' ], + [ '\'e', 'é' ], + [ '\'E', 'É' ], + [ '\'o', 'ó' ], + [ '\'O', 'Ó' ], + [ '\'u', 'ú' ], + [ '\'U', 'Ú' ], + [ '\'y', 'ý' ], + [ '\'Y', 'Ý' ], // Uses "~" as "approximatly similar to" [ '~a', 'ä' ], [ '~A', 'Ä' ], @@ -75,5 +75,4 @@ }; $.ime.register( defs ); - -}( jQuery ) ); \ No newline at end of file +}( jQuery ) ); diff --git a/lib/jquery.ime/rules/kn/kn-inscript2.js b/lib/jquery.ime/rules/kn/kn-inscript2.js index 219b03f2..915a2fe4 100644 --- a/lib/jquery.ime/rules/kn/kn-inscript2.js +++ b/lib/jquery.ime/rules/kn/kn-inscript2.js @@ -10,108 +10,108 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["1", "೧"], - ["2", "೨"], - ["\\#", "್ರ"], - ["3", "೩"], - ["\\$", "ರ್"], - ["4", "೪"], - ["5", "೫"], - ["6", "೬"], - ["7", "೭"], - ["8", "೮"], - ["\\(", "("], - ["9", "೯"], - ["\\)", ")"], - ["0", "೦"], - ["\\_", "ಃ"], - ["\\-", "-"], - ["\\+", "ಋ"], - ["\\=", "ೃ"], - ["Q", "ಔ"], - ["q", "ೌ"], - ["W", "ಐ"], - ["w", "ೈ"], - ["E", "ಆ"], - ["e", "ಾ"], - ["R", "ಈ"], - ["r", "ೀ"], - ["T", "ಊ"], - ["t", "ೂ"], - ["Y", "ಭ"], - ["y", "ಬ"], - ["U", "ಙ"], - ["u", "ಹ"], - ["I", "ಘ"], - ["i", "ಗ"], - ["O", "ಧ"], - ["o", "ದ"], - ["P", "ಝ"], - ["p", "ಜ"], - ["\\{", "ಢ"], - ["\\[", "ಡ"], - ["\\}", "ಞ"], - ["\\]", "಼"], - ["A", "ಓ"], - ["a", "ೋ"], - ["S", "ಏ"], - ["s", "ೇ"], - ["D", "ಅ"], - ["d", "್"], - ["F", "ಇ"], - ["f", "ಿ"], - ["G", "ಉ"], - ["g", "ು"], - ["H", "ಫ"], - ["h", "ಪ"], - ["J", "ಱ"], - ["j", "ರ"], - ["K", "ಖ"], - ["k", "ಕ"], - ["L", "ಥ"], - ["l", "ತ"], - [":", "ಛ"], - [";", "ಚ"], - ["\"", "ಠ"], - ["\\'", "ಟ"], - ["\\~", "ಒ"], - ["`\\", "ೊ"], - ["Z", "ಎ"], - ["z", "ೆ"], - ["x", "ಂ"], - ["C", "ಣ"], - ["c", "ಮ"], - ["v", "ನ"], - ["b", "ವ"], - ["N", "ಳ"], - ["n", "ಲ"], - ["M", "ಶ"], - ["m", "ಸ"], - ["\\<", "ಷ"], - [",", ","], - ["\\>", "।"], - ["\\.", "."], - ["/", "ಯ"], - ["\\%", "ಜ್ಞ"], - ["\\^", "ತ್ರ"], - ["\\&", "ಕ್ಷ"], - ["\\*", "ಶ್ರ"] + ['1', '೧'], + ['2', '೨'], + ['\\#', '್ರ'], + ['3', '೩'], + ['\\$', 'ರ್'], + ['4', '೪'], + ['5', '೫'], + ['6', '೬'], + ['7', '೭'], + ['8', '೮'], + ['\\(', '('], + ['9', '೯'], + ['\\)', ')'], + ['0', '೦'], + ['\\_', 'ಃ'], + ['\\-', '-'], + ['\\+', 'ಋ'], + ['\\=', 'ೃ'], + ['Q', 'ಔ'], + ['q', 'ೌ'], + ['W', 'ಐ'], + ['w', 'ೈ'], + ['E', 'ಆ'], + ['e', 'ಾ'], + ['R', 'ಈ'], + ['r', 'ೀ'], + ['T', 'ಊ'], + ['t', 'ೂ'], + ['Y', 'ಭ'], + ['y', 'ಬ'], + ['U', 'ಙ'], + ['u', 'ಹ'], + ['I', 'ಘ'], + ['i', 'ಗ'], + ['O', 'ಧ'], + ['o', 'ದ'], + ['P', 'ಝ'], + ['p', 'ಜ'], + ['\\{', 'ಢ'], + ['\\[', 'ಡ'], + ['\\}', 'ಞ'], + ['\\]', '಼'], + ['A', 'ಓ'], + ['a', 'ೋ'], + ['S', 'ಏ'], + ['s', 'ೇ'], + ['D', 'ಅ'], + ['d', '್'], + ['F', 'ಇ'], + ['f', 'ಿ'], + ['G', 'ಉ'], + ['g', 'ು'], + ['H', 'ಫ'], + ['h', 'ಪ'], + ['J', 'ಱ'], + ['j', 'ರ'], + ['K', 'ಖ'], + ['k', 'ಕ'], + ['L', 'ಥ'], + ['l', 'ತ'], + [':', 'ಛ'], + [';', 'ಚ'], + ['"', 'ಠ'], + ['\\\'', 'ಟ'], + ['\\~', 'ಒ'], + ['`\\', 'ೊ'], + ['Z', 'ಎ'], + ['z', 'ೆ'], + ['x', 'ಂ'], + ['C', 'ಣ'], + ['c', 'ಮ'], + ['v', 'ನ'], + ['b', 'ವ'], + ['N', 'ಳ'], + ['n', 'ಲ'], + ['M', 'ಶ'], + ['m', 'ಸ'], + ['\\<', 'ಷ'], + [',', ','], + ['\\>', '।'], + ['\\.', '.'], + ['/', 'ಯ'], + ['\\%', 'ಜ್ಞ'], + ['\\^', 'ತ್ರ'], + ['\\&', 'ಕ್ಷ'], + ['\\*', 'ಶ್ರ'] ], patterns_x: [ - ["1", "‍"], - ["2", "‌"], - ["4", "₹"], - ["\\+", "ೠ"], - ["\\=", "ೄ"], - ["R", "ೡ"], - ["r", "ೣ"], - ["u", "ೱ"], - ["F","ಌ"], - ["f", "ೢ"], - ["H", "ೞ"], - ["j", "ೲ"], - ["\\>", "ಽ"], - [".", "॥"] + ['1', '‍'], + ['2', '‌'], + ['4', '₹'], + ['\\+', 'ೠ'], + ['\\=', 'ೄ'], + ['R', 'ೡ'], + ['r', 'ೣ'], + ['u', 'ೱ'], + ['F','ಌ'], + ['f', 'ೢ'], + ['H', 'ೞ'], + ['j', 'ೲ'], + ['\\>', 'ಽ'], + ['.', '॥'] ] }; diff --git a/lib/jquery.ime/rules/kok/kok-inscript2.js b/lib/jquery.ime/rules/kok/kok-inscript2.js index 56d8218b..d1c6952f 100644 --- a/lib/jquery.ime/rules/kok/kok-inscript2.js +++ b/lib/jquery.ime/rules/kok/kok-inscript2.js @@ -10,108 +10,110 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["\\!", "ॲ"], - ["1", "१"], - ["\\@", "ॅ"], - ["2", "२"], - ["\\#", "्र"], - ["3", "३"], - ["\\$", "र्"], - ["4", "४"], - ["5", "५"], - ["6", "६"], - ["7", "७"], - ["8", "८"], - ["\\(", "("], - ["9", "९"], - ["\\]", "]"], - ["0", "०"], - ["\\_", "ः"], - ["\\-", "-"], - ["\\+", "ऋ"], - ["\\=", "ृ"], - ["Q", "औ"], - ["q", "ौ"], - ["W", "ऐ"], - ["w", "ै"], - ["E", "आ"], - ["e", "ा"], - ["R", "ई"], - ["r", "ी"], - ["T", "ऊ"], - ["t", "ू"], - ["Y", "भ"], - ["y", "ब"], - ["U", "ङ"], - ["u", "ह"], - ["I", "घ"], - ["i", "ग"], - ["O", "ध"], - ["o", "द"], - ["P", "झ"], - ["p", "ज"], - ["\\{", "ढ"], - ["\\[", "ड"], - ["\\}", "ञ"], - ["\\]", "़"], - ["A", "ओ"], - ["a", "ो"], - ["S", "ए"], - ["s", "े"], - ["D", "अ"], - ["d", "्"], - ["F", "इ"], - ["f", "ि"], - ["G", "उ"], - ["g", "ु"], - ["H", "फ"], - ["h", "प"], - ["J", "ऱ"], - ["j", "र"], - ["K", "ख"], - ["k", "क"], - ["L", "थ"], - ["l", "त"], - [":", "छ"], - [";", "च"], - ["\"", "ठ"], - ["\\'", "ट"], - ["X", "ँ"], - ["x", "ं"], - ["C", "ण"], - ["c", "म"], - ["v", "न"], - ["b", "व"], - ["N", "ळ"], - ["n", "ल"], - ["M", "श"], - ["m", "स"], - ["\\<", "ष"], - [",", ","], - ["\\>", "।"], - ["\\.", "."], - ["/", "य"], - ["\\%", "ज्ञ"], - ["\\^", "त्र"], - ["\\&", "क्ष"], - ["\\*", "श्र"]], + ['\\!', 'ॲ'], + ['1', '१'], + ['\\@', 'ॅ'], + ['2', '२'], + ['\\#', '्र'], + ['3', '३'], + ['\\$', 'र्'], + ['4', '४'], + ['5', '५'], + ['6', '६'], + ['7', '७'], + ['8', '८'], + ['\\(', '('], + ['9', '९'], + ['\\]', ']'], + ['0', '०'], + ['\\_', 'ः'], + ['\\-', '-'], + ['\\+', 'ऋ'], + ['\\=', 'ृ'], + ['Q', 'औ'], + ['q', 'ौ'], + ['W', 'ऐ'], + ['w', 'ै'], + ['E', 'आ'], + ['e', 'ा'], + ['R', 'ई'], + ['r', 'ी'], + ['T', 'ऊ'], + ['t', 'ू'], + ['Y', 'भ'], + ['y', 'ब'], + ['U', 'ङ'], + ['u', 'ह'], + ['I', 'घ'], + ['i', 'ग'], + ['O', 'ध'], + ['o', 'द'], + ['P', 'झ'], + ['p', 'ज'], + ['\\{', 'ढ'], + ['\\[', 'ड'], + ['\\}', 'ञ'], + ['\\]', '़'], + ['A', 'ओ'], + ['a', 'ो'], + ['S', 'ए'], + ['s', 'े'], + ['D', 'अ'], + ['d', '्'], + ['F', 'इ'], + ['f', 'ि'], + ['G', 'उ'], + ['g', 'ु'], + ['H', 'फ'], + ['h', 'प'], + ['J', 'ऱ'], + ['j', 'र'], + ['K', 'ख'], + ['k', 'क'], + ['L', 'थ'], + ['l', 'त'], + [':', 'छ'], + [';', 'च'], + ['"', 'ठ'], + ['\\\'', 'ट'], + ['X', 'ँ'], + ['x', 'ं'], + ['C', 'ण'], + ['c', 'म'], + ['v', 'न'], + ['b', 'व'], + ['N', 'ळ'], + ['n', 'ल'], + ['M', 'श'], + ['m', 'स'], + ['\\<', 'ष'], + [',', ','], + ['\\>', '।'], + ['\\.', '.'], + ['/', 'य'], + ['\\%', 'ज्ञ'], + ['\\^', 'त्र'], + ['\\&', 'क्ष'], + ['\\*', 'श्र'] + ], patterns_x: [ - ["1", "\u200d"], - ["2", "\u200c"], - ["4", "₹"], - ["\\+", "ॠ"], - ["\\=", "ॄ"], - ["e", "॑"], - ["R", "ॡ"], - ["r", "ॣ"], - ["d", "॒"], - ["F", "ऌ"], - ["f", "ॢ"], - ["X", "ॐ"], - [",", "॰"], - ["\\>", "ऽ"], - ["\\.", "॥"]] + ['1', '\u200d'], + ['2', '\u200c'], + ['4', '₹'], + ['\\+', 'ॠ'], + ['\\=', 'ॄ'], + ['e', '॑'], + ['R', 'ॡ'], + ['r', 'ॣ'], + ['d', '॒'], + ['F', 'ऌ'], + ['f', 'ॢ'], + ['X', 'ॐ'], + [',', '॰'], + ['\\>', 'ऽ'], + ['\\.', '॥'] + ] }; - $.ime.register( kokInScript2 ); + $.ime.register( kokInScript2 ); }( jQuery ) ); diff --git a/lib/jquery.ime/rules/lo/lo-kbd.js b/lib/jquery.ime/rules/lo/lo-kbd.js index a5c47af6..3358b127 100644 --- a/lib/jquery.ime/rules/lo/lo-kbd.js +++ b/lib/jquery.ime/rules/lo/lo-kbd.js @@ -11,7 +11,7 @@ license: 'GPLv3', version: '1.0', patterns: [ - ['\\!', '1'], + ['\\!', '1'], ['\"', '='], ['\\#', '3'], ['\\$', '4'], @@ -117,7 +117,7 @@ ['9', '໙'] ] }; - $.ime.register( loKbd ); + $.ime.register( loKbd ); }( jQuery ) ); diff --git a/lib/jquery.ime/rules/mh/mh.js b/lib/jquery.ime/rules/mh/mh.js new file mode 100755 index 00000000..5ff1227b --- /dev/null +++ b/lib/jquery.ime/rules/mh/mh.js @@ -0,0 +1,44 @@ +/** + * Businesses and government offices in the Republic of the Marshall Islands typically use + * a font to replace eight letters that are typically unused in the Marshallese language + * with Marshallese letters. + * Sample English translations: http://mapmeld.github.com/olpc-rmi/laptops.html + * Pronunciation: http://www.rmiembassyus.org/Marshallese%20Phrasebook.htm + */ + +( function ( $ ) { + 'use strict'; + + var mh = { + id: 'mh', + name: 'Kajin M̧ajeļ', + description: 'Marshallese Language', + date: '2013-03-29', + URL: 'http://github.com/wikimedia/jquery.ime', + author: 'Nick Doiron, ', + license: 'GPLv3', + version: '1.0', + patterns: [ + ['Y', 'Ū'], + ['S', 'Ā'], + ['F', 'Ņ'], + ['G', 'N̄'], + ['H', 'M̧'], + ['X', 'O̧'], + ['C', 'Ō'], + ['V', 'Ļ'], + + ['y', 'ū'], + ['s', 'ā'], + ['f', 'ņ'], + ['g', 'n̄'], + ['h', 'm̧'], + ['x', 'o̧'], + ['c', 'ō'], + ['v', 'ļ'] + ] + }; + + $.ime.register( mh ); + +}( jQuery ) ); diff --git a/lib/jquery.ime/rules/ml/ml-inscript2.js b/lib/jquery.ime/rules/ml/ml-inscript2.js index f2faea64..6bf67923 100644 --- a/lib/jquery.ime/rules/ml/ml-inscript2.js +++ b/lib/jquery.ime/rules/ml/ml-inscript2.js @@ -13,121 +13,120 @@ contextLength: 0, maxKeyLength: 2, patterns: [ - ["1", "൧"], - ["2", "൨"], - ["3", "൩"], - ["\\#", "്ര"], - ["4", "൪"], - ["5", "൫"], - ["6", "൬"], - ["7", "൭"], - ["\\&", "ക്ഷ"], - ["8", "൮"], - ["\\*", "ൾ"], - ["\\(", "("], - ["9", "൯"], - ["\\)", ")"], - ["0", "൦"], - ["\\_", "ഃ"], - ["\\-", "-"], - ["\\+", "ഋ"], - ["\\=", "ൃ"], - ["Q", "ഔ"], - ["q", "ൗ"], - ["W", "ഐ"], - ["w", "ൈ"], - ["E", "ആ"], - ["e", "ാ"], - ["R", "ഈ"], - ["r", "ീ"], - ["T", "ഊ"], - ["t", "ൂ"], - ["Y", "ഭ"], - ["y", "ബ"], - ["U", "ങ"], - ["u", "ഹ"], - ["I", "ഘ"], - ["i", "ഗ"], - ["O", "ധ"], - ["o", "ദ"], - ["P", "ഝ"], - ["p", "ജ"], - ["\\{", "ഢ"], - ["\\[", "ഡ"], - ["\\}", "ഞ"], - ["\\\\", "ർ"], - ["A", "ഓ"], - ["a", "ോ"], - ["S", "ഏ"], - ["s", "േ"], - ["D", "അ"], - ["d", "്"], - ["F", "ഇ"], - ["f", "ി"], - ["G", "ഉ"], - ["g", "ു"], - ["H", "ഫ"], - ["h", "പ"], - ["J", "റ"], - ["j", "ര"], - ["K", "ഖ"], - ["k", "ക"], - ["L", "ഥ"], - ["l", "ത"], - [":", "ഛ"], - [";", "ച"], - ["\"", "ഠ"], - ["\\'", "ട"], - ["\\~", "ഒ"], - ["\\`", "ൊ"], - ["Z", "എ"], - ["z", "െ"], - ["X", "ൺ"], - ["x", "ം"], - ["C", "ണ"], - ["c", "മ"], - ["V", "ൻ"], - ["v", "ന"], - ["B", "ഴ"], - ["b", "വ"], - ["N", "ള"], - ["n", "ല"], - ["M", "ശ"], - ["m", "സ"], - ["\\<", "ഷ"], - [",", ","], - ["\\>", "ൽ"], - ["\\.", "."], - ["/", "യ"] + ['1', '൧'], + ['2', '൨'], + ['3', '൩'], + ['\\#', '്ര'], + ['4', '൪'], + ['5', '൫'], + ['6', '൬'], + ['7', '൭'], + ['\\&', 'ക്ഷ'], + ['8', '൮'], + ['\\*', 'ൾ'], + ['\\(', '('], + ['9', '൯'], + ['\\)', ')'], + ['0', '൦'], + ['\\_', 'ഃ'], + ['\\-', '-'], + ['\\+', 'ഋ'], + ['\\=', 'ൃ'], + ['Q', 'ഔ'], + ['q', 'ൗ'], + ['W', 'ഐ'], + ['w', 'ൈ'], + ['E', 'ആ'], + ['e', 'ാ'], + ['R', 'ഈ'], + ['r', 'ീ'], + ['T', 'ഊ'], + ['t', 'ൂ'], + ['Y', 'ഭ'], + ['y', 'ബ'], + ['U', 'ങ'], + ['u', 'ഹ'], + ['I', 'ഘ'], + ['i', 'ഗ'], + ['O', 'ധ'], + ['o', 'ദ'], + ['P', 'ഝ'], + ['p', 'ജ'], + ['\\{', 'ഢ'], + ['\\[', 'ഡ'], + ['\\}', 'ഞ'], + ['\\\\', 'ർ'], + ['A', 'ഓ'], + ['a', 'ോ'], + ['S', 'ഏ'], + ['s', 'േ'], + ['D', 'അ'], + ['d', '്'], + ['F', 'ഇ'], + ['f', 'ി'], + ['G', 'ഉ'], + ['g', 'ു'], + ['H', 'ഫ'], + ['h', 'പ'], + ['J', 'റ'], + ['j', 'ര'], + ['K', 'ഖ'], + ['k', 'ക'], + ['L', 'ഥ'], + ['l', 'ത'], + [':', 'ഛ'], + [';', 'ച'], + ['"', 'ഠ'], + ['\\\'', 'ട'], + ['\\~', 'ഒ'], + ['\\`', 'ൊ'], + ['Z', 'എ'], + ['z', 'െ'], + ['X', 'ൺ'], + ['x', 'ം'], + ['C', 'ണ'], + ['c', 'മ'], + ['V', 'ൻ'], + ['v', 'ന'], + ['B', 'ഴ'], + ['b', 'വ'], + ['N', 'ള'], + ['n', 'ല'], + ['M', 'ശ'], + ['m', 'സ'], + ['\\<', 'ഷ'], + [',', ','], + ['\\>', 'ൽ'], + ['\\.', '.'], + ['/', 'യ'] ], patterns_x: [ - ["1", "‍"], - ["\\!", "൰"], - ["2", "‌"], - ["\\@", "൱"], - ["\\#", "൲"], - ["\\$", "൳"], - ["4", "₹"], - ["\\%", "൴"], - ["\\^", "൵"], - ["\\+", "ൠ"], - ["\\=", "ൄ"], - ["q", "ൌ"], - ["R", "ൡ"], - ["r", "ൣ"], - ["F", "ഌ"], - ["f", "ൢ"], - ["j", "ർ"], - ["k", "ൿ"], - ["c", "ൺ"], - ["v", "൹"], - ["N", "ൾ"], - ["n", "ൽ"], - ["\\>", "ഽ"], - ["\\.", "॥"] + ['1', '‍'], + ['\\!', '൰'], + ['2', '‌'], + ['\\@', '൱'], + ['\\#', '൲'], + ['\\$', '൳'], + ['4', '₹'], + ['\\%', '൴'], + ['\\^', '൵'], + ['\\+', 'ൠ'], + ['\\=', 'ൄ'], + ['q', 'ൌ'], + ['R', 'ൡ'], + ['r', 'ൣ'], + ['F', 'ഌ'], + ['f', 'ൢ'], + ['j', 'ർ'], + ['k', 'ൿ'], + ['c', 'ൺ'], + ['v', '൹'], + ['N', 'ൾ'], + ['n', 'ൽ'], + ['\\>', 'ഽ'], + ['\\.', '॥'] ] }; $.ime.register( mlInScript2 ); - }( jQuery ) ); diff --git a/lib/jquery.ime/rules/mr/mr-inscript2.js b/lib/jquery.ime/rules/mr/mr-inscript2.js index f59de9fb..5b0d67a8 100644 --- a/lib/jquery.ime/rules/mr/mr-inscript2.js +++ b/lib/jquery.ime/rules/mr/mr-inscript2.js @@ -10,110 +10,110 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["\\!", "ॲ"], - ["1", "१"], - ["\\@", "ॅ"], - ["2", "२"], - ["\\#", "्र"], - ["3", "३"], - ["\\$", "र्"], - ["4", "४"], - ["5", "५"], - ["6", "६"], - ["7", "७"], - ["8", "८"], - ["\\(", "("], - ["9", "९"], - ["\\]", "]"], - ["0", "०"], - ["\\_", "ः"], - ["\\-", "-"], - ["\\+", "ऋ"], - ["\\=", "ृ"], - ["Q", "औ"], - ["q", "ौ"], - ["W", "ऐ"], - ["w", "ै"], - ["E", "आ"], - ["e", "ा"], - ["R", "ई"], - ["r", "ी"], - ["T", "ऊ"], - ["t", "ू"], - ["Y", "भ"], - ["y", "ब"], - ["U", "ङ"], - ["u", "ह"], - ["I", "घ"], - ["i", "ग"], - ["O", "ध"], - ["o", "द"], - ["P", "झ"], - ["p", "ज"], - ["\\{", "ढ"], - ["\\[", "ड"], - ["\\}", "ञ"], - ["\\]", "़"], - ["A", "ओ"], - ["a", "ो"], - ["S", "ए"], - ["s", "े"], - ["D", "अ"], - ["d", "्"], - ["F", "इ"], - ["f", "ि"], - ["G", "उ"], - ["g", "ु"], - ["H", "फ"], - ["h", "प"], - ["J", "ऱ"], - ["j", "र"], - ["K", "ख"], - ["k", "क"], - ["L", "थ"], - ["l", "त"], - [":", "छ"], - [";", "च"], - ["\"", "ठ"], - ["\\'", "ट"], - ["\\~", "ऒ"], - ["\\`", "ॊ"], - ["X", "ँ"], - ["x", "ं"], - ["C", "ण"], - ["c", "म"], - ["v", "न"], - ["b", "व"], - ["N", "ळ"], - ["n", "ल"], - ["M", "श"], - ["m", "स"], - ["\\<", "ष"], - [",", ","], - ["\\>", "।"], - ["\\.", "."], - ["/", "य"], - ["\\%", "ज्ञ"], - ["\\^", "त्र"], - ["\\&", "क्ष"], - ["\\*", "श्र"] + ['\\!', 'ॲ'], + ['1', '१'], + ['\\@', 'ॅ'], + ['2', '२'], + ['\\#', '्र'], + ['3', '३'], + ['\\$', 'र्'], + ['4', '४'], + ['5', '५'], + ['6', '६'], + ['7', '७'], + ['8', '८'], + ['\\(', '('], + ['9', '९'], + ['\\]', ']'], + ['0', '०'], + ['\\_', 'ः'], + ['\\-', '-'], + ['\\+', 'ऋ'], + ['\\=', 'ृ'], + ['Q', 'औ'], + ['q', 'ौ'], + ['W', 'ऐ'], + ['w', 'ै'], + ['E', 'आ'], + ['e', 'ा'], + ['R', 'ई'], + ['r', 'ी'], + ['T', 'ऊ'], + ['t', 'ू'], + ['Y', 'भ'], + ['y', 'ब'], + ['U', 'ङ'], + ['u', 'ह'], + ['I', 'घ'], + ['i', 'ग'], + ['O', 'ध'], + ['o', 'द'], + ['P', 'झ'], + ['p', 'ज'], + ['\\{', 'ढ'], + ['\\[', 'ड'], + ['\\}', 'ञ'], + ['\\]', '़'], + ['A', 'ओ'], + ['a', 'ो'], + ['S', 'ए'], + ['s', 'े'], + ['D', 'अ'], + ['d', '्'], + ['F', 'इ'], + ['f', 'ि'], + ['G', 'उ'], + ['g', 'ु'], + ['H', 'फ'], + ['h', 'प'], + ['J', 'ऱ'], + ['j', 'र'], + ['K', 'ख'], + ['k', 'क'], + ['L', 'थ'], + ['l', 'त'], + [':', 'छ'], + [';', 'च'], + ['"', 'ठ'], + ['\\\'', 'ट'], + ['\\~', 'ऒ'], + ['\\`', 'ॊ'], + ['X', 'ँ'], + ['x', 'ं'], + ['C', 'ण'], + ['c', 'म'], + ['v', 'न'], + ['b', 'व'], + ['N', 'ळ'], + ['n', 'ल'], + ['M', 'श'], + ['m', 'स'], + ['\\<', 'ष'], + [',', ','], + ['\\>', '।'], + ['\\.', '.'], + ['/', 'य'], + ['\\%', 'ज्ञ'], + ['\\^', 'त्र'], + ['\\&', 'क्ष'], + ['\\*', 'श्र'] ], patterns_x: [ - ["1", "\u200d"], - ["2", "\u200c"], - ["4", "₹"], - ["\\+", "ॠ"], - ["\\=", "ॄ"], - ["e", "॑"], - ["R", "ॡ"], - ["r", "ॣ"], - ["d", "॒"], - ["F", "ऌ"], - ["f", "ॢ"], - ["X", "ॐ"], - [",", "॰"], - ["\\>", "ऽ"], - ["\\.", "॥"] + ['1', '\u200d'], + ['2', '\u200c'], + ['4', '₹'], + ['\\+', 'ॠ'], + ['\\=', 'ॄ'], + ['e', '॑'], + ['R', 'ॡ'], + ['r', 'ॣ'], + ['d', '॒'], + ['F', 'ऌ'], + ['f', 'ॢ'], + ['X', 'ॐ'], + [',', '॰'], + ['\\>', 'ऽ'], + ['\\.', '॥'] ] }; $.ime.register( mrInScript2 ); diff --git a/lib/jquery.ime/rules/ne/ne-inscript2.js b/lib/jquery.ime/rules/ne/ne-inscript2.js index be791481..412017e2 100644 --- a/lib/jquery.ime/rules/ne/ne-inscript2.js +++ b/lib/jquery.ime/rules/ne/ne-inscript2.js @@ -10,106 +10,106 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["1", "१"], - ["2", "२"], - ["\\#", "्र"], - ["3", "३"], - ["\\$", "र्"], - ["4", "४"], - ["5", "५"], - ["6", "६"], - ["7", "७"], - ["8", "८"], - ["\\(", "("], - ["9", "९"], - ["\\]", "]"], - ["0", "०"], - ["\\_", "ः"], - ["\\-", "-"], - ["\\+", "ऋ"], - ["\\=", "ृ"], - ["Q", "औ"], - ["q", "ौ"], - ["W", "ऐ"], - ["w", "ै"], - ["E", "आ"], - ["e", "ा"], - ["R", "ई"], - ["r", "ी"], - ["T", "ऊ"], - ["t", "ू"], - ["Y", "भ"], - ["y", "ब"], - ["U", "ङ"], - ["u", "ह"], - ["I", "घ"], - ["i", "ग"], - ["O", "ध"], - ["o", "द"], - ["P", "झ"], - ["p", "ज"], - ["\\{", "ढ"], - ["\\[", "ड"], - ["\\}", "ञ"], - ["\\]", "़"], - ["A", "ओ"], - ["a", "ो"], - ["S", "ए"], - ["s", "े"], - ["D", "अ"], - ["d", "्"], - ["F", "इ"], - ["f", "ि"], - ["G", "उ"], - ["g", "ु"], - ["H", "फ"], - ["h", "प"], - ["J", "ऱ"], - ["j", "र"], - ["K", "ख"], - ["k", "क"], - ["L", "थ"], - ["l", "त"], - [":", "छ"], - [";", "च"], - ["\"", "ठ"], - ["\\'", "ट"], - ["X", "ँ"], - ["x", "ं"], - ["C", "ण"], - ["c", "म"], - ["v", "न"], - ["b", "व"], - ["N", "ळ"], - ["n", "ल"], - ["M", "श"], - ["m", "स"], - ["\\<", "ष"], - [",", ","], - ["\\>", "।"], - ["\\.", "."], - ["/", "य"], - ["\\%", "ज्ञ"], - ["\\^", "त्र"], - ["\\&", "क्ष"], - ["\\*", "श्र"]], + ['1', '१'], + ['2', '२'], + ['\\#', '्र'], + ['3', '३'], + ['\\$', 'र्'], + ['4', '४'], + ['5', '५'], + ['6', '६'], + ['7', '७'], + ['8', '८'], + ['\\(', '('], + ['9', '९'], + ['\\]', ']'], + ['0', '०'], + ['\\_', 'ः'], + ['\\-', '-'], + ['\\+', 'ऋ'], + ['\\=', 'ृ'], + ['Q', 'औ'], + ['q', 'ौ'], + ['W', 'ऐ'], + ['w', 'ै'], + ['E', 'आ'], + ['e', 'ा'], + ['R', 'ई'], + ['r', 'ी'], + ['T', 'ऊ'], + ['t', 'ू'], + ['Y', 'भ'], + ['y', 'ब'], + ['U', 'ङ'], + ['u', 'ह'], + ['I', 'घ'], + ['i', 'ग'], + ['O', 'ध'], + ['o', 'द'], + ['P', 'झ'], + ['p', 'ज'], + ['\\{', 'ढ'], + ['\\[', 'ड'], + ['\\}', 'ञ'], + ['\\]', '़'], + ['A', 'ओ'], + ['a', 'ो'], + ['S', 'ए'], + ['s', 'े'], + ['D', 'अ'], + ['d', '्'], + ['F', 'इ'], + ['f', 'ि'], + ['G', 'उ'], + ['g', 'ु'], + ['H', 'फ'], + ['h', 'प'], + ['J', 'ऱ'], + ['j', 'र'], + ['K', 'ख'], + ['k', 'क'], + ['L', 'थ'], + ['l', 'त'], + [':', 'छ'], + [';', 'च'], + ['"', 'ठ'], + ['\\\'', 'ट'], + ['X', 'ँ'], + ['x', 'ं'], + ['C', 'ण'], + ['c', 'म'], + ['v', 'न'], + ['b', 'व'], + ['N', 'ळ'], + ['n', 'ल'], + ['M', 'श'], + ['m', 'स'], + ['\\<', 'ष'], + [',', ','], + ['\\>', '।'], + ['\\.', '.'], + ['/', 'य'], + ['\\%', 'ज्ञ'], + ['\\^', 'त्र'], + ['\\&', 'क्ष'], + ['\\*', 'श्र']], patterns_x: [ - ["1", "\u200d"], - ["2", "\u200c"], - ["4", "₹"], - ["\\+", "ॠ"], - ["\\=", "ॄ"], - ["e", "॑"], - ["R", "ॡ"], - ["r", "ॣ"], - ["d", "॒"], - ["F", "ऌ"], - ["f", "ॢ"], - ["X", "ॐ"], - ["x", "ॱ"], - [",", "॰"], - ["\\>", "ऽ"], - ["\\.", "॥"]] + ['1', '\u200d'], + ['2', '\u200c'], + ['4', '₹'], + ['\\+', 'ॠ'], + ['\\=', 'ॄ'], + ['e', '॑'], + ['R', 'ॡ'], + ['r', 'ॣ'], + ['d', '॒'], + ['F', 'ऌ'], + ['f', 'ॢ'], + ['X', 'ॐ'], + ['x', 'ॱ'], + [',', '॰'], + ['\\>', 'ऽ'], + ['\\.', '॥']] }; $.ime.register( neInScript2 ); diff --git a/lib/jquery.ime/rules/or/or-inscript.js b/lib/jquery.ime/rules/or/or-inscript.js index ed77542d..b7983cfc 100644 --- a/lib/jquery.ime/rules/or/or-inscript.js +++ b/lib/jquery.ime/rules/or/or-inscript.js @@ -3,8 +3,8 @@ var orInScript = { id: 'or-inscript', - name: 'Odiya InScript', - description: 'InScript keyboard for Odiya script', + name: 'Odia InScript', + description: 'InScript keyboard for Odia script', date: '2012-10-14', author: 'Junaid P V', license: 'GPLv3', diff --git a/lib/jquery.ime/rules/or/or-inscript2.js b/lib/jquery.ime/rules/or/or-inscript2.js index 549ed087..3e53fed4 100644 --- a/lib/jquery.ime/rules/or/or-inscript2.js +++ b/lib/jquery.ime/rules/or/or-inscript2.js @@ -4,7 +4,7 @@ var orInScript2 = { id: 'or-inscript2', name: 'InScript2', - description: 'Enhanced InScript keyboard for Odiya language', + description: 'Enhanced InScript keyboard for Odia language', date: '2013-02-09', author: 'Parag Nemade', license: 'GPLv3', diff --git a/lib/jquery.ime/rules/or/or-lekhani.js b/lib/jquery.ime/rules/or/or-lekhani.js index cb4da458..0ec6fe05 100644 --- a/lib/jquery.ime/rules/or/or-lekhani.js +++ b/lib/jquery.ime/rules/or/or-lekhani.js @@ -13,7 +13,7 @@ contextLength: 4, maxKeyLength: 2, patterns: [ - ['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\','$1'], + ['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'], ['([(କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍ଜ])a', '$1ା'], ['([କ-ଳଲନ୍ଧଥଡ଼ଢ଼ହୟୱରକ୍ଷଶସଷଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍ଜ])i', '$1\u0b3f'], @@ -33,7 +33,7 @@ ['([କ-ହୟୱ])~', '$1\u200C'], ['([କ-ହୟୱ])y', '$1୍ୟ'], // y - + ['z', '୍'], // halanta ['\\.', '।'], //purnacheda ['ଅa', 'ଆ'], @@ -114,7 +114,7 @@ ['\u200c?a', 'ଅ'], ['b', 'ବ'], - ['c','','ଚ'], + ['c', '', 'ଚ'], ['d', 'ଦ'], ['\u200c?e', 'ଏ'], ['g', 'ଗ'], @@ -171,8 +171,9 @@ ['6', '୬'], ['7', '୭'], ['8', '୮'], - ['9', '୯']] + ['9', '୯'] + ] }; - $.ime.register( orLekhani ); -}( jQuery ) ); \ No newline at end of file + $.ime.register( orLekhani ); +}( jQuery ) ); diff --git a/lib/jquery.ime/rules/or/or-phonetic.js b/lib/jquery.ime/rules/or/or-phonetic.js index c0ecc7cb..4d224468 100644 --- a/lib/jquery.ime/rules/or/or-phonetic.js +++ b/lib/jquery.ime/rules/or/or-phonetic.js @@ -3,107 +3,107 @@ var orPhonetic = { id: 'or-phonetic', - name: 'Odiya Phonetic', - description: 'Phonetic keyboard for Odiya script', + name: 'Odia Phonetic', + description: 'Phonetic keyboard for Odia script', date: '2013-02-09', URL: 'http://github.com/wikimedia/jquery.ime', author: 'Parag Nemade', license: 'GPLv3', version: '1.0', patterns: [ - ["\\~", "ଐ"], - ["\\`", " ୈ"], - ["\\!", "ଏ"], - ["1", "୧"], - ["\\@", "@"], - ["2", "୨"], - ["\\#", "ତ୍ର"], - ["3", "୩"], - ["\\$", "$"], - ["4", "୪"], - ["\\%", "ଞ"], - ["5", "୫"], - ["6", "୬"], - ["7", "୭"], - ["8", "୮"], - ["\\(", "("], - ["9", "୯"], - ["\\)", ")"], - ["0", "୦"], - ["\\_", "_"], - ["\\-", "-"], - ["\\+", "+"], - ["\\=", "="], - ["Q", "ଔ"], - ["q", "ଓ"], - ["W", "ଠ"], - ["w", "ଟ"], - ["E", "ୈ"], - ["e", "େ"], - ["R", "ୃ "], - ["r", "ର"], - ["T", "ଥ"], - ["t", "ତ"], - ["Y", "ୟ"], - ["y", "ଯ"], - ["U", "ୂ"], - ["u", "ୁ"], - ["I", "ୀ"], - ["i", "ି"], - ["O", "ୌ"], - ["o", "ୋ"], - ["P", "ଫ"], - ["p", "ପ"], - ["\\{", "ଢ"], - ["\\[", "ଡ"], - ["\\}", "ର୍"], - ["\\]", "ଋ"], - ["A", "ଆ"], - ["a", "ା"], - ["S", "ଶ"], - ["s", "ସ"], - ["D", "ଧ"], - ["d", "ଦ"], - ["F", "ଅ"], - ["f", "୍"], - ["G", "ଘ"], - ["g", "ଗ"], - ["H", "ଃ"], - ["h", "ହ"], - ["J", "ଝ"], - ["j", "ଜ"], - ["K", "ଖ"], - ["k", "କ"], - ["L", "ଳ"], - ["l", "ଲ"], - [":", "ଈ"], - [";", "ଇ"], - ["\"", "ଊ"], - ["'", "ଉ"], - ["\\|", "|"], - ["\\\\", "\\"], - ["Z", "ଁ"], - ["z", "ଙ"], - ["x", "ଷ"], - ["C", "ଛ"], - ["c", "ଚ"], - ["V", "ଵ"], - ["v", "ୱ"], - ["B", "ଭ"], - ["b", "ବ"], - ["N", "ଣ"], - ["n", "ନ"], - ["M", "ଂ"], - ["m", "ମ"], - ["\\<", "<"], - [",", ","], - ["\\>", ">"], - ["\\.", "।"], - ["\\?", "ଐ"], - ["/", "ଏ"], - ["\\^", "ଜ୍ଞ"], - ["X", "କ୍ଷ"], - ["\\*", "ଶ୍ର"]] + ['\\~', 'ଐ'], + ['\\`', ' ୈ'], + ['\\!', 'ଏ'], + ['1', '୧'], + ['\\@', '@'], + ['2', '୨'], + ['\\#', 'ତ୍ର'], + ['3', '୩'], + ['\\$', '$'], + ['4', '୪'], + ['\\%', 'ଞ'], + ['5', '୫'], + ['6', '୬'], + ['7', '୭'], + ['8', '୮'], + ['\\(', '('], + ['9', '୯'], + ['\\)', ')'], + ['0', '୦'], + ['\\_', '_'], + ['\\-', '-'], + ['\\+', '+'], + ['\\=', '='], + ['Q', 'ଔ'], + ['q', 'ଓ'], + ['W', 'ଠ'], + ['w', 'ଟ'], + ['E', 'ୈ'], + ['e', 'େ'], + ['R', 'ୃ '], + ['r', 'ର'], + ['T', 'ଥ'], + ['t', 'ତ'], + ['Y', 'ୟ'], + ['y', 'ଯ'], + ['U', 'ୂ'], + ['u', 'ୁ'], + ['I', 'ୀ'], + ['i', 'ି'], + ['O', 'ୌ'], + ['o', 'ୋ'], + ['P', 'ଫ'], + ['p', 'ପ'], + ['\\{', 'ଢ'], + ['\\[', 'ଡ'], + ['\\}', 'ର୍'], + ['\\]', 'ଋ'], + ['A', 'ଆ'], + ['a', 'ା'], + ['S', 'ଶ'], + ['s', 'ସ'], + ['D', 'ଧ'], + ['d', 'ଦ'], + ['F', 'ଅ'], + ['f', '୍'], + ['G', 'ଘ'], + ['g', 'ଗ'], + ['H', 'ଃ'], + ['h', 'ହ'], + ['J', 'ଝ'], + ['j', 'ଜ'], + ['K', 'ଖ'], + ['k', 'କ'], + ['L', 'ଳ'], + ['l', 'ଲ'], + [':', 'ଈ'], + [';', 'ଇ'], + ['"', 'ଊ'], + ['\'', 'ଉ'], + ['\\|', '|'], + ['\\\\', '\\'], + ['Z', 'ଁ'], + ['z', 'ଙ'], + ['x', 'ଷ'], + ['C', 'ଛ'], + ['c', 'ଚ'], + ['V', 'ଵ'], + ['v', 'ୱ'], + ['B', 'ଭ'], + ['b', 'ବ'], + ['N', 'ଣ'], + ['n', 'ନ'], + ['M', 'ଂ'], + ['m', 'ମ'], + ['\\<', '<'], + [',', ','], + ['\\>', '>'], + ['\\.', '।'], + ['\\?', 'ଐ'], + ['/', 'ଏ'], + ['\\^', 'ଜ୍ଞ'], + ['X', 'କ୍ଷ'], + ['\\*', 'ଶ୍ର']] }; $.ime.register( orPhonetic ); diff --git a/lib/jquery.ime/rules/or/or-transliteration.js b/lib/jquery.ime/rules/or/or-transliteration.js index 808e2649..ebe39cbc 100644 --- a/lib/jquery.ime/rules/or/or-transliteration.js +++ b/lib/jquery.ime/rules/or/or-transliteration.js @@ -3,8 +3,8 @@ var orTransliteration = { id: 'or-transliteration', - name: 'Odiya Transliteration', - description: 'Odiya transliteration', + name: 'Odia Transliteration', + description: 'Odia transliteration', date: '2012-10-14', URL: 'http://github.com/wikimedia/jquery.ime', author: 'Junaid P V and Subhashish Panigrahi', diff --git a/lib/jquery.ime/rules/pa/pa-inscript2.js b/lib/jquery.ime/rules/pa/pa-inscript2.js index cf4c711b..1a398bc9 100644 --- a/lib/jquery.ime/rules/pa/pa-inscript2.js +++ b/lib/jquery.ime/rules/pa/pa-inscript2.js @@ -10,100 +10,101 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["1", "੧"], - ["2", "੨"], - ["3", "੩"], - ["4", "੪"], - ["5", "੫"], - ["6", "੬"], - ["7", "੭"], - ["8", "੮"], - ["9", "੯"], - ["0", "੦"], - ["\\(", "("], - ["\\)", ")"], - ["\\_", "ਃ"], - ["\\-", "-"], - ["Q", "ਔ"], - ["q", "ੌ"], - ["W", "ਐ"], - ["w", "ੈ"], - ["E", "ਆ"], - ["e", "ਾ"], - ["R", "ਈ"], - ["r", "ੀ"], - ["T", "ਊ"], - ["t", "ੂ"], - ["Y", "ਭ"], - ["y", "ਬ"], - ["U", "ਙ"], - ["u", "ਹ"], - ["I", "ਘ"], - ["i", "ਗ"], - ["O", "ਧ"], - ["o", "ਦ"], - ["P", "ਝ"], - ["p", "ਜ"], - ["\\{", "ਢ"], - ["\\[", "ਡ"], - ["\\}", "ਞ"], - ["\\]", "਼"], - ["A", "ਓ"], - ["a", "ੋ"], - ["S", "ਏ"], - ["s", "ੇ"], - ["D", "ਅ"], - ["d", "੍"], - ["F", "ਇ"], - ["f", "ਿ"], - ["G", "ਉ"], - ["g", "ੁ"], - ["H", "ਫ"], - ["h", "ਪ"], - ["J", "ੜ"], - ["j", "ਰ"], - ["K", "ਖ"], - ["k", "ਕ"], - ["L", "ਥ"], - ["l", "ਤ"], - [":", "ਛ"], - [";", "ਚ"], - ["\"", "ਠ"], - ["\\'", "ਟ"], - ["X", "ਂ"], - ["x", "ੰ"], - ["C", "ਣ"], - ["c", "ਮ"], - ["v", "ਨ"], - ["B", "ਞ"], - ["b", "ਵ"], - ["N", "N"], - ["n", "ਲ"], - ["M", "ਸ਼"], - ["m", "ਸ"], - [",", ","], - ["\\>", "।"], - ["\\.", "."], - ["/", "ਯ"] - ], + ['1', '੧'], + ['2', '੨'], + ['3', '੩'], + ['4', '੪'], + ['5', '੫'], + ['6', '੬'], + ['7', '੭'], + ['8', '੮'], + ['9', '੯'], + ['0', '੦'], + ['\\(', '('], + ['\\)', ')'], + ['\\_', 'ਃ'], + ['\\-', '-'], + ['Q', 'ਔ'], + ['q', 'ੌ'], + ['W', 'ਐ'], + ['w', 'ੈ'], + ['E', 'ਆ'], + ['e', 'ਾ'], + ['R', 'ਈ'], + ['r', 'ੀ'], + ['T', 'ਊ'], + ['t', 'ੂ'], + ['Y', 'ਭ'], + ['y', 'ਬ'], + ['U', 'ਙ'], + ['u', 'ਹ'], + ['I', 'ਘ'], + ['i', 'ਗ'], + ['O', 'ਧ'], + ['o', 'ਦ'], + ['P', 'ਝ'], + ['p', 'ਜ'], + ['\\{', 'ਢ'], + ['\\[', 'ਡ'], + ['\\}', 'ਞ'], + ['\\]', '਼'], + ['A', 'ਓ'], + ['a', 'ੋ'], + ['S', 'ਏ'], + ['s', 'ੇ'], + ['D', 'ਅ'], + ['d', '੍'], + ['F', 'ਇ'], + ['f', 'ਿ'], + ['G', 'ਉ'], + ['g', 'ੁ'], + ['H', 'ਫ'], + ['h', 'ਪ'], + ['J', 'ੜ'], + ['j', 'ਰ'], + ['K', 'ਖ'], + ['k', 'ਕ'], + ['L', 'ਥ'], + ['l', 'ਤ'], + [':', 'ਛ'], + [';', 'ਚ'], + ['"', 'ਠ'], + ['\\\'', 'ਟ'], + ['X', 'ਂ'], + ['x', 'ੰ'], + ['C', 'ਣ'], + ['c', 'ਮ'], + ['v', 'ਨ'], + ['B', 'ਞ'], + ['b', 'ਵ'], + ['N', 'N'], + ['n', 'ਲ'], + ['M', 'ਸ਼'], + ['m', 'ਸ'], + [',', ','], + ['\\>', '।'], + ['\\.', '.'], + ['/', 'ਯ'] + ], patterns_x: [ - ["1", "‍"], - ["2", "‌"], - ["4", "₹"], - ["i", "ਗ਼"], - ["p", "ਜ਼"], - ["\\[", "ੜ"], - ["D", "☬"], - ["d", "ੑ"], - ["F", "ੲ"], - ["G", "ੳ"], - ["H", "ਫ਼"], - ["K", "ਖ਼"], - ["X", "ੴ"], - ["x", "ਁ"], - ["N", "ਲ਼"], - ["\\.", "॥"], - ["/", "ੵ"]] + ['1', '‍'], + ['2', '‌'], + ['4', '₹'], + ['i', 'ਗ਼'], + ['p', 'ਜ਼'], + ['\\[', 'ੜ'], + ['D', '☬'], + ['d', 'ੑ'], + ['F', 'ੲ'], + ['G', 'ੳ'], + ['H', 'ਫ਼'], + ['K', 'ਖ਼'], + ['X', 'ੴ'], + ['x', 'ਁ'], + ['N', 'ਲ਼'], + ['\\.', '॥'], + ['/', 'ੵ'] + ] }; $.ime.register( paInScript2 ); diff --git a/lib/jquery.ime/rules/pa/pa-jhelum.js b/lib/jquery.ime/rules/pa/pa-jhelum.js index 8c2b1580..9a0217e3 100644 --- a/lib/jquery.ime/rules/pa/pa-jhelum.js +++ b/lib/jquery.ime/rules/pa/pa-jhelum.js @@ -10,121 +10,122 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["\\~", "~"], - ["\\`", "`"], - ["\\!", "!"], - ["1", "1"], - ["\\@", "@"], - ["2", "2"], - ["\\#", "#"], - ["3", "3"], - ["\\$", "$"], - ["4", "4"], - ["\\%", "%"], - ["5", "5"], - ["\\^", "ੳ"], - ["6", "6"], - ["\\&", "ੲ"], - ["7", "7"], - ["8", "8"], - ["\\(", "("], - ["9", "9"], - ["\\)", ")"], - ["0", "0"], - ["\\_", "_"], - ["\\-", "-"], - ["\\+", "+"], - ["\\=", "="], - ["Q", "ਔ"], - ["q", "ੌ"], - ["W", "ਐ"], - ["w", "ੈ"], - ["E", "ਆ"], - ["e", "ਾ"], - ["R", "ਈ"], - ["r", "ੀ"], - ["T", "ਊ"], - ["t", "ੂ"], - ["Y", "ੜ"], - ["y", "ਰ"], - ["U", "ਧ"], - ["u", "ਦ"], - ["I", "ਘ"], - ["i", "ਗ"], - ["O", "ਟ"], - ["o", "ਤ"], - ["P", "ਫ"], - ["p", "ਪ"], - ["\\{", "ਢ"], - ["\\[", "ਡ"], - ["\\}", "ਞ"], - ["\\]", "ਙ"], - ["A", "ਓ"], - ["a", "ੋ"], - ["S", "ਏ"], - ["s", "ੇ"], - ["D", "ਅ"], - ["d", "੍"], - ["F", "ਇ"], - ["f", "ਿ"], - ["G", "ਉ"], - ["g", "ੁ"], - ["H", "ਠ"], - ["h", "ਹ"], - ["J", "ਝ"], - ["j", "ਜ"], - ["K", "ਖ"], - ["k", "ਕ"], - ["L", "ਥ"], - ["l", "ਲ"], - [":", ":"], - [";", "ਸ"], - ["\"", "\""], - ["\\'", "'"], - ["\\|", "।"], - ["\\", "\\"], - ["Z", "਼"], - ["z", "ੱ"], - ["X", "ੰ"], - ["x", "ਂ"], - ["C", "ਛ"], - ["c", "ਚ"], - ["V", "ਯ"], - ["v", "ਵ"], - ["B", "ਭ"], - ["b", "ਬ"], - ["N", "ਣ"], - ["n", "ਨ"], - ["M", "ਠ"], - ["m", "ਮ"], - ["\\<", "<"], - [",", ","], - ["\\>", ">"], - ["\\.", "."], - ["\\?", "?"], - ["/", "/"], - ["\\*", "*"] - ], + ['\\~', '~'], + ['\\`', '`'], + ['\\!', '!'], + ['1', '1'], + ['\\@', '@'], + ['2', '2'], + ['\\#', '#'], + ['3', '3'], + ['\\$', '$'], + ['4', '4'], + ['\\%', '%'], + ['5', '5'], + ['\\^', 'ੳ'], + ['6', '6'], + ['\\&', 'ੲ'], + ['7', '7'], + ['8', '8'], + ['\\(', '('], + ['9', '9'], + ['\\)', ')'], + ['0', '0'], + ['\\_', '_'], + ['\\-', '-'], + ['\\+', '+'], + ['\\=', '='], + ['Q', 'ਔ'], + ['q', 'ੌ'], + ['W', 'ਐ'], + ['w', 'ੈ'], + ['E', 'ਆ'], + ['e', 'ਾ'], + ['R', 'ਈ'], + ['r', 'ੀ'], + ['T', 'ਊ'], + ['t', 'ੂ'], + ['Y', 'ੜ'], + ['y', 'ਰ'], + ['U', 'ਧ'], + ['u', 'ਦ'], + ['I', 'ਘ'], + ['i', 'ਗ'], + ['O', 'ਟ'], + ['o', 'ਤ'], + ['P', 'ਫ'], + ['p', 'ਪ'], + ['\\{', 'ਢ'], + ['\\[', 'ਡ'], + ['\\}', 'ਞ'], + ['\\]', 'ਙ'], + ['A', 'ਓ'], + ['a', 'ੋ'], + ['S', 'ਏ'], + ['s', 'ੇ'], + ['D', 'ਅ'], + ['d', '੍'], + ['F', 'ਇ'], + ['f', 'ਿ'], + ['G', 'ਉ'], + ['g', 'ੁ'], + ['H', 'ਠ'], + ['h', 'ਹ'], + ['J', 'ਝ'], + ['j', 'ਜ'], + ['K', 'ਖ'], + ['k', 'ਕ'], + ['L', 'ਥ'], + ['l', 'ਲ'], + [':', ':'], + [';', 'ਸ'], + ['"', '"'], + ['\\\'', '\''], + ['\\|', '।'], + ['\\', '\\'], + ['Z', '਼'], + ['z', 'ੱ'], + ['X', 'ੰ'], + ['x', 'ਂ'], + ['C', 'ਛ'], + ['c', 'ਚ'], + ['V', 'ਯ'], + ['v', 'ਵ'], + ['B', 'ਭ'], + ['b', 'ਬ'], + ['N', 'ਣ'], + ['n', 'ਨ'], + ['M', 'ਠ'], + ['m', 'ਮ'], + ['\\<', '<'], + [',', ','], + ['\\>', '>'], + ['\\.', '.'], + ['\\?', '?'], + ['/', '/'], + ['\\*', '*'] + ], patterns_x: [ - ["1", "੧"], - ["2", "੨"], - ["3", "੩"], - ["4", "੪"], - ["5", "੫"], - ["6", "੬"], - ["7", "੭"], - ["8", "੮"], - ["9", "੯"], - ["0", "੦"], - ["y", "੍ਰ"], - ["i", "ਗ਼"], - ["P", "ਫ਼"], - ["h", "੍ਹ"], - ["j", "ਜ਼"], - ["K", "ਖ਼"], - ["l", "ਲ਼"], - [";", "ਸ਼"]] + ['1', '੧'], + ['2', '੨'], + ['3', '੩'], + ['4', '੪'], + ['5', '੫'], + ['6', '੬'], + ['7', '੭'], + ['8', '੮'], + ['9', '੯'], + ['0', '੦'], + ['y', '੍ਰ'], + ['i', 'ਗ਼'], + ['P', 'ਫ਼'], + ['h', '੍ਹ'], + ['j', 'ਜ਼'], + ['K', 'ਖ਼'], + ['l', 'ਲ਼'], + [';', 'ਸ਼'] + ] }; - $.ime.register( paJhelum ); + $.ime.register( paJhelum ); }( jQuery ) ); diff --git a/lib/jquery.ime/rules/sa/sa-inscript2.js b/lib/jquery.ime/rules/sa/sa-inscript2.js index d348d838..5aeaeeec 100644 --- a/lib/jquery.ime/rules/sa/sa-inscript2.js +++ b/lib/jquery.ime/rules/sa/sa-inscript2.js @@ -10,106 +10,108 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["1", "१"], - ["\\@", "ॅ"], - ["2", "२"], - ["\\#", "्र"], - ["3", "३"], - ["\\$", "र्"], - ["4", "४"], - ["5", "५"], - ["6", "६"], - ["7", "७"], - ["8", "८"], - ["\\(", "("], - ["9", "९"], - ["\\]", "]"], - ["0", "०"], - ["\\_", "ः"], - ["\\-", "-"], - ["\\+", "ऋ"], - ["\\=", "ृ"], - ["Q", "औ"], - ["q", "ौ"], - ["W", "ऐ"], - ["w", "ै"], - ["E", "आ"], - ["e", "ा"], - ["R", "ई"], - ["r", "ी"], - ["T", "ऊ"], - ["t", "ू"], - ["Y", "भ"], - ["y", "ब"], - ["U", "ङ"], - ["u", "ह"], - ["I", "घ"], - ["i", "ग"], - ["O", "ध"], - ["o", "द"], - ["P", "झ"], - ["p", "ज"], - ["\\{", "ढ"], - ["\\[", "ड"], - ["\\}", "ञ"], - ["\\]", "़"], - ["\\|", "ॠ"], - ["\\\\", "ॄ"], - ["A", "ओ"], - ["a", "ो"], - ["S", "ए"], - ["s", "े"], - ["D", "अ"], - ["d", "्"], - ["F", "इ"], - ["f", "ि"], - ["G", "उ"], - ["g", "ु"], - ["H", "फ"], - ["h", "प"], - ["j", "र"], - ["K", "ख"], - ["k", "क"], - ["L", "थ"], - ["l", "त"], - [":", "छ"], - [";", "च"], - ["\"", "ठ"], - ["\\'", "ट"], - ["X", "ँ"], - ["x", "ं"], - ["C", "ण"], - ["c", "म"], - ["v", "न"], - ["b", "व"], - ["N", "ळ"], - ["n", "ल"], - ["M", "श"], - ["m", "स"], - ["\\<", "ष"], - [",", ","], - ["\\>", "।"], - ["\\.", "."], - ["/", "य"], - ["\\%", "ज्ञ"], - ["\\^", "त्र"], - ["\\&", "क्ष"], - ["\\*", "श्र"]], + ['1', '१'], + ['\\@', 'ॅ'], + ['2', '२'], + ['\\#', '्र'], + ['3', '३'], + ['\\$', 'र्'], + ['4', '४'], + ['5', '५'], + ['6', '६'], + ['7', '७'], + ['8', '८'], + ['\\(', '('], + ['9', '९'], + ['\\]', ']'], + ['0', '०'], + ['\\_', 'ः'], + ['\\-', '-'], + ['\\+', 'ऋ'], + ['\\=', 'ृ'], + ['Q', 'औ'], + ['q', 'ौ'], + ['W', 'ऐ'], + ['w', 'ै'], + ['E', 'आ'], + ['e', 'ा'], + ['R', 'ई'], + ['r', 'ी'], + ['T', 'ऊ'], + ['t', 'ू'], + ['Y', 'भ'], + ['y', 'ब'], + ['U', 'ङ'], + ['u', 'ह'], + ['I', 'घ'], + ['i', 'ग'], + ['O', 'ध'], + ['o', 'द'], + ['P', 'झ'], + ['p', 'ज'], + ['\\{', 'ढ'], + ['\\[', 'ड'], + ['\\}', 'ञ'], + ['\\]', '़'], + ['\\|', 'ॠ'], + ['\\\\', 'ॄ'], + ['A', 'ओ'], + ['a', 'ो'], + ['S', 'ए'], + ['s', 'े'], + ['D', 'अ'], + ['d', '्'], + ['F', 'इ'], + ['f', 'ि'], + ['G', 'उ'], + ['g', 'ु'], + ['H', 'फ'], + ['h', 'प'], + ['j', 'र'], + ['K', 'ख'], + ['k', 'क'], + ['L', 'थ'], + ['l', 'त'], + [':', 'छ'], + [';', 'च'], + ['"', 'ठ'], + ['\\\'', 'ट'], + ['X', 'ँ'], + ['x', 'ं'], + ['C', 'ण'], + ['c', 'म'], + ['v', 'न'], + ['b', 'व'], + ['N', 'ळ'], + ['n', 'ल'], + ['M', 'श'], + ['m', 'स'], + ['\\<', 'ष'], + [',', ','], + ['\\>', '।'], + ['\\.', '.'], + ['/', 'य'], + ['\\%', 'ज्ञ'], + ['\\^', 'त्र'], + ['\\&', 'क्ष'], + ['\\*', 'श्र'] + ], patterns_x: [ - ["1", "\u200d"], - ["2", "\u200c"], - ["4", "₹"], - ["e", "॑"], - ["R", "ॡ"], - ["r", "ॣ"], - ["d", "॒"], - ["F", "ऌ"], - ["f", "ॢ"], - ["H", "फ़"], - ["X", "ॐ"], - ["\\>", "ऽ"], - ["\\.", "॥"]] + ['1', '\u200d'], + ['2', '\u200c'], + ['4', '₹'], + ['e', '॑'], + ['R', 'ॡ'], + ['r', 'ॣ'], + ['d', '॒'], + ['F', 'ऌ'], + ['f', 'ॢ'], + ['H', 'फ़'], + ['X', 'ॐ'], + ['\\>', 'ऽ'], + ['\\.', '॥'] + ] }; - $.ime.register( saInScript2 ); + $.ime.register( saInScript2 ); }( jQuery ) ); diff --git a/lib/jquery.ime/rules/sd/sd-inscript2.js b/lib/jquery.ime/rules/sd/sd-inscript2.js index b5ba7321..438ceeaa 100644 --- a/lib/jquery.ime/rules/sd/sd-inscript2.js +++ b/lib/jquery.ime/rules/sd/sd-inscript2.js @@ -102,7 +102,7 @@ ['r', 'ॣ'], ['p', 'ज़'], ['\\{', 'ढ़'], - ['\\[', ,'ड़'], + ['\\[', 'ड़'], ['H', 'फ़'], ['J', 'ॻ'], ['K', 'ख़'], @@ -119,6 +119,6 @@ ['\\.', '॥'] ] }; - $.ime.register( sdInScript2 ); + $.ime.register( sdInScript2 ); }( jQuery ) ); diff --git a/lib/jquery.ime/rules/se/se-normforms.js b/lib/jquery.ime/rules/se/se-normforms.js index 71cd5292..1b4068d3 100644 --- a/lib/jquery.ime/rules/se/se-normforms.js +++ b/lib/jquery.ime/rules/se/se-normforms.js @@ -14,8 +14,8 @@ maxKeyLength: 3, patterns: [ // Uses "~" as "approximatly similar to" - [ "'a", 'á' ], // The simple ~a does not work as there is a "ã" - [ "'A", 'Á' ], // The simple ~A does not work as there is a "Ã" + [ '\'a', 'á' ], // The simple ~a does not work as there is a "ã" + [ '\'A', 'Á' ], // The simple ~A does not work as there is a "Ã" [ '~c', 'č' ], [ '~C', 'Č' ], [ '~d', 'đ' ], @@ -35,5 +35,4 @@ }; $.ime.register( defs ); - }( jQuery ) ); diff --git a/lib/jquery.ime/rules/sr/sr-kbd.js b/lib/jquery.ime/rules/sr/sr-kbd.js index c201f6e9..87aec37a 100644 --- a/lib/jquery.ime/rules/sr/sr-kbd.js +++ b/lib/jquery.ime/rules/sr/sr-kbd.js @@ -49,7 +49,7 @@ ['\\{', 'Ш'], ['\\]', 'ђ'], ['\\}', 'Ђ'], - ['a', 'а'], + ['a', 'а'], ['A', 'А'], ['s', 'с'], ['S', 'С'], @@ -92,9 +92,7 @@ ['/', '-'], ['\\?', '_'] ] - }; + $.ime.register( srKbd ); - }( jQuery ) ); - diff --git a/lib/jquery.ime/rules/ta/ta-inscript2.js b/lib/jquery.ime/rules/ta/ta-inscript2.js index 6d1b7395..7d5452b4 100644 --- a/lib/jquery.ime/rules/ta/ta-inscript2.js +++ b/lib/jquery.ime/rules/ta/ta-inscript2.js @@ -11,97 +11,97 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["1", "௧"], - ["2", "௨"], - ["3", "௩"], - ["4", "௪"], - ["5", "௫"], - ["\\^", "த்ர"], - ["6", "௬"], - ["\\&", "க்ஷ"], - ["7", "௭"], - ["\\*", "ஷ்ர"], - ["8", "௮"], - ["\\(", "("], - ["9", "௯"], - ["\\)", ")"], - ["0", "௦"], - ["\\_", "ஃ"], - ["\\-", "-"], - ["\\=","="], - ["Q", "ஔ"], - ["q", "ௌ"], - ["W", "ஐ"], - ["w", "ை"], - ["E", "ஆ"], - ["e", "ா"], - ["R", "ஈ"], - ["r", "ீ"], - ["T", "ஊ"], - ["t", "ூ"], - ["y", "y"], - ["U", "ங"], - ["u", "ஹ"], - ["p", "ஜ"], - ["\\}", "ஞ"], - ["A", "ஓ"], - ["a", "ோ "], - ["S", "ஏ"], - ["s", "ே"], - ["D", "அ"], - ["d", "்"], - ["F", "இ"], - ["f", "ி"], - ["G", "உ"], - ["g", "ு"], - ["h", "ப"], - ["J", "ற"], - ["j", "ர"], - ["k", "க"], - ["l", "த"], - [";", "ச"], - ["\\'", "ட"], - ["\\~", "ஒ"], - ["\\`", "ொ"], - ["Z", "எ"], - ["z", "ெ"], - ["x", "ஂ"], - ["X", "X"], - ["C", "ண"], - ["c", "ம"], - ["V", "ன"], - ["v", "ந"], - ["B", "ழ"], - ["b", "வ"], - ["N", "ள"], - ["n", "ல"], - ["M", "ஶ"], - ["m", "ஸ"], - ["\\<", "ஷ"], - [",", ","], - ["\\>", "।"], - ["\\.", "."], - ["/", "ய"] + ['1', '௧'], + ['2', '௨'], + ['3', '௩'], + ['4', '௪'], + ['5', '௫'], + ['\\^', 'த்ர'], + ['6', '௬'], + ['\\&', 'க்ஷ'], + ['7', '௭'], + ['\\*', 'ஷ்ர'], + ['8', '௮'], + ['\\(', '('], + ['9', '௯'], + ['\\)', ')'], + ['0', '௦'], + ['\\_', 'ஃ'], + ['\\-', '-'], + ['\\=','='], + ['Q', 'ஔ'], + ['q', 'ௌ'], + ['W', 'ஐ'], + ['w', 'ை'], + ['E', 'ஆ'], + ['e', 'ா'], + ['R', 'ஈ'], + ['r', 'ீ'], + ['T', 'ஊ'], + ['t', 'ூ'], + ['y', 'y'], + ['U', 'ங'], + ['u', 'ஹ'], + ['p', 'ஜ'], + ['\\}', 'ஞ'], + ['A', 'ஓ'], + ['a', 'ோ '], + ['S', 'ஏ'], + ['s', 'ே'], + ['D', 'அ'], + ['d', '்'], + ['F', 'இ'], + ['f', 'ி'], + ['G', 'உ'], + ['g', 'ு'], + ['h', 'ப'], + ['J', 'ற'], + ['j', 'ர'], + ['k', 'க'], + ['l', 'த'], + [';', 'ச'], + ['\\\'', 'ட'], + ['\\~', 'ஒ'], + ['\\`', 'ொ'], + ['Z', 'எ'], + ['z', 'ெ'], + ['x', 'ஂ'], + ['X', 'X'], + ['C', 'ண'], + ['c', 'ம'], + ['V', 'ன'], + ['v', 'ந'], + ['B', 'ழ'], + ['b', 'வ'], + ['N', 'ள'], + ['n', 'ல'], + ['M', 'ஶ'], + ['m', 'ஸ'], + ['\\<', 'ஷ'], + [',', ','], + ['\\>', '।'], + ['\\.', '.'], + ['/', 'ய'] ], patterns_x: [ - ["1", "‍"], - ["2", "‌"], - ["4", "₹"], - ["0", "௰"], - ["\\-", "௱"], - ["\\=", "௲"], - ["y", "௷"], - ["h", "௶"], - ["X", "ௐ"], - ["C", "௸"], - ["c", "௴"], - ["V", "௺"], - ["v", "௳"], - ["b", "௵"], - [",", "௹"], - [".", "॥"] + ['1', '‍'], + ['2', '‌'], + ['4', '₹'], + ['0', '௰'], + ['\\-', '௱'], + ['\\=', '௲'], + ['y', '௷'], + ['h', '௶'], + ['X', 'ௐ'], + ['C', '௸'], + ['c', '௴'], + ['V', '௺'], + ['v', '௳'], + ['b', '௵'], + [',', '௹'], + ['.', '॥'] ] }; - $.ime.register( taInScript2 ); + $.ime.register( taInScript2 ); }( jQuery ) ); diff --git a/lib/jquery.ime/rules/te/te-inscript.js b/lib/jquery.ime/rules/te/te-inscript.js index 3cb427e0..4ef59ba1 100644 --- a/lib/jquery.ime/rules/te/te-inscript.js +++ b/lib/jquery.ime/rules/te/te-inscript.js @@ -117,7 +117,6 @@ ['4', '₹'], ['\\=', 'ౄ'], ['\\+', 'ౠ']] - }; $.ime.register( teInScript ); diff --git a/lib/jquery.ime/rules/te/te-inscript2.js b/lib/jquery.ime/rules/te/te-inscript2.js index c919431b..a312e1c5 100644 --- a/lib/jquery.ime/rules/te/te-inscript2.js +++ b/lib/jquery.ime/rules/te/te-inscript2.js @@ -10,117 +10,117 @@ license: 'GPLv3', version: '1.0', patterns: [ - ["1", "౧"], - ["2", "౨"], - ["3", "౩"], - ["4", "౪"], - ["5", "౫"], - ["6", "౬"], - ["7", "౭"], - ["8", "౮"], - ["\\(", "("], - ["9", "౯"], - ["\\)", ")"], - ["0", "౦"], - ["\\_", "ః"], - ["\\-", "-"], - ["\\+", "ఋ"], - ["\\=", "ృ"], - ["Q", "ఔ"], - ["q", "ౌ"], - ["W", "ఐ"], - ["w", "ై"], - ["E", "ఆ"], - ["e", "ా"], - ["R", "ఈ"], - ["r", "ీ"], - ["T", "ఊ"], - ["t", "ూ"], - ["Y", "భ"], - ["y", "బ"], - ["U", "ఙ"], - ["u", "హ"], - ["I", "ఘ"], - ["i", "గ"], - ["O", "ధ"], - ["o", "ద"], - ["P", "ఝ"], - ["p", "జ"], - ["\\{", "ఢ"], - ["\\[", "డ"], - ["\\}", "ఞ"], - ["A", "ఓ"], - ["a", "ో"], - ["S", "ఏ"], - ["s", "ే"], - ["D", "అ"], - ["d", "్"], - ["F", "ఇ"], - ["f", "ి"], - ["G", "ఉ"], - ["g", "ు"], - ["H", "ఫ"], - ["h", "ప"], - ["J", "ఱ"], - ["j", "ర"], - ["K", "ఖ"], - ["k", "క"], - ["L", "థ"], - ["l", "త"], - [":", "ఛ"], - [";", "చ"], - ["\"", "ఠ"], - ["\\'", "ట"], - ["\\~", "ఒ"], - ["\\`", "ొ"], - ["Z", "ఎ"], - ["z", "ె"], - ["X", "ఁ"], - ["x", "ం"], - ["C", "ణ"], - ["c", "మ"], - ["v", "న"], - ["b", "వ"], - ["N", "ళ"], - ["n", "ల"], - ["M", "శ"], - ["m", "స"], - ["\\<", "ష"], - [",", ","], - ["\\>", "।"], - ["\\.", "."], - ["/", "య"], - ["\\%", "జ్ఞ"], - ["\\^", "త్ర"], - ["\\&", "క్ష"], - ["\\*", "శ్ర"] + ['1', '౧'], + ['2', '౨'], + ['3', '౩'], + ['4', '౪'], + ['5', '౫'], + ['6', '౬'], + ['7', '౭'], + ['8', '౮'], + ['\\(', '('], + ['9', '౯'], + ['\\)', ')'], + ['0', '౦'], + ['\\_', 'ః'], + ['\\-', '-'], + ['\\+', 'ఋ'], + ['\\=', 'ృ'], + ['Q', 'ఔ'], + ['q', 'ౌ'], + ['W', 'ఐ'], + ['w', 'ై'], + ['E', 'ఆ'], + ['e', 'ా'], + ['R', 'ఈ'], + ['r', 'ీ'], + ['T', 'ఊ'], + ['t', 'ూ'], + ['Y', 'భ'], + ['y', 'బ'], + ['U', 'ఙ'], + ['u', 'హ'], + ['I', 'ఘ'], + ['i', 'గ'], + ['O', 'ధ'], + ['o', 'ద'], + ['P', 'ఝ'], + ['p', 'జ'], + ['\\{', 'ఢ'], + ['\\[', 'డ'], + ['\\}', 'ఞ'], + ['A', 'ఓ'], + ['a', 'ో'], + ['S', 'ఏ'], + ['s', 'ే'], + ['D', 'అ'], + ['d', '్'], + ['F', 'ఇ'], + ['f', 'ి'], + ['G', 'ఉ'], + ['g', 'ు'], + ['H', 'ఫ'], + ['h', 'ప'], + ['J', 'ఱ'], + ['j', 'ర'], + ['K', 'ఖ'], + ['k', 'క'], + ['L', 'థ'], + ['l', 'త'], + [':', 'ఛ'], + [';', 'చ'], + ['"', 'ఠ'], + ['\\\'', 'ట'], + ['\\~', 'ఒ'], + ['\\`', 'ొ'], + ['Z', 'ఎ'], + ['z', 'ె'], + ['X', 'ఁ'], + ['x', 'ం'], + ['C', 'ణ'], + ['c', 'మ'], + ['v', 'న'], + ['b', 'వ'], + ['N', 'ళ'], + ['n', 'ల'], + ['M', 'శ'], + ['m', 'స'], + ['\\<', 'ష'], + [',', ','], + ['\\>', '।'], + ['\\.', '.'], + ['/', 'య'], + ['\\%', 'జ్ఞ'], + ['\\^', 'త్ర'], + ['\\&', 'క్ష'], + ['\\*', 'శ్ర'] ], patterns_x: [ - ["\\!", "౹"], - ["\\@", "౼"], - ["\\#", "౺"], - ["\\$", "౽"], - ["4", "₹"], - ["\\%", "౻"], - ["\\^", "౾"], - ["1", "‍"], - ["2", "‌"], - ["0", "౸"], - ["\\-", "౿"], - ["\\+", "ౠ"], - ["\\=", "ౄ"], - ["R", "ౣ"], - ["r", "ౡ"], - ["p", "ౙ"], - ["F", "ఌ"], - ["f", "ౢ"], - [";", "ౘ"], - ["Z", "ౖ"], - ["z", "ౕ"], - ["\\>", "ఽ"], - ["\\.", "॥"] + ['\\!', '౹'], + ['\\@', '౼'], + ['\\#', '౺'], + ['\\$', '౽'], + ['4', '₹'], + ['\\%', '౻'], + ['\\^', '౾'], + ['1', '‍'], + ['2', '‌'], + ['0', '౸'], + ['\\-', '౿'], + ['\\+', 'ౠ'], + ['\\=', 'ౄ'], + ['R', 'ౣ'], + ['r', 'ౡ'], + ['p', 'ౙ'], + ['F', 'ఌ'], + ['f', 'ౢ'], + [';', 'ౘ'], + ['Z', 'ౖ'], + ['z', 'ౕ'], + ['\\>', 'ఽ'], + ['\\.', '॥'] ] }; - $.ime.register( teInScript2 ); + $.ime.register( teInScript2 ); }( jQuery ) ); diff --git a/lib/jquery.ime/rules/th/th-kedmanee.js b/lib/jquery.ime/rules/th/th-kedmanee.js index 04594247..10da3812 100644 --- a/lib/jquery.ime/rules/th/th-kedmanee.js +++ b/lib/jquery.ime/rules/th/th-kedmanee.js @@ -108,7 +108,6 @@ ['_', '๘'], ['\\+', '๙'] ] - }; $.ime.register( kedmanee ); diff --git a/lib/jquery.ime/rules/th/th-pattachote.js b/lib/jquery.ime/rules/th/th-pattachote.js index 6ad3c19f..c2c1bdbc 100644 --- a/lib/jquery.ime/rules/th/th-pattachote.js +++ b/lib/jquery.ime/rules/th/th-pattachote.js @@ -108,7 +108,6 @@ ['_', '-'], ['\\+', '%'] ] - }; $.ime.register( pattachote ); diff --git a/lib/jquery.ime/rules/ur/ur-phonetic.js b/lib/jquery.ime/rules/ur/ur-phonetic.js index d0d0235e..2c3d3425 100644 --- a/lib/jquery.ime/rules/ur/ur-phonetic.js +++ b/lib/jquery.ime/rules/ur/ur-phonetic.js @@ -105,7 +105,6 @@ ['\\&', 'ٔ'], ['\\*', 'ٌ']] }; + $.ime.register( urPhonetic ); - }( jQuery ) ); - diff --git a/lib/jquery.uls/i18n/fur.json b/lib/jquery.uls/i18n/fur.json new file mode 100644 index 00000000..92db3696 --- /dev/null +++ b/lib/jquery.uls/i18n/fur.json @@ -0,0 +1,21 @@ +{ + "@metadata": { + "authors": [ + "Klenje" + ] + }, + "uls-select-language": "Siel\u00e7 la lenghe", + "uls-region-WW": "Dut il mont", + "uls-region-SP": "Speci\u00e2l", + "uls-region-AM": "Americhe", + "uls-region-AF": "Afriche", + "uls-region-EU": "Europe", + "uls-region-AS": "Asie", + "uls-region-ME": "Medi Orient", + "uls-region-PA": "Pacjific", + "uls-no-results-found": "Nissun risult\u00e2t", + "uls-common-languages": "Lenghis comunis", + "uls-no-results-suggestion-title": "Tu puedis jessi interess\u00e2t a:", + "uls-search-help": "Tu pues cir\u00ee par non de lenghe, non dal alfabet, codis ISO de lenghe o tu puedis cir\u00ee intune regjon:", + "uls-search-placeholder": "Ricercje de lenghe" +} \ No newline at end of file diff --git a/lib/jquery.uls/i18n/gu.json b/lib/jquery.uls/i18n/gu.json index 2183308d..1748c200 100644 --- a/lib/jquery.uls/i18n/gu.json +++ b/lib/jquery.uls/i18n/gu.json @@ -2,11 +2,13 @@ "@metadata": { "authors": [ "Harsh4101991", + "KartikMistry", "Santhosh.thottingal" ] }, "uls-select-language": "\u0aad\u0abe\u0ab7\u0abe \u0aaa\u0ab8\u0a82\u0aa6 \u0a95\u0ab0\u0acb", "uls-region-WW": "\u0ab5\u0abf\u0ab6\u0acd\u0ab5\u0aad\u0ab0\u0aae\u0abe\u0a82", + "uls-region-SP": "\u0a96\u0abe\u0ab8", "uls-region-AM": "\u0a85\u0aae\u0ac7\u0ab0\u0abf\u0a95\u0abe", "uls-region-AF": "\u0a86\u0aab\u0acd\u0ab0\u0abf\u0a95\u0abe", "uls-region-EU": "\u0aaf\u0ac1\u0ab0\u0acb\u0aaa", diff --git a/lib/jquery.uls/i18n/ko.json b/lib/jquery.uls/i18n/ko.json index eb11fef9..ff18f839 100644 --- a/lib/jquery.uls/i18n/ko.json +++ b/lib/jquery.uls/i18n/ko.json @@ -1,6 +1,7 @@ { "@metadata": { "authors": [ + "IRTC1015", "\uc544\ub77c" ] }, @@ -14,7 +15,7 @@ "uls-region-ME": "\uc911\ub3d9", "uls-region-PA": "\ud0dc\ud3c9\uc591", "uls-no-results-found": "\uacb0\uacfc\uac00 \uc5c6\uc2b5\ub2c8\ub2e4", - "uls-common-languages": "\uacf5\uc6a9\uc5b4", + "uls-common-languages": "\uc790\uc8fc \uc0ac\uc6a9\ud558\ub294 \uc5b8\uc5b4", "uls-no-results-suggestion-title": "\uc774\uac83\uc744 \ucc3e\uc73c\uc168\ub098\uc694:", "uls-search-help": "\uc5b8\uc5b4 \uc774\ub984, \ubb38\uc790 \uccb4\uacc4 \uc774\ub984, \uc5b8\uc5b4\uc758 ISO \ucf54\ub4dc\ub85c \ucc3e\uc744 \uc218 \uc788\uc73c\uba70 \uc9c0\uc5ed\ubcc4\ub85c \ucc3e\uc544\ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4:", "uls-search-placeholder": "\uc5b8\uc5b4 \ucc3e\uae30" diff --git a/lib/jquery.uls/i18n/ps.json b/lib/jquery.uls/i18n/ps.json new file mode 100644 index 00000000..51584539 --- /dev/null +++ b/lib/jquery.uls/i18n/ps.json @@ -0,0 +1,21 @@ +{ + "@metadata": { + "authors": [ + "Ahmed-Najib-Biabani-Ibrahimkhel" + ] + }, + "uls-select-language": "\u0698\u0628\u0647 \u067c\u0627\u06a9\u0644", + "uls-region-WW": "\u0646\u0693\u06d0\u0648\u0627\u0644", + "uls-region-SP": "\u0681\u0627\u0646\u06ab\u0693\u06cc", + "uls-region-AM": "\u0627\u0645\u0631\u064a\u06a9\u0627", + "uls-region-AF": "\u0627\u0641\u0631\u064a\u0642\u0627", + "uls-region-EU": "\u0627\u0631\u0648\u067e\u0627", + "uls-region-AS": "\u0622\u0633\u064a\u0627", + "uls-region-ME": "\u0645\u0646\u0681\u0646\u06cc \u062e\u062a\u064a\u0681", + "uls-region-PA": "\u063a\u0644\u06cc \u0633\u0645\u0646\u062f\u0631", + "uls-no-results-found": "\u067e\u0627\u064a\u0644\u06d0 \u0648 \u0646\u0647 \u0645\u0648\u0646\u062f\u0644 \u0634\u0648\u06d0", + "uls-common-languages": "\u062f\u0648\u062f\u06d0 \u0698\u0628\u06d0", + "uls-no-results-suggestion-title": "\u06a9\u06d0\u062f\u0627\u06cc \u0634\u064a \u062a\u0627\u0633\u06d0 \u064a\u06d0 \u0644\u06d0\u0648\u0627\u0644\u0647 \u0627\u0648\u0633\u06cd:", + "uls-search-help": "\u062a\u0627\u0633\u06d0 \u062f \u0698\u0628\u06d0 \u062f \u0646\u0648\u0645 \u0644\u0647 \u0645\u062e\u06d0\u060c \u062f \u0633\u06a9\u0631\u06d0\u067e\u067c \u0646\u0648\u0645\u060c \u062f \u0698\u0628\u06d0 \u062f ISO \u06a9\u0648\u0689 \u0644\u0647 \u0645\u062e\u06d0 \u0627\u0648 \u064a\u0627 \u0647\u0645 \u062f \u0633\u064a\u0645\u06d0 \u0644\u0647 \u0645\u062e\u06d0 \u067e\u0644\u067c\u0646\u06d0 \u06a9\u0693\u0644\u06cc \u0634\u06cc:", + "uls-search-placeholder": "\u062f \u0698\u0628\u06d0 \u067e\u0644\u067c\u0646\u0647" +} \ No newline at end of file diff --git a/lib/jquery.uls/i18n/te.json b/lib/jquery.uls/i18n/te.json index 8451976a..3f30b9de 100644 --- a/lib/jquery.uls/i18n/te.json +++ b/lib/jquery.uls/i18n/te.json @@ -7,6 +7,7 @@ }, "uls-select-language": "\u0c2d\u0c3e\u0c37\u0c28\u0c41 \u0c0e\u0c02\u0c1a\u0c41\u0c15\u0c4b\u0c02\u0c21\u0c3f", "uls-region-WW": "\u0c2a\u0c4d\u0c30\u0c2a\u0c02\u0c1a\u0c35\u0c4d\u0c2f\u0c3e\u0c2a\u0c4d\u0c24\u0c02", + "uls-region-SP": "\u0c2a\u0c4d\u0c30\u0c24\u0c4d\u0c2f\u0c47\u0c15\u0c02", "uls-region-AM": "\u0c05\u0c2e\u0c46\u0c30\u0c3f\u0c15\u0c3e", "uls-region-AF": "\u0c06\u0c2b\u0c4d\u0c30\u0c3f\u0c15\u0c3e", "uls-region-EU": "\u0c10\u0c30\u0c4b\u0c2a\u0c3e", diff --git a/lib/jquery.uls/src/jquery.uls.core.js b/lib/jquery.uls/src/jquery.uls.core.js index 060d6946..63522395 100644 --- a/lib/jquery.uls/src/jquery.uls.core.js +++ b/lib/jquery.uls/src/jquery.uls.core.js @@ -21,9 +21,11 @@ ( function ( $ ) { 'use strict'; + var template, ULS; + // Region numbers in id attributes also appear in the langdb. /*jshint multistr:true */ - var template = '\ + template = '\
\
\ \ @@ -80,7 +82,7 @@ /** * ULS Public class definition */ - var ULS = function ( element, options ) { + ULS = function ( element, options ) { this.$element = $( element ); this.options = $.extend( {}, $.fn.uls.defaults, options ); this.$menu = $( template ); diff --git a/lib/jquery.uls/src/jquery.uls.languagefilter.js b/lib/jquery.uls/src/jquery.uls.languagefilter.js index ec62cd2f..28140f8b 100644 --- a/lib/jquery.uls/src/jquery.uls.languagefilter.js +++ b/lib/jquery.uls/src/jquery.uls.languagefilter.js @@ -25,7 +25,9 @@ (function ( $ ) { 'use strict'; - var LanguageFilter = function( element, options ) { + var LanguageFilter, delay; + + LanguageFilter = function( element, options ) { this.$element = $( element ); this.options = $.extend( {}, $.fn.regionselector.defaults, options ); this.$element.addClass( 'languagefilter' ); @@ -37,7 +39,7 @@ this.listen(); }; - var delay = ( function() { + delay = ( function() { var timer = 0; return function( callback, milliseconds ) { @@ -63,9 +65,11 @@ }, keyup: function( e ) { + var suggestion, query, languageFilter; + switch( e.keyCode ) { case 9: // Tab -> Autocomplete - var suggestion = this.$suggestion.val(); + suggestion = this.$suggestion.val(); if ( suggestion && suggestion !== this.$element.val() ) { this.$element.val( suggestion ); @@ -78,7 +82,7 @@ break; } - var query = $.trim( this.$element.val() ).toLowerCase(); + query = $.trim( this.$element.val() ).toLowerCase(); if ( this.selectedLanguage ) { // this.selectLanguage will be populated from a matching search @@ -91,7 +95,7 @@ break; default: - var languageFilter = this; + languageFilter = this; if ( e.which < 32 && e.which !== 8 // Backspace diff --git a/lib/jquery.uls/src/jquery.uls.lcd.js b/lib/jquery.uls/src/jquery.uls.lcd.js index a353c7bc..c03dabb1 100644 --- a/lib/jquery.uls/src/jquery.uls.lcd.js +++ b/lib/jquery.uls/src/jquery.uls.lcd.js @@ -22,8 +22,10 @@ ( function ( $ ) { 'use strict'; + var noResultsTemplate, LanguageCategoryDisplay; + /*jshint multistr:true */ - var noResultsTemplate = '\ + noResultsTemplate = '\
\

\ No results found\ @@ -47,7 +49,7 @@

'; /*jshint multistr:false */ - var LanguageCategoryDisplay = function ( element, options ) { + LanguageCategoryDisplay = function ( element, options ) { this.$element = $( element ); this.options = $.extend( {}, $.fn.lcd.defaults, options ); this.$element.addClass( 'lcd' ); @@ -74,7 +76,8 @@ * @param region Optional region */ addToRegion: function ( langCode, region ) { - var lcd = this, + var i, regionCode, $li, $column, lastLanguage, lastScriptGroup, currentScriptGroup, + lcd = this, language = lcd.options.languages[langCode], langName = $.uls.data.getAutonym( langCode ) || language || langCode, regions = []; @@ -90,10 +93,10 @@ regions = [ 'WW' ]; } - for ( var i = 0; i < regions.length; i++ ) { - var regionCode = regions[i]; + for ( i = 0; i < regions.length; i++ ) { + regionCode = regions[i]; - var $li = $( '
  • ' ) + $li = $( '
  • ' ) .data( 'code', langCode ) .attr( { lang: langCode, @@ -104,12 +107,12 @@ ); // Append the element to the column in the list - var $column = lcd.getColumn( regionCode ); - var lastLanguage = $column.find( 'li:last' ).data( 'code' ); + $column = lcd.getColumn( regionCode ); + lastLanguage = $column.find( 'li:last' ).data( 'code' ); if ( lastLanguage ) { - var lastScriptGroup = $.uls.data.getScriptGroupOfLanguage( lastLanguage ), - currentScriptGroup = $.uls.data.getScriptGroupOfLanguage( langCode ); + lastScriptGroup = $.uls.data.getScriptGroupOfLanguage( lastLanguage ); + currentScriptGroup = $.uls.data.getScriptGroupOfLanguage( langCode ); if ( lastScriptGroup !== currentScriptGroup ) { if ( $column.find( 'li' ).length > 2 ) { @@ -172,7 +175,7 @@ PA: 'Pacific' }; - $.each( $.uls.data.regiongroups, function ( regionCode, regionIndex ) { + $.each( $.uls.data.regiongroups, function ( regionCode ) { $section = $( '
    ' ).addClass( 'twelve columns uls-lcd-region-section' ).prop( 'id', regionCode ); $sectionTitle = $( '

    ' ) @@ -194,6 +197,9 @@ }, quicklist: function () { + var quickList, $quickListSection, $quickListSectionTitle, i, + $column, langCode, language, langName, $li; + if ( $.isFunction( this.options.quickList ) ) { this.options.quickList = this.options.quickList(); } @@ -203,24 +209,24 @@ } // Pick only the first elements, because we don't have room for more - var quickList = this.options.quickList; + quickList = this.options.quickList; quickList = quickList.slice( 0, 16 ); quickList.sort( $.uls.data.sortByAutonym ); - var $quickListSection = $( '
    ' ).addClass( 'twelve columns uls-lcd-region-section' ).prop( 'id', 'uls-lcd-quicklist' ); - var $quickListSectionTitle = $( '

    ' ) + $quickListSection = $( '
    ' ).addClass( 'twelve columns uls-lcd-region-section' ).prop( 'id', 'uls-lcd-quicklist' ); + $quickListSectionTitle = $( '

    ' ) .addClass( 'eleven columns uls-lcd-region-section uls-lcd-region-title offset-by-one' ) .text( 'Common languages' ); // This is placeholder text if jquery.i18n not present $quickListSection.append( $quickListSectionTitle ); this.$element.prepend( $quickListSection ); this.regionDivs.quick = $quickListSection; - for ( var i = 0; i < quickList.length; i++) { - var $column = this.getColumn( 'quick', i % 4 === 0 ); - var langCode = quickList[i]; - var language = this.options.languages[langCode]; - var langName = $.uls.data.getAutonym( langCode ) || language || langCode; - var $li = $( '
  • ' ) + for ( i = 0; i < quickList.length; i++) { + $column = this.getColumn( 'quick', i % 4 === 0 ); + langCode = quickList[i]; + language = this.options.languages[langCode]; + langName = $.uls.data.getAutonym( langCode ) || language || langCode; + $li = $( '
  • ' ) .data( 'code', langCode ) .attr( { lang: langCode, diff --git a/lib/jquery.uls/src/jquery.uls.regionfilter.js b/lib/jquery.uls/src/jquery.uls.regionfilter.js index 9b4ae47c..ab1d6e57 100644 --- a/lib/jquery.uls/src/jquery.uls.regionfilter.js +++ b/lib/jquery.uls/src/jquery.uls.regionfilter.js @@ -22,13 +22,15 @@ /* RegionSelector plugin definition */ + var RegionSelector, delay; + /** * Region selector is a language selector based on regions. * Usage: $( 'jqueryselector' ).regionselector( options ); * The attached element should have data-regiongroup attribute * that defines the regiongroup for the selector. */ - var RegionSelector = function ( element, options ) { + RegionSelector = function ( element, options ) { this.$element = $( element ); this.options = $.extend( {}, $.fn.regionselector.defaults, options ); this.$element.addClass( 'regionselector' ); @@ -52,10 +54,10 @@ }, test: function ( langCode ) { - var langRegions = $.uls.data.getRegions( langCode ), - region; + var region, i, + langRegions = $.uls.data.getRegions( langCode ); - for ( var i = 0; i < this.regions.length; i++ ) { + for ( i = 0; i < this.regions.length; i++ ) { region = this.regions[i]; if ( $.inArray( region, langRegions ) >= 0 ) { @@ -68,10 +70,12 @@ }, show: function () { + var result, languagesByScriptGroup, scriptGroup, languages, i; + if ( this.cache ) { // If the result cache is present, render the results from there. //noinspection JSUnusedAssignment - var result = null; + result = null; for ( result in this.cache ) { this.render( result, this.cache[result] ); @@ -79,13 +83,13 @@ } else { this.cache = {}; // Get the languages grouped by script group - var languagesByScriptGroup = $.uls.data.getLanguagesByScriptGroup( this.options.languages ); + languagesByScriptGroup = $.uls.data.getLanguagesByScriptGroup( this.options.languages ); // Make sure that we go by the original order // of script groups - for ( var scriptGroup in $.uls.data.scriptgroups ) { + for ( scriptGroup in $.uls.data.scriptgroups ) { // Get the languages for the script group - var languages = languagesByScriptGroup[scriptGroup]; + languages = languagesByScriptGroup[scriptGroup]; // It's possible that some script groups are missing if ( !languages ) { @@ -95,7 +99,7 @@ // Sort it based on autonym languages.sort( $.uls.data.sortByAutonym ); - for ( var i = 0; i < languages.length; i++ ) { + for ( i = 0; i < languages.length; i++ ) { // Check whether it belongs to the region this.test( languages[i] ); } @@ -145,7 +149,7 @@ this.options.$target.$element.bind( 'scrollend', $.proxy( this.next, this ) ); }, - click: function ( e ) { + click: function () { // Don't do anything if a region is selected already if ( this.$element.hasClass( 'active' ) ) { return; @@ -191,7 +195,7 @@ $.fn.regionselector.Constructor = RegionSelector; - var delay = ( function () { + delay = ( function () { var timer = 0; return function ( callback, milliseconds ) { clearTimeout( timer );