udm-alt.js 723 Bytes
Newer Older
priyank's avatar
priyank committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
( function ( $ ) {
	'use strict';

	var udmAlt = {
		id: 'udm-alt',
		name: 'Удмурт ALT',
		description: 'Удмурт ALT',
		date: '2013-03-17',
		URL: 'http://github.com/wikimedia/jquery.ime',
		author: 'Amir (Алексей) Aharoni',
		license: 'GPLv3',
		version: '1.0',
		patterns: [
			['ц', 'ӵ'],
			['Ц', 'Ӵ'],
			['щ', 'ӥ'],
			['Щ', 'Ӥ'],
			['х', 'ӟ'],
			['Х', 'Ӟ'],
			['ф', 'ӝ'],
			['Ф', 'Ӝ']
		],
		patterns_x: [
			['ё', 'ӧ'],
			['Ё', 'Ӧ'],

			// Allow typing the Russian letters using Alt
			['ц', 'ц'],
			['Ц', 'Ц'],
			['щ', 'щ'],
			['Щ', 'Щ'],
			['х', 'х'],
			['Х', 'Х'],
			['ф', 'ф'],
			['Ф', 'Ф']
		]
	};

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