Update jquery.ime from upstream
Change-Id: I904dfd1e089e92deaa2da50510d0975a8e317a94
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/*! jquery.ime - v0.1.0+20130820
|
/*! jquery.ime - v0.1.0+20130822
|
||||||
* https://github.com/wikimedia/jquery.ime
|
* https://github.com/wikimedia/jquery.ime
|
||||||
* Copyright (c) 2013 Santhosh Thottingal; Licensed GPL, MIT */
|
* Copyright (c) 2013 Santhosh Thottingal; Licensed GPL, MIT */
|
||||||
( function ( $ ) {
|
( function ( $ ) {
|
||||||
@@ -890,6 +890,7 @@
|
|||||||
|
|
||||||
imeselector.$menu.on( 'click.ime', 'li.ime-lang', function () {
|
imeselector.$menu.on( 'click.ime', 'li.ime-lang', function () {
|
||||||
var im = imeselector.selectLanguage( $( this ).attr( 'lang' ) );
|
var im = imeselector.selectLanguage( $( this ).attr( 'lang' ) );
|
||||||
|
|
||||||
imeselector.$element.trigger( 'setim.ime', im );
|
imeselector.$element.trigger( 'setim.ime', im );
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
@@ -1096,7 +1097,7 @@
|
|||||||
return $.ime.preferences.getLanguage();
|
return $.ime.preferences.getLanguage();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( this.$element.attr('lang' ) &&
|
if ( this.$element.attr( 'lang' ) &&
|
||||||
$.ime.languages[ this.$element.attr( 'lang' ) ]
|
$.ime.languages[ this.$element.attr( 'lang' ) ]
|
||||||
) {
|
) {
|
||||||
return this.$element.attr( 'lang' );
|
return this.$element.attr( 'lang' );
|
||||||
@@ -1388,7 +1389,7 @@
|
|||||||
$.extend( $.ime.preferences, {
|
$.extend( $.ime.preferences, {
|
||||||
registry: {
|
registry: {
|
||||||
isDirty: false,
|
isDirty: false,
|
||||||
language : null,
|
language: null,
|
||||||
previousLanguages: [], // array of previous languages
|
previousLanguages: [], // array of previous languages
|
||||||
previousInputMethods: [], // array of previous inputmethods
|
previousInputMethods: [], // array of previous inputmethods
|
||||||
imes: {
|
imes: {
|
||||||
@@ -1460,6 +1461,7 @@
|
|||||||
if ( !this.registry.imes ) {
|
if ( !this.registry.imes ) {
|
||||||
this.registry.imes = {};
|
this.registry.imes = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.registry.imes[language] || 'system';
|
return this.registry.imes[language] || 'system';
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -1812,11 +1814,11 @@
|
|||||||
source: 'rules/ks/ks-kbd.js'
|
source: 'rules/ks/ks-kbd.js'
|
||||||
},
|
},
|
||||||
'ku-h': {
|
'ku-h': {
|
||||||
name: 'Ku h',
|
name: 'Kurdî-h',
|
||||||
source: 'rules/ku/ku-h.js'
|
source: 'rules/ku/ku-h.js'
|
||||||
},
|
},
|
||||||
'ku-tr': {
|
'ku-tr': {
|
||||||
name: 'Ku tr',
|
name: 'Kurdî-tr',
|
||||||
source: 'rules/ku/ku-tr.js'
|
source: 'rules/ku/ku-tr.js'
|
||||||
},
|
},
|
||||||
'lo-kbd': {
|
'lo-kbd': {
|
||||||
|
|||||||
@@ -98,6 +98,6 @@
|
|||||||
['\\?', '؟']
|
['\\?', '؟']
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
$.ime.register( ckbTransliterationArkbd );
|
|
||||||
|
|
||||||
|
$.ime.register( ckbTransliterationArkbd );
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -99,6 +99,6 @@
|
|||||||
['\\?', '؟']
|
['\\?', '؟']
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
$.ime.register( ckbTransliterationFakbd );
|
|
||||||
|
|
||||||
|
$.ime.register( ckbTransliterationFakbd );
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -95,6 +95,6 @@
|
|||||||
['\\?', '؟']
|
['\\?', '؟']
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
$.ime.register( ckbTransliterationLakbd );
|
|
||||||
|
|
||||||
|
$.ime.register( ckbTransliterationLakbd );
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* Eastern Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated in Windows 8.
|
* Eastern Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated
|
||||||
* Original layout was created in late 90-ies based on Unicode 3, and was never updated since release,
|
* in Windows 8.
|
||||||
* causing it to be incompatible with Unicode.
|
* Original layout was created in late 90-ies based on Unicode 3, and was never updated
|
||||||
|
* since release, causing it to be incompatible with Unicode.
|
||||||
*
|
*
|
||||||
* This layout version complies with Unicode 6.1, including all valid Armenian punctuation signs,
|
* This layout version complies with Unicode 6.1, including all valid Armenian punctuation signs,
|
||||||
* mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
|
* mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
|
||||||
@@ -165,5 +166,4 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$.ime.register( hyEmslegacy );
|
$.ime.register( hyEmslegacy );
|
||||||
|
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* This is a phonetic layout for the Armenian language (hy, arm, hye).
|
* This is a phonetic layout for the Armenian language (hy, arm, hye).
|
||||||
* The layout comes from DOS times, and was later popularised by KDWin and WinKeys keyboard "drivers".
|
* The layout comes from DOS times, and was later popularised by KDWin and
|
||||||
|
* WinKeys keyboard "drivers".
|
||||||
* While not as efficient and well-thought as the official typewriter layout, it is very popular as
|
* While not as efficient and well-thought as the official typewriter layout, it is very popular as
|
||||||
* it uses similary sounding Latin letters, which is very handy, as keyboards in Armenia
|
* it uses similary sounding Latin letters, which is very handy, as keyboards in Armenia
|
||||||
* don't come engraved with Armenian letters.
|
* don't come engraved with Armenian letters.
|
||||||
|
|||||||
@@ -168,5 +168,4 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$.ime.register( hyEphonetic );
|
$.ime.register( hyEphonetic );
|
||||||
|
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* Western Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated in Windows 8.
|
* Western Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated
|
||||||
* Original layout was created in late 90-ies based on Unicode 3, and was never updated since release,
|
* in Windows 8.
|
||||||
* causing it to be incompatible with Unicode.
|
* Original layout was created in late 90-ies based on Unicode 3, and was never updated
|
||||||
|
* since release, causing it to be incompatible with Unicode.
|
||||||
*
|
*
|
||||||
* This layout version complies with Unicode 6.1, including all valid Armenian punctuation signs,
|
* This layout version complies with Unicode 6.1, including all valid Armenian punctuation signs,
|
||||||
* mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
|
* mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
|
||||||
@@ -165,5 +166,4 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$.ime.register( hyWmslegacy );
|
$.ime.register( hyWmslegacy );
|
||||||
|
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
var kuH = {
|
var kuH = {
|
||||||
id: 'ku-h',
|
id: 'ku-h',
|
||||||
name: 'Ku h',
|
name: 'Kurdî-h',
|
||||||
description: 'writing Kurdish-letters adding h\'s',
|
description: 'writing Kurdish-letters adding h\'s',
|
||||||
date: '2013-06-26',
|
date: '2013-06-26',
|
||||||
URL: 'http://github.com/wikimedia/jquery.ime',
|
URL: 'http://github.com/wikimedia/jquery.ime',
|
||||||
@@ -44,5 +44,4 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$.ime.register( kuH );
|
$.ime.register( kuH );
|
||||||
|
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
var kuTr = {
|
var kuTr = {
|
||||||
id: 'ku-tr',
|
id: 'ku-tr',
|
||||||
name: 'Ku tr',
|
name: 'Kurdî-tr',
|
||||||
description: 'writing Kurdish-letters using the TR keyboard',
|
description: 'writing Kurdish-letters using the TR keyboard',
|
||||||
date: '2013-06-26',
|
date: '2013-06-26',
|
||||||
URL: 'http://github.com/wikimedia/jquery.ime',
|
URL: 'http://github.com/wikimedia/jquery.ime',
|
||||||
@@ -29,5 +29,4 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$.ime.register( kuTr );
|
$.ime.register( kuTr );
|
||||||
|
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
var orTransliteration = {
|
var orTransliteration = {
|
||||||
id: 'or-transliteration',
|
id: 'or-transliteration',
|
||||||
name: 'ଟ୍ରାନ୍ସଲିଟରେସନ',
|
name: 'ଟ୍ରାନ୍ସଲିଟରେସନ',
|
||||||
|
|
||||||
description: 'Odia Transliteration',
|
description: 'Odia Transliteration',
|
||||||
date: '2012-10-14',
|
date: '2012-10-14',
|
||||||
URL: 'http://github.com/wikimedia/jquery.ime',
|
URL: 'http://github.com/wikimedia/jquery.ime',
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
['8', '8'],
|
['8', '8'],
|
||||||
['\\(', '੯'],
|
['\\(', '੯'],
|
||||||
['9', '9'],
|
['9', '9'],
|
||||||
['\\),', '੦'],
|
['\\)', '੦'],
|
||||||
['0', '0'],
|
['0', '0'],
|
||||||
['Q', 'ਥ'],
|
['Q', 'ਥ'],
|
||||||
['q', 'ਤ'],
|
['q', 'ਤ'],
|
||||||
|
|||||||
@@ -216,5 +216,6 @@
|
|||||||
['//', 'ఽ'], // avagraha
|
['//', 'ఽ'], // avagraha
|
||||||
['~\\$', '₹']] // rupee
|
['~\\$', '₹']] // rupee
|
||||||
};
|
};
|
||||||
|
|
||||||
$.ime.register( teTransliteration );
|
$.ime.register( teTransliteration );
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
['ф', 'ӝ'],
|
['ф', 'ӝ'],
|
||||||
['Ф', 'Ӝ']
|
['Ф', 'Ӝ']
|
||||||
],
|
],
|
||||||
|
|
||||||
patterns_x: [
|
patterns_x: [
|
||||||
['ё', 'ӧ'],
|
['ё', 'ӧ'],
|
||||||
['Ё', 'Ӧ'],
|
['Ё', 'Ӧ'],
|
||||||
@@ -36,5 +35,6 @@
|
|||||||
['Ф', 'Ф']
|
['Ф', 'Ф']
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
$.ime.register( udmAlt );
|
$.ime.register( udmAlt );
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -74,5 +74,6 @@
|
|||||||
['\\_', '\u2014']
|
['\\_', '\u2014']
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
$.ime.register( ugKbd );
|
$.ime.register( ugKbd );
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
['u', 'ء'],
|
['u', 'ء'],
|
||||||
['I', 'ٰ'],
|
['I', 'ٰ'],
|
||||||
['i', 'ی'],
|
['i', 'ی'],
|
||||||
['O', 'ۃ'], // Teh marbuta goal
|
/* Teh marbuta goal */ ['O', 'ۃ'],
|
||||||
['o', 'ہ'],
|
['o', 'ہ'],
|
||||||
['P', 'ُ'],
|
['P', 'ُ'],
|
||||||
['p', 'پ'],
|
['p', 'پ'],
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
['i', 'ب'],
|
['i', 'ب'],
|
||||||
['I', 'ـ'],
|
['I', 'ـ'],
|
||||||
['U', 'ۃ'],
|
['U', 'ۃ'],
|
||||||
['\\;', '؛'],
|
/* Arabic semicolon */ ['\\;', '؛'],
|
||||||
['\\:', ':'],
|
['\\:', ':'],
|
||||||
['p', 'ح'],
|
['p', 'ح'],
|
||||||
['P', 'خ'],
|
['P', 'خ'],
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
['y', 'پ'],
|
['y', 'پ'],
|
||||||
['Y', '\u0651\u00AD'],
|
['Y', '\u0651\u00AD'],
|
||||||
['c', 'ے'],
|
['c', 'ے'],
|
||||||
['\\?','؟'],
|
/* Arabic question mark */ ['\\?','؟'],
|
||||||
['j', 'ا'],
|
['j', 'ا'],
|
||||||
['n', 'غ'],
|
['n', 'غ'],
|
||||||
['N', 'ئ'],
|
['N', 'ئ'],
|
||||||
@@ -89,9 +89,10 @@
|
|||||||
['\\%', '','٪'],
|
['\\%', '','٪'],
|
||||||
['\\^', '','^'],
|
['\\^', '','^'],
|
||||||
['\\&', 'ۖ'],
|
['\\&', 'ۖ'],
|
||||||
['\\*', '٭'],
|
/* Arabic star */ ['\\*', '٭'],
|
||||||
['\\(', '('],
|
['\\(', '('],
|
||||||
['\\)', ')']]
|
['\\)', ')']]
|
||||||
};
|
};
|
||||||
|
|
||||||
$.ime.register( urTransliteration );
|
$.ime.register( urTransliteration );
|
||||||
}( jQuery ) );
|
}( jQuery ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user