Index: trunk/extensions/Narayam/resources/ext.narayam.rules.ahr-inscript.js |
— | — | @@ -0,0 +1,12 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Ahirani language |
| 4 | + * Based on CDAC's "Enhanced InScript Keyboard Layout 5.2" for Marathi |
| 5 | + * @author Amir E. Aharoni |
| 6 | + * @date 2012-02-23 |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | +// copy the rules from Marathi InScript. |
| 11 | +ahr_inscript_scheme = $.narayam.getScheme( 'mr-inscript' ); |
| 12 | +ahr_inscript_scheme.namemsg = 'narayam-ahr-inscript'; |
| 13 | +jQuery.narayam.addScheme( 'ahr-inscript', ahr_inscript_scheme ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.ahr-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 14 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.ahr.js |
— | — | @@ -0,0 +1,11 @@ |
| 2 | +/** |
| 3 | + * Transliteration based keyboard for Ahirani, based on Marathi |
| 4 | + * @author Amir E. Aharoni ([[User:Amire80]]) |
| 5 | + * @date 2012-02-23 |
| 6 | + * License: GPLv3 |
| 7 | + */ |
| 8 | + |
| 9 | +// copy the rules from Marathi transliteration. |
| 10 | +ahr_scheme = $.narayam.getScheme( 'mr' ); |
| 11 | +ahr_scheme.namemsg = 'narayam-ahr'; |
| 12 | +jQuery.narayam.addScheme( 'ahr', ahr_scheme ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.ahr.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 13 | + native |
Index: trunk/extensions/Narayam/Narayam.i18n.php |
— | — | @@ -23,6 +23,8 @@ |
24 | 24 | 'narayam-checkbox-tooltip' => 'To toggle input method on and off', // FIXME: better message |
25 | 25 | 'narayam-enable-preference' => 'Enable input method', |
26 | 26 | 'narayam-more-imes' => 'More input methods', |
| 27 | + 'narayam-ahr' => 'Ahirani Transliteration', |
| 28 | + 'narayam-ahr-inscript' => '>Ahirani InScript', |
27 | 29 | 'narayam-am' => 'Amharic Transliteration', |
28 | 30 | 'narayam-as' => 'Assamese Transliteration', |
29 | 31 | 'narayam-as-avro' => 'Assamese Avro', |
Index: trunk/extensions/Narayam/Narayam.php |
— | — | @@ -50,6 +50,10 @@ |
51 | 51 | // Array mapping language codes and scheme names to module names |
52 | 52 | // Custom schemes can be added here |
53 | 53 | $wgNarayamSchemes = array( |
| 54 | + 'ahr' => array( |
| 55 | + 'ahr' => 'ext.narayam.rules.ahr', |
| 56 | + 'ahr-inscript' => 'ext.narayam.rules.ahr-inscript', |
| 57 | + ), |
54 | 58 | 'am' => array( |
55 | 59 | 'am' => array( 'ext.narayam.rules.am', 'beta' ), |
56 | 60 | ), |
— | — | @@ -109,7 +113,7 @@ |
110 | 114 | ), |
111 | 115 | 'mr' => array( |
112 | 116 | 'mr' => 'ext.narayam.rules.mr', |
113 | | - 'mr-inscript' => 'ext.narayam.rules.mr', |
| 117 | + 'mr-inscript' => 'ext.narayam.rules.mr-inscript', |
114 | 118 | ), |
115 | 119 | 'ne' => array( |
116 | 120 | 'ne' => array( 'ext.narayam.rules.ne', 'beta' ), |
— | — | @@ -207,6 +211,8 @@ |
208 | 212 | 'narayam-help', |
209 | 213 | 'narayam-toggle-ime', |
210 | 214 | 'narayam-more-imes', |
| 215 | + 'narayam-ahr', |
| 216 | + 'narayam-ahr-inscript', |
211 | 217 | 'narayam-am', |
212 | 218 | 'narayam-as', |
213 | 219 | 'narayam-as-avro', |
— | — | @@ -266,6 +272,15 @@ |
267 | 273 | 'jquery.cookie', |
268 | 274 | ), |
269 | 275 | ); |
| 276 | + |
| 277 | +$wgResourceModules['ext.narayam.rules.ahr'] = $narayamTpl + array( |
| 278 | + 'scripts' => 'resources/ext.narayam.rules.ahr.js', |
| 279 | + 'dependencies' => 'ext.narayam.rules.mr', |
| 280 | +); |
| 281 | +$wgResourceModules['ext.narayam.rules.ahr-inscript'] = $narayamTpl + array( |
| 282 | + 'scripts' => 'resources/ext.narayam.rules.ahr-inscript.js', |
| 283 | + 'dependencies' => 'ext.narayam.rules.mr-inscript.js', |
| 284 | +); |
270 | 285 | $wgResourceModules['ext.narayam.rules.am'] = $narayamTpl + array( |
271 | 286 | 'scripts' => 'resources/ext.narayam.rules.am.js', |
272 | 287 | 'dependencies' => 'ext.narayam.core', |
— | — | @@ -474,4 +489,3 @@ |
475 | 490 | 'scripts' => 'resources/ext.narayam.rules.tcy.js', |
476 | 491 | 'dependencies' => 'ext.narayam.rules.kn', |
477 | 492 | ); |
478 | | - |