Index: trunk/extensions/Narayam/resources/ext.narayam.rules.hne-inscript.js |
— | — | @@ -0,0 +1,12 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Chhattisgarhi language |
| 4 | + * Based on CDAC's "Enhanced InScript Keyboard Layout 5.2" for Hindi |
| 5 | + * @author Santhosh Thottingal |
| 6 | + * @date 2011-02-12 |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | +//copy the rules from hi_inscript. |
| 11 | +hne_inscript_scheme = $.narayam.getScheme( 'hi-inscript' ); |
| 12 | +hne_inscript_scheme.namemsg ='narayam-hne-inscript'; |
| 13 | +jQuery.narayam.addScheme( 'hne-inscript', hne_inscript_scheme ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.hne-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 14 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.core.js |
— | — | @@ -421,8 +421,16 @@ |
422 | 422 | schemes[name] = data; |
423 | 423 | return true; |
424 | 424 | }; |
425 | | - |
| 425 | + |
426 | 426 | /** |
| 427 | + * Get the transliteration rules for the given input method name. |
| 428 | + * @param name String |
| 429 | + */ |
| 430 | + this.getScheme = function( name ) { |
| 431 | + return schemes[name]; |
| 432 | + } |
| 433 | + |
| 434 | + /** |
427 | 435 | * Change the current transliteration scheme |
428 | 436 | * @param name String |
429 | 437 | */ |
Index: trunk/extensions/Narayam/Narayam.i18n.php |
— | — | @@ -64,6 +64,7 @@ |
65 | 65 | 'narayam-gu-inscript' => 'Gujarati InScript', |
66 | 66 | 'narayam-ru-standard' => 'Russian Standard', |
67 | 67 | 'narayam-sah-standard' => 'Sakha Standard', |
| 68 | + 'narayam-hne-inscript' => 'Chhattisgarhi InScript', |
68 | 69 | ); |
69 | 70 | |
70 | 71 | /** Message documentation (Message documentation) |
— | — | @@ -1317,6 +1318,7 @@ |
1318 | 1319 | 'narayam-gu-inscript' => 'ഗുജറാത്തി ഇൻസ്ക്രിപ്റ്റ്', |
1319 | 1320 | 'narayam-ru-standard' => 'റഷ്യൻ മാനകരൂപം', |
1320 | 1321 | 'narayam-sah-standard' => 'സാഖാ മാനകരൂപം', |
| 1322 | + 'narayam-hne-inscript' => 'ഛത്തീസ്ഗാഢി ഇന്സ്ക്രിപ്റ്റ്', |
1321 | 1323 | ); |
1322 | 1324 | |
1323 | 1325 | /** Marathi (मराठी) |
Index: trunk/extensions/Narayam/Narayam.php |
— | — | @@ -64,6 +64,9 @@ |
65 | 65 | 'brx' => array( |
66 | 66 | 'brx-inscript' => 'ext.narayam.rules.brx-inscript', |
67 | 67 | ), |
| 68 | + 'hne' => array( |
| 69 | + 'hne-inscript' => 'ext.narayam.rules.hne-inscript', |
| 70 | + ), |
68 | 71 | 'de' => array( |
69 | 72 | 'de' => 'ext.narayam.rules.de', |
70 | 73 | ), |
— | — | @@ -222,6 +225,7 @@ |
223 | 226 | 'narayam-gu-inscript', |
224 | 227 | 'narayam-ru-standard', |
225 | 228 | 'narayam-sah-standard', |
| 229 | + 'narayam-hne-inscript', |
226 | 230 | ), |
227 | 231 | 'dependencies' => array( |
228 | 232 | 'mediawiki.util', |
— | — | @@ -393,3 +397,7 @@ |
394 | 398 | 'scripts' => 'resources/ext.narayam.rules.sah-standard.js', |
395 | 399 | 'dependencies' => 'ext.narayam.core', |
396 | 400 | ); |
| 401 | +$wgResourceModules['ext.narayam.rules.hne-inscript'] = $narayamTpl + array( |
| 402 | + 'scripts' => 'resources/ext.narayam.rules.hne-inscript.js', |
| 403 | + 'dependencies' => 'ext.narayam.rules.hi-inscript', |
| 404 | +); |