Index: trunk/extensions/Narayam/Narayam.i18n.php |
— | — | @@ -43,6 +43,7 @@ |
44 | 44 | 'narayam-si-wijesekara' => 'Sinhala Wijesekara', |
45 | 45 | 'narayam-ta99' => 'Tamil99', |
46 | 46 | 'narayam-ta' => 'Tamil Transliteration', |
| 47 | + 'narayam-ta-bamini' => 'Tamil Bamini', |
47 | 48 | 'narayam-te-inscript' => 'Telugu InScript', |
48 | 49 | 'narayam-bn-avro' => 'Bengali Avro', |
49 | 50 | 'narayam-bn-inscript' => 'Bengali InScript', |
Index: trunk/extensions/Narayam/js/ext.narayam.rules.ta-bamini.js |
— | — | @@ -0,0 +1,85 @@ |
| 2 | +/** |
| 3 | + * Regular expression rules table for Tamil Bamini Keyboard layout. |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2011-10-13 |
| 6 | + * @credits http://help.keymandesktop.com/keyboards/keyboard_ekwbamuni.php |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + |
| 10 | +var rules = [ |
| 11 | +['`', '', 'ஹ'], |
| 12 | +['q', '', 'ங'], |
| 13 | +['w', '', 'ற'], |
| 14 | +['e', '', 'ந'], |
| 15 | +['r', '', 'ச'], |
| 16 | +['t', '', 'வ'], |
| 17 | +['y', '', 'ல'], |
| 18 | +['u', '', 'ர'], |
| 19 | +//['i', '', ''], |
| 20 | +['o', '', 'ழ'], |
| 21 | +['p', '', 'ி'], |
| 22 | +['\\[', '', 'ஜ'], |
| 23 | +['\\]', '', 'ஸ'], |
| 24 | +['\\\\', '', 'ஷ'], |
| 25 | +['a', '', 'ய'], |
| 26 | +['s', '', 'ள'], |
| 27 | +['d', '', 'ன'], |
| 28 | +['f', '', 'க'], |
| 29 | +['g', '', 'ப'], |
| 30 | +['h', '', 'ா'], |
| 31 | +['j', '', 'த'], |
| 32 | +['k', '', 'ம'], |
| 33 | +['l', '', 'ட'], |
| 34 | +[';', '', '்'], |
| 35 | +['z', '', 'ண'], |
| 36 | +['x', '', 'ஒ'], |
| 37 | +['c', '', 'உ'], |
| 38 | +['v', '', 'எ'], |
| 39 | +['b', '', 'டி'], |
| 40 | +['m', '', 'அ'], |
| 41 | +[',', '', 'இ'], |
| 42 | +['/', '', 'ஃ'], |
| 43 | + |
| 44 | +['@', '', ';'], |
| 45 | +['#', '', 'சூ'], |
| 46 | +['\\$', '', 'கூ'], |
| 47 | +['%', '', 'மூ'], |
| 48 | +['\\^', '', 'டூ'], |
| 49 | +['&', '', 'ரூ'], |
| 50 | +['Q', '', 'ஞ'], |
| 51 | +['W', '', 'று'], |
| 52 | +['E', '', 'நு'], |
| 53 | +['R', '', 'சு'], |
| 54 | +['T', '', 'வு'], |
| 55 | +['Y', '', 'லு'], |
| 56 | +['U', '', 'ரு'], |
| 57 | +['I', '', 'ஐ'], |
| 58 | +['O', '', 'ழு'], |
| 59 | +['P', '', 'ீ'], |
| 60 | +['\\|', '', "'"], |
| 61 | +['A', '', 'யு'], |
| 62 | +['S', '', 'ளு'], |
| 63 | +['D', '', 'னு'], |
| 64 | +['F', '', 'கு'], |
| 65 | +['G', '', 'பு'], |
| 66 | +['H', '', 'ர்'], |
| 67 | +['J', '', 'து'], |
| 68 | +['K', '', 'மு'], |
| 69 | +['L', '', 'டு'], |
| 70 | +['Z', '', 'ணு'], |
| 71 | +['X', '', 'ஓ'], |
| 72 | +['C', '', 'ஊ'], |
| 73 | +['V', '', 'ஏ'], |
| 74 | +['B', '', 'டீ'], |
| 75 | +['M', '', 'ஆ'], |
| 76 | +['\\<', '', 'ஈ'], |
| 77 | +['\\>', '', ','] |
| 78 | +]; |
| 79 | + |
| 80 | +jQuery.narayam.addScheme( 'ta-bamini', { |
| 81 | + 'namemsg': 'narayam-ta-bamini', |
| 82 | + 'extended_keyboard': false, |
| 83 | + 'lookbackLength': 0, |
| 84 | + 'keyBufferLength': 0, |
| 85 | + 'rules': rules |
| 86 | +} ); |
Index: trunk/extensions/Narayam/Narayam.php |
— | — | @@ -94,6 +94,7 @@ |
95 | 95 | 'ta' => array( |
96 | 96 | 'ta' => 'ext.narayam.rules.ta', |
97 | 97 | 'ta99' => 'ext.narayam.rules.ta99', |
| 98 | + 'ta-bamini' => 'ext.narayam.rules.ta-bamini', |
98 | 99 | ), |
99 | 100 | 'te' => array( |
100 | 101 | 'te-inscript' => 'ext.narayam.rules.te-inscript', |
— | — | @@ -272,6 +273,11 @@ |
273 | 274 | 'messages' => array( 'narayam-ta99' ), |
274 | 275 | 'dependencies' => 'ext.narayam.rules.ta', // make sure ta99 loads after ta |
275 | 276 | ); |
| 277 | +$wgResourceModules['ext.narayam.rules.ta-bamini'] = $narayamTpl + array( |
| 278 | + 'scripts' => 'js/ext.narayam.rules.ta-bamini.js', |
| 279 | + 'messages' => array( 'narayam-ta-bamini' ), |
| 280 | + 'dependencies' => 'ext.narayam.rules.ta', // make sure ta99 loads after ta |
| 281 | +); |
276 | 282 | $wgResourceModules['ext.narayam.rules.te-inscript'] = $narayamTpl + array( |
277 | 283 | 'scripts' => 'js/ext.narayam.rules.te-inscript.js', |
278 | 284 | 'messages' => array( 'narayam-te-inscript' ), |