Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #402 from wikimedia/revert-344-master

Revert "Added or-modular input method"
commit 76883bff225304bce2daaf913f478f4d38dd85ad 2 parents 1522182 + f8473f2
@santhoshtr santhoshtr authored
View
111 rules/or/or-modular.js
@@ -1,111 +0,0 @@
-( function ( $ ) {
- 'use strict';
-
- var orModular = {
- id: 'or-modular',
- name: 'ମୋଡୁଲାର',
- description: 'Odia Modular input method',
- date: '2012-10-14',
- URL: 'http://github.com/wikimedia/jquery.ime',
- author: 'Manoj Sahukar and Subhashish Panigrahi',
- license: 'GPLv3',
- version: '1.0',
- contextLength: 4,
- maxKeyLength: 2,
- patterns: [
- ['/([A-Za-z\\>_\\-\\!@#\\$\\^\\&\\%\\*\\~\\.\\|\\\\0-9])', '$1'],
- ['\'([\'])','\"'], //'' to "
- ['\"([\'])','\'\'\''], //'''
-
- ['"', '' ], //chanda bindu
- ['([ର])}', 'ର‍୍ୟ'], // special case: Ja phala (ର + ZWJ + ୍ୟ)
- ['\\}', '୍ୟ' ], // Ja phala
- ['{', '' ], // Ru kara
- ['([କ-ହ])େk', '$1ୋ' ], // l= ekar, lk = okar
- ['\\]', '୍ର'], // Ra phala
- ['\\[', ''], // Type ଅ
- ['ଅk',''], // ଅ + ା = ଆ
- ['\\\#', ''],
- ['([ର])#', 'ର‍୍ୱ'], // special case ର + ZWJ + ୍ୱ
- ['([କ-ହ])#', '$1୍ୱ'], //
- ['ଓ#',''],
- ['_', ''],
- ['ଦQ', ''],
- ['([କନପସ])Q', 'ତ୍\$1' ],
- ['([ନସ])@', '$1୍ତ୍ର' ], //ନ୍ତ୍ର , ସ୍ତ୍ର added extra
- ['%', 'କ୍ଷ'],
- ['\\^', ''],
- ['\\|', ''],
- ['\\\\', ''],
-
- ['0', ''],
- ['1', ''],
- ['2', ''],
- ['3', ''],
- ['4', ''],
- ['5', ''],
- ['6', ''],
- ['7', ''],
- ['8', ''],
- ['9', ''],
- ['a', ''],
- ['A', ''],
- ['b', ''],
- ['B', ''],
- ['c', ''],
- ['C', ''],
- ['d', ''],
- ['D', '୍‍'],
- ['e', ''],
- ['E', ''],
- ['f', ''],
- ['F', ''],
- ['g', ''],
- ['G', 'ି'],
- ['h', ''],
- ['H', ''],
- ['i', ''],
- ['I', ''],
- ['j', ''],
- ['J', ''],
- ['k', ''],
- ['K', ''],
- ['l', ''],
- ['L', ''],
- ['m', ''],
- ['M', ''],
- ['n', ''],
- ['N', ''],
- ['o', ''],
- ['O', ''],
- ['p', ''],
- ['P', ''],
- ['q', ''],
- ['([କ-ହ])&', 'ର୍\$1'], //reph
- ['r', ''],
- ['R', ''],
- ['s', ''],
- ['S', ''],
- ['t', ''],
- ['T', ''],
- ['u', ''],
- ['U', ''],
- ['v', ''],
- ['V', ''],
- ['w', ''],
- ['W', ''],
- ['x', ''],
- ['X', ''],
- ['y', ''],
- ['Y', ''],
- ['z', ''],
- ['Z', ''],
- ['`', ''],
- ['~', ''],
- ['\\.', ''],
-
- ]
- };
-
- $.ime.register( orModular );
-}( jQuery ) );
View
6 src/jquery.ime.inputmethods.js
@@ -444,10 +444,6 @@
name: 'ଟ୍ରାନ୍ସଲିଟରେସନ',
source: 'rules/or/or-transliteration.js'
},
- 'or-modular': {
- name: 'ମୋଡୁଲାର',
- source: 'rules/or/or-modular.js'
- },
'or-inscript': {
name: 'ଇନସ୍କ୍ରିପ୍ଟ',
source: 'rules/or/or-inscript.js'
@@ -864,7 +860,7 @@
},
'or': {
autonym: 'ଓଡ଼ିଆ',
- inputmethods: [ 'or-lekhani', 'or-modular', 'or-phonetic', 'or-transliteration', 'or-inscript', 'or-inscript2' ]
+ inputmethods: [ 'or-phonetic', 'or-transliteration', 'or-inscript', 'or-inscript2', 'or-lekhani' ]
},
'pa': {
autonym: 'ਪੰਜਾਬੀ',
View
11 test/jquery.ime.test.fixtures.js
@@ -1700,17 +1700,6 @@ var testFixtures = [
],
inputmethod: 'or-inscript'
},{
- description: 'Oriya Modular test',
- tests: [
- { input: 'j}', output: 'ର‍୍ୟ', description: 'Odia Modular j} -> ର‍୍ୟ'},
- { input: 'O}', output: 'ଡ୍ୟ', description: 'Odia Modular O} -> ଡ୍ୟ'},
- { input: 's~', output: 'କଃ', description: 'Odia Modular s~ -> କଃ'},
- { input: 's&', output: 'ର୍କ', description: 'Odia Modular s& -> ର୍କ'},
- { input: 'e@', output: 'ନ୍ତ୍ର', description: 'Odia Modular e@ -> ନ୍ତ୍ର'},
- { input: '#', output: '', description: 'Odia Modular # -> ୱ'}
- ],
- inputmethod: 'or-modular'
- },{
description: 'Oriya phonetic test',
tests: [
{ input: '\\~', output: '~', description: 'Oriya phonetic - \\~ -> ~' },
Please sign in to comment.
Something went wrong with that request. Please try again.