jquery.uls: * Localisation updates. * Change font-size unit from px to em See https://github.com/wikimedia/jquery.uls/pull/408 * Update language-data: See https://github.com/wikimedia/jquery.uls/pull/412 * Minor internal JS code cleanup for eslint. Updating tofe46a2f7cejquery.ime * In API calls, accept langCodes that have no input methods See https://github.com/wikimedia/jquery.ime/pull/460 * Add a layout for the General Alphabet of Cameroon Languages Updating toac21ea1b4aChange-Id: I2be4ee30f649f6a906e776c37afa0ebdf2dc454f
66 lines
1.5 KiB
JavaScript
66 lines
1.5 KiB
JavaScript
( function ( $ ) {
|
||
'use strict';
|
||
|
||
var mulCm = {
|
||
id: 'mul-cm',
|
||
name: 'mul-cm',
|
||
description: 'General Alphabet of Cameroon Languages tilde keyboard',
|
||
date: '2022-02-07',
|
||
URL: 'https://github.com/wikimedia/jquery.ime',
|
||
author: 'Amir E. Aharoni',
|
||
license: 'GPLv3',
|
||
version: '1.0',
|
||
maxKeyLength: 2,
|
||
patterns: [
|
||
[ '~A', 'Ɑ' ],
|
||
[ '~a', 'ɑ' ],
|
||
[ 'AE', 'Æ' ],
|
||
[ 'Ae', 'Æ' ],
|
||
[ 'ae', 'æ' ],
|
||
[ 'A~E', 'AE' ],
|
||
[ 'A~e', 'Ae' ],
|
||
[ 'a~e', 'ae' ],
|
||
[ 'OE', 'Œ' ],
|
||
[ 'Oe', 'Œ' ],
|
||
[ 'oe', 'œ' ],
|
||
[ 'O~E', 'OE' ],
|
||
[ 'O~e', 'Oe' ],
|
||
[ 'o~e', 'oe' ],
|
||
[ '~B', 'Ɓ' ],
|
||
[ '~b', 'ɓ' ],
|
||
[ '~c', 'ə' ],
|
||
[ '~C', 'Ə' ],
|
||
[ '~E', 'Ɛ' ],
|
||
[ '~e', 'ɛ' ],
|
||
[ '~D', 'Ɗ' ],
|
||
[ '~d', 'ɗ' ],
|
||
[ '~I', 'Ɨ' ],
|
||
[ '~i', 'ɨ' ],
|
||
[ '~N', 'Ŋ' ],
|
||
[ '~n', 'ŋ' ],
|
||
[ '~J', 'Ø' ],
|
||
[ '~j', 'ø' ],
|
||
[ '~O', 'Ɔ' ],
|
||
[ '~o', 'ɔ' ],
|
||
[ '~U', 'Ʉ' ],
|
||
[ '~u', 'ʉ' ],
|
||
[ '~X', 'ɤ' ], // There's no uppercase ɤ ("ram's horns") in Unicode
|
||
[ '~x', 'ɤ' ],
|
||
[ '~W', 'Ẅ' ],
|
||
[ '~w', 'ẅ' ],
|
||
[ '~Y', 'Ƴ' ],
|
||
[ '~y', 'ƴ' ],
|
||
[ '~\\\\', '\u0300' ], // Combining grave accent
|
||
[ '~/', '\u0301' ], // Combining acute accent
|
||
[ '~\\^', '\u0302' ], // Combining circumflex accent
|
||
[ '~-', '\u0304' ], // Combining macron
|
||
[ '~v', '\u030C' ], // Combining caron
|
||
[ '~\\|', '\u030D' ], // Combining vertical line above
|
||
[ '~\\.', '\u0323' ], // Combining dot below
|
||
[ '~,', '\u0327' ] // Combining cedilla
|
||
]
|
||
};
|
||
|
||
$.ime.register( mulCm );
|
||
}( jQuery ) );
|