Update jquery.ime from upstream

Change-Id: I904dfd1e089e92deaa2da50510d0975a8e317a94
This commit is contained in:
Amir E. Aharoni
2013-08-22 14:20:45 +03:00
parent 9f51d8a4ea
commit e018a52498
17 changed files with 35 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
/*! jquery.ime - v0.1.0+20130820
/*! jquery.ime - v0.1.0+20130822
* https://github.com/wikimedia/jquery.ime
* Copyright (c) 2013 Santhosh Thottingal; Licensed GPL, MIT */
( function ( $ ) {
@@ -890,6 +890,7 @@
imeselector.$menu.on( 'click.ime', 'li.ime-lang', function () {
var im = imeselector.selectLanguage( $( this ).attr( 'lang' ) );
imeselector.$element.trigger( 'setim.ime', im );
return false;
@@ -1096,7 +1097,7 @@
return $.ime.preferences.getLanguage();
}
if ( this.$element.attr('lang' ) &&
if ( this.$element.attr( 'lang' ) &&
$.ime.languages[ this.$element.attr( 'lang' ) ]
) {
return this.$element.attr( 'lang' );
@@ -1388,7 +1389,7 @@
$.extend( $.ime.preferences, {
registry: {
isDirty: false,
language : null,
language: null,
previousLanguages: [], // array of previous languages
previousInputMethods: [], // array of previous inputmethods
imes: {
@@ -1460,6 +1461,7 @@
if ( !this.registry.imes ) {
this.registry.imes = {};
}
return this.registry.imes[language] || 'system';
},
@@ -1812,11 +1814,11 @@
source: 'rules/ks/ks-kbd.js'
},
'ku-h': {
name: 'Ku h',
name: 'Kurdî-h',
source: 'rules/ku/ku-h.js'
},
'ku-tr': {
name: 'Ku tr',
name: 'Kurdî-tr',
source: 'rules/ku/ku-tr.js'
},
'lo-kbd': {

View File

@@ -98,6 +98,6 @@
['\\?', '؟']
]
};
$.ime.register( ckbTransliterationArkbd );
$.ime.register( ckbTransliterationArkbd );
}( jQuery ) );

View File

@@ -99,6 +99,6 @@
['\\?', '؟']
]
};
$.ime.register( ckbTransliterationFakbd );
$.ime.register( ckbTransliterationFakbd );
}( jQuery ) );

View File

@@ -95,6 +95,6 @@
['\\?', '؟']
]
};
$.ime.register( ckbTransliterationLakbd );
$.ime.register( ckbTransliterationLakbd );
}( jQuery ) );

View File

@@ -1,7 +1,8 @@
/**
* Eastern Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated in Windows 8.
* 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.
* Eastern Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated
* in Windows 8.
* 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,
* mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
@@ -165,5 +166,4 @@
};
$.ime.register( hyEmslegacy );
}( jQuery ) );

View File

@@ -1,6 +1,7 @@
/**
* 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
* it uses similary sounding Latin letters, which is very handy, as keyboards in Armenia
* don't come engraved with Armenian letters.

View File

@@ -1,6 +1,6 @@
/**
* This is alternative phonetic layout for Armenian language (hy, arm, hye).
* Based on Armenian phonetic layout, it improves few things, by placing ր under latin r,
* This is alternative phonetic layout for Armenian language (hy, arm, hye).
* Based on Armenian phonetic layout, it improves few things, by placing ր under latin r,
* as ր is much more frequent in Armenian. ռ goes under 8, where ր is in standart phonetic.
* Another change, which is not yet in xkb, ( as of July 2013), is swapping ֆ and թ: Ֆ is
* placed under F, where left index finger is, but is the least used letter in Armenian,
@@ -10,7 +10,7 @@
* mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign.
* Please, double-check with Unicode before making any changes here.
*
* Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
* Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
* producing digits and punctuation marks from standard US keyboard layout.
*/
@@ -168,5 +168,4 @@
};
$.ime.register( hyEphonetic );
}( jQuery ) );

