ku-h.js 1002 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 41 42 43 44 45 46 47
( function ( $ ) {
	'use strict';

	var kuH = {
		id: 'ku-h',
		name: 'Kurdî-h',
		description: 'writing Kurdish-letters adding h\'s',
		date: '2013-06-26',
		URL: 'http://github.com/wikimedia/jquery.ime',
		author: 'Ghybu',
		license: 'GPLv3',
		version: '1.0',
		contextLength: 1,
		patterns: [
			['çh', 'h', 'ch'],
			['şh', 'h', 'sh'],
			['ḧh', 'h', 'hh'],
			['ẍh', 'h', 'xh'],
			['êe', 'e', 'ee'],
			['îi', 'i', 'ii'],
			['ûu', 'u', 'uu'],
			['Ç(H|h)', '(H|h)', 'C$1'],
			['Ş(H|h)', '(H|h)', 'S$1'],
			['Ḧ(H|h)', '(H|h)', 'H$1'],
			['Ẍ(H|h)', '(H|h)', 'X$1'],
			['Ê(E|e)', '(E|e)', 'E$1'],
			['Î(I|i)', '(I|i)', 'I$1'],
			['Û(U|u)', '(U|u)', 'U$1'],

			['ch', 'ç'],
			['sh', 'ş'],
			['hh', ''],
			['xh', ''],
			['ee', 'ê'],
			['ii', 'î'],
			['uu', 'û'],
			['C(H|h)', 'Ç'],
			['S(H|h)', 'Ş'],
			['H(H|h)', ''],
			['X(H|h)', ''],
			['E(E|e)', 'Ê'],
			['I(I|i)', 'Î'],
			['U(U|u)', 'Û']]
	};

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