Update jquery.ime from upstream to 7b24f45b01d
Changes: * bo-ewts: using unicode NFC instead of NFD. * Fixed description in bn-probhat layout. Change-Id: Ieb58a36fd997bc422dab01a1d2c7692068a26c6b
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*! jquery.ime - v0.1.0+20140728
|
||||
/*! jquery.ime - v0.1.0+20140828
|
||||
* https://github.com/wikimedia/jquery.ime
|
||||
* Copyright (c) 2014 Santhosh Thottingal; Licensed GPL, MIT */
|
||||
( function ( $ ) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
var bnProbhat = {
|
||||
id: 'bn-probhat',
|
||||
name: 'Bengali Probhat',
|
||||
description: 'Bengali Probhat input method for Assamese',
|
||||
description: 'Bengali Probhat input method for Bengali',
|
||||
date: '2012-10-10',
|
||||
URL: 'http://github.com/wikimedia/jquery.ime',
|
||||
author: 'Nasir Khan Saikat',
|
||||
|
||||
@@ -1,6 +1,18 @@
|
||||
( function ( $ ) {
|
||||
'use strict';
|
||||
var patterns = [
|
||||
|
||||
var boEWTS = {
|
||||
id: 'bo-ewts',
|
||||
name: 'Tibetan EWTS transliteration',
|
||||
description: 'Tibetan Extended Wylie Transliteration, based on the work of thdl.',
|
||||
date: '2014-07-09',
|
||||
URL: 'http://www.thlib.org/reference/transliteration/#!essay=/thl/ewts',
|
||||
author: 'Elie Roux <elie.roux@telecom-bretagne.eu>',
|
||||
license: 'GPLv3',
|
||||
version: '1.1',
|
||||
contextLength: 2,
|
||||
maxKeyLength: 5,
|
||||
patterns: [
|
||||
// ambiguous cases with b as prefix
|
||||
['བྲk', 'r', 'བརྐ'],
|
||||
['བྲg', 'r', 'བརྒ'],
|
||||
@@ -106,7 +118,6 @@
|
||||
['S', ''],
|
||||
// subjoined letters:
|
||||
['k', '\\+', 'ྐ'],
|
||||
['ྐh', 'ྑ'],
|
||||
['g', '\\+', 'ྒ'],
|
||||
['ྣg', 'ྔ'],
|
||||
['c', '\\+', 'ྕ'],
|
||||
@@ -136,8 +147,21 @@
|
||||
['r', '\\+', 'ྲ'],
|
||||
['l', '\\+', 'ླ'],
|
||||
['ྶh', 'ྴ'],
|
||||
['ཀh', '\\+S', 'ཀྵ'],
|
||||
['ྐh', '\\+S', 'ྐྵ'],
|
||||
['ྐh', 'ྑ'],
|
||||
['h', '\\+S', 'ྵ'],
|
||||
['s', '\\+', 'ྶ'],
|
||||
['གh', '\\+', 'གྷ'],
|
||||
['ཌh', '\\+', 'ཌྷ'],
|
||||
['དh', '\\+', 'དྷ'],
|
||||
['བh', '\\+', 'བྷ'],
|
||||
['ཛh', '\\+', 'ཛྷ'],
|
||||
['ྒh', '\\+', 'ྒྷ'],
|
||||
['ྜh', '\\+', 'ྜྷ'],
|
||||
['ྡh', '\\+', 'ྡྷ'],
|
||||
['ྦh', '\\+', 'ྦྷ'],
|
||||
['ྫh', '\\+', 'ྫྷ'],
|
||||
['h', '\\+', 'ྷ'],
|
||||
['v', '\\+', 'ྦ༹'],
|
||||
['f', '\\+', 'ྥ༹'],
|
||||
@@ -186,6 +210,8 @@
|
||||
// vowels after consonnants or vowels
|
||||
['([ཀ-ྼ])i', 'a', '$1ཻ'],
|
||||
['([ཀ-ྼ])u', 'a', '$1ཽ'],
|
||||
['ྲi', '-', 'ྲྀ'],
|
||||
['ླi', '-', 'ླྀ'],
|
||||
['([ཀ-ྼ])i', '-', '$1ྀ'],
|
||||
['([ཀ-ྼ])རI', 'r-', '$1ྲཱྀ'],
|
||||
['([ཀ-ྼ])ལI', 'l-', '$1ླཱྀ'],
|
||||
@@ -251,20 +277,7 @@
|
||||
['~X', '༵'],
|
||||
['X', '༷'],
|
||||
['\\^', '༹']
|
||||
];
|
||||
|
||||
var boEWTS = {
|
||||
id: 'bo-ewts',
|
||||
name: 'Tibetan EWTS transliteration',
|
||||
description: 'Tibetan Extended Wylie Transliteration, based on the work of thdl.',
|
||||
date: '2014-07-09',
|
||||
URL: 'http://www.thlib.org/reference/transliteration/#!essay=/thl/ewts',
|
||||
author: 'Elie Roux <elie.roux@telecom-bretagne.eu>',
|
||||
license: 'GPLv3',
|
||||
version: '1.0',
|
||||
contextLength: 2,
|
||||
maxKeyLength: 5,
|
||||
patterns: patterns
|
||||
]
|
||||
};
|
||||
|
||||
$.ime.register( boEWTS );
|
||||
|
||||
Reference in New Issue
Block a user