Merge "Update jquery.ime to 7572e2"

This commit is contained in:
jenkins-bot
2016-04-12 06:43:19 +00:00
committed by Gerrit Code Review
134 changed files with 11484 additions and 11473 deletions

View File

@@ -1,4 +1,4 @@
/*! jquery.ime - v0.1.0+20160325 /*! jquery.ime - v0.1.0+20160412
* https://github.com/wikimedia/jquery.ime * https://github.com/wikimedia/jquery.ime
* Copyright (c) 2016 Santhosh Thottingal; Licensed GPL, MIT */ * Copyright (c) 2016 Santhosh Thottingal; Licensed GPL, MIT */
( function ( $ ) { ( function ( $ ) {
@@ -36,14 +36,15 @@
/** /**
* IME Class * IME Class
* @class
* *
* @class
* @constructor * @constructor
* @param {HTMLElement} element Element on which to listen for events * @param {HTMLElement} element Element on which to listen for events
* @param {TextEntry} textEntry Text entry object to use to get/set text * @param {TextEntry} textEntry Text entry object to use to get/set text
* @param {Object} [options]
* @param {Function} [options.helpHandler] Called for each input method row in the selector * @param {Function} [options.helpHandler] Called for each input method row in the selector
* @param {Object} options.helpHandler.imeSelector * @param {Object} [options.helpHandler.imeSelector]
* @param {String} options.helpHandler.ime Id of the input method * @param {string} [options.helpHandler.ime] Id of the input method
*/ */
function IME( element, textEntry, options ) { function IME( element, textEntry, options ) {
this.$element = $( element ); this.$element = $( element );
@@ -145,9 +146,9 @@
* @param {string} input * @param {string} input
* @param {string} context * @param {string} context
* @param {boolean} altGr whether altGr key is pressed or not * @param {boolean} altGr whether altGr key is pressed or not
* @returns {object} transliteration object * @return {Object} Transliteration object
* @returns {bool} return.noop Whether to consider input processed or passed through. * @return {boolean} return.noop Whether to consider input processed or passed through.
* @returns {string} return.output the transliterated input or input unmodified. * @return {string} return.output The transliterated input or input unmodified.
*/ */
transliterate: function ( input, context, altGr ) { transliterate: function ( input, context, altGr ) {
var patterns, regex, rule, replacement, i, retval; var patterns, regex, rule, replacement, i, retval;
@@ -218,8 +219,9 @@
/** /**
* Keypress handler * Keypress handler
*
* @param {jQuery.Event} e Event * @param {jQuery.Event} e Event
* @returns {Boolean} * @return {boolean}
*/ */
keypress: function ( e ) { keypress: function ( e ) {
var altGr = false, var altGr = false,
@@ -289,7 +291,8 @@
/** /**
* Check whether the input method is active or not * Check whether the input method is active or not
* @returns {Boolean} *
* @return {boolean}
*/ */
isActive: function () { isActive: function () {
return this.active; return this.active;
@@ -327,7 +330,8 @@
/** /**
* Get the current input method * Get the current input method
* @returns {string} Current input method id *
* @return {string} Current input method id
*/ */
getIM: function () { getIM: function () {
return this.inputmethod; return this.inputmethod;
@@ -335,6 +339,7 @@
/** /**
* Set the current input method * Set the current input method
*
* @param {string} inputmethodId * @param {string} inputmethodId
* @fires imeLanguageChange * @fires imeLanguageChange
*/ */
@@ -346,9 +351,10 @@
/** /**
* Set the current Language * Set the current Language
*
* @param {string} languageCode * @param {string} languageCode
* @fires imeLanguageChange * @fires imeLanguageChange
* @returns {Boolean} * @return {boolean}
*/ */
setLanguage: function ( languageCode ) { setLanguage: function ( languageCode ) {
if ( !$.ime.languages[ languageCode ] ) { if ( !$.ime.languages[ languageCode ] ) {
@@ -365,7 +371,8 @@
/** /**
* Get current language * Get current language
* @returns {string} *
* @return {string}
*/ */
getLanguage: function () { getLanguage: function () {
return this.language; return this.language;
@@ -373,6 +380,7 @@
/** /**
* load an input method by given id * load an input method by given id
*
* @param {string} inputmethodId * @param {string} inputmethodId
* @return {jQuery.Promise} * @return {jQuery.Promise}
*/ */
@@ -383,8 +391,8 @@
/** /**
* TextEntry factory * TextEntry factory
* @class
* *
* @class
* @constructor * @constructor
*/ */
TextEntryFactory = function IMETextEntryFactory() { TextEntryFactory = function IMETextEntryFactory() {
@@ -400,7 +408,7 @@
/** /**
* Register a TextEntry class, with priority over previous registrations * Register a TextEntry class, with priority over previous registrations
* *
* @param {TextEntry} Class to register * @param {TextEntry} TextEntryClass Class to register
*/ */
TextEntryFactory.prototype.register = function ( TextEntryClass ) { TextEntryFactory.prototype.register = function ( TextEntryClass ) {
this.TextEntryClasses.unshift( TextEntryClass ); this.TextEntryClasses.unshift( TextEntryClass );
@@ -429,8 +437,8 @@
/** /**
* Generic text entry * Generic text entry
* @class
* *
* @class
* @abstract * @abstract
*/ */
TextEntry = function IMETextEntry() { TextEntry = function IMETextEntry() {
@@ -460,7 +468,7 @@
* This SHOULD return the empty string for non-collapsed selections. * This SHOULD return the empty string for non-collapsed selections.
* *
* @param {number} maxLength Maximum number of chars (code units) to return * @param {number} maxLength Maximum number of chars (code units) to return
* @return {String} Up to maxLength of text * @return {string} Up to maxLength of text
*/ */
TextEntry.prototype.getTextBeforeSelection = null; TextEntry.prototype.getTextBeforeSelection = null;
@@ -468,14 +476,14 @@
* Replace the currently selected text and/or text before the selection * Replace the currently selected text and/or text before the selection
* *
* @param {number} precedingCharCount Number of chars before selection to replace * @param {number} precedingCharCount Number of chars before selection to replace
* @param {String} newText Replacement text * @param {string} newText Replacement text
*/ */
TextEntry.prototype.replaceTextAtSelection = null; TextEntry.prototype.replaceTextAtSelection = null;
/** /**
* TextEntry class for input/textarea widgets * TextEntry class for input/textarea widgets
* @class
* *
* @class
* @constructor * @constructor
* @param {jQuery} $element The element to wrap * @param {jQuery} $element The element to wrap
*/ */
@@ -567,9 +575,9 @@
/** /**
* Get the current selection offsets inside the widget * Get the current selection offsets inside the widget
* *
* @return {Object} Offsets in chars (0 means first offset *or* no selection in widget) * @return {Object} return Offsets in chars (0 means first offset *or* no selection in widget)
* @return.start {number} Selection start * @return {number} return.start Selection start
* @return.end {number} Selection end * @return {number} return.end Selection end
*/ */
FormWidgetEntry.prototype.getCaretPosition = function () { FormWidgetEntry.prototype.getCaretPosition = function () {
var el = this.$element.get( 0 ), var el = this.$element.get( 0 ),
@@ -628,8 +636,8 @@
/** /**
* TextEntry class for ContentEditable * TextEntry class for ContentEditable
* @class
* *
* @class
* @constructor * @constructor
* @param {jQuery} $element The element to wrap * @param {jQuery} $element The element to wrap
*/ */
@@ -748,6 +756,7 @@
/** /**
* jQuery plugin ime * jQuery plugin ime
*
* @param {Object} option * @param {Object} option
*/ */
$.fn.ime = function ( option ) { $.fn.ime = function ( option ) {
@@ -793,6 +802,7 @@
/** /**
* load an input method by given id * load an input method by given id
*
* @param {string} inputmethodId * @param {string} inputmethodId
* @return {jQuery.Promise} * @return {jQuery.Promise}
*/ */
@@ -936,8 +946,8 @@
this.timer = setTimeout( this.timer = setTimeout(
function () { function () {
imeselector.$imeSetting.animate( { imeselector.$imeSetting.animate( {
'opacity': 0, opacity: 0,
'marginTop': '-20px' marginTop: '-20px'
}, 500, function () { }, 500, function () {
imeselector.$imeSetting.hide(); imeselector.$imeSetting.hide();
// Restore properties for the next time it becomes visible: // Restore properties for the next time it becomes visible:
@@ -1440,6 +1450,7 @@
/** /**
* Create a help link element. * Create a help link element.
*
* @return {jQuery} * @return {jQuery}
*/ */
helpLink: function () { helpLink: function () {
@@ -1447,8 +1458,8 @@
.append( $( '<a>' ).text( 'Help' ) .append( $( '<a>' ).text( 'Help' )
.addClass( 'selectable-row-item' ) .addClass( 'selectable-row-item' )
.attr( { .attr( {
'href': 'http://github.com/wikimedia/jquery.ime', href: 'http://github.com/wikimedia/jquery.ime',
'target': '_blank', target: '_blank',
'data-i18n': 'jquery-ime-help' 'data-i18n': 'jquery-ime-help'
} ) } )
); );
@@ -1523,7 +1534,7 @@
* Check whether a keypress event corresponds to the shortcut key * Check whether a keypress event corresponds to the shortcut key
* *
* @param {event} event * @param {event} event
* @return {bool} true if the key is a shortcut key * @return {boolean} true if the key is a shortcut key
*/ */
function isShortcutKey( event ) { function isShortcutKey( event ) {
// 77 - The letter M, for Ctrl-M // 77 - The letter M, for Ctrl-M
@@ -1553,9 +1564,9 @@
} }
$.fn.attrchange = function ( callback ) { $.fn.attrchange = function ( callback ) {
if ( MutationObserver ) {
var observer; var observer;
if ( MutationObserver ) {
observer = new MutationObserver( function ( mutations ) { observer = new MutationObserver( function ( mutations ) {
mutations.forEach( function ( e ) { mutations.forEach( function ( e ) {
callback.call( e.target, e.attributeName ); callback.call( e.target, e.attributeName );
@@ -1590,7 +1601,7 @@
previousLanguages: [], // array of previous languages previousLanguages: [], // array of previous languages
previousInputMethods: [], // array of previous inputmethods previousInputMethods: [], // array of previous inputmethods
imes: { imes: {
'en': 'system' en: 'system'
} }
}, },
@@ -2054,7 +2065,7 @@
name: 'لۊری شومالی', name: 'لۊری شومالی',
source: 'rules/lrc/lrc-kbd.js' source: 'rules/lrc/lrc-kbd.js'
}, },
'mh': { mh: {
name: 'Kajin M̧ajeļ', name: 'Kajin M̧ajeļ',
source: 'rules/mh/mh.js' source: 'rules/mh/mh.js'
}, },
@@ -2292,39 +2303,39 @@
} ); } );
$.extend( $.ime.languages, { $.extend( $.ime.languages, {
'ady': { ady: {
autonym: 'адыгэбзэ', autonym: 'адыгэбзэ',
inputmethods: [ 'cyrl-palochka' ] inputmethods: [ 'cyrl-palochka' ]
}, },
'ahr': { ahr: {
autonym: 'अहिराणी', autonym: 'अहिराणी',
inputmethods: [ 'mr-transliteration', 'mr-inscript' ] inputmethods: [ 'mr-transliteration', 'mr-inscript' ]
}, },
'am': { am: {
autonym: 'አማርኛ', autonym: 'አማርኛ',
inputmethods: [ 'am-transliteration' ] inputmethods: [ 'am-transliteration' ]
}, },
'ar': { ar: {
autonym: 'العربية', autonym: 'العربية',
inputmethods: [ 'ar-kbd' ] inputmethods: [ 'ar-kbd' ]
}, },
'as': { as: {
autonym: 'অসমীয়া', autonym: 'অসমীয়া',
inputmethods: [ 'as-transliteration', 'as-avro', 'as-bornona', 'as-inscript', 'as-phonetic', 'as-inscript2', 'as-rodali' ] inputmethods: [ 'as-transliteration', 'as-avro', 'as-bornona', 'as-inscript', 'as-phonetic', 'as-inscript2', 'as-rodali' ]
}, },
'av': { av: {
autonym: 'авар', autonym: 'авар',
inputmethods: [ 'cyrl-palochka' ] inputmethods: [ 'cyrl-palochka' ]
}, },
'azb': { azb: {
autonym: 'تۆرکجه', autonym: 'تۆرکجه',
inputmethods: [ 'azb-kbd' ] inputmethods: [ 'azb-kbd' ]
}, },
'bbc': { bbc: {
autonym: 'Batak', autonym: 'Batak',
inputmethods: [ 'batak-qwerty' ] inputmethods: [ 'batak-qwerty' ]
}, },
'be': { be: {
autonym: 'беларуская', autonym: 'беларуская',
inputmethods: [ 'be-transliteration', 'be-latin', 'be-kbd' ] inputmethods: [ 'be-transliteration', 'be-latin', 'be-kbd' ]
}, },
@@ -2332,203 +2343,203 @@
autonym: 'беларуская (тарашкевіца)', autonym: 'беларуская (тарашкевіца)',
inputmethods: [ 'be-transliteration', 'be-latin' ] inputmethods: [ 'be-transliteration', 'be-latin' ]
}, },
'bh': { bh: {
autonym: 'भोजपुरी', autonym: 'भोजपुरी',
inputmethods: [ 'hi-transliteration' ] inputmethods: [ 'hi-transliteration' ]
}, },
'bgn': { bgn: {
autonym: 'روچ کپتین بلوچی', autonym: 'روچ کپتین بلوچی',
inputmethods: [ 'bgn-kbd' ] inputmethods: [ 'bgn-kbd' ]
}, },
'bho': { bho: {
autonym: 'भोजपुरी', autonym: 'भोजपुरी',
inputmethods: [ 'hi-transliteration' ] inputmethods: [ 'hi-transliteration' ]
}, },
'bn': { bn: {
autonym: 'বাংলা', autonym: 'বাংলা',
inputmethods: [ 'bn-avro', 'bn-inscript', 'bn-nkb', 'bn-probhat', 'bn-inscript2' ] inputmethods: [ 'bn-avro', 'bn-inscript', 'bn-nkb', 'bn-probhat', 'bn-inscript2' ]
}, },
'bo': { bo: {
autonym: 'བོད་ཡིག།', autonym: 'བོད་ཡིག།',
inputmethods: [ 'bo-ewts' ] inputmethods: [ 'bo-ewts' ]
}, },
'brx': { brx: {
autonym: 'बोड़ो', autonym: 'बोड़ो',
inputmethods: [ 'brx-inscript', 'brx-inscript2' ] inputmethods: [ 'brx-inscript', 'brx-inscript2' ]
}, },
'ckb': { ckb: {
autonym: 'کوردیی ناوەندی', autonym: 'کوردیی ناوەندی',
inputmethods: [ 'ckb-transliteration-arkbd', 'ckb-transliteration-fakbd', 'ckb-transliteration-lakbd' ] inputmethods: [ 'ckb-transliteration-arkbd', 'ckb-transliteration-fakbd', 'ckb-transliteration-lakbd' ]
}, },
'ce': { ce: {
autonym: 'нохчийн', autonym: 'нохчийн',
inputmethods: [ 'cyrl-palochka' ] inputmethods: [ 'cyrl-palochka' ]
}, },
'cv': { cv: {
autonym: 'Чăвашла', autonym: 'Чăвашла',
inputmethods: [ 'cv-cyr-altgr', 'cv-lat-altgr', 'cv-cyr-numbers' ] inputmethods: [ 'cv-cyr-altgr', 'cv-lat-altgr', 'cv-cyr-numbers' ]
}, },
'da': { da: {
autonym: 'Dansk', autonym: 'Dansk',
inputmethods: [ 'da-normforms' ] inputmethods: [ 'da-normforms' ]
}, },
'de': { de: {
autonym: 'Deutsch', autonym: 'Deutsch',
inputmethods: [ 'de-transliteration' ] inputmethods: [ 'de-transliteration' ]
}, },
'diq': { diq: {
autonym: 'Kirdkî', autonym: 'Kirdkî',
inputmethods: [ 'ku-h', 'ku-tr' ] inputmethods: [ 'ku-h', 'ku-tr' ]
}, },
'doi': { doi: {
autonym: 'डोगरी', autonym: 'डोगरी',
inputmethods: [ 'doi-inscript2' ] inputmethods: [ 'doi-inscript2' ]
}, },
'en': { en: {
autonym: 'English', autonym: 'English',
inputmethods: [ 'ipa-sil', 'ipa-x-sampa' ] inputmethods: [ 'ipa-sil', 'ipa-x-sampa' ]
}, },
'el': { el: {
autonym: 'Ελληνικά', autonym: 'Ελληνικά',
inputmethods: [ 'el-kbd' ] inputmethods: [ 'el-kbd' ]
}, },
'eo': { eo: {
autonym: 'Esperanto', autonym: 'Esperanto',
inputmethods: [ 'eo-transliteration', 'eo-h', 'eo-h-f', 'eo-plena', 'eo-q', 'eo-vi', 'eo-x' ] inputmethods: [ 'eo-transliteration', 'eo-h', 'eo-h-f', 'eo-plena', 'eo-q', 'eo-vi', 'eo-x' ]
}, },
'fa': { fa: {
autonym: 'فارسی', autonym: 'فارسی',
inputmethods: [ 'fa-kbd' ] inputmethods: [ 'fa-kbd' ]
}, },
'fo': { fo: {
autonym: 'Føroyskt', autonym: 'Føroyskt',
inputmethods: [ 'fo-normforms' ] inputmethods: [ 'fo-normforms' ]
}, },
'fi': { fi: {
autonym: 'Suomi', autonym: 'Suomi',
inputmethods: [ 'fi-transliteration' ] inputmethods: [ 'fi-transliteration' ]
}, },
'lrc': { lrc: {
autonym: 'لۊری شومالی', autonym: 'لۊری شومالی',
inputmethods: [ 'lrc-kbd' ] inputmethods: [ 'lrc-kbd' ]
}, },
'lud': { lud: {
autonym: 'lüüdi', autonym: 'lüüdi',
inputmethods: [ 'lud-transliteration' ] inputmethods: [ 'lud-transliteration' ]
}, },
'gom': { gom: {
autonym: 'गोवा कोंकणी / Gova Konknni', autonym: 'गोवा कोंकणी / Gova Konknni',
inputmethods: [ 'hi-transliteration', 'hi-inscript', 'gom-inscript2' ] inputmethods: [ 'hi-transliteration', 'hi-inscript', 'gom-inscript2' ]
}, },
'gu': { gu: {
autonym: 'ગુજરાતી', autonym: 'ગુજરાતી',
inputmethods: [ 'gu-transliteration', 'gu-inscript', 'gu-inscript2', 'gu-phonetic' ] inputmethods: [ 'gu-transliteration', 'gu-inscript', 'gu-inscript2', 'gu-phonetic' ]
}, },
'he': { he: {
autonym: 'עברית', autonym: 'עברית',
inputmethods: [ 'he-standard-2012-extonly', 'he-standard-2012' ] inputmethods: [ 'he-standard-2012-extonly', 'he-standard-2012' ]
}, },
'hi': { hi: {
autonym: 'हिन्दी', autonym: 'हिन्दी',
inputmethods: [ 'hi-transliteration', 'hi-inscript', 'hi-bolnagri', 'hi-phonetic', 'hi-inscript2' ] inputmethods: [ 'hi-transliteration', 'hi-inscript', 'hi-bolnagri', 'hi-phonetic', 'hi-inscript2' ]
}, },
'hr': { hr: {
autonym: 'Hrvatski', autonym: 'Hrvatski',
inputmethods: [ 'hr-kbd' ] inputmethods: [ 'hr-kbd' ]
}, },
'hy': { hy: {
autonym: 'հայերեն', autonym: 'հայերեն',
inputmethods: [ 'hy-ephonetic', 'hy-typewriter', 'hy-ephoneticalt', 'hy-emslegacy', 'hy-wmslegacy' ] inputmethods: [ 'hy-ephonetic', 'hy-typewriter', 'hy-ephoneticalt', 'hy-emslegacy', 'hy-wmslegacy' ]
}, },
'hne': { hne: {
autonym: 'छत्तीसगढ़ी', autonym: 'छत्तीसगढ़ी',
inputmethods: [ 'hi-transliteration' ] inputmethods: [ 'hi-transliteration' ]
}, },
'is': { is: {
autonym: 'Íslenska', autonym: 'Íslenska',
inputmethods: [ 'is-normforms' ] inputmethods: [ 'is-normforms' ]
}, },
'fonipa': { fonipa: {
autonym: 'International Phonetic Alphabet', autonym: 'International Phonetic Alphabet',
inputmethods: [ 'ipa-sil', 'ipa-x-sampa' ] inputmethods: [ 'ipa-sil', 'ipa-x-sampa' ]
}, },
'jv': { jv: {
autonym: 'ꦧꦱꦗꦮ', autonym: 'ꦧꦱꦗꦮ',
inputmethods: [ 'jv-transliteration' ] inputmethods: [ 'jv-transliteration' ]
}, },
'ka': { ka: {
autonym: 'ქართული ენა', autonym: 'ქართული ენა',
inputmethods: [ 'ka-transliteration', 'ka-kbd' ] inputmethods: [ 'ka-transliteration', 'ka-kbd' ]
}, },
'kbd': { kbd: {
autonym: 'адыгэбзэ (къэбэрдеибзэ)', autonym: 'адыгэбзэ (къэбэрдеибзэ)',
inputmethods: [ 'cyrl-palochka' ] inputmethods: [ 'cyrl-palochka' ]
}, },
'kk': { kk: {
autonym: 'Қазақша', autonym: 'Қазақша',
inputmethods: [ 'kk-kbd', 'kk-arabic' ] inputmethods: [ 'kk-kbd', 'kk-arabic' ]
}, },
'kn': { kn: {
autonym: 'ಕನ್ನಡ', autonym: 'ಕನ್ನಡ',
inputmethods: [ 'kn-transliteration', 'kn-inscript', 'kn-kgp', 'kn-inscript2' ] inputmethods: [ 'kn-transliteration', 'kn-inscript', 'kn-kgp', 'kn-inscript2' ]
}, },
'ks': { ks: {
autonym: 'कॉशुर / کٲشُر', autonym: 'कॉशुर / کٲشُر',
inputmethods: [ 'ks-inscript', 'ks-kbd' ] inputmethods: [ 'ks-inscript', 'ks-kbd' ]
}, },
'ky': { ky: {
autonym: 'Кыргыз', autonym: 'Кыргыз',
inputmethods: [ 'ky-cyrl-alt' ] inputmethods: [ 'ky-cyrl-alt' ]
}, },
'kab': { kab: {
autonym: 'ⵜⴰⵇⴱⴰⵢⵍⵉⵜ', autonym: 'ⵜⴰⵇⴱⴰⵢⵍⵉⵜ',
inputmethods: [ 'ber-tfng' ] inputmethods: [ 'ber-tfng' ]
}, },
'ku': { ku: {
autonym: 'Kurdî', autonym: 'Kurdî',
inputmethods: [ 'ku-h', 'ku-tr' ] inputmethods: [ 'ku-h', 'ku-tr' ]
}, },
'lbe': { lbe: {
autonym: 'лакку', autonym: 'лакку',
inputmethods: [ 'cyrl-palochka' ] inputmethods: [ 'cyrl-palochka' ]
}, },
'lez': { lez: {
autonym: 'лезги', autonym: 'лезги',
inputmethods: [ 'cyrl-palochka' ] inputmethods: [ 'cyrl-palochka' ]
}, },
'lo': { lo: {
autonym: 'ລາວ', autonym: 'ລາວ',
inputmethods: [ 'lo-kbd' ] inputmethods: [ 'lo-kbd' ]
}, },
'mai': { mai: {
autonym: 'मैथिली', autonym: 'मैथिली',
inputmethods: [ 'mai-inscript', 'mai-inscript2' ] inputmethods: [ 'mai-inscript', 'mai-inscript2' ]
}, },
'mh': { mh: {
autonym: 'Kajin M̧ajeļ', autonym: 'Kajin M̧ajeļ',
inputmethods: [ 'mh' ] inputmethods: [ 'mh' ]
}, },
'ml': { ml: {
autonym: 'മലയാളം', autonym: 'മലയാളം',
inputmethods: [ 'ml-transliteration', 'ml-inscript', 'ml-inscript2' ] inputmethods: [ 'ml-transliteration', 'ml-inscript', 'ml-inscript2' ]
}, },
'mn': { mn: {
autonym: 'Монгол', autonym: 'Монгол',
inputmethods: [ 'mn-cyrl' ] inputmethods: [ 'mn-cyrl' ]
}, },
'mni': { mni: {
autonym: 'Manipuri', autonym: 'Manipuri',
inputmethods: [ 'mni-inscript2' ] inputmethods: [ 'mni-inscript2' ]
}, },
'mr': { mr: {
autonym: 'मराठी', autonym: 'मराठी',
inputmethods: [ 'mr-transliteration', 'mr-inscript2', 'mr-inscript', 'mr-phonetic' ] inputmethods: [ 'mr-transliteration', 'mr-inscript2', 'mr-inscript', 'mr-phonetic' ]
}, },
'my': { my: {
autonym: 'မြန်မာ', autonym: 'မြန်မာ',
inputmethods: [ 'my-xkb' ] inputmethods: [ 'my-xkb' ]
}, },
'ne': { ne: {
autonym: 'नेपाली', autonym: 'नेपाली',
inputmethods: [ 'ne-transliteration', 'ne-inscript2', 'ne-inscript', 'ne-rom', 'ne-trad' ] inputmethods: [ 'ne-transliteration', 'ne-inscript2', 'ne-inscript', 'ne-rom', 'ne-trad' ]
}, },
@@ -2536,123 +2547,123 @@
autonym: 'नेपाल भाषा', autonym: 'नेपाल भाषा',
inputmethods: [ 'hi-transliteration', 'hi-inscript' ] inputmethods: [ 'hi-transliteration', 'hi-inscript' ]
}, },
'nb': { nb: {
autonym: 'Norsk (bokmål)', autonym: 'Norsk (bokmål)',
inputmethods: [ 'nb-normforms', 'nb-tildeforms' ] inputmethods: [ 'nb-normforms', 'nb-tildeforms' ]
}, },
'nn': { nn: {
autonym: 'Norsk (nynorsk)', autonym: 'Norsk (nynorsk)',
inputmethods: [ 'nb-normforms', 'nn-tildeforms' ] inputmethods: [ 'nb-normforms', 'nn-tildeforms' ]
}, },
'or': { or: {
autonym: 'ଓଡ଼ିଆ', autonym: 'ଓଡ଼ିଆ',
inputmethods: [ 'or-phonetic', 'or-transliteration', 'or-inscript', 'or-inscript2', 'or-lekhani', 'or-OdiScript' ] inputmethods: [ 'or-phonetic', 'or-transliteration', 'or-inscript', 'or-inscript2', 'or-lekhani', 'or-OdiScript' ]
}, },
'pa': { pa: {
autonym: 'ਪੰਜਾਬੀ', autonym: 'ਪੰਜਾਬੀ',
inputmethods: [ 'pa-transliteration', 'pa-inscript', 'pa-phonetic', 'pa-inscript2', 'pa-jhelum' ] inputmethods: [ 'pa-transliteration', 'pa-inscript', 'pa-phonetic', 'pa-inscript2', 'pa-jhelum' ]
}, },
'rif': { rif: {
autonym: 'ⵜⴰⵔⵉⴼⵉⵜ', autonym: 'ⵜⴰⵔⵉⴼⵉⵜ',
inputmethods: [ 'ber-tfng' ] inputmethods: [ 'ber-tfng' ]
}, },
'ru': { ru: {
autonym: 'русский', autonym: 'русский',
inputmethods: [ 'ru-jcuken', 'ru-kbd', 'ru-phonetic', 'ru-yawerty' ] inputmethods: [ 'ru-jcuken', 'ru-kbd', 'ru-phonetic', 'ru-yawerty' ]
}, },
'sah': { sah: {
autonym: 'саха тыла', autonym: 'саха тыла',
inputmethods: [ 'sah-transliteration' ] inputmethods: [ 'sah-transliteration' ]
}, },
'sa': { sa: {
autonym: 'संस्कृत', autonym: 'संस्कृत',
inputmethods: [ 'sa-transliteration', 'sa-inscript2', 'sa-inscript', 'sa-iast' ] inputmethods: [ 'sa-transliteration', 'sa-inscript2', 'sa-inscript', 'sa-iast' ]
}, },
'sat': { sat: {
autonym: 'संताली', autonym: 'संताली',
inputmethods: [ 'sat-inscript2' ] inputmethods: [ 'sat-inscript2' ]
}, },
'sd': { sd: {
autonym: 'सिंधी', autonym: 'सिंधी',
inputmethods: [ 'sd-inscript2' ] inputmethods: [ 'sd-inscript2' ]
}, },
'sdh': { sdh: {
autonym: 'کوردی خوارگ', autonym: 'کوردی خوارگ',
inputmethods: [ 'sdh-kbd' ] inputmethods: [ 'sdh-kbd' ]
}, },
'se': { se: {
autonym: 'Davvisámegiella', autonym: 'Davvisámegiella',
inputmethods: [ 'se-normforms' ] inputmethods: [ 'se-normforms' ]
}, },
'shi': { shi: {
autonym: 'ⵜⴰⵛⵍⵃⵉⵜ', autonym: 'ⵜⴰⵛⵍⵃⵉⵜ',
inputmethods: [ 'ber-tfng' ] inputmethods: [ 'ber-tfng' ]
}, },
'si': { si: {
autonym: 'සිංහල', autonym: 'සිංහල',
inputmethods: [ 'si-singlish', 'si-wijesekara' ] inputmethods: [ 'si-singlish', 'si-wijesekara' ]
}, },
'sk': { sk: {
autonym: 'Slovenčina', autonym: 'Slovenčina',
inputmethods: [ 'sk-kbd' ] inputmethods: [ 'sk-kbd' ]
}, },
'sr': { sr: {
autonym: 'Српски / srpski', autonym: 'Српски / srpski',
inputmethods: [ 'sr-kbd' ] inputmethods: [ 'sr-kbd' ]
}, },
'sv': { sv: {
autonym: 'Svenska', autonym: 'Svenska',
inputmethods: [ 'sv-normforms' ] inputmethods: [ 'sv-normforms' ]
}, },
'ta': { ta: {
autonym: 'தமிழ்', autonym: 'தமிழ்',
inputmethods: [ 'ta-transliteration', 'ta-99', 'ta-inscript', 'ta-bamini', 'ta-inscript2' ] inputmethods: [ 'ta-transliteration', 'ta-99', 'ta-inscript', 'ta-bamini', 'ta-inscript2' ]
}, },
'tcy': { tcy: {
autonym: 'ತುಳು', autonym: 'ತುಳು',
inputmethods: [ 'kn-transliteration' ] inputmethods: [ 'kn-transliteration' ]
}, },
'te': { te: {
autonym: 'తెలుగు', autonym: 'తెలుగు',
inputmethods: [ 'te-transliteration', 'te-inscript', 'te-inscript2', 'te-apple', 'te-modular' ] inputmethods: [ 'te-transliteration', 'te-inscript', 'te-inscript2', 'te-apple', 'te-modular' ]
}, },
'th': { th: {
autonym: 'ไทย', autonym: 'ไทย',
inputmethods: [ 'th-kedmanee', 'th-pattachote' ] inputmethods: [ 'th-kedmanee', 'th-pattachote' ]
}, },
'tkr': { tkr: {
autonym: 'цӀаӀхна миз', autonym: 'цӀаӀхна миз',
inputmethods: [ 'cyrl-palochka' ] inputmethods: [ 'cyrl-palochka' ]
}, },
'tzm': { tzm: {
autonym: 'ⵜⴰⵎⴰⵣⵉⵖⵜ', autonym: 'ⵜⴰⵎⴰⵣⵉⵖⵜ',
inputmethods: [ 'ber-tfng' ] inputmethods: [ 'ber-tfng' ]
}, },
'udm': { udm: {
autonym: 'удмурт', autonym: 'удмурт',
inputmethods: [ 'udm-alt' ] inputmethods: [ 'udm-alt' ]
}, },
'uk': { uk: {
autonym: 'Українська', autonym: 'Українська',
inputmethods: [ 'uk-kbd' ] inputmethods: [ 'uk-kbd' ]
}, },
'ug': { ug: {
autonym: 'ئۇيغۇرچە / Uyghurche', autonym: 'ئۇيغۇرچە / Uyghurche',
inputmethods: [ 'ug-kbd' ] inputmethods: [ 'ug-kbd' ]
}, },
'ur': { ur: {
autonym: 'اردو', autonym: 'اردو',
inputmethods: [ 'ur-transliteration', 'ur-phonetic' ] inputmethods: [ 'ur-transliteration', 'ur-phonetic' ]
}, },
'uz': { uz: {
autonym: 'Oʻzbekcha', autonym: 'Oʻzbekcha',
inputmethods: [ 'uz-kbd' ] inputmethods: [ 'uz-kbd' ]
}, },
'vec': { vec: {
autonym: 'Venetian', autonym: 'Venetian',
inputmethods: [ 'vec-GVU' ] inputmethods: [ 'vec-GVU' ]
}, },
'yo': { yo: {
autonym: 'Yorùbá', autonym: 'Yorùbá',
inputmethods: [ 'yo-alt' ] inputmethods: [ 'yo-alt' ]
} }

View File

@@ -2,7 +2,8 @@
'use strict'; 'use strict';
function prepareRules() { function prepareRules() {
var rules = [], chars; var rules = [],
chars;
chars = { chars = {
C: 'Ĉ', C: 'Ĉ',

View File

@@ -10,7 +10,7 @@
author: 'Amir E. Aharoni (אָמִיר אֱלִישָׁע אַהֲרוֹנִי, [[User:Amire80]])', author: 'Amir E. Aharoni (אָמִיר אֱלִישָׁע אַהֲרוֹנִי, [[User:Amire80]])',
license: 'GPLv3', license: 'GPLv3',
version: '1.0', version: '1.0',
patterns: [], //// Empty, because the assumption is that the user is using a Hebrew keyboard already patterns: [], // Empty, because the assumption is that the user is using a Hebrew keyboard already
patterns_x: [ patterns_x: [
[ '\u05E9', 'ְ' ], // Sheva, ש [ '\u05E9', 'ְ' ], // Sheva, ש

View File

@@ -107,8 +107,7 @@
[ 'z', 'ଭ' ], [ 'z', 'ଭ' ],
[ 'Z', 'ଙ' ], [ 'Z', 'ଙ' ],
[ '`', '।' ], [ '`', '।' ],
['~', ''], [ '~', '' ]
] ]
}; };