Index: trunk/extensions/Narayam/resources/ext.narayam.rules.ber-tfng.js |
— | — | @@ -0,0 +1,51 @@ |
| 2 | +/** |
| 3 | + * Transliteration regular expression rules table for Tifinagh script |
| 4 | + * Based on Moroccan keyboards: http://www.ircam.ma/fr/index.php?soc=telec&rd=2 |
| 5 | + * @date 2011-11-22 |
| 6 | + */ |
| 7 | + |
| 8 | +var rules = [ |
| 9 | +['a', '', 'ⴰ'], |
| 10 | +['b', '', 'ⴱ'], |
| 11 | +['c', '', 'ⵛ'], |
| 12 | +['d', '', 'ⴷ'], |
| 13 | +['D', '', 'ⴹ'], |
| 14 | +['e', '', 'ⴻ'], |
| 15 | +['f', '', 'ⴼ'], |
| 16 | +['F', '', 'ⴼⵯ'], |
| 17 | +['g', '', 'ⴳ'], |
| 18 | +['G', '', 'ⴳⵯ'], |
| 19 | +['h', '', 'ⵀ'], |
| 20 | +['i', '', 'ⵉ'], |
| 21 | +['j', '', 'ⵊ'], |
| 22 | +['k', '', 'ⴽ'], |
| 23 | +['K', '', 'ⴽⵯ'], |
| 24 | +['l', '', 'ⵍ'], |
| 25 | +['m', '', 'ⵎ'], |
| 26 | +['n', '', 'ⵏ'], |
| 27 | +['o', '', 'ⵄ'], |
| 28 | +['p', '', 'ⵃ'], |
| 29 | +['q', '', 'ⵇ'], |
| 30 | +['Q', '', 'ⵈ'], |
| 31 | +['r', '', 'ⵔ'], |
| 32 | +['R', '', 'ⵕ'], |
| 33 | +['s', '', 'ⵙ'], |
| 34 | +['S', '', 'ⵚ'], |
| 35 | +['t', '', 'ⵜ'], |
| 36 | +['T', '', 'ⵟ'], |
| 37 | +['v', '', 'ⵖ'], |
| 38 | +['u', '', 'ⵓ'], |
| 39 | +['w', '', 'ⵡ'], |
| 40 | +['y', '', 'ⵢ'], |
| 41 | +['x', '', 'ⵅ'], |
| 42 | +['z', '', 'ⵣ'], |
| 43 | +['Z', '', 'ⵥ'], |
| 44 | +]; |
| 45 | + |
| 46 | +jQuery.narayam.addScheme( 'ber-tfng', { |
| 47 | + 'namemsg': 'narayam-ber-tfng', |
| 48 | + 'extended_keyboard': false, |
| 49 | + 'lookbackLength': 0, |
| 50 | + 'keyBufferLength': 0, |
| 51 | + 'rules': rules |
| 52 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.ber-tfng.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 53 | + native |
Index: trunk/extensions/Narayam/Narayam.i18n.php |
— | — | @@ -28,6 +28,7 @@ |
29 | 29 | 'narayam-as-avro' => 'Assamese Avro', |
30 | 30 | 'narayam-as-bornona' => 'Assamese Bornona', |
31 | 31 | 'narayam-as-inscript' => 'Assamese InScript', |
| 32 | + 'narayam-ber-tfng' => 'Tifinagh Transliteration', |
32 | 33 | 'narayam-brx-inscript' => 'Bodo InScript', |
33 | 34 | 'narayam-eo' => 'Esperanto', |
34 | 35 | 'narayam-hi' => 'Hindi Transliteration', |
Index: trunk/extensions/Narayam/Narayam.php |
— | — | @@ -99,10 +99,16 @@ |
100 | 100 | 'pa-inscript' => 'ext.narayam.rules.pa-inscript', |
101 | 101 | 'pa-phonetic' => 'ext.narayam.rules.pa-phonetic', |
102 | 102 | ), |
| 103 | + 'rif' => array( |
| 104 | + 'ber-tfng' => 'ext.narayam.rules.ber-tfng', |
| 105 | + ), |
103 | 106 | 'sa' => array( |
104 | 107 | 'sa' => 'ext.narayam.rules.sa', |
105 | 108 | 'sa-inscript' => 'ext.narayam.rules.sa-inscript', |
106 | 109 | ), |
| 110 | + 'shi' => array( |
| 111 | + 'ber-tfng' => 'ext.narayam.rules.ber-tfng', |
| 112 | + ), |
107 | 113 | 'si' => array( |
108 | 114 | 'si-singlish' => 'ext.narayam.rules.si-singlish', |
109 | 115 | 'si-wijesekara' => 'ext.narayam.rules.si-wijesekara', |
— | — | @@ -173,6 +179,7 @@ |
174 | 180 | 'narayam-as-bornona', |
175 | 181 | 'narayam-as-inscript', |
176 | 182 | 'narayam-de', |
| 183 | + 'narayam-ber-tfng', |
177 | 184 | 'narayam-brx-inscript', |
178 | 185 | 'narayam-eo', |
179 | 186 | 'narayam-hi', |
— | — | @@ -232,6 +239,10 @@ |
233 | 240 | 'scripts' => 'resources/ext.narayam.rules.as-inscript.js', |
234 | 241 | 'dependencies' => 'ext.narayam.core', |
235 | 242 | ); |
| 243 | +$wgResourceModules['ext.narayam.rules.ber-tfng'] = $narayamTpl + array( |
| 244 | + 'scripts' => 'resources/ext.narayam.rules.ber-tfng.js', |
| 245 | + 'dependencies' => 'ext.narayam.core', |
| 246 | +); |
236 | 247 | $wgResourceModules['ext.narayam.rules.bn-avro'] = $narayamTpl + array( |
237 | 248 | 'scripts' => 'resources/ext.narayam.rules.bn-avro.js', |
238 | 249 | 'dependencies' => 'ext.narayam.core', |