wikimedia/mediawiki-extensions-UniversalLanguageSelector

View on GitHub
lib/jquery.ime/rules/gaa/gaa-cqx.js

Summary

Maintainability
A
55 mins
Test Coverage
( function ( $ ) {
    'use strict';

    var defs = {
        id: 'gaa-cqx',
        name: 'Ga - CQX replacement',
        description: 'Ga input method with C, Q and X replaced by Ŋ, Ɛ and Ɔ',
        date: '2016-06-23',
        URL: 'https://www.kasahorow.org/node/260',
        author: 'Amir E. Aharoni, based on Kasahorow Akan',
        license: 'GPLv3',
        version: '1.1',
        contextLength: 1,
        maxKeyLength: 1,
        patterns: [
            [ '\\\\C', 'C' ],
            [ '\\\\c', 'c' ],
            [ '\\\\Q', 'Q' ],
            [ '\\\\q', 'q' ],
            [ '\\\\X', 'X' ],
            [ '\\\\x', 'x' ],
            [ 'C', 'Ŋ' ],
            [ 'c', 'ŋ' ],
            [ 'Q', 'Ɛ' ],
            [ 'q', 'ɛ' ],
            [ 'X', 'Ɔ' ],
            [ 'x', 'ɔ' ]
        ]
    };

    $.ime.register( defs );
}( jQuery ) );