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

	var fiTransliteration = {
		id: 'fi-transliteration',
		name: 'translitterointi',
		description: 'Finnish transliteration',
		date: '2012-11-10',
		URL: 'http://github.com/wikimedia/jquery.ime',
		author: 'Niklas Laxström',
		license: 'GPLv3',
		version: '1.0',
		contextLength: 0,
		maxKeyLength: 2,
		patterns: [
			['\\.a', 'å'],
			['\\.A', 'Å'],
			[':a', 'ä'],
			[':A', 'Ä'],
			[':o', 'ö'],
			[':O', 'Ö'],
			['shh', 'š'],
			['Shh', 'Š'],
			['\\.e', '']
		],
		patterns_x: [
			['e', '']
		]
	};

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