Update jquery.ime from upstream
Version: v0.1.0+20130625 * Add sa-iast input method * Fix bug https://github.com/wikimedia/jquery.ime/issues/188 Bug: 49515 Change-Id: I8ebd5bc4857285eb29d0ec6741cc6953ac187722
This commit is contained in:
59
lib/jquery.ime/rules/sa/sa-iast.js
Normal file
59
lib/jquery.ime/rules/sa/sa-iast.js
Normal file
@@ -0,0 +1,59 @@
|
||||
( function ( $ ) {
|
||||
'use strict';
|
||||
|
||||
var saIast = {
|
||||
id: 'sa-iast',
|
||||
name: 'Romanized',
|
||||
description: 'Romanized input method for Sanskrit with IAST/ISO 15919 convention. Original author William Giddings <wjgiddings@googlemail.com>',
|
||||
date: '2013-03-18',
|
||||
URL: 'http://github.com/wikimedia/jquery.ime',
|
||||
author: 'Runa Bhattacharjee',
|
||||
license: 'GPLv3',
|
||||
version: '1.0',
|
||||
contextLength: 0,
|
||||
maxKeyLength: 2,
|
||||
patterns: [
|
||||
['aa', 'ā'],
|
||||
['AA', 'Ā'],
|
||||
['\\^a', 'â'],
|
||||
['\\^A', 'Â'],
|
||||
['ii', 'ī'],
|
||||
['II', 'Ī'],
|
||||
['uu', 'ū'],
|
||||
['UU', 'Ū'],
|
||||
['\\.r', 'ṛ'],
|
||||
['\\.R', 'Ṛ'],
|
||||
['ṛr', 'ṝ'],
|
||||
['ṚR', 'Ṝ'],
|
||||
['\\.l', 'ḷ'],
|
||||
['\\.L', 'Ḷ'],
|
||||
['ḷl', 'ḹ'],
|
||||
['ḶL', 'Ḹ'],
|
||||
['\\.M', 'Ṃ'],
|
||||
['\\.m', 'ṃ'],
|
||||
['\\.h', 'ḥ'],
|
||||
['\\.H', 'Ḥ'],
|
||||
[';n', 'ṅ'],
|
||||
[';N', 'Ṅ'],
|
||||
['~n', 'ñ'],
|
||||
['~N', 'Ñ'],
|
||||
['\\.t', 'ṭ'],
|
||||
['\\.T', 'Ṭ'],
|
||||
['\\.d', 'ḍ'],
|
||||
['\\.D', 'Ḍ'],
|
||||
['\\.n', 'ṇ'],
|
||||
['\\.N', 'Ṇ'],
|
||||
[';s', 'ś'],
|
||||
[';S', 'Ś'],
|
||||
['\\.s', 'ṣ'],
|
||||
['\\.S', 'Ṣ'],
|
||||
['ee', 'ē'],
|
||||
['oo', 'ō'],
|
||||
[';m', 'ṁ'],
|
||||
[',r', 'r̥'],
|
||||
['r̥r', 'r̥̄']
|
||||
]
|
||||
};
|
||||
$.ime.register( saIast );
|
||||
|
||||
}( jQuery ) );
|
||||
Reference in New Issue
Block a user