Index: trunk/extensions/Narayam/resources/ext.narayam.rules.bho-inscript.js |
— | — | @@ -0,0 +1,13 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for the Bhojpuri language |
| 4 | + * Based on CDAC's "Enhanced InScript Keyboard Layout 5.2" for Hindi |
| 5 | + * @author Santhosh Thottingal, Amir E. Aharoni |
| 6 | + * @date 2012-02-09 |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | +// copy the rules from hi_inscript. |
| 11 | +bho_inscript_scheme = $.narayam.getScheme( 'hi-inscript' ); |
| 12 | +bho_inscript_scheme.namemsg = 'narayam-bho-inscript'; |
| 13 | +jQuery.narayam.addScheme( 'bho-inscript', bho_inscript_scheme ); |
| 14 | + |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.bho-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 15 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.bho.js |
— | — | @@ -0,0 +1,13 @@ |
| 2 | +/** |
| 3 | + * Transliteration regular expression rules table for the Bhojpuri language |
| 4 | + * Based on CDAC's "Enhanced InScript Keyboard Layout 5.2" for Hindi |
| 5 | + * @author Santhosh Thottingal, Amir E. Aharoni |
| 6 | + * @date 2012-02-09 |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | +// copy the rules from hi. |
| 11 | +bho_scheme = $.narayam.getScheme( 'hi' ); |
| 12 | +bho_scheme.namemsg = 'narayam-bho'; |
| 13 | +jQuery.narayam.addScheme( 'bho', bho_scheme ); |
| 14 | + |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.bho.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 15 | + native |
Index: trunk/extensions/Narayam/Narayam.i18n.php |
— | — | @@ -57,6 +57,8 @@ |
58 | 58 | 'narayam-tcy' => 'Tulu Transliteration', |
59 | 59 | 'narayam-te' => 'Telugu Transliteration', |
60 | 60 | 'narayam-te-inscript' => 'Telugu InScript', |
| 61 | + 'narayam-bho' => 'Bhojpuri transliteration', |
| 62 | + 'narayam-bho-inscript' => 'Bhojpuri InScript', |
61 | 63 | 'narayam-bn-avro' => 'Bengali Avro', |
62 | 64 | 'narayam-bn-inscript' => 'Bengali InScript', |
63 | 65 | 'narayam-bn-nkb' => 'Bengali NKB', |
Index: trunk/extensions/Narayam/Narayam.php |
— | — | @@ -59,6 +59,10 @@ |
60 | 60 | 'as-bornona' => 'ext.narayam.rules.as-bornona', |
61 | 61 | 'as-inscript' => 'ext.narayam.rules.as-inscript', |
62 | 62 | ), |
| 63 | + 'bho' => array( |
| 64 | + 'bho' => array( 'ext.narayam.rules.bho', 'beta' ), |
| 65 | + 'bho-inscript' => array( 'ext.narayam.rules.bho-inscript', 'beta' ), |
| 66 | + ), |
63 | 67 | 'bn' => array( |
64 | 68 | 'bn-avro' => 'ext.narayam.rules.bn-avro', |
65 | 69 | 'bn-inscript' => 'ext.narayam.rules.bn-inscript', |
— | — | @@ -207,6 +211,8 @@ |
208 | 212 | 'narayam-as-avro', |
209 | 213 | 'narayam-as-bornona', |
210 | 214 | 'narayam-as-inscript', |
| 215 | + 'narayam-bho', |
| 216 | + 'narayam-bho-inscript', |
211 | 217 | 'narayam-bn-avro', |
212 | 218 | 'narayam-bn-inscript', |
213 | 219 | 'narayam-bn-nkb', |
— | — | @@ -282,6 +288,14 @@ |
283 | 289 | 'scripts' => 'resources/ext.narayam.rules.ber-tfng.js', |
284 | 290 | 'dependencies' => 'ext.narayam.core', |
285 | 291 | ); |
| 292 | +$wgResourceModules['ext.narayam.rules.bho'] = $narayamTpl + array( |
| 293 | + 'scripts' => 'resources/ext.narayam.rules.bho.js', |
| 294 | + 'dependencies' => 'ext.narayam.rules.hi', |
| 295 | +); |
| 296 | +$wgResourceModules['ext.narayam.rules.bho-inscript'] = $narayamTpl + array( |
| 297 | + 'scripts' => 'resources/ext.narayam.rules.bho-inscript.js', |
| 298 | + 'dependencies' => 'ext.narayam.rules.hi-inscript', |
| 299 | +); |
286 | 300 | $wgResourceModules['ext.narayam.rules.bn-avro'] = $narayamTpl + array( |
287 | 301 | 'scripts' => 'resources/ext.narayam.rules.bn-avro.js', |
288 | 302 | 'dependencies' => 'ext.narayam.core', |