lud-transliteration.js 538 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
( function ( $ ) {
	'use strict';

	var mapping = {
		id: 'lud-transliteration',
		name: 'lud',
		description: 'Ludic transliteration',
		date: '2014-06-14',
		URL: 'http://github.com/wikimedia/jquery.ime',
		author: 'Niklas Laxström',
		license: 'MIT',
		version: '1.0',
		contextLength: 0,
		maxKeyLength: 2,
		patterns: [
			['ch', 'č'],
			['C[hH]', 'Č'],
			['sh', 'š'],
			['S[hH]', 'Š'],
			['zh', 'ž'],
			['Z[hH]', 'Ž'],
			['y', 'ü'],
			['Y', 'Ü'],
			['\'', '']
		]
	};

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