View File

@@ -1,12 +1,13 @@
/**
* Western Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated in Windows 8.
* 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.
* Western Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated
* in Windows 8.
* 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,
* mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
* Please, double-check with Unicode before making any changes here.
*
*
* Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
* producing digits and punctuation marks from standard US keyboard layout.
*/
@@ -165,5 +166,4 @@
};
$.ime.register( hyWmslegacy );
}( jQuery ) );

View File

@@ -3,7 +3,7 @@
var kuH = {
id: 'ku-h',
name: 'Ku h',
name: 'Kurdî-h',
description: 'writing Kurdish-letters adding h\'s',
date: '2013-06-26',
URL: 'http://github.com/wikimedia/jquery.ime',
@@ -44,5 +44,4 @@
};
$.ime.register( kuH );
}( jQuery ) );

View File

@@ -3,7 +3,7 @@
var kuTr = {
id: 'ku-tr',
name: 'Ku tr',
name: 'Kurdî-tr',
description: 'writing Kurdish-letters using the TR keyboard',
date: '2013-06-26',
URL: 'http://github.com/wikimedia/jquery.ime',
@@ -29,5 +29,4 @@
};
$.ime.register( kuTr );
}( jQuery ) );

View File

@@ -4,7 +4,6 @@
var orTransliteration = {
id: 'or-transliteration',
name: 'ଟ୍ରାନ୍ସଲିଟରେସନ',
description: 'Odia Transliteration',
date: '2012-10-14',
URL: 'http://github.com/wikimedia/jquery.ime',

View File

@@ -25,7 +25,7 @@
['8', '8'],
['\\(', '੯'],
['9', '9'],
['\\),', ''],
['\\)', ''],
['0', '0'],
['Q', 'ਥ'],
['q', 'ਤ'],

View File

@@ -216,5 +216,6 @@
['//', 'ఽ'], // avagraha
['~\\$', '₹']] // rupee
};
$.ime.register( teTransliteration );
}( jQuery ) );

View File

@@ -20,7 +20,6 @@
['ф', 'ӝ'],
['Ф', 'Ӝ']
],
patterns_x: [
['ё', 'ӧ'],
['Ё', 'Ӧ'],
@@ -36,5 +35,6 @@
['Ф', 'Ф']
]
};
$.ime.register( udmAlt );
}( jQuery ) );

View File

@@ -74,5 +74,6 @@
['\\_', '\u2014']
]
};
$.ime.register( ugKbd );
}( jQuery ) );

View File

@@ -46,7 +46,7 @@
['u', 'ء'],
['I', 'ٰ'],
['i', 'ی'],
['O', 'ۃ'], // Teh marbuta goal
/* Teh marbuta goal */ ['O', 'ۃ'],
['o', 'ہ'],
['P', 'ُ'],
['p', 'پ'],

View File

@@ -29,7 +29,7 @@
['i', 'ب'],
['I', 'ـ'],
['U', 'ۃ'],
['\\;', '؛'],
/* Arabic semicolon */ ['\\;', '؛'],
['\\:', ':'],
['p', 'ح'],
['P', 'خ'],
@@ -49,7 +49,7 @@
['y', 'پ'],
['Y', '\u0651\u00AD'],
['c', 'ے'],
['\\?','؟'],
/* Arabic question mark */ ['\\?','؟'],
['j', 'ا'],
['n', 'غ'],
['N', 'ئ'],
@@ -89,9 +89,10 @@
['\\%', '','٪'],
['\\^', '','^'],
['\\&', 'ۖ'],
['\\*', '٭'],
/* Arabic star */ ['\\*', '٭'],
['\\(', '('],
['\\)', ')']]
};
$.ime.register( urTransliteration );
}( jQuery ) );