Index: branches/wmf/1.17wmf1/extensions/Narayam/Narayam.hooks.php |
— | — | @@ -0,0 +1,80 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Hooks for Narayam extension |
| 5 | + * @file |
| 6 | + * @ingroup Extensions |
| 7 | + */ |
| 8 | + |
| 9 | +class NarayamHooks { |
| 10 | + public static function addModules( $out, $skin ) { |
| 11 | + global $wgUser; |
| 12 | + |
| 13 | + if ( $wgUser->getOption( 'narayamDisable' ) ) { |
| 14 | + // User disabled Narayam |
| 15 | + return true; |
| 16 | + } |
| 17 | + |
| 18 | + $schemes = array_values( self::getSchemes () ); |
| 19 | + |
| 20 | + if ( count( $schemes ) ) { |
| 21 | + $out->addModules( $schemes ); |
| 22 | + $out->addModules( 'ext.narayam' ); |
| 23 | + } |
| 24 | + |
| 25 | + return true; |
| 26 | + } |
| 27 | + |
| 28 | + public static function addConfig( &$vars ) { |
| 29 | + global $wgNarayamEnabledByDefault, $wgNarayamShortcutKey, $wgUser; |
| 30 | + |
| 31 | + if ( $wgUser->getOption( 'narayamDisable' ) ) { |
| 32 | + // User disabled Narayam |
| 33 | + return true; |
| 34 | + } |
| 35 | + |
| 36 | + $vars['wgNarayamEnabledByDefault'] = $wgNarayamEnabledByDefault; |
| 37 | + $vars['wgNarayamShortcutKey'] = $wgNarayamShortcutKey; |
| 38 | + |
| 39 | + return true; |
| 40 | + } |
| 41 | + |
| 42 | + public static function addVariables( &$vars ) { |
| 43 | + global $wgUser; |
| 44 | + |
| 45 | + if ( $wgUser->getOption( 'narayamDisable' ) ) { |
| 46 | + // User disabled Narayam |
| 47 | + return true; |
| 48 | + } |
| 49 | + |
| 50 | + $vars['wgNarayamAvailableSchemes'] = self::getSchemes(); // Note: scheme names must be keys, not values |
| 51 | + |
| 52 | + return true; |
| 53 | + } |
| 54 | + |
| 55 | + /** |
| 56 | + * Get the available schemes for the user and content language |
| 57 | + * @return array( scheme name => module name ) |
| 58 | + */ |
| 59 | + protected static function getSchemes() { |
| 60 | + global $wgLanguageCode, $wgLang, $wgNarayamSchemes; |
| 61 | + |
| 62 | + $userlangCode = $wgLang->getCode(); |
| 63 | + $contlangSchemes = isset( $wgNarayamSchemes[$wgLanguageCode] ) ? |
| 64 | + $wgNarayamSchemes[$wgLanguageCode] : array(); |
| 65 | + $userlangSchemes = isset( $wgNarayamSchemes[$userlangCode] ) ? |
| 66 | + $wgNarayamSchemes[$userlangCode] : array(); |
| 67 | + |
| 68 | + return $userlangSchemes + $contlangSchemes; |
| 69 | + } |
| 70 | + |
| 71 | + public static function addPreference( $user, &$preferences ) { |
| 72 | + // A checkbox in preferences to diable Narayam |
| 73 | + $preferences['narayamDisable'] = array( |
| 74 | + 'type' => 'toggle', |
| 75 | + 'label-message' => 'narayam-disable-preference', // a system message |
| 76 | + 'section' => 'editing/advancedediting', // under 'Advanced options' section of 'Editing' tab |
| 77 | + ); |
| 78 | + |
| 79 | + return true; |
| 80 | + } |
| 81 | +} |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/Narayam.hooks.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 82 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/images/narayam-active.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/images/narayam-active.png |
___________________________________________________________________ |
Added: svn:mime-type |
2 | 83 | + image/png |
Index: branches/wmf/1.17wmf1/extensions/Narayam/images/help.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/images/help.png |
___________________________________________________________________ |
Added: svn:mime-type |
3 | 84 | + image/png |
Index: branches/wmf/1.17wmf1/extensions/Narayam/images/narayam-inactive.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/images/narayam-inactive.png |
___________________________________________________________________ |
Added: svn:mime-type |
4 | 85 | + image/png |
Index: branches/wmf/1.17wmf1/extensions/Narayam/css/ext.narayam.core-vector.css |
— | — | @@ -0,0 +1,6 @@ |
| 2 | +.narayam-wrapper { |
| 3 | + font-size: 80%; |
| 4 | + position: absolute; |
| 5 | + top: 1.4em; |
| 6 | + right: 0.5em; |
| 7 | +} |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/css/ext.narayam.core-vector.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 8 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/css/ext.narayam.core.css |
— | — | @@ -0,0 +1,141 @@ |
| 2 | +.narayam-input { |
| 3 | + /* FIXME: needed to add !important because WikiEditor overrides border for #wpTextbox1 |
| 4 | + * and SimpleSearch overrides background-color for the search box. Talk to Trevor |
| 5 | + * about styling this nicely |
| 6 | + */ |
| 7 | + background-color: #EAF3F8 !important; |
| 8 | +} |
| 9 | + |
| 10 | +.narayam-wrapper { |
| 11 | + padding: 0; |
| 12 | + margin: 0; |
| 13 | +} |
| 14 | + |
| 15 | + |
| 16 | +li#pt-narayam{ |
| 17 | + padding-left: 15px !important; |
| 18 | +} |
| 19 | + |
| 20 | +/* Variants and Actions */ |
| 21 | +/* @noflip */ |
| 22 | +div#narayam-menu { |
| 23 | + direction: ltr; |
| 24 | + float: left; |
| 25 | + cursor: pointer; |
| 26 | +} |
| 27 | +div.narayam-menuFocus { |
| 28 | + background-position: -22px 60%; |
| 29 | +} |
| 30 | +/* @noflip */ |
| 31 | +body.rtl div#narayam-menu { |
| 32 | + direction: rtl; |
| 33 | +} |
| 34 | +div#narayam-menu div.menu-items { |
| 35 | + position: relative; |
| 36 | + display: none; |
| 37 | + clear: both; |
| 38 | + text-align: left; |
| 39 | + z-index: 99999; |
| 40 | +} |
| 41 | + |
| 42 | +div#narayam-menu-items li{ |
| 43 | + margin: 0; |
| 44 | + padding: 5px; |
| 45 | + font-size: 100%; |
| 46 | + float: none; |
| 47 | + z-index: 99999; |
| 48 | + |
| 49 | +} |
| 50 | +ul#imelist{ |
| 51 | + padding: 5px; |
| 52 | +} |
| 53 | +/* OVERRIDDEN BY COMPLIANT BROWSERS */ |
| 54 | +/* @noflip */ |
| 55 | +body.rtl div#narayam-menu div.menu-items { |
| 56 | + margin-left: 24px; |
| 57 | +} |
| 58 | +/* IGNORED BY IE6 */ |
| 59 | +/* @noflip */ |
| 60 | +body.rtl div#narayam-menu > div.menu-items { |
| 61 | + margin-left: auto; |
| 62 | +} |
| 63 | +/* IGNORED BY IE6 */ |
| 64 | +/* Also fixes old versions of FireFox */ |
| 65 | +/* @noflip */ |
| 66 | +body.rtl div#narayam-menu > div.menu-items, |
| 67 | +x:-moz-any-link { |
| 68 | + margin-left: 23px; |
| 69 | +} |
| 70 | +/* Enable forcing showing of the menu for accessibility */ |
| 71 | +div#narayam-menu:hover div.menu-items, div#narayam-menu div.menuForceShow { |
| 72 | + display: block; |
| 73 | +} |
| 74 | +div#narayam-menu ul { |
| 75 | + position: absolute; |
| 76 | + background-color: white; |
| 77 | + border: solid 1px silver; |
| 78 | + border-top-width: 0; |
| 79 | + list-style: none; |
| 80 | + list-style-image: none; |
| 81 | + list-style-type: none; |
| 82 | + padding: 0; |
| 83 | + margin: 0; |
| 84 | + margin-left: -1px; |
| 85 | + text-align: left; |
| 86 | +} |
| 87 | +/* Fixes old versions of FireFox */ |
| 88 | +div#narayam-menu ul, |
| 89 | +x:-moz-any-link { |
| 90 | + min-width: 5em; |
| 91 | +} |
| 92 | +/* Returns things back to normal in modern versions of FireFox */ |
| 93 | +div#narayam-menu ul, |
| 94 | +x:-moz-any-link, |
| 95 | +x:default { |
| 96 | + min-width: 0; |
| 97 | +} |
| 98 | +div#narayam-menu li { |
| 99 | +/* padding: 0;*/ |
| 100 | + margin: 0; |
| 101 | + text-align: left; |
| 102 | + line-height: 1em; |
| 103 | +} |
| 104 | +/* OVERRIDDEN BY COMPLIANT BROWSERS */ |
| 105 | +div#narayam-menu li a { |
| 106 | + display: inline-block; |
| 107 | + padding: 0.5em; |
| 108 | + white-space: nowrap; |
| 109 | + color: #0645ad; |
| 110 | + cursor: pointer; |
| 111 | +/* font-size: 0.8em;*/ |
| 112 | +} |
| 113 | +/* IGNORED BY IE6 */ |
| 114 | +div#narayam-menu li > a { |
| 115 | + display: block; |
| 116 | +} |
| 117 | +div#narayam-menu li.selected a, |
| 118 | +div#narayam-menu li.selected a:visited { |
| 119 | + color: #333333; |
| 120 | + text-decoration: none; |
| 121 | +} |
| 122 | +div#narayam-menu a { |
| 123 | + display: block; |
| 124 | + padding-left:5px; |
| 125 | + padding-right:5px; |
| 126 | +} |
| 127 | + |
| 128 | +div#narayam-menu-items li.narayam-help-link a { |
| 129 | + /* @embed */ |
| 130 | + background: url('../images/help.png') no-repeat scroll left center transparent; |
| 131 | + padding-left: 15px; |
| 132 | +} |
| 133 | + |
| 134 | +li.narayam-active { |
| 135 | + /* @embed */ |
| 136 | + background: url('../images/narayam-active.png') no-repeat scroll left top transparent; |
| 137 | +} |
| 138 | + |
| 139 | +li.narayam-inactive { |
| 140 | + /* @embed */ |
| 141 | + background: url('../images/narayam-inactive.png') no-repeat scroll left top transparent; |
| 142 | +} |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/css/ext.narayam.core.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 143 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/css/ext.narayam.core-monobook.css |
— | — | @@ -0,0 +1,3 @@ |
| 2 | +.narayam-wrapper select { |
| 3 | + width: 9em; |
| 4 | +} |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/css/ext.narayam.core-monobook.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 5 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/Narayam.i18n.php |
— | — | @@ -0,0 +1,1646 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation file for extension Narayam |
| 5 | + * |
| 6 | + * @addtogroup Extensions |
| 7 | + * @author Junaid P V <http://junaidpv.in> |
| 8 | + * @copyright 2010-2011 Junaid P V |
| 9 | + * @license GNU General Public Licence 3.0 or later |
| 10 | + */ |
| 11 | + |
| 12 | +$messages = array(); |
| 13 | + |
| 14 | +/** English |
| 15 | + * @author Junaid P V |
| 16 | + */ |
| 17 | +$messages['en'] = array( |
| 18 | + 'narayam-desc' => 'Allows to add custom input methods for input fields', |
| 19 | + 'narayam-toggle-ime' => 'Enable ($1)', |
| 20 | + 'narayam-menu' => 'Input Method', |
| 21 | + 'narayam-menu-tooltip' => 'Control Narayam Input Method Editor (IME)', |
| 22 | + 'narayam-help' => 'Help', |
| 23 | + 'narayam-help-page' => 'Help:Typing', |
| 24 | + 'narayam-checkbox-tooltip' => 'To toggle input method on and off', // FIXME: better message |
| 25 | + 'narayam-disable-preference' => 'Disable Narayam Input Method Editor (IME)', |
| 26 | + 'narayam-eo' => 'Esperanto', |
| 27 | + 'narayam-hi-inscript' => 'Hindi InScript', |
| 28 | + 'narayam-kn' => 'Kannada Transliteration', |
| 29 | + 'narayam-kn-inscript' => 'Kannada InScript', |
| 30 | + 'narayam-ml' => 'Malayalam Transliteration', |
| 31 | + 'narayam-ml-inscript' => 'Malayalam InScript', |
| 32 | + 'narayam-ne' => 'Nepali Transliteration', |
| 33 | + 'narayam-ne-inscript' => 'Nepali InScript', |
| 34 | + 'narayam-or' => 'Oriya Transliteration', |
| 35 | + 'narayam-or-inscript' => 'Oriya InScript', |
| 36 | + 'narayam-sa' => 'Sanskrit Transliteration', |
| 37 | + 'narayam-sa-inscript' => 'Sanskrit InScript', |
| 38 | + 'narayam-si-singlish' => 'Sinhala Singlish', |
| 39 | + 'narayam-si-wijesekara' => 'Sinhala Wijesekara', |
| 40 | + 'narayam-ta99' => 'Tamil99', |
| 41 | + 'narayam-ta' => 'Tamil Transliteration', |
| 42 | + 'narayam-te-inscript' => 'Telugu InScript', |
| 43 | + 'narayam-bn-avro' => 'Bengali Avro', |
| 44 | + 'narayam-bn-inscript' => 'Bengali InScript', |
| 45 | + 'narayam-bn-nkb' => 'Bengali NKB', |
| 46 | +); |
| 47 | + |
| 48 | +/** Message documentation (Message documentation) |
| 49 | + * @author McDutchie |
| 50 | + * @author Purodha |
| 51 | + * @author Raymond |
| 52 | + * @author Shijualex |
| 53 | + * @author Waldir |
| 54 | + * @author Yekrats |
| 55 | + */ |
| 56 | +$messages['qqq'] = array( |
| 57 | + 'narayam-desc' => '{{desc}}', |
| 58 | + 'narayam-toggle-ime' => 'Switch input method ($1)', |
| 59 | + 'narayam-menu' => 'Narayam allows to add custom input methods for input fields. |
| 60 | +See: http://www.mediawiki.org/wiki/Extension:Narayam', |
| 61 | + 'narayam-help' => 'See: http://www.mediawiki.org/wiki/Extension:Narayam |
| 62 | +{{Identical|Help}}', |
| 63 | + 'narayam-help-page' => '{{doc-important|Do not translate "Help:".}}', |
| 64 | + 'narayam-checkbox-tooltip' => 'Toggle the input method —that is, the interpretation of keystrokes— between "standard" and "interpreted by Narayam".', |
| 65 | + 'narayam-eo' => 'The language "Esperanto" in your local language. |
| 66 | +This allows for Narayam to add custom input methods for input fields. Esperanto x-system transcription. For more information, see http://www.mediawiki.org/wiki/Extension:Narayam .', |
| 67 | + 'narayam-hi-inscript' => '[[w:InScript|InScript]] keyboard layout for the Standard Hindi language.', |
| 68 | + 'narayam-kn' => 'Transliteration scheme for the Kannada language.', |
| 69 | + 'narayam-kn-inscript' => '[[w:InScript|InScript]] keyboard layout for the Kannada language.', |
| 70 | + 'narayam-ml' => 'Transliteration scheme for the Malayalam language.', |
| 71 | + 'narayam-ml-inscript' => '[[w:InScript|InScript]] keyboard layout for the Malayalam language.', |
| 72 | + 'narayam-ne' => 'Transliteration scheme for the Nepali language.', |
| 73 | + 'narayam-ne-inscript' => '[[w:InScript|InScript]] keyboard layout for the [[w:Nepali language|Nepali language]].', |
| 74 | + 'narayam-or' => 'Transliteration scheme for the Oriya language.', |
| 75 | + 'narayam-or-inscript' => '[[w:InScript|InScript]] keyboard layout for the Oriya language.', |
| 76 | + 'narayam-sa' => 'Transliteration scheme for the Sanskrit language.', |
| 77 | + 'narayam-sa-inscript' => '[[w:InScript|InScript]] keyboard layout for the Sanskrit language.', |
| 78 | + 'narayam-si-singlish' => 'Singlish keyboard layout for the Sinhala language.', |
| 79 | + 'narayam-si-wijesekara' => 'Wijesekara keyboard layout for the Sinhala language.', |
| 80 | + 'narayam-ta99' => 'Tamil 99 keyboard layout for the Tamil language.', |
| 81 | + 'narayam-ta' => 'Transliteration scheme for the Tamil language.', |
| 82 | + 'narayam-te-inscript' => '[[w:InScript|InScript]] keyboard layout for the [[w:Telugu language|Telugu language]].', |
| 83 | + 'narayam-bn-avro' => 'Avro keyboard layout for the Bengali language.', |
| 84 | + 'narayam-bn-inscript' => '[[w:InScript|InScript]] keyboard layout for the Bengali language.', |
| 85 | + 'narayam-bn-nkb' => 'National (Jatiyo) keyboard layout for the Bengali language.', |
| 86 | +); |
| 87 | + |
| 88 | +/** Afrikaans (Afrikaans) |
| 89 | + * @author Naudefj |
| 90 | + */ |
| 91 | +$messages['af'] = array( |
| 92 | + 'narayam-desc' => 'Maak aangepaste invoermetodes vir invoervelde moontlik', |
| 93 | + 'narayam-toggle-ime' => 'Aktiveer ($1)', |
| 94 | + 'narayam-menu' => 'Invoermetode', |
| 95 | + 'narayam-menu-tooltip' => 'Narayam invoermetode (IME)', |
| 96 | + 'narayam-help' => 'Hulp', |
| 97 | + 'narayam-help-page' => 'Help:Invoermetode', |
| 98 | + 'narayam-checkbox-tooltip' => 'Die invoermethode aktiveer of deaktiveer', |
| 99 | + 'narayam-disable-preference' => 'Deaktiveer Narayam invoermetode (IME)', |
| 100 | + 'narayam-eo' => 'Esperanto', |
| 101 | + 'narayam-hi-inscript' => 'Hindi InScript', |
| 102 | + 'narayam-kn' => 'Kannada Transliterasie', |
| 103 | + 'narayam-kn-inscript' => 'Kannada InScript', |
| 104 | + 'narayam-ml' => 'Malayalam Transliterasie', |
| 105 | + 'narayam-ml-inscript' => 'Malayalam InScript', |
| 106 | + 'narayam-ne' => 'Nepalese Transliterasie', |
| 107 | + 'narayam-ne-inscript' => 'Nepalese InScript', |
| 108 | + 'narayam-or' => 'Oriya Transliterasie', |
| 109 | + 'narayam-or-inscript' => 'Oriya InScript', |
| 110 | + 'narayam-sa' => 'Sanskrit Transliterasie', |
| 111 | + 'narayam-sa-inscript' => 'Sanskrit InScript', |
| 112 | + 'narayam-si-singlish' => 'Singalese Singlish', |
| 113 | + 'narayam-si-wijesekara' => 'Singalese Wijesekara', |
| 114 | + 'narayam-ta99' => 'Tamil99', |
| 115 | + 'narayam-ta' => 'Tamil Transliterasie', |
| 116 | + 'narayam-te-inscript' => 'Teloegoe InScript', |
| 117 | + 'narayam-bn-avro' => 'Bengaalse Avro', |
| 118 | + 'narayam-bn-inscript' => 'Bengaalse InScript', |
| 119 | + 'narayam-bn-nkb' => 'Bengaalse NKB', |
| 120 | +); |
| 121 | + |
| 122 | +/** Arabic (العربية) |
| 123 | + * @author Meno25 |
| 124 | + * @author زكريا |
| 125 | + */ |
| 126 | +$messages['ar'] = array( |
| 127 | + 'narayam-desc' => 'يتيح إضافة أساليب إدخال مخصصة لحقول الإدخال', |
| 128 | + 'narayam-toggle-ime' => 'فعل ($1)', |
| 129 | + 'narayam-help-page' => 'Help:كتابة', |
| 130 | + 'narayam-checkbox-tooltip' => 'لتشغيل أو تعطيل أسلوب الإدخال', |
| 131 | + 'narayam-disable-preference' => 'تعطيل محرر أسلوب إدخال نارايام (Narayam IME)', |
| 132 | + 'narayam-eo' => 'إسبرنتو', |
| 133 | + 'narayam-hi-inscript' => 'هندي إنسكربت (Hindi InScript)', |
| 134 | + 'narayam-kn' => 'نسخ حرفي كانادي', |
| 135 | + 'narayam-kn-inscript' => 'كانادا إنسكربت (Kannada InScript)', |
| 136 | + 'narayam-ml' => 'نسخ حرفي مالايالامي', |
| 137 | + 'narayam-ml-inscript' => 'مالايالام إنسكربت (Malayalam InScript)', |
| 138 | + 'narayam-ne' => 'نسخ حرفي نيبالي', |
| 139 | + 'narayam-ne-inscript' => 'نيبالي إنسكربت (Nepali InScript)', |
| 140 | + 'narayam-or' => 'نسخ حرفي أوريسي', |
| 141 | + 'narayam-or-inscript' => 'أوريا إنسكربت (Oriya InScript)', |
| 142 | + 'narayam-sa' => 'نسخ حرفي سنسكريتي', |
| 143 | + 'narayam-sa-inscript' => 'سنسكريت إنسكربت (Sanskrit InScript)', |
| 144 | + 'narayam-si-singlish' => 'سنهالا سنكليش (Sinhala Singlish)', |
| 145 | + 'narayam-si-wijesekara' => 'سنهالا ويجيسيكارا (Sinhala Wijesekara)', |
| 146 | + 'narayam-ta99' => 'تاميل تسعة وتسعين (Tamil99)', |
| 147 | + 'narayam-ta' => 'نسخ حرفي تاميلي', |
| 148 | + 'narayam-te-inscript' => 'تلوجو إنسكربت (Telugu InScript)', |
| 149 | + 'narayam-bn-avro' => 'بنغالي أفرو (Bengali Avro)', |
| 150 | + 'narayam-bn-inscript' => 'بنغالي إنسكربت (Bengali InScript)', |
| 151 | + 'narayam-bn-nkb' => 'بنغالي إن كي بي (Bengali NKB)', |
| 152 | +); |
| 153 | + |
| 154 | +/** Azerbaijani (Azərbaycanca) |
| 155 | + * @author Cekli829 |
| 156 | + */ |
| 157 | +$messages['az'] = array( |
| 158 | + 'narayam-help' => 'Kömək', |
| 159 | + 'narayam-hi-inscript' => 'Hindi InScript', |
| 160 | + 'narayam-kn' => 'Kannada Transliteration', |
| 161 | + 'narayam-kn-inscript' => 'Kannada InScript', |
| 162 | + 'narayam-ml' => 'Malayalam Transliteration', |
| 163 | + 'narayam-ml-inscript' => 'Malayalam InScript', |
| 164 | + 'narayam-ne' => 'Nepali Transliteration', |
| 165 | + 'narayam-ne-inscript' => 'Nepali InScript', |
| 166 | + 'narayam-or' => 'Oriya Transliteration', |
| 167 | + 'narayam-or-inscript' => 'Oriya InScript', |
| 168 | + 'narayam-sa' => 'Sanskrit Transliteration', |
| 169 | + 'narayam-sa-inscript' => 'Sanskrit InScript', |
| 170 | + 'narayam-si-singlish' => 'Sinhala Singlish', |
| 171 | + 'narayam-si-wijesekara' => 'Sinhala Wijesekara', |
| 172 | + 'narayam-ta99' => 'Tamil99', |
| 173 | + 'narayam-ta' => 'Tamil Transliteration', |
| 174 | + 'narayam-te-inscript' => 'Telugu InScript', |
| 175 | + 'narayam-bn-avro' => 'Bengali Avro', |
| 176 | + 'narayam-bn-inscript' => 'Bengali InScript', |
| 177 | + 'narayam-bn-nkb' => 'Bengali NKB', |
| 178 | +); |
| 179 | + |
| 180 | +/** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца)) |
| 181 | + * @author EugeneZelenko |
| 182 | + * @author Jim-by |
| 183 | + * @author Renessaince |
| 184 | + * @author Wizardist |
| 185 | + */ |
| 186 | +$messages['be-tarask'] = array( |
| 187 | + 'narayam-desc' => 'Дазваляе дадаваць нестандартныя мэтады ўводу для палёў уводу.', |
| 188 | + 'narayam-toggle-ime' => 'Дазволіць ($1)', |
| 189 | + 'narayam-menu' => 'Мэтад уводу', |
| 190 | + 'narayam-menu-tooltip' => 'Кіраваньне рэдактарам мэтадаў уводу Narayam', |
| 191 | + 'narayam-help' => 'Дапамога', |
| 192 | + 'narayam-help-page' => 'Help:Увод', |
| 193 | + 'narayam-checkbox-tooltip' => 'Для пераключэньня мэтаду уводу «Ўключыць» і «Выключыць»', |
| 194 | + 'narayam-disable-preference' => 'Забараніць рэдактар мэтадаў уводу Narayam', |
| 195 | + 'narayam-eo' => 'Эспэранта', |
| 196 | + 'narayam-hi-inscript' => 'Гіндзі InScript', |
| 197 | + 'narayam-kn' => 'Канацкая трансьлітарацыя', |
| 198 | + 'narayam-kn-inscript' => 'Канацкая InScript', |
| 199 | + 'narayam-ml' => 'Малайская трансьлітарацыя', |
| 200 | + 'narayam-ml-inscript' => 'Малайскі надпіс', |
| 201 | + 'narayam-ne' => 'Нэпальская трансьлітарацыя', |
| 202 | + 'narayam-ne-inscript' => 'Нэпальскі InScript', |
| 203 | + 'narayam-or' => 'Орыя трансьлітарацыя', |
| 204 | + 'narayam-or-inscript' => 'Орыя InScript', |
| 205 | + 'narayam-sa' => 'Санскрыцкая трансьлітарацыя', |
| 206 | + 'narayam-sa-inscript' => 'Санскрыт інскрыпт', |
| 207 | + 'narayam-si-singlish' => 'Сынгальскі Сынглсіх', |
| 208 | + 'narayam-si-wijesekara' => 'Сынгальскі Віджэсэкера', |
| 209 | + 'narayam-ta99' => 'Tamil99', |
| 210 | + 'narayam-ta' => 'Тамільская трансьлітарацыя', |
| 211 | + 'narayam-te-inscript' => 'Інскрыпт Telugu', |
| 212 | + 'narayam-bn-avro' => 'Bengali Avro', |
| 213 | + 'narayam-bn-inscript' => 'Bengali InScript', |
| 214 | + 'narayam-bn-nkb' => 'Бэнгальская NKB', |
| 215 | +); |
| 216 | + |
| 217 | +/** Bulgarian (Български) |
| 218 | + * @author DCLXVI |
| 219 | + */ |
| 220 | +$messages['bg'] = array( |
| 221 | + 'narayam-eo' => 'Есперанто', |
| 222 | +); |
| 223 | + |
| 224 | +/** Bengali (বাংলা) |
| 225 | + * @author Bellayet |
| 226 | + * @author Wikitanvir |
| 227 | + */ |
| 228 | +$messages['bn'] = array( |
| 229 | + 'narayam-desc' => 'ইনপুট ক্ষেত্রের জন্য কাস্টম ইনপুট পদ্ধতির যোগ অনুমোদন করে', |
| 230 | + 'narayam-toggle-ime' => 'সক্রিয় ($1)', |
| 231 | + 'narayam-menu' => 'ইনপুট প্রক্রিয়া', |
| 232 | + 'narayam-help' => 'সাহায্য', |
| 233 | + 'narayam-help-page' => 'Help:টাইপিং', |
| 234 | + 'narayam-disable-preference' => 'Narayam ইনপুট মেথড এডিটর (IME) নিষ্ক্রিয়', |
| 235 | + 'narayam-eo' => 'এসপারেন্টো', |
| 236 | + 'narayam-hi-inscript' => 'হিন্দি ইন্সক্রিপ্ট', |
| 237 | + 'narayam-kn' => 'কন্নড় প্রতিবর্ণীকরণ', |
| 238 | + 'narayam-kn-inscript' => 'কন্নড় ইন্সক্রিপ্ট', |
| 239 | + 'narayam-ml' => 'মালায়লম প্রতিবর্ণীকরণ', |
| 240 | + 'narayam-ml-inscript' => 'মালয়লাম ইন্সক্রিপ্ট', |
| 241 | + 'narayam-ne' => 'নেপালী প্রতিবর্ণীকরণ', |
| 242 | + 'narayam-ne-inscript' => 'নেপালী ইন্সক্রিপ্ট', |
| 243 | + 'narayam-or' => 'ওড়িয়া প্রতিবর্ণীকরণ', |
| 244 | + 'narayam-or-inscript' => 'ওড়িয়া ইন্সক্রিপ্ট', |
| 245 | + 'narayam-sa' => 'সংস্কৃত প্রতিবর্ণীকরণ', |
| 246 | + 'narayam-sa-inscript' => 'সংস্কৃত ইন্সক্রিপ্ট', |
| 247 | + 'narayam-si-singlish' => 'সিনহালা সিংলিশ', |
| 248 | + 'narayam-si-wijesekara' => 'সিনহালা উইজেসেকারা', |
| 249 | + 'narayam-ta99' => 'তামিল৯৯', |
| 250 | + 'narayam-ta' => 'তামিল প্রতিবর্ণীকরণ', |
| 251 | + 'narayam-te-inscript' => 'তেলেগু ইন্সক্রিপ্ট', |
| 252 | + 'narayam-bn-avro' => 'বাংলা অভ্র', |
| 253 | + 'narayam-bn-inscript' => 'বাংলা ইন্সক্রিপ্ট', |
| 254 | + 'narayam-bn-nkb' => 'বাংলা এনকেবি', |
| 255 | +); |
| 256 | + |
| 257 | +/** Breton (Brezhoneg) |
| 258 | + * @author Fulup |
| 259 | + */ |
| 260 | +$messages['br'] = array( |
| 261 | + 'narayam-desc' => 'Aotren a ra ouzhpennañ hentennoù bizskrivañ personelaet evit ar maeziennoù bizskrivañ', |
| 262 | + 'narayam-toggle-ime' => 'Evit eilpennañ an hentenn enmont ($1)', |
| 263 | + 'narayam-help-page' => 'Help:Bizskrivañ', |
| 264 | + 'narayam-checkbox-tooltip' => 'Evit eilpennañ an hentenn enmont war enaou pe get', |
| 265 | + 'narayam-disable-preference' => 'Diweredekaat an embanner hentenn enmont evit an narayam', |
| 266 | + 'narayam-eo' => 'Esperanteg', |
| 267 | + 'narayam-hi-inscript' => 'InScript hindi', |
| 268 | + 'narayam-kn' => 'Treuzlizherennadur kannada', |
| 269 | + 'narayam-kn-inscript' => 'InScript kannada', |
| 270 | + 'narayam-ml' => 'Treuzlizherennadur Malayalam', |
| 271 | + 'narayam-ml-inscript' => 'InScript malayalam', |
| 272 | + 'narayam-or' => 'Treuzlizherennadur oriya', |
| 273 | + 'narayam-or-inscript' => 'InScript oriya', |
| 274 | + 'narayam-sa' => 'Treuzlizherennadur sanskriteg', |
| 275 | + 'narayam-sa-inscript' => 'InScript sanskriteg', |
| 276 | + 'narayam-si-singlish' => 'Singlisheg Sri Lanka', |
| 277 | + 'narayam-si-wijesekara' => 'Wijesekara Sri Lanka', |
| 278 | + 'narayam-ta99' => 'Tamil99', |
| 279 | + 'narayam-ta' => 'Treuzlizherennadur tamoul', |
| 280 | + 'narayam-te-inscript' => 'InScript telougou', |
| 281 | + 'narayam-bn-avro' => 'Avro bengaleg', |
| 282 | + 'narayam-bn-inscript' => 'InScript bengaleg', |
| 283 | + 'narayam-bn-nkb' => 'NKB bengaleg', |
| 284 | +); |
| 285 | + |
| 286 | +/** Bosnian (Bosanski) |
| 287 | + * @author CERminator |
| 288 | + */ |
| 289 | +$messages['bs'] = array( |
| 290 | + 'narayam-desc' => 'Omogućava dodavanje proizvoljnog metoda unosa za polja unosa', |
| 291 | + 'narayam-toggle-ime' => 'Za prebacivanje IM ($1)', |
| 292 | + 'narayam-help-page' => 'Help:Tipkanje', |
| 293 | + 'narayam-checkbox-tooltip' => 'Za uključivanje i isključivanje načina unosa', |
| 294 | + 'narayam-disable-preference' => 'Onemogući Uređivač za unos po metodi Narayam (IME)', |
| 295 | + 'narayam-eo' => 'Esperanto', |
| 296 | + 'narayam-hi-inscript' => 'InScript za hidni', |
| 297 | + 'narayam-kn' => 'Kannada transliteracija', |
| 298 | + 'narayam-kn-inscript' => 'InScript za Kannadu', |
| 299 | + 'narayam-ml' => 'Malayalam transliteracija', |
| 300 | + 'narayam-ml-inscript' => 'InScript za Malayalam', |
| 301 | + 'narayam-or' => 'Oriya transliteracija', |
| 302 | + 'narayam-or-inscript' => 'InScript za Oriya', |
| 303 | + 'narayam-sa' => 'Sanskrit transliteracija', |
| 304 | + 'narayam-sa-inscript' => 'InScript za sanskrit', |
| 305 | + 'narayam-si-singlish' => 'Sinhala singleski', |
| 306 | + 'narayam-si-wijesekara' => 'Sinhala Wijesekara', |
| 307 | + 'narayam-ta99' => 'Tamil99', |
| 308 | + 'narayam-ta' => 'Tamil transliteracija', |
| 309 | + 'narayam-te-inscript' => 'Telugu InScript', |
| 310 | + 'narayam-bn-avro' => 'Bengali Avro', |
| 311 | + 'narayam-bn-inscript' => 'InScript za bengalski', |
| 312 | + 'narayam-bn-nkb' => 'Bengalski NKB', |
| 313 | +); |
| 314 | + |
| 315 | +/** Czech (Česky) |
| 316 | + * @author Mormegil |
| 317 | + */ |
| 318 | +$messages['cs'] = array( |
| 319 | + 'narayam-desc' => 'Umožňuje přidávat ke vstupním polím vlastní metody vstupu', |
| 320 | + 'narayam-disable-preference' => 'Vypnout editor (IME) Narayam', |
| 321 | +); |
| 322 | + |
| 323 | +/** Danish (Dansk) |
| 324 | + * @author Peter Alberti |
| 325 | + */ |
| 326 | +$messages['da'] = array( |
| 327 | + 'narayam-toggle-ime' => 'Aktiver ($1)', |
| 328 | + 'narayam-menu' => 'Inputmetode', |
| 329 | + 'narayam-help' => 'Hjælp', |
| 330 | + 'narayam-eo' => 'Esperanto', |
| 331 | +); |
| 332 | + |
| 333 | +/** German (Deutsch) |
| 334 | + * @author Brion |
| 335 | + * @author Kghbln |
| 336 | + * @author McDutchie |
| 337 | + * @author Metalhead64 |
| 338 | + */ |
| 339 | +$messages['de'] = array( |
| 340 | + 'narayam-desc' => 'Ermöglicht benutzerdefinierte Eingabemethoden für Eingabefelder', |
| 341 | + 'narayam-toggle-ime' => 'Aktiviere ($1)', |
| 342 | + 'narayam-menu' => 'Eingabemethode', |
| 343 | + 'narayam-menu-tooltip' => 'Steuerung des Eingabemethodeneditors von Narayam (IME)', |
| 344 | + 'narayam-help' => 'Hilfe', |
| 345 | + 'narayam-help-page' => 'Help:Eingabe', |
| 346 | + 'narayam-checkbox-tooltip' => 'Eingabemethode ein- und ausschalten', |
| 347 | + 'narayam-disable-preference' => 'Narayam-Editor deaktivieren', |
| 348 | + 'narayam-eo' => 'Esperanto', |
| 349 | + 'narayam-hi-inscript' => 'Hindi (InScript)', |
| 350 | + 'narayam-kn' => 'Kannada (Transliteration)', |
| 351 | + 'narayam-kn-inscript' => 'Kannada (InScript)', |
| 352 | + 'narayam-ml' => 'Malayalam (Transliteration)', |
| 353 | + 'narayam-ml-inscript' => 'Malayalam (InScript)', |
| 354 | + 'narayam-ne' => 'Nepali (Transliteration)', |
| 355 | + 'narayam-ne-inscript' => 'Nepali (InScript)', |
| 356 | + 'narayam-or' => 'Oriya (Transliteration)', |
| 357 | + 'narayam-or-inscript' => 'Oriya (InScript)', |
| 358 | + 'narayam-sa' => 'Sanskrit (Transliteration)', |
| 359 | + 'narayam-sa-inscript' => 'Sanskrit (InScript)', |
| 360 | + 'narayam-si-singlish' => 'Singhalesisch (Singlish)', |
| 361 | + 'narayam-si-wijesekara' => 'Singhalesisch (Wijesekara)', |
| 362 | + 'narayam-ta99' => 'Tamil (Tamil 99)', |
| 363 | + 'narayam-ta' => 'Tamil (Transliteration)', |
| 364 | + 'narayam-te-inscript' => 'Telugu InScript', |
| 365 | + 'narayam-bn-avro' => 'Bengalisch (Avro)', |
| 366 | + 'narayam-bn-inscript' => 'Bengalisch (InScript)', |
| 367 | + 'narayam-bn-nkb' => 'Bengalisch (NKB)', |
| 368 | +); |
| 369 | + |
| 370 | +/** Greek (Ελληνικά) |
| 371 | + * @author Glavkos |
| 372 | + * @author ZaDiak |
| 373 | + */ |
| 374 | +$messages['el'] = array( |
| 375 | + 'narayam-menu' => 'Μέθοδος Εισαγωγής', |
| 376 | + 'narayam-menu-tooltip' => 'Έλεγχος Narayam Input Method Editor (IME)', |
| 377 | + 'narayam-help' => 'Βοήθεια', |
| 378 | + 'narayam-help-page' => 'Help:Πληκτρολόγηση', |
| 379 | + 'narayam-disable-preference' => 'Απενεργοποίηση Narayam Input Method Editor (IME)', |
| 380 | + 'narayam-eo' => 'Εσπεράντο', |
| 381 | +); |
| 382 | + |
| 383 | +/** Esperanto (Esperanto) |
| 384 | + * @author Yekrats |
| 385 | + */ |
| 386 | +$messages['eo'] = array( |
| 387 | + 'narayam-desc' => 'Provizas agorditajn enigmetodojn por enigkampoj', |
| 388 | + 'narayam-toggle-ime' => 'Ŝalti enigmetodon ($1)', |
| 389 | + 'narayam-menu' => 'Metodo de enigo', |
| 390 | + 'narayam-menu-tooltip' => 'Trakti redaktilon de eniga metodo (IME) Narayam', |
| 391 | + 'narayam-help' => 'Helpo', |
| 392 | + 'narayam-help-page' => 'Help:Tajpado', |
| 393 | + 'narayam-checkbox-tooltip' => 'En/elŝalti enigmetodon for specialaj literoj', |
| 394 | + 'narayam-disable-preference' => 'Elŝalti enigmetodon (IME) Narayam', |
| 395 | + 'narayam-eo' => 'Esperanto', |
| 396 | + 'narayam-hi-inscript' => 'InScript hindia', |
| 397 | + 'narayam-kn' => 'Transilterumado de la kanara lingvo', |
| 398 | + 'narayam-kn-inscript' => 'InScript por la kanara lingvo', |
| 399 | + 'narayam-ml' => 'Transilterumado de la malajala lingvo', |
| 400 | + 'narayam-ml-inscript' => 'Malajala InScript', |
| 401 | + 'narayam-ne' => 'Nepala Transiliterigado', |
| 402 | + 'narayam-ne-inscript' => 'Nepala InScript', |
| 403 | + 'narayam-or' => 'Oriya Transiliterigado', |
| 404 | + 'narayam-or-inscript' => 'Orija InScript', |
| 405 | + 'narayam-sa' => 'Transilterumado de la sanskrita lingvo', |
| 406 | + 'narayam-sa-inscript' => 'Sanskrita InScript', |
| 407 | + 'narayam-si-singlish' => 'Sinhala Singlish', |
| 408 | + 'narayam-si-wijesekara' => 'Sinhala Wijesekara', |
| 409 | + 'narayam-ta99' => 'Tamil99', |
| 410 | + 'narayam-ta' => 'Tamila Transiliterigado', |
| 411 | + 'narayam-te-inscript' => 'Telugua InScript', |
| 412 | + 'narayam-bn-avro' => 'Bengala Avro', |
| 413 | + 'narayam-bn-inscript' => 'Bengala InScript', |
| 414 | + 'narayam-bn-nkb' => 'Bengala NKB', |
| 415 | +); |
| 416 | + |
| 417 | +/** Persian (فارسی) |
| 418 | + * @author Mjbmr |
| 419 | + */ |
| 420 | +$messages['fa'] = array( |
| 421 | + 'narayam-desc' => 'اجازهٔ افزودن روشهای ورودی سفارشی برای زمینههای ورودی را میدهد', |
| 422 | + 'narayam-toggle-ime' => 'فعال سازی ($1)', |
| 423 | + 'narayam-menu' => 'روش ورودی', |
| 424 | + 'narayam-menu-tooltip' => 'کنترل ویرایشگر روش ورودی نارایام (IME)', |
| 425 | + 'narayam-help' => 'راهنما', |
| 426 | + 'narayam-help-page' => 'Help:حروفچینی', |
| 427 | + 'narayam-checkbox-tooltip' => 'برای تغییر روش ورودی، روشن یا خاموش', |
| 428 | + 'narayam-disable-preference' => 'غیر فعال کردن ویرایشگر روش ورودی نارایام (IME)', |
| 429 | + 'narayam-eo' => 'اسپرانتو', |
| 430 | + 'narayam-hi-inscript' => 'اسکریپت هندی', |
| 431 | + 'narayam-kn' => 'نویسهگردانی کانادهای', |
| 432 | + 'narayam-kn-inscript' => 'اسکریپت کانادهای', |
| 433 | + 'narayam-ml' => 'نویسهگردانی مالایایی', |
| 434 | + 'narayam-ml-inscript' => 'اسکریپت مالایایی', |
| 435 | + 'narayam-ne' => 'نویسهگردانی نپالی', |
| 436 | + 'narayam-ne-inscript' => 'اسکریپت نپالی', |
| 437 | + 'narayam-or' => 'نویسهگردانی اوریایی', |
| 438 | + 'narayam-or-inscript' => 'اسکریپت اوریایی', |
| 439 | + 'narayam-sa' => 'نویسهگردانی سانسکریت', |
| 440 | + 'narayam-sa-inscript' => 'اسکریپت سانسکریت', |
| 441 | + 'narayam-si-singlish' => 'سینگلیشی سینهالی', |
| 442 | + 'narayam-si-wijesekara' => 'ویجسکارای سینهالی', |
| 443 | + 'narayam-ta99' => 'تامیل۹۹', |
| 444 | + 'narayam-ta' => 'نویسهگردانی تامیلی', |
| 445 | + 'narayam-te-inscript' => 'اسکریپت تلوگویی', |
| 446 | + 'narayam-bn-avro' => 'بنگالی آورو', |
| 447 | + 'narayam-bn-inscript' => 'اسکریپت بنگالی', |
| 448 | + 'narayam-bn-nkb' => 'بنگالی انکِیبی', |
| 449 | +); |
| 450 | + |
| 451 | +/** Finnish (Suomi) |
| 452 | + * @author Nike |
| 453 | + * @author Olli |
| 454 | + */ |
| 455 | +$messages['fi'] = array( |
| 456 | + 'narayam-desc' => 'Sallii mukautettujen syöttötapojen lisäämisen kenttiin', |
| 457 | + 'narayam-toggle-ime' => 'Ota käyttöön ($1)', |
| 458 | + 'narayam-menu' => 'Syöttötapa', |
| 459 | + 'narayam-menu-tooltip' => 'Hallitse Narayam Input Method Editor (IME)', |
| 460 | + 'narayam-help' => 'Ohje', |
| 461 | + 'narayam-help-page' => 'Help:Kirjoittaminen', |
| 462 | + 'narayam-checkbox-tooltip' => 'Ota syöttötapa käyttöön ja pois', |
| 463 | + 'narayam-disable-preference' => 'Poista Narayam Input Method Editor (IME) käytöstä', |
| 464 | + 'narayam-eo' => 'Esperanto', |
| 465 | + 'narayam-hi-inscript' => 'Hindi InScript', |
| 466 | + 'narayam-kn' => 'Kannada-translitterointi', |
| 467 | + 'narayam-kn-inscript' => 'Kannada InScript', |
| 468 | + 'narayam-ml' => 'Malajalam-translitterointi', |
| 469 | + 'narayam-ml-inscript' => 'Malajalam InScript', |
| 470 | + 'narayam-ne' => 'Nepali-translitterointi', |
| 471 | + 'narayam-ne-inscript' => 'Nepali InScript', |
| 472 | + 'narayam-or' => 'Orija-translitterointi', |
| 473 | + 'narayam-or-inscript' => 'Orija InScript', |
| 474 | + 'narayam-sa' => 'Sanskrit-translitterointi', |
| 475 | + 'narayam-sa-inscript' => 'Sanskrit InScript', |
| 476 | + 'narayam-si-singlish' => 'Sinhala Singlish', |
| 477 | + 'narayam-si-wijesekara' => 'Sinhala Wijesekara', |
| 478 | + 'narayam-ta99' => 'Tamil99', |
| 479 | + 'narayam-ta' => 'Tamil-translitterointi', |
| 480 | + 'narayam-te-inscript' => 'Telugu InScript', |
| 481 | + 'narayam-bn-avro' => 'Bengali Avro', |
| 482 | + 'narayam-bn-inscript' => 'Bengali InScript', |
| 483 | + 'narayam-bn-nkb' => 'Bengali NKB', |
| 484 | +); |
| 485 | + |
| 486 | +/** French (Français) |
| 487 | + * @author Coyau |
| 488 | + * @author Gomoko |
| 489 | + * @author IAlex |
| 490 | + * @author Sherbrooke |
| 491 | + * @author Wyz |
| 492 | + */ |
| 493 | +$messages['fr'] = array( |
| 494 | + 'narayam-desc' => "Permet d'ajouter des méthodes de saisie personnalisés pour les champs de saisie", |
| 495 | + 'narayam-toggle-ime' => 'Activer ($1)', |
| 496 | + 'narayam-menu' => 'Méthode d’entrée', |
| 497 | + 'narayam-menu-tooltip' => 'Contrôle de l’éditeur de méthode d’entrée (IME) Narayam', |
| 498 | + 'narayam-help' => 'Aide', |
| 499 | + 'narayam-help-page' => 'Help:Saisie au clavier', |
| 500 | + 'narayam-checkbox-tooltip' => "Pour activer et désactiver la méthode d'entrée", |
| 501 | + 'narayam-disable-preference' => "Désactiver la méthode d'entrée (IME) Narayam", |
| 502 | + 'narayam-eo' => 'Espéranto', |
| 503 | + 'narayam-hi-inscript' => 'InScript hindi', |
| 504 | + 'narayam-kn' => 'Translittération kannada', |
| 505 | + 'narayam-kn-inscript' => 'InScript kannada', |
| 506 | + 'narayam-ml' => 'Translittération malayâlam', |
| 507 | + 'narayam-ml-inscript' => 'InScript malayâlam', |
| 508 | + 'narayam-ne' => 'Translittération népalaise', |
| 509 | + 'narayam-ne-inscript' => 'InScript népalais', |
| 510 | + 'narayam-or' => 'Translittération oriya', |
| 511 | + 'narayam-or-inscript' => 'InScript oriya', |
| 512 | + 'narayam-sa' => 'Translittération sanskrit', |
| 513 | + 'narayam-sa-inscript' => 'InScript sanskrit', |
| 514 | + 'narayam-si-singlish' => 'Singlish cinghalais', |
| 515 | + 'narayam-si-wijesekara' => 'Wijesekara cinghalais', |
| 516 | + 'narayam-ta99' => 'Tamil99', |
| 517 | + 'narayam-ta' => 'Translittération tamoule', |
| 518 | + 'narayam-te-inscript' => 'InScript télougou', |
| 519 | + 'narayam-bn-avro' => 'Avro bengali', |
| 520 | + 'narayam-bn-inscript' => 'InScript bengali', |
| 521 | + 'narayam-bn-nkb' => 'NKB bengali', |
| 522 | +); |
| 523 | + |
| 524 | +/** Franco-Provençal (Arpetan) |
| 525 | + * @author ChrisPtDe |
| 526 | + */ |
| 527 | +$messages['frp'] = array( |
| 528 | + 'narayam-desc' => 'Pèrmèt d’apondre des mètodes d’entrâ pèrsonalisâs por los champs d’entrâ.', |
| 529 | + 'narayam-toggle-ime' => 'Activar ($1)', |
| 530 | + 'narayam-menu' => 'Mètoda d’entrâ', |
| 531 | + 'narayam-menu-tooltip' => 'Contrôlo de l’èditor de mètoda d’entrâ (IME) Narayam', |
| 532 | + 'narayam-help' => 'Éde', |
| 533 | + 'narayam-help-page' => 'Help:Entrâ u cllaviér', |
| 534 | + 'narayam-checkbox-tooltip' => 'Por activar et dèsactivar la mètoda d’entrâ', |
| 535 | + 'narayam-disable-preference' => 'Dèsactivar l’èditor de mètoda d’entrâ (IME) Narayam', |
| 536 | + 'narayam-eo' => 'Èsperanto', |
| 537 | + 'narayam-hi-inscript' => 'InScript hindi', |
| 538 | + 'narayam-kn' => 'Translitèracion canadâ', |
| 539 | + 'narayam-kn-inscript' => 'InScript canadâ', |
| 540 | + 'narayam-ml' => 'Translitèracion malayâlame', |
| 541 | + 'narayam-ml-inscript' => 'InScript malayâlame', |
| 542 | + 'narayam-ne' => 'Translitèracion nèpalêsa', |
| 543 | + 'narayam-ne-inscript' => 'InScript nèpalês', |
| 544 | + 'narayam-or' => 'Translitèracion oriyâ', |
| 545 | + 'narayam-or-inscript' => 'InScript oriyâ', |
| 546 | + 'narayam-sa' => 'Translitèracion sanscrite', |
| 547 | + 'narayam-sa-inscript' => 'InScript sanscrite', |
| 548 | + 'narayam-si-singlish' => 'Singlish cingalês', |
| 549 | + 'narayam-si-wijesekara' => 'Wijesekara cingalês', |
| 550 | + 'narayam-ta99' => 'Tamil99', |
| 551 | + 'narayam-ta' => 'Translitèracion tamoule', |
| 552 | + 'narayam-te-inscript' => 'InScript tèlougou', |
| 553 | + 'narayam-bn-avro' => 'Avro bengali', |
| 554 | + 'narayam-bn-inscript' => 'InScript bengali', |
| 555 | + 'narayam-bn-nkb' => 'NKB bengali', |
| 556 | +); |
| 557 | + |
| 558 | +/** Galician (Galego) |
| 559 | + * @author MetalBrasil |
| 560 | + * @author Toliño |
| 561 | + */ |
| 562 | +$messages['gl'] = array( |
| 563 | + 'narayam-desc' => 'Permite engadir métodos de entrada personalizados para os campos de entrada', |
| 564 | + 'narayam-toggle-ime' => 'Activar ($1)', |
| 565 | + 'narayam-menu' => 'Método de entrada', |
| 566 | + 'narayam-menu-tooltip' => 'Controlar o editor de método de entrada do narayam', |
| 567 | + 'narayam-help' => 'Axuda', |
| 568 | + 'narayam-help-page' => 'Help:Escritura', |
| 569 | + 'narayam-checkbox-tooltip' => 'Para activar e desactivar o método de entrada', |
| 570 | + 'narayam-disable-preference' => 'Desactivar o editor de método de entrada do narayam', |
| 571 | + 'narayam-eo' => 'Esperanto', |
| 572 | + 'narayam-hi-inscript' => 'InScript para hindi', |
| 573 | + 'narayam-kn' => 'Transliteración para kannada', |
| 574 | + 'narayam-kn-inscript' => 'InScript para kannada', |
| 575 | + 'narayam-ml' => 'Transliteración para malayalam', |
| 576 | + 'narayam-ml-inscript' => 'InScript para malayalam', |
| 577 | + 'narayam-ne' => 'Transliteración para nepalí', |
| 578 | + 'narayam-ne-inscript' => 'InScript para nepalí', |
| 579 | + 'narayam-or' => 'Transliteración para oriya', |
| 580 | + 'narayam-or-inscript' => 'InScript para oriya', |
| 581 | + 'narayam-sa' => 'Transliteración para sánscrito', |
| 582 | + 'narayam-sa-inscript' => 'InScript para sánscrito', |
| 583 | + 'narayam-si-singlish' => 'Singlish para cingalés', |
| 584 | + 'narayam-si-wijesekara' => 'Wijesekara para cingalés', |
| 585 | + 'narayam-ta99' => 'Tamil99 para támil', |
| 586 | + 'narayam-ta' => 'Transliteración para támil', |
| 587 | + 'narayam-te-inscript' => 'InScript para telugú', |
| 588 | + 'narayam-bn-avro' => 'Avro para bengalí', |
| 589 | + 'narayam-bn-inscript' => 'InScript para bengalí', |
| 590 | + 'narayam-bn-nkb' => 'NKB para bengalí', |
| 591 | +); |
| 592 | + |
| 593 | +/** Swiss German (Alemannisch) |
| 594 | + * @author Als-Holder |
| 595 | + */ |
| 596 | +$messages['gsw'] = array( |
| 597 | + 'narayam-desc' => 'Macht benutzerdefinierti Yygabemethode fir Yygabefälder megli', |
| 598 | + 'narayam-toggle-ime' => 'Yygabemethode umschalte ($1)', |
| 599 | + 'narayam-help-page' => 'Help:Yygabe', |
| 600 | + 'narayam-checkbox-tooltip' => 'Yygabemethode aa- un abstelle', |
| 601 | + 'narayam-hi-inscript' => 'Hindi (InScript)', |
| 602 | + 'narayam-kn' => 'Kannada (Transliteration)', |
| 603 | + 'narayam-kn-inscript' => 'Kannada (InScript)', |
| 604 | + 'narayam-ml' => 'Malayalam (Transliteration)', |
| 605 | + 'narayam-ml-inscript' => 'Malayalam (InScript)', |
| 606 | + 'narayam-or' => 'Oriya (Transliteration)', |
| 607 | + 'narayam-or-inscript' => 'Oriya (InScript)', |
| 608 | + 'narayam-sa' => 'Sanskrit (Transliteration)', |
| 609 | + 'narayam-sa-inscript' => 'Sanskrit (InScript)', |
| 610 | + 'narayam-si-singlish' => 'Singhalesisch (Singlish)', |
| 611 | + 'narayam-si-wijesekara' => 'Singhalesisch (Wijesekara)', |
| 612 | + 'narayam-ta99' => 'Tamil (Tamil 99)', |
| 613 | + 'narayam-ta' => 'Tamil (Transliteration)', |
| 614 | + 'narayam-bn-avro' => 'Bengalisch (Avro)', |
| 615 | + 'narayam-bn-inscript' => 'Bengalisch (InScript)', |
| 616 | + 'narayam-bn-nkb' => 'Bengalisch (NKB)', |
| 617 | +); |
| 618 | + |
| 619 | +/** Hebrew (עברית) |
| 620 | + * @author Amire80 |
| 621 | + * @author McDutchie |
| 622 | + */ |
| 623 | +$messages['he'] = array( |
| 624 | + 'narayam-desc' => 'הוספת שיטות קלט מותאמות אישית לשדות קלט.', |
| 625 | + 'narayam-toggle-ime' => 'הפעלת שיטת קלט ($1)', |
| 626 | + 'narayam-menu' => 'שיטת קלט', |
| 627 | + 'narayam-menu-tooltip' => 'בקרה על שיטת קלט של נאראיאם', |
| 628 | + 'narayam-help' => 'עזרה', |
| 629 | + 'narayam-help-page' => 'Help:הקלדה', |
| 630 | + 'narayam-checkbox-tooltip' => 'הפעלה וכיבוי של שיטת קלט', |
| 631 | + 'narayam-disable-preference' => 'לבטל את שיטת הקלט של נאראיאם', |
| 632 | + 'narayam-eo' => 'אספרנטו', |
| 633 | + 'narayam-hi-inscript' => 'הינדי InScript', |
| 634 | + 'narayam-kn' => 'קאנדה תעתיק', |
| 635 | + 'narayam-kn-inscript' => 'קאנדה InScript', |
| 636 | + 'narayam-ml' => 'מליאלם תעתיק', |
| 637 | + 'narayam-ml-inscript' => 'מליאלם InScript', |
| 638 | + 'narayam-ne' => 'נפאלית תעתיק', |
| 639 | + 'narayam-ne-inscript' => 'נפאלית InScript', |
| 640 | + 'narayam-or' => 'אורייה תעתיק', |
| 641 | + 'narayam-or-inscript' => 'אורייה InScript', |
| 642 | + 'narayam-sa' => 'סנסקריט תעתיק', |
| 643 | + 'narayam-sa-inscript' => 'סנסקריט InScript', |
| 644 | + 'narayam-si-singlish' => 'סינהלה Singlsih', |
| 645 | + 'narayam-si-wijesekara' => 'סינהלה Wijesekara', |
| 646 | + 'narayam-ta99' => 'טמילית Tamil99', |
| 647 | + 'narayam-ta' => 'טמילית תעתיק', |
| 648 | + 'narayam-te-inscript' => 'טלוגו InScript', |
| 649 | + 'narayam-bn-avro' => 'בנגלית Avro', |
| 650 | + 'narayam-bn-inscript' => 'בנגלית InScript', |
| 651 | + 'narayam-bn-nkb' => 'בנגלית NKB', |
| 652 | +); |
| 653 | + |
| 654 | +/** Upper Sorbian (Hornjoserbsce) |
| 655 | + * @author McDutchie |
| 656 | + * @author Michawiki |
| 657 | + */ |
| 658 | +$messages['hsb'] = array( |
| 659 | + 'narayam-desc' => 'Zmóžnja swójske zapodawanske metody za zapodawanske pola přidać', |
| 660 | + 'narayam-toggle-ime' => 'Zapodawansku metodu přepinać ($1)', |
| 661 | + 'narayam-help-page' => 'Help:Zapodaće', |
| 662 | + 'narayam-checkbox-tooltip' => 'Zapodawansku metodu za- a wupinać', |
| 663 | + 'narayam-disable-preference' => 'Narayam Input Method Editor (IME) znjemóžnić', |
| 664 | + 'narayam-hi-inscript' => 'Hindi InScript', |
| 665 | + 'narayam-kn' => 'Transliteracija kannady', |
| 666 | + 'narayam-kn-inscript' => 'Kannada InScript', |
| 667 | + 'narayam-ml' => 'Transliteracija malajalama', |
| 668 | + 'narayam-ml-inscript' => 'Malajalam InScript', |
| 669 | + 'narayam-or' => 'Transliteracija orijišćiny', |
| 670 | + 'narayam-or-inscript' => 'Oriya InScript', |
| 671 | + 'narayam-sa' => 'Transliteracija sanskrita', |
| 672 | + 'narayam-sa-inscript' => 'Sanskrit InScript', |
| 673 | + 'narayam-si-singlish' => 'Sinhala (Singlsih)', |
| 674 | + 'narayam-si-wijesekara' => 'Sinhala (Wijesekara)', |
| 675 | + 'narayam-ta99' => 'Tamil99', |
| 676 | + 'narayam-ta' => 'Transliteracija tamilšćiny', |
| 677 | + 'narayam-bn-avro' => 'Bengali-Avro', |
| 678 | + 'narayam-bn-inscript' => 'Bengali InScript', |
| 679 | + 'narayam-bn-nkb' => 'Bengali NKB', |
| 680 | +); |
| 681 | + |
| 682 | +/** Hungarian (Magyar) |
| 683 | + * @author Dani |
| 684 | + */ |
| 685 | +$messages['hu'] = array( |
| 686 | + 'narayam-eo' => 'Eszperantó', |
| 687 | +); |
| 688 | + |
| 689 | +/** Interlingua (Interlingua) |
| 690 | + * @author McDutchie |
| 691 | + */ |
| 692 | +$messages['ia'] = array( |
| 693 | + 'narayam-desc' => 'Permitte adder methodos personalisate de entrata pro campos de entrata.', |
| 694 | + 'narayam-toggle-ime' => 'Activar ($1)', |
| 695 | + 'narayam-menu' => 'Methodo de entrata', |
| 696 | + 'narayam-menu-tooltip' => 'Controlar le methodo de entrata (IME) pro Narayam', |
| 697 | + 'narayam-help' => 'Adjuta', |
| 698 | + 'narayam-help-page' => 'Help:Dactylographia', |
| 699 | + 'narayam-checkbox-tooltip' => 'Activar e disactivar le methodo de entrata', |
| 700 | + 'narayam-disable-preference' => 'Disactivar le methodo de entrata pro Narayam', |
| 701 | + 'narayam-eo' => 'Esperanto', |
| 702 | + 'narayam-hi-inscript' => 'Hindi (InScript)', |
| 703 | + 'narayam-kn' => 'Translitteration in kannada', |
| 704 | + 'narayam-kn-inscript' => 'Kannada (InScript)', |
| 705 | + 'narayam-ml' => 'Translitteration in malayalam', |
| 706 | + 'narayam-ml-inscript' => 'Malayalam (InScript)', |
| 707 | + 'narayam-ne' => 'Translitteration nepalese', |
| 708 | + 'narayam-ne-inscript' => 'InScript nepalese', |
| 709 | + 'narayam-or' => 'Translitteration in oriya', |
| 710 | + 'narayam-or-inscript' => 'Oriya (InScript)', |
| 711 | + 'narayam-sa' => 'Translitteration in sanscrito', |
| 712 | + 'narayam-sa-inscript' => 'Sanscrito (InScript)', |
| 713 | + 'narayam-si-singlish' => 'Cingalese (Singlish)', |
| 714 | + 'narayam-si-wijesekara' => 'Cingalese (Wijesekara)', |
| 715 | + 'narayam-ta99' => 'Tamil99', |
| 716 | + 'narayam-ta' => 'Translitteration in tamil', |
| 717 | + 'narayam-te-inscript' => 'Telugu (InScript)', |
| 718 | + 'narayam-bn-avro' => 'Bengalese (Avro)', |
| 719 | + 'narayam-bn-inscript' => 'Bengalese (InScript)', |
| 720 | + 'narayam-bn-nkb' => 'Bengalese (NKB)', |
| 721 | +); |
| 722 | + |
| 723 | +/** Indonesian (Bahasa Indonesia) |
| 724 | + * @author IvanLanin |
| 725 | + */ |
| 726 | +$messages['id'] = array( |
| 727 | + 'narayam-desc' => 'Memungkinkan penambahan metode masukan ubah suaian untuk bidang isian', |
| 728 | + 'narayam-toggle-ime' => 'Untuk mengganti IM ($1)', |
| 729 | + 'narayam-help-page' => 'Help:Pengetikan', |
| 730 | + 'narayam-checkbox-tooltip' => 'Untuk mengaktifkan/mematikan metode masukan', |
| 731 | + 'narayam-disable-preference' => 'Nonaktifkan Editor Metode Masukan (IME) Narayam', |
| 732 | + 'narayam-eo' => 'Esperanto', |
| 733 | + 'narayam-hi-inscript' => 'InScript Hindi', |
| 734 | + 'narayam-kn' => 'Transliterasi Kannada', |
| 735 | + 'narayam-kn-inscript' => 'InScript Kannada', |
| 736 | + 'narayam-ml' => 'Transliterasi Malayalam', |
| 737 | + 'narayam-ml-inscript' => 'InScript Malayalam', |
| 738 | + 'narayam-or' => 'Transliterasi Oriya', |
| 739 | + 'narayam-or-inscript' => 'InScript Oriya', |
| 740 | + 'narayam-sa' => 'Transliterasi Sanskerta', |
| 741 | + 'narayam-sa-inscript' => 'InScript Sanskerta', |
| 742 | + 'narayam-si-singlish' => 'Singlish Sinhala', |
| 743 | + 'narayam-si-wijesekara' => 'Wijesekara Sinhala', |
| 744 | + 'narayam-ta99' => 'Tamil99', |
| 745 | + 'narayam-ta' => 'Transliterasi Tamil', |
| 746 | + 'narayam-te-inscript' => 'InScript Telugu', |
| 747 | + 'narayam-bn-avro' => 'Avro Bengali', |
| 748 | + 'narayam-bn-inscript' => 'InScript Bengali', |
| 749 | + 'narayam-bn-nkb' => 'NKB Bengali', |
| 750 | +); |
| 751 | + |
| 752 | +/** Japanese (日本語) |
| 753 | + * @author Schu |
| 754 | + * @author Whym |
| 755 | + */ |
| 756 | +$messages['ja'] = array( |
| 757 | + 'narayam-desc' => '入力フィールドにカスタム入力メソッドを追加できるようにします。', |
| 758 | + 'narayam-toggle-ime' => '入力メソッドを切り替え ($1)', |
| 759 | + 'narayam-menu' => '入力メソッド', |
| 760 | + 'narayam-menu-tooltip' => 'Narayam 入力メソッドエディタ ( IME ) を管理', |
| 761 | + 'narayam-help' => 'ヘルプ', |
| 762 | + 'narayam-help-page' => 'Help:タイピング', |
| 763 | + 'narayam-checkbox-tooltip' => '入力メソッドの入・切を反転させる', |
| 764 | + 'narayam-disable-preference' => 'Narayam入力メソッドエディタ (IME) を無効化', |
| 765 | + 'narayam-eo' => 'エスペラント', |
| 766 | + 'narayam-hi-inscript' => 'ヒンディー語 InScript', |
| 767 | + 'narayam-kn' => 'カンナダ語翻字', |
| 768 | + 'narayam-kn-inscript' => 'カンナダ語 InScript', |
| 769 | + 'narayam-ml' => 'マラヤラム語翻字', |
| 770 | + 'narayam-ml-inscript' => 'マラヤラム語 InScript', |
| 771 | + 'narayam-ne' => 'ネパール語翻字', |
| 772 | + 'narayam-ne-inscript' => 'ネパール語 InScript', |
| 773 | + 'narayam-or' => 'オリヤ語翻字', |
| 774 | + 'narayam-or-inscript' => 'オリヤ語 InScript', |
| 775 | + 'narayam-sa' => 'サンスクリット語翻字', |
| 776 | + 'narayam-sa-inscript' => 'サンスクリット語 InScript', |
| 777 | + 'narayam-si-singlish' => 'シンハラ語シングリッシュ', |
| 778 | + 'narayam-si-wijesekara' => 'シンハラ語 Wijesekara', |
| 779 | + 'narayam-ta99' => 'Tamil99', |
| 780 | + 'narayam-ta' => 'タミル語翻字', |
| 781 | + 'narayam-te-inscript' => 'テルグ語 InScript', |
| 782 | + 'narayam-bn-avro' => 'ベンガル語 Avro', |
| 783 | + 'narayam-bn-inscript' => 'ベンガル語 InScript', |
| 784 | + 'narayam-bn-nkb' => 'ベンガル語 NKB', |
| 785 | +); |
| 786 | + |
| 787 | +/** Khmer (ភាសាខ្មែរ) |
| 788 | + * @author វ័ណថារិទ្ធ |
| 789 | + */ |
| 790 | +$messages['km'] = array( |
| 791 | + 'narayam-desc' => 'អនុញ្ញាតឲ្យបន្ថែមវិធីវាយបញ្ចូលពិសេសសម្រាប់ការវាយបញ្ចូលអក្សរ', |
| 792 | + 'narayam-toggle-ime' => 'ដើម្បីប្ដូរ IM ($1)', |
| 793 | + 'narayam-help-page' => 'Help:ការវាយអក្សរ (Typing)', |
| 794 | + 'narayam-checkbox-tooltip' => 'ដើម្បីបិទឬបើកវិធីវាយបញ្ចូលអក្សរ', |
| 795 | + 'narayam-disable-preference' => 'Disable Narayam Input Method Editor (IME)', |
| 796 | + 'narayam-eo' => 'ភាសា Esperanto', |
| 797 | + 'narayam-hi-inscript' => 'ក្ដារវាយពុម្ពអក្សរ Hindi InScript', |
| 798 | + 'narayam-kn' => 'Kannada Transliteration', |
| 799 | + 'narayam-kn-inscript' => 'ក្ដារវាយពុម្ពអក្សរ Kannada InScript', |
| 800 | + 'narayam-ml' => 'Malayalam Transliteration', |
| 801 | + 'narayam-ml-inscript' => 'ក្ដារវាយពុម្ពអក្សរ Malayalam InScript', |
| 802 | + 'narayam-or' => 'Oriya Transliteration', |
| 803 | + 'narayam-or-inscript' => 'ក្ដារវាយពុម្ពអក្សរ Oriya InScript', |
| 804 | + 'narayam-sa' => 'Sanskrit Transliteration', |
| 805 | + 'narayam-sa-inscript' => 'ក្ដារវាយពុម្ពអក្សរ Sanskrit InScript', |
| 806 | + 'narayam-si-singlish' => 'ក្ដារវាយពុម្ពអក្សរ Sinhala Singlish', |
| 807 | + 'narayam-si-wijesekara' => 'ក្ដារវាយពុម្ពអក្សរ Sinhala Wijesekara', |
| 808 | + 'narayam-ta99' => 'ក្ដារវាយពុម្ពអក្សរ Tamil99', |
| 809 | + 'narayam-ta' => 'Tamil Transliteration', |
| 810 | + 'narayam-te-inscript' => 'ក្ដារវាយពុម្ពអក្សរ Telugu InScript', |
| 811 | + 'narayam-bn-avro' => 'ក្ដារវាយពុម្ពអក្សរ Bengali Avro', |
| 812 | + 'narayam-bn-inscript' => 'ក្ដារវាយពុម្ពអក្សរ Bengali InScript', |
| 813 | + 'narayam-bn-nkb' => 'ក្ដារវាយពុម្ពអក្សរ Bengali NKB', |
| 814 | +); |
| 815 | + |
| 816 | +/** Colognian (Ripoarisch) |
| 817 | + * @author Purodha |
| 818 | + */ |
| 819 | +$messages['ksh'] = array( |
| 820 | + 'narayam-desc' => 'Määt et müjjelesch, för beshtemmpte Shprooche för beshtemmpte Felder beim Einjävve de Taste neu met eije Aate ze Tippe ze belääje.', |
| 821 | + 'narayam-toggle-ime' => 'Taste-Einjabe ömschallde ($1)', |
| 822 | + 'narayam-help-page' => 'Help:Tippe', |
| 823 | + 'narayam-checkbox-tooltip' => 'Et Tippe zwesche jewöhnlesch un besönders ömschallde', |
| 824 | + 'narayam-disable-preference' => 'Donn de Enjaabe övver <i lang="en">Narayam</i> ußschallde.', |
| 825 | + 'narayam-eo' => 'Esperanto', |
| 826 | + 'narayam-hi-inscript' => 'Hindi <i lang="en">InScript</i>', |
| 827 | + 'narayam-kn' => 'Kannada met Äsazboochshtaave', |
| 828 | + 'narayam-kn-inscript' => 'Kannada <i lang="en">InScript</i>', |
| 829 | + 'narayam-ml' => 'Malayalam met Äsazboochshtaave', |
| 830 | + 'narayam-ml-inscript' => 'Malayalam <i lang="en">InScript</i>', |
| 831 | + 'narayam-or' => 'Oriya met Äsazboochshtaave', |
| 832 | + 'narayam-or-inscript' => 'Oriya <i lang="en">InScript</i>', |
| 833 | + 'narayam-sa' => 'Sanskrit met Äsazboochshtaave', |
| 834 | + 'narayam-sa-inscript' => 'Sanskrit <i lang="en">InScript</i>', |
| 835 | + 'narayam-si-singlish' => 'Singhaleesesch Singlish', |
| 836 | + 'narayam-si-wijesekara' => 'Singhaleesesch Wijesekara', |
| 837 | + 'narayam-ta99' => 'Tamilesch <i lang="en">Tamil99</i>', |
| 838 | + 'narayam-ta' => 'Tamilesch met Äsazboochshtaave', |
| 839 | + 'narayam-te-inscript' => 'Teluuju <i lang="en">InScript</i>', |
| 840 | + 'narayam-bn-avro' => 'Bänjaalesch Avro', |
| 841 | + 'narayam-bn-inscript' => 'Bänjaalesch <i lang="en">InScript</i>', |
| 842 | + 'narayam-bn-nkb' => 'Bänjaalesch NKB', |
| 843 | +); |
| 844 | + |
| 845 | +/** Luxembourgish (Lëtzebuergesch) |
| 846 | + * @author Robby |
| 847 | + */ |
| 848 | +$messages['lb'] = array( |
| 849 | + 'narayam-toggle-ime' => 'Aktivéier ($1)', |
| 850 | + 'narayam-help' => 'Hëllef', |
| 851 | + 'narayam-help-page' => 'Help:Tippen', |
| 852 | + 'narayam-eo' => 'Esperanto', |
| 853 | + 'narayam-kn' => 'Kannada (Transliteratioun)', |
| 854 | + 'narayam-ml' => 'Malayalam-Transliteratioun', |
| 855 | + 'narayam-sa' => 'Sanskrit-Transliteratioun', |
| 856 | + 'narayam-sa-inscript' => 'Sanskrit (InScript)', |
| 857 | + 'narayam-ta99' => 'Tamil99', |
| 858 | + 'narayam-ta' => 'Tamil-Transliteratioun', |
| 859 | +); |
| 860 | + |
| 861 | +/** Lithuanian (Lietuvių) |
| 862 | + * @author Eitvys200 |
| 863 | + */ |
| 864 | +$messages['lt'] = array( |
| 865 | + 'narayam-help' => 'Pagalba', |
| 866 | +); |
| 867 | + |
| 868 | +/** Maithili (मैथिली) |
| 869 | + * @author Vinitutpal |
| 870 | + */ |
| 871 | +$messages['mai'] = array( |
| 872 | + 'narayam-help-page' => ' टाइपिंग', |
| 873 | + 'narayam-hi-inscript' => 'हिन्दी इनस्क्रिप्ट', |
| 874 | + 'narayam-kn' => 'कन्नड़ लिप्यंतरण', |
| 875 | + 'narayam-kn-inscript' => 'कन्नड़ इनस्क्रिप्ट', |
| 876 | + 'narayam-ml' => 'मलयालम लिप्यंतरण', |
| 877 | + 'narayam-ml-inscript' => 'मलयालम इनस्क्रिप्ट', |
| 878 | + 'narayam-or' => 'ओडिया लिप्यंतरण', |
| 879 | + 'narayam-or-inscript' => 'ओडिया इनस्क्रिप्ट', |
| 880 | + 'narayam-sa' => ' संस्कृत लिप्यंतरण', |
| 881 | + 'narayam-sa-inscript' => 'संस्कृत इनस्क्रिप्ट', |
| 882 | +); |
| 883 | + |
| 884 | +/** Macedonian (Македонски) |
| 885 | + * @author Bjankuloski06 |
| 886 | + */ |
| 887 | +$messages['mk'] = array( |
| 888 | + 'narayam-desc' => 'Овозможува додавање на прилагодени методи на внос во полиња.', |
| 889 | + 'narayam-toggle-ime' => 'Овозможи ($1)', |
| 890 | + 'narayam-menu' => 'Вносен метод', |
| 891 | + 'narayam-menu-tooltip' => 'Контрола со уредникот на вносни методи (IME) Narayam', |
| 892 | + 'narayam-help' => 'Помош', |
| 893 | + 'narayam-help-page' => 'Help:Внос', |
| 894 | + 'narayam-checkbox-tooltip' => 'За вкл/искл на метод на внос', |
| 895 | + 'narayam-disable-preference' => 'Оневозможи го уредникот на вносни методи (IME) Narayam', |
| 896 | + 'narayam-eo' => 'Есперанто', |
| 897 | + 'narayam-hi-inscript' => 'Хинди - InScript', |
| 898 | + 'narayam-kn' => 'Транслитерација на Канада', |
| 899 | + 'narayam-kn-inscript' => 'Канада - InScript', |
| 900 | + 'narayam-ml' => 'Транслитерација на Малајалам', |
| 901 | + 'narayam-ml-inscript' => 'Малајалам - InScript', |
| 902 | + 'narayam-ne' => 'Транслитерација на непалски', |
| 903 | + 'narayam-ne-inscript' => 'InScript - непалски', |
| 904 | + 'narayam-or' => 'Транслитерација на Орија', |
| 905 | + 'narayam-or-inscript' => 'Орија - InScript', |
| 906 | + 'narayam-sa' => 'Транслитерација на Санскрит', |
| 907 | + 'narayam-sa-inscript' => 'Санскрит - InScript', |
| 908 | + 'narayam-si-singlish' => 'синхалски - Синглсих', |
| 909 | + 'narayam-si-wijesekara' => 'синхалски - Виџесекара', |
| 910 | + 'narayam-ta99' => 'Tamil99', |
| 911 | + 'narayam-ta' => 'Транслитерација на тамилски', |
| 912 | + 'narayam-te-inscript' => 'Телугу - InScript', |
| 913 | + 'narayam-bn-avro' => 'Бенгалски - Avro', |
| 914 | + 'narayam-bn-inscript' => 'Бенгалски - InScript', |
| 915 | + 'narayam-bn-nkb' => 'Бенгалски - NKB', |
| 916 | +); |
| 917 | + |
| 918 | +/** Malayalam (മലയാളം) |
| 919 | + * @author Junaid P V |
| 920 | + * @author Junaidpv |
| 921 | + * @author Praveenp |
| 922 | + * @author Vssun |
| 923 | + */ |
| 924 | +$messages['ml'] = array( |
| 925 | + 'narayam-desc' => 'ഇൻപുട്ട് ഫീൽഡുകളിൽ ഇച്ഛാനുസരണമുള്ള ലിപികളിൽ എഴുതാനുള്ള സൗകര്യം കൂട്ടിച്ചേർക്കുന്നു', |
| 926 | + 'narayam-toggle-ime' => 'സജീവമാക്കുക ($1)', |
| 927 | + 'narayam-help' => 'സഹായം', |
| 928 | + 'narayam-help-page' => 'Help:എഴുത്ത്', |
| 929 | + 'narayam-checkbox-tooltip' => 'എഴുത്തുപകരണം ഉപയോഗിക്കാനും ഒഴിവാക്കാനും ഇവിടെ ഞെക്കുക', |
| 930 | + 'narayam-disable-preference' => 'നാരായം എഴുത്തുപകരണം (IME) പ്രവർത്തനരഹിതമാക്കുക', |
| 931 | + 'narayam-eo' => 'എസ്പെരാന്റോ', |
| 932 | + 'narayam-hi-inscript' => 'ഹിന്ദി ഇൻസ്ക്രിപ്റ്റ്', |
| 933 | + 'narayam-kn' => 'കന്നഡ ലിപ്യന്തരണം', |
| 934 | + 'narayam-kn-inscript' => 'കന്നട ഇൻസ്ക്രിപ്റ്റ്', |
| 935 | + 'narayam-ml' => 'മലയാളം ലിപ്യന്തരണം', |
| 936 | + 'narayam-ml-inscript' => 'മലയാളം ഇൻസ്ക്രിപ്റ്റ്', |
| 937 | + 'narayam-ne' => 'നേപ്പാളി ലിപ്യന്തരണം', |
| 938 | + 'narayam-ne-inscript' => 'നേപ്പാളി ഇൻസ്ക്രിപ്റ്റ്', |
| 939 | + 'narayam-or' => 'ഒറിയ ലിപ്യന്തരണം', |
| 940 | + 'narayam-or-inscript' => 'ഒറിയ ഇൻസ്ക്രിപ്റ്റ്', |
| 941 | + 'narayam-sa' => 'സംസ്കൃതം ലിപ്യന്തരണം', |
| 942 | + 'narayam-sa-inscript' => 'സംസ്കൃതം ഇൻസ്ക്രിപ്റ്റ്', |
| 943 | + 'narayam-si-singlish' => 'സിംഹള സിൻഗ്ലീഷ്', |
| 944 | + 'narayam-si-wijesekara' => 'സിംഹള വിജെശേഖര', |
| 945 | + 'narayam-ta99' => 'തമിഴ്99', |
| 946 | + 'narayam-ta' => 'തമിഴ് ലിപ്യന്തരണം', |
| 947 | + 'narayam-te-inscript' => 'തെലുഗു ഇൻസ്ക്രിപ്റ്റ്', |
| 948 | + 'narayam-bn-avro' => 'ബംഗാളി അവ്രൊ', |
| 949 | + 'narayam-bn-inscript' => 'ബംഗാളി ഇൻസ്ക്രിപ്റ്റ്', |
| 950 | + 'narayam-bn-nkb' => 'ബംഗാളി നാഷണൽ കീബോർഡ്', |
| 951 | +); |
| 952 | + |
| 953 | +/** Malay (Bahasa Melayu) |
| 954 | + * @author Anakmalaysia |
| 955 | + */ |
| 956 | +$messages['ms'] = array( |
| 957 | + 'narayam-desc' => 'Membolehkan penambahan kaedah input tersuai untuk ruangan input', |
| 958 | + 'narayam-toggle-ime' => 'Hidupkan ($1)', |
| 959 | + 'narayam-menu' => 'Kaedah Input', |
| 960 | + 'narayam-menu-tooltip' => 'Kawal Editor Kaedah Input (IME) Narayam', |
| 961 | + 'narayam-help' => 'Bantuan', |
| 962 | + 'narayam-help-page' => 'Help:Menaip', |
| 963 | + 'narayam-checkbox-tooltip' => 'Untuk memasang/menutup kaedah input', |
| 964 | + 'narayam-disable-preference' => 'Matikan Editor Kaedah Input (IME) Narayam', |
| 965 | + 'narayam-eo' => 'Esperanto', |
| 966 | + 'narayam-hi-inscript' => 'InScript Hindi', |
| 967 | + 'narayam-kn' => 'Alih Huruf Kannada', |
| 968 | + 'narayam-kn-inscript' => 'InScript Kannada', |
| 969 | + 'narayam-ml' => 'Alih Huruf Malayalam', |
| 970 | + 'narayam-ml-inscript' => 'InScript Malayalam', |
| 971 | + 'narayam-ne' => 'Alih Huruf Nepal', |
| 972 | + 'narayam-ne-inscript' => 'InScript Nepal', |
| 973 | + 'narayam-or' => 'Alih Huruf Oriya', |
| 974 | + 'narayam-or-inscript' => 'InScript Oriya', |
| 975 | + 'narayam-sa' => 'Alih Huruf Sanskrit', |
| 976 | + 'narayam-sa-inscript' => 'InScript Sanskrit', |
| 977 | + 'narayam-si-singlish' => 'Singlish Sinhala', |
| 978 | + 'narayam-si-wijesekara' => 'Wijesekara Sinhala', |
| 979 | + 'narayam-ta99' => 'Tamil99', |
| 980 | + 'narayam-ta' => 'Alih Huruf Tamil', |
| 981 | + 'narayam-te-inscript' => 'InScript Telugu', |
| 982 | + 'narayam-bn-avro' => 'Arvo Benggala', |
| 983 | + 'narayam-bn-inscript' => 'InScript Benggala', |
| 984 | + 'narayam-bn-nkb' => 'NKB Benggala', |
| 985 | +); |
| 986 | + |
| 987 | +/** Dutch (Nederlands) |
| 988 | + * @author GerardM |
| 989 | + * @author SPQRobin |
| 990 | + * @author Siebrand |
| 991 | + */ |
| 992 | +$messages['nl'] = array( |
| 993 | + 'narayam-desc' => 'Maakt het mogelijk om aangepaste invoermethoden toe te voegen voor invoervelden', |
| 994 | + 'narayam-toggle-ime' => 'Inschakelen ($1)', |
| 995 | + 'narayam-menu' => 'Invoermethode', |
| 996 | + 'narayam-menu-tooltip' => 'Narayam invoermethode (IME)', |
| 997 | + 'narayam-help' => 'Hulp', |
| 998 | + 'narayam-help-page' => 'Help:Invoermethoden', |
| 999 | + 'narayam-checkbox-tooltip' => 'De invoermethode in- of uitschakelen', |
| 1000 | + 'narayam-disable-preference' => 'Narayam invoermethode (IME) uitschakelen', |
| 1001 | + 'narayam-eo' => 'Esperanto', |
| 1002 | + 'narayam-hi-inscript' => 'Hindi InScript', |
| 1003 | + 'narayam-kn' => 'Transliteratie in Kannada', |
| 1004 | + 'narayam-kn-inscript' => 'Kannada InScript', |
| 1005 | + 'narayam-ml' => 'Transliteratie in Malayalam', |
| 1006 | + 'narayam-ml-inscript' => 'Malayalam InScript', |
| 1007 | + 'narayam-ne' => 'Transliteratie in Nepalees', |
| 1008 | + 'narayam-ne-inscript' => 'Nepalees InScript', |
| 1009 | + 'narayam-or' => 'Transliteratie in Oriya', |
| 1010 | + 'narayam-or-inscript' => 'Oriya InScript', |
| 1011 | + 'narayam-sa' => 'Transliteratie in Sanskriet', |
| 1012 | + 'narayam-sa-inscript' => 'Sanskrit InScript', |
| 1013 | + 'narayam-si-singlish' => 'Singalees Singlish', |
| 1014 | + 'narayam-si-wijesekara' => 'Singalees Wijesekara', |
| 1015 | + 'narayam-ta99' => 'Tamil99', |
| 1016 | + 'narayam-ta' => 'Transliteratie in Tamil', |
| 1017 | + 'narayam-te-inscript' => 'Telugu InScript', |
| 1018 | + 'narayam-bn-avro' => 'Bengaals Avro', |
| 1019 | + 'narayam-bn-inscript' => 'Bengaals InScript', |
| 1020 | + 'narayam-bn-nkb' => 'Bengaals NKB', |
| 1021 | +); |
| 1022 | + |
| 1023 | +/** Norwegian (bokmål) (Norsk (bokmål)) |
| 1024 | + * @author Event |
| 1025 | + * @author Nghtwlkr |
| 1026 | + * @author Sjurhamre |
| 1027 | + */ |
| 1028 | +$messages['no'] = array( |
| 1029 | + 'narayam-desc' => 'Gjør det mulgi å lage egendefinerte inndatametorer for inndatafelt', |
| 1030 | + 'narayam-toggle-ime' => 'Aktiver ($1)', |
| 1031 | + 'narayam-help' => 'Hjelp', |
| 1032 | + 'narayam-help-page' => 'Help:Skriving', |
| 1033 | + 'narayam-eo' => 'Esperanto', |
| 1034 | +); |
| 1035 | + |
| 1036 | +/** Oriya (ଓଡ଼ିଆ) |
| 1037 | + * @author Psubhashish |
| 1038 | + */ |
| 1039 | +$messages['or'] = array( |
| 1040 | + 'narayam-toggle-ime' => '($1) ସଚଳ କରାଇବେ', |
| 1041 | + 'narayam-menu' => 'ଇନପୁଟ ପ୍ରଣାଳୀ', |
| 1042 | + 'narayam-help' => 'ସହଯୋଗ', |
| 1043 | + 'narayam-help-page' => 'Help:ଟାଇପ କରିବା', |
| 1044 | + 'narayam-or' => 'ଓଡ଼ିଆ ଟ୍ରାନ୍ସଲିଟରେସନ', |
| 1045 | + 'narayam-or-inscript' => 'ଓଡ଼ିଆ ଇନସ୍କ୍ରିପ୍ଟ', |
| 1046 | +); |
| 1047 | + |
| 1048 | +/** Polish (Polski) |
| 1049 | + * @author Sp5uhe |
| 1050 | + */ |
| 1051 | +$messages['pl'] = array( |
| 1052 | + 'narayam-desc' => 'Pozwala dodać niestandardowe metody wprowadzania tekstu', |
| 1053 | + 'narayam-toggle-ime' => 'Włącz ($1)', |
| 1054 | + 'narayam-menu' => 'Metoda wprowadzania', |
| 1055 | + 'narayam-menu-tooltip' => 'Ustawienia metody wprowadzania znaków w edytorze', |
| 1056 | + 'narayam-help' => 'Pomoc', |
| 1057 | + 'narayam-help-page' => 'Help:Wprowadzanie znaków', |
| 1058 | + 'narayam-checkbox-tooltip' => 'Włączanie i wyłączanie metody wprowadzania', |
| 1059 | + 'narayam-disable-preference' => 'Wyłącz w edytorze nietypowe metody wprowadzania znaków', |
| 1060 | + 'narayam-eo' => 'Esperanto', |
| 1061 | + 'narayam-hi-inscript' => 'Hindi InScript', |
| 1062 | + 'narayam-kn' => 'Transliteracja kannary', |
| 1063 | + 'narayam-kn-inscript' => 'Kannada InScript', |
| 1064 | + 'narayam-ml' => 'Transliteracja malajalam', |
| 1065 | + 'narayam-ml-inscript' => 'Malajalam InScript', |
| 1066 | + 'narayam-ne' => 'Transliteracja nepalskiego', |
| 1067 | + 'narayam-ne-inscript' => 'Nepalski InScript', |
| 1068 | + 'narayam-or' => 'Transliteracja orija', |
| 1069 | + 'narayam-or-inscript' => 'Orija InScript', |
| 1070 | + 'narayam-sa' => 'Transliteracja sanskrytu', |
| 1071 | + 'narayam-sa-inscript' => 'Sanskryt InScript', |
| 1072 | + 'narayam-si-singlish' => 'Syngaleski singlish', |
| 1073 | + 'narayam-si-wijesekara' => 'Syngaleski wijesekara', |
| 1074 | + 'narayam-ta99' => 'Tamil99', |
| 1075 | + 'narayam-ta' => 'Transliteracja tamilskiego', |
| 1076 | + 'narayam-te-inscript' => 'Telugu InScript', |
| 1077 | + 'narayam-bn-avro' => 'Bengalski avro', |
| 1078 | + 'narayam-bn-inscript' => 'Bengalski InScript', |
| 1079 | + 'narayam-bn-nkb' => 'Bengalski NKB', |
| 1080 | +); |
| 1081 | + |
| 1082 | +/** Piedmontese (Piemontèis) |
| 1083 | + * @author Borichèt |
| 1084 | + * @author Dragonòt |
| 1085 | + */ |
| 1086 | +$messages['pms'] = array( |
| 1087 | + 'narayam-desc' => "A përmët ëd gionté dij métod përsonalisà për scrive ant ij camp d'intrada", |
| 1088 | + 'narayam-toggle-ime' => 'Abilité ($1)', |
| 1089 | + 'narayam-menu' => "Métod d'anseriment", |
| 1090 | + 'narayam-menu-tooltip' => "Controlé l'Editor dël Métod d'Anseriment (IME) Narayam", |
| 1091 | + 'narayam-help' => 'Agiut', |
| 1092 | + 'narayam-help-page' => 'Help:Digitand', |
| 1093 | + 'narayam-checkbox-tooltip' => "Për ativé e disativé ël métod d'anseriment", |
| 1094 | + 'narayam-disable-preference' => "Disabilité ël métod d'anseriment (IME) Narayam", |
| 1095 | + 'narayam-eo' => 'Esperant', |
| 1096 | + 'narayam-hi-inscript' => 'InScript Hindi', |
| 1097 | + 'narayam-kn' => 'Trasliterassion Kannada', |
| 1098 | + 'narayam-kn-inscript' => 'InScript Kannada', |
| 1099 | + 'narayam-ml' => 'Trasliterassion Malayalam', |
| 1100 | + 'narayam-ml-inscript' => 'InScript Malayalam', |
| 1101 | + 'narayam-ne' => 'Trasliterassion nepalèisa', |
| 1102 | + 'narayam-ne-inscript' => 'InScript Nepalèis', |
| 1103 | + 'narayam-or' => 'Trasliterassion Oriya', |
| 1104 | + 'narayam-or-inscript' => 'InScript Oriya', |
| 1105 | + 'narayam-sa' => 'Trasliterassion Sànscrit', |
| 1106 | + 'narayam-sa-inscript' => 'InScript Sànscrit', |
| 1107 | + 'narayam-si-singlish' => 'Singlish Sinhala', |
| 1108 | + 'narayam-si-wijesekara' => 'Wijesekara Sinhala', |
| 1109 | + 'narayam-ta99' => 'Tamil99', |
| 1110 | + 'narayam-ta' => 'Trasliterassion Tamil', |
| 1111 | + 'narayam-te-inscript' => 'InScript Telugu', |
| 1112 | + 'narayam-bn-avro' => 'Avro Bengali', |
| 1113 | + 'narayam-bn-inscript' => 'InScript Bengali', |
| 1114 | + 'narayam-bn-nkb' => 'NKB Bengali', |
| 1115 | +); |
| 1116 | + |
| 1117 | +/** Pashto (پښتو) |
| 1118 | + * @author Ahmed-Najib-Biabani-Ibrahimkhel |
| 1119 | + */ |
| 1120 | +$messages['ps'] = array( |
| 1121 | + 'narayam-help' => 'لارښود', |
| 1122 | + 'narayam-eo' => 'اېسپېرانتو', |
| 1123 | +); |
| 1124 | + |
| 1125 | +/** Portuguese (Português) |
| 1126 | + * @author Hamilton Abreu |
| 1127 | + * @author MetalBrasil |
| 1128 | + * @author Waldir |
| 1129 | + */ |
| 1130 | +$messages['pt'] = array( |
| 1131 | + 'narayam-desc' => 'Permite a adição de métodos de entrada personalizados para os campos de entrada', |
| 1132 | + 'narayam-toggle-ime' => 'Alternar o método de entrada ($1)', |
| 1133 | + 'narayam-menu' => 'Método de entrada', |
| 1134 | + 'narayam-menu-tooltip' => 'Controlar o Narayam Input Method Editor (IME)', |
| 1135 | + 'narayam-help' => 'Ajuda', |
| 1136 | + 'narayam-help-page' => 'Help:Digitação', |
| 1137 | + 'narayam-checkbox-tooltip' => 'Para alternar o método de entrada entre ligado e desligado', |
| 1138 | + 'narayam-disable-preference' => 'Desactivar o Editor do Método de Entrada (IME) do Narayam', |
| 1139 | + 'narayam-eo' => 'Esperanto', |
| 1140 | + 'narayam-hi-inscript' => 'InScript para hindi', |
| 1141 | + 'narayam-kn' => 'Transliteração do canarim', |
| 1142 | + 'narayam-kn-inscript' => 'InScript para canarim', |
| 1143 | + 'narayam-ml' => 'Transliteração do malaiala', |
| 1144 | + 'narayam-ml-inscript' => 'InScript para malaiala', |
| 1145 | + 'narayam-ne' => 'Transliteração de nepali', |
| 1146 | + 'narayam-ne-inscript' => 'InScript para nepali', |
| 1147 | + 'narayam-or' => 'Transliteração do oriá', |
| 1148 | + 'narayam-or-inscript' => 'InScript para oriá', |
| 1149 | + 'narayam-sa' => 'Transliteração do sânscrito', |
| 1150 | + 'narayam-sa-inscript' => 'InScript para sânscrito', |
| 1151 | + 'narayam-si-singlish' => 'Singlish para cingalês', |
| 1152 | + 'narayam-si-wijesekara' => 'Wijesekara para cingalês', |
| 1153 | + 'narayam-ta99' => 'Tamil99 para tâmil', |
| 1154 | + 'narayam-ta' => 'Transliteração do tâmil', |
| 1155 | + 'narayam-te-inscript' => 'InScript para télego', |
| 1156 | + 'narayam-bn-avro' => 'Avro para bengali', |
| 1157 | + 'narayam-bn-inscript' => 'InScript para bengali', |
| 1158 | + 'narayam-bn-nkb' => 'NKB para bengali', |
| 1159 | +); |
| 1160 | + |
| 1161 | +/** Brazilian Portuguese (Português do Brasil) |
| 1162 | + * @author Giro720 |
| 1163 | + * @author MetalBrasil |
| 1164 | + */ |
| 1165 | +$messages['pt-br'] = array( |
| 1166 | + 'narayam-desc' => 'Permite a adição de métodos de entrada personalizados para os campos de entrada', |
| 1167 | + 'narayam-toggle-ime' => 'Habilitar ($1)', |
| 1168 | + 'narayam-menu' => 'Método de entrada', |
| 1169 | + 'narayam-menu-tooltip' => 'Controlar o editor de método de entrada (IME) Narayam', |
| 1170 | + 'narayam-help' => 'Ajuda', |
| 1171 | + 'narayam-help-page' => 'Help:Digitação', |
| 1172 | + 'narayam-checkbox-tooltip' => 'Para alternar o método de entrada entre ligado e desligado', |
| 1173 | + 'narayam-disable-preference' => 'Desativar o Editor do Método de Entrada (IME) do Narayam', |
| 1174 | + 'narayam-eo' => 'Esperanto', |
| 1175 | + 'narayam-hi-inscript' => 'InScript para hindi', |
| 1176 | + 'narayam-kn' => 'Transliteração do canarim', |
| 1177 | + 'narayam-kn-inscript' => 'InScript para canarim', |
| 1178 | + 'narayam-ml' => 'Transliteração do malaiala', |
| 1179 | + 'narayam-ml-inscript' => 'InScript para malaiala', |
| 1180 | + 'narayam-ne' => 'Transliteração para nepali', |
| 1181 | + 'narayam-ne-inscript' => 'InScript para nepali', |
| 1182 | + 'narayam-or' => 'Transliteração do oriá', |
| 1183 | + 'narayam-or-inscript' => 'InScript para oriá', |
| 1184 | + 'narayam-sa' => 'Transliteração do sânscrito', |
| 1185 | + 'narayam-sa-inscript' => 'InScript para sânscrito', |
| 1186 | + 'narayam-si-singlish' => 'Singlish para cingalês', |
| 1187 | + 'narayam-si-wijesekara' => 'Wijesekara para cingalês', |
| 1188 | + 'narayam-ta99' => 'Tamil99 para tâmil', |
| 1189 | + 'narayam-ta' => 'Transliteração do tâmil', |
| 1190 | + 'narayam-te-inscript' => 'InScript para télego', |
| 1191 | + 'narayam-bn-avro' => 'Avro para bengali', |
| 1192 | + 'narayam-bn-inscript' => 'InScript para bengali', |
| 1193 | + 'narayam-bn-nkb' => 'NKB para bengali', |
| 1194 | +); |
| 1195 | + |
| 1196 | +/** Romanian (Română) |
| 1197 | + * @author Firilacroco |
| 1198 | + */ |
| 1199 | +$messages['ro'] = array( |
| 1200 | + 'narayam-help-page' => 'Help:Tastare', |
| 1201 | + 'narayam-eo' => 'Esperanto', |
| 1202 | + 'narayam-hi-inscript' => 'InScript hindi', |
| 1203 | + 'narayam-kn' => 'Transliterație kannada', |
| 1204 | + 'narayam-kn-inscript' => 'InScript kannada', |
| 1205 | + 'narayam-ml' => 'Transliterație malayalam', |
| 1206 | + 'narayam-ml-inscript' => 'InScript malayalam', |
| 1207 | + 'narayam-ne' => 'Transliterație nepaleză', |
| 1208 | + 'narayam-ne-inscript' => 'InScript nepalez', |
| 1209 | + 'narayam-or' => 'Transliterație oriya', |
| 1210 | + 'narayam-or-inscript' => 'InScript oriya', |
| 1211 | + 'narayam-sa' => 'Transliterație sanscrită', |
| 1212 | + 'narayam-sa-inscript' => 'InScript sanscrită', |
| 1213 | + 'narayam-si-singlish' => 'Sinhala Singaleză', |
| 1214 | + 'narayam-si-wijesekara' => 'Sinhala Wijesekara', |
| 1215 | + 'narayam-ta99' => 'Tamil99', |
| 1216 | + 'narayam-ta' => 'Transliterație tamilă', |
| 1217 | + 'narayam-te-inscript' => 'InScript telugu', |
| 1218 | + 'narayam-bn-avro' => 'Avro bengaleză', |
| 1219 | + 'narayam-bn-inscript' => 'InScript bengalez', |
| 1220 | + 'narayam-bn-nkb' => 'NKB bengalez', |
| 1221 | +); |
| 1222 | + |
| 1223 | +/** Tarandíne (Tarandíne) |
| 1224 | + * @author Joetaras |
| 1225 | + */ |
| 1226 | +$messages['roa-tara'] = array( |
| 1227 | + 'narayam-toggle-ime' => 'Abbilite ($1)', |
| 1228 | + 'narayam-menu' => 'Metode de Input', |
| 1229 | + 'narayam-menu-tooltip' => 'Condrolle Narayam Input Method Editor (IME)', |
| 1230 | + 'narayam-help' => 'Ajute', |
| 1231 | + 'narayam-help-page' => 'Help:Digitanne', |
| 1232 | + 'narayam-checkbox-tooltip' => "Pe mettere e luà 'u metode de input", |
| 1233 | + 'narayam-disable-preference' => 'Disabbilite Narayam Input Method Editor (IME)', |
| 1234 | + 'narayam-eo' => 'Esperanto', |
| 1235 | + 'narayam-hi-inscript' => 'Hindi InScript', |
| 1236 | + 'narayam-kn' => 'Translitterazzione Kannada', |
| 1237 | + 'narayam-kn-inscript' => 'Kannada InScript', |
| 1238 | + 'narayam-ml' => 'Translitterazzione Malayalam', |
| 1239 | + 'narayam-ml-inscript' => 'Malayalam InScript', |
| 1240 | + 'narayam-ne' => 'Translitterazzione Nepalese', |
| 1241 | + 'narayam-ne-inscript' => 'InScript Nepalese', |
| 1242 | + 'narayam-or' => 'Translitterazzione Oriya', |
| 1243 | + 'narayam-or-inscript' => 'Oriya InScript', |
| 1244 | + 'narayam-sa' => 'Translitterazzione Sanscrite', |
| 1245 | + 'narayam-sa-inscript' => 'Sanscrite InScript', |
| 1246 | + 'narayam-si-singlish' => 'Sinhala Singlish', |
| 1247 | + 'narayam-si-wijesekara' => 'Sinhala Wijesekara', |
| 1248 | + 'narayam-ta99' => 'Tamil99', |
| 1249 | + 'narayam-ta' => 'Translitterazzione Tamil', |
| 1250 | + 'narayam-te-inscript' => 'Telugu InScript', |
| 1251 | + 'narayam-bn-avro' => 'Bengali Avro', |
| 1252 | + 'narayam-bn-inscript' => 'Bengali InScript', |
| 1253 | + 'narayam-bn-nkb' => 'Bengali NKB', |
| 1254 | +); |
| 1255 | + |
| 1256 | +/** Russian (Русский) |
| 1257 | + * @author Dim Grits |
| 1258 | + * @author MaxSem |
| 1259 | + * @author McDutchie |
| 1260 | + * @author Александр Сигачёв |
| 1261 | + */ |
| 1262 | +$messages['ru'] = array( |
| 1263 | + 'narayam-desc' => 'Позволяет добавлять пользовательские методы ввода для полей ввода', |
| 1264 | + 'narayam-toggle-ime' => 'Включить ($1)', |
| 1265 | + 'narayam-menu' => 'Метод ввода', |
| 1266 | + 'narayam-menu-tooltip' => 'Управление редактором метода ввода нараям (IME)', |
| 1267 | + 'narayam-help' => 'Справка', |
| 1268 | + 'narayam-help-page' => 'Help:Ввод', |
| 1269 | + 'narayam-checkbox-tooltip' => 'Для включения и выключения метода ввода', |
| 1270 | + 'narayam-disable-preference' => 'Отключить редактор метода ввода (IME) нараям', |
| 1271 | + 'narayam-eo' => 'Эсперанто', |
| 1272 | + 'narayam-hi-inscript' => 'Хинди инскрипт', |
| 1273 | + 'narayam-kn' => 'Транслитерация каннада', |
| 1274 | + 'narayam-kn-inscript' => 'Каннада инскрипт', |
| 1275 | + 'narayam-ml' => 'Малайская транслитерация', |
| 1276 | + 'narayam-ml-inscript' => 'Малайский инскрипт', |
| 1277 | + 'narayam-ne' => 'Непальская транслитерация', |
| 1278 | + 'narayam-ne-inscript' => 'Непальский инскрипт', |
| 1279 | + 'narayam-or' => 'Ория транслитерация', |
| 1280 | + 'narayam-or-inscript' => 'Ория инскрипт', |
| 1281 | + 'narayam-sa' => 'Санскритская транслитерация', |
| 1282 | + 'narayam-sa-inscript' => 'Санскрит инскрипт', |
| 1283 | + 'narayam-si-singlish' => 'Сингальский Синглиш', |
| 1284 | + 'narayam-si-wijesekara' => 'Сингальский Виджесекера', |
| 1285 | + 'narayam-ta99' => 'Tamil99', |
| 1286 | + 'narayam-ta' => 'Тамильская транслитерация', |
| 1287 | + 'narayam-te-inscript' => 'Телугу инскрипт', |
| 1288 | + 'narayam-bn-avro' => 'Бенгальский Avro', |
| 1289 | + 'narayam-bn-inscript' => 'Бенгальский инскрипт', |
| 1290 | + 'narayam-bn-nkb' => 'Бенгальский NKB', |
| 1291 | +); |
| 1292 | + |
| 1293 | +/** Rusyn (Русиньскый) |
| 1294 | + * @author Gazeb |
| 1295 | + */ |
| 1296 | +$messages['rue'] = array( |
| 1297 | + 'narayam-desc' => 'Доволює придавати ку вступным полям властны методы вступу', |
| 1298 | + 'narayam-toggle-ime' => 'Поболити ($1)', |
| 1299 | + 'narayam-menu' => 'Вступна метода', |
| 1300 | + 'narayam-menu-tooltip' => 'Керовати едітор (IME) Narayam', |
| 1301 | + 'narayam-help' => 'Поміч', |
| 1302 | + 'narayam-help-page' => 'Help:Писаня тексту', |
| 1303 | + 'narayam-checkbox-tooltip' => 'Про перекапчаня методів вводу', |
| 1304 | + 'narayam-disable-preference' => 'Выпнути едітор (IME) Narayam', |
| 1305 | + 'narayam-eo' => 'Есперанто', |
| 1306 | + 'narayam-hi-inscript' => 'Гінді Inscript', |
| 1307 | + 'narayam-kn' => 'Транслітерація каннада', |
| 1308 | + 'narayam-kn-inscript' => 'Каннада Inscript', |
| 1309 | + 'narayam-ml' => 'Малайська транслітерація', |
| 1310 | + 'narayam-ml-inscript' => 'Малайскый Inscript', |
| 1311 | + 'narayam-ne' => 'Транслітерація непальска', |
| 1312 | + 'narayam-ne-inscript' => 'Непальскый Inscript', |
| 1313 | + 'narayam-or' => 'Транслітерація орія', |
| 1314 | + 'narayam-or-inscript' => 'Орія Inscript', |
| 1315 | + 'narayam-sa' => 'Транслітерація санскрітом', |
| 1316 | + 'narayam-sa-inscript' => 'Санскріт Inscript', |
| 1317 | + 'narayam-si-singlish' => 'Сінгальскый Сінґліш', |
| 1318 | + 'narayam-si-wijesekara' => 'Сінґальська Віджесекера', |
| 1319 | + 'narayam-ta99' => 'Таміл99', |
| 1320 | + 'narayam-ta' => 'Тамільска транслітерація', |
| 1321 | + 'narayam-te-inscript' => 'Телуґу Inscript', |
| 1322 | + 'narayam-bn-avro' => 'Бенґальска', |
| 1323 | + 'narayam-bn-inscript' => 'Бенґальска Inscript', |
| 1324 | + 'narayam-bn-nkb' => 'Бенґальска НКБ', |
| 1325 | +); |
| 1326 | + |
| 1327 | +/** Sakha (Саха тыла) |
| 1328 | + * @author HalanTul |
| 1329 | + */ |
| 1330 | +$messages['sah'] = array( |
| 1331 | + 'narayam-toggle-ime' => 'Киллэрии ньыматын уларытарга ($1)', |
| 1332 | + 'narayam-help-page' => 'Help:Киллэрии', |
| 1333 | + 'narayam-checkbox-tooltip' => 'Киллэрии ньыматын холбооһун уонна араарыы', |
| 1334 | + 'narayam-hi-inscript' => 'Хиинди инскрипт', |
| 1335 | + 'narayam-kn' => 'Каннадаа транслитерацията', |
| 1336 | + 'narayam-kn-inscript' => 'Каннадаа инскрипт', |
| 1337 | + 'narayam-ml' => 'Малаай транслитерацията', |
| 1338 | + 'narayam-ml-inscript' => 'Малаай инскрипт', |
| 1339 | + 'narayam-or' => 'Орийа транслитерацията', |
| 1340 | + 'narayam-or-inscript' => 'Орийа инскрипт', |
| 1341 | + 'narayam-sa' => 'Санскрит транслитерацията', |
| 1342 | + 'narayam-sa-inscript' => 'Санскрит инскрипт', |
| 1343 | + 'narayam-si-singlish' => 'Синһаала сиинглиш', |
| 1344 | + 'narayam-si-wijesekara' => 'Видьэсэкээр синһаала', |
| 1345 | + 'narayam-ta99' => 'Тамил99', |
| 1346 | + 'narayam-ta' => 'Тамиил транслитерацията', |
| 1347 | + 'narayam-bn-avro' => 'Бэнгээл Авро', |
| 1348 | + 'narayam-bn-inscript' => 'Бэнгээл инскрипт', |
| 1349 | + 'narayam-bn-nkb' => 'Бэнгээл NKB', |
| 1350 | +); |
| 1351 | + |
| 1352 | +/** Slovak (Slovenčina) |
| 1353 | + * @author Helix84 |
| 1354 | + */ |
| 1355 | +$messages['sk'] = array( |
| 1356 | + 'narayam-desc' => 'Umožňuje pridať vlastné vstupné metódy vstupných polí', |
| 1357 | + 'narayam-toggle-ime' => 'Ak chcete prepnúť VM ($1)', |
| 1358 | + 'narayam-help-page' => 'Pomocník:Písanie', |
| 1359 | + 'narayam-checkbox-tooltip' => 'Ak chcete vypnúť alebo zapnúť vstupnú metódu', |
| 1360 | + 'narayam-disable-preference' => 'Vypnúť Editor vstupných metód (IME) Narayam', |
| 1361 | + 'narayam-eo' => 'Esperanto', |
| 1362 | + 'narayam-hi-inscript' => 'Hindčina, InScript', |
| 1363 | + 'narayam-kn' => 'Kannadčina, transliterácia', |
| 1364 | + 'narayam-kn-inscript' => 'Kannadčina, InScript', |
| 1365 | + 'narayam-ml' => 'Malajlámčina, transliterácia', |
| 1366 | + 'narayam-ml-inscript' => 'Malajlámčina, InScript', |
| 1367 | + 'narayam-or' => 'Uríjčina, transliterácia', |
| 1368 | + 'narayam-or-inscript' => 'Uríjčina, InScript', |
| 1369 | + 'narayam-sa' => 'Sanskrit, transliterácia', |
| 1370 | + 'narayam-sa-inscript' => 'Sanskrit, InScript', |
| 1371 | + 'narayam-si-singlish' => 'Sinhalčina, Singlish', |
| 1372 | + 'narayam-si-wijesekara' => 'Sinhalčina, Wijesekara', |
| 1373 | + 'narayam-ta99' => 'Tamil99', |
| 1374 | + 'narayam-ta' => 'Tamilčina, transliterácia', |
| 1375 | + 'narayam-te-inscript' => 'Telugčina, InScript', |
| 1376 | + 'narayam-bn-avro' => 'Bengálčina, Avro', |
| 1377 | + 'narayam-bn-inscript' => 'Bengálčina, InScript', |
| 1378 | + 'narayam-bn-nkb' => 'Bengálčina, NKB', |
| 1379 | +); |
| 1380 | + |
| 1381 | +/** Slovenian (Slovenščina) |
| 1382 | + * @author Dbc334 |
| 1383 | + */ |
| 1384 | +$messages['sl'] = array( |
| 1385 | + 'narayam-desc' => 'Omogoča dodajanje načinov vnosa po meri za vnosna polja', |
| 1386 | + 'narayam-toggle-ime' => 'Omogoči ($1)', |
| 1387 | + 'narayam-menu' => 'Način vnosa', |
| 1388 | + 'narayam-menu-tooltip' => 'Upravljaj urejevalnik načina vnosa (IME) Narayam', |
| 1389 | + 'narayam-help' => 'Pomoč', |
| 1390 | + 'narayam-help-page' => 'Help:Tipkanje', |
| 1391 | + 'narayam-checkbox-tooltip' => 'Za vklop ali izklop načina vnosa', |
| 1392 | + 'narayam-disable-preference' => 'Onemogoči urejevalnik načina vnosa (IME) Narayam', |
| 1393 | + 'narayam-eo' => 'Esperanto', |
| 1394 | + 'narayam-hi-inscript' => 'InScript za hindijščino', |
| 1395 | + 'narayam-kn' => 'Prečrkovanje kannadščine', |
| 1396 | + 'narayam-kn-inscript' => 'InScript za kannadščino', |
| 1397 | + 'narayam-ml' => 'Prečrkovanje malajalščine', |
| 1398 | + 'narayam-ml-inscript' => 'InScript za malajalščino', |
| 1399 | + 'narayam-ne' => 'Prečrkovanje nepalščine', |
| 1400 | + 'narayam-ne-inscript' => 'InScript za nepalščino', |
| 1401 | + 'narayam-or' => 'Prečrkovanje orijščine', |
| 1402 | + 'narayam-or-inscript' => 'InScript za orijščino', |
| 1403 | + 'narayam-sa' => 'Prečkovanje sanskrta', |
| 1404 | + 'narayam-sa-inscript' => 'InScript za sanskrt', |
| 1405 | + 'narayam-si-singlish' => 'Singalska singleščina', |
| 1406 | + 'narayam-si-wijesekara' => 'Singalska Wijesekara', |
| 1407 | + 'narayam-ta99' => 'Tamil 99', |
| 1408 | + 'narayam-ta' => 'Prečrkovanje tamilščine', |
| 1409 | + 'narayam-te-inscript' => 'InScript za teluščino', |
| 1410 | + 'narayam-bn-avro' => 'Bengalski Avro', |
| 1411 | + 'narayam-bn-inscript' => 'InScript za bengalščino', |
| 1412 | + 'narayam-bn-nkb' => 'Bengalski NKB', |
| 1413 | +); |
| 1414 | + |
| 1415 | +/** Serbian (Cyrillic script) (Српски (ћирилица)) |
| 1416 | + * @author Rancher |
| 1417 | + */ |
| 1418 | +$messages['sr-ec'] = array( |
| 1419 | + 'narayam-desc' => 'Омогућава додавање прилагођених улазних метода за уређивачки оквир', |
| 1420 | + 'narayam-toggle-ime' => 'промени улазну методу ($1)', |
| 1421 | + 'narayam-help-page' => 'Help:Куцање', |
| 1422 | + 'narayam-checkbox-tooltip' => 'Укључивање или искључивање улазне методе', |
| 1423 | + 'narayam-ml' => 'Малајалам пресловљавање', |
| 1424 | + 'narayam-ml-inscript' => 'Малајалам индијска скрипта', |
| 1425 | + 'narayam-sa' => 'Санскрит пресловљавање', |
| 1426 | + 'narayam-ta99' => 'Тамил99', |
| 1427 | + 'narayam-ta' => 'Тамилско пресловљавање', |
| 1428 | + 'narayam-bn-avro' => 'Бенгалски авро', |
| 1429 | + 'narayam-bn-inscript' => 'Бенгалска индијска скрипта', |
| 1430 | + 'narayam-bn-nkb' => 'Званични распоред за бенгалски', |
| 1431 | +); |
| 1432 | + |
| 1433 | +/** Swedish (Svenska) |
| 1434 | + * @author Lokal Profil |
| 1435 | + * @author WikiPhoenix |
| 1436 | + */ |
| 1437 | +$messages['sv'] = array( |
| 1438 | + 'narayam-desc' => 'Gör det möjligt att lägga till egna inmatningsmetoder för inmatningsfält', |
| 1439 | + 'narayam-toggle-ime' => 'Aktivera ($1)', |
| 1440 | + 'narayam-menu' => 'Inmatningsmetod', |
| 1441 | + 'narayam-help' => 'Hjälp', |
| 1442 | + 'narayam-eo' => 'Esperanto', |
| 1443 | +); |
| 1444 | + |
| 1445 | +/** Tamil (தமிழ்) |
| 1446 | + * @author Sodabottle |
| 1447 | + */ |
| 1448 | +$messages['ta'] = array( |
| 1449 | + 'narayam-toggle-ime' => 'தமிழில் எழுத', |
| 1450 | + 'narayam-help-page' => 'விக்கிப்பீடியா:தமிழ்த் தட்டச்சு', |
| 1451 | + 'narayam-checkbox-tooltip' => 'இக்கருவியைப் பயன்படுத்தி தமிழில் எழுதலாம்.', |
| 1452 | + 'narayam-ta99' => 'தமிழ்99', |
| 1453 | + 'narayam-ta' => 'எழுத்துப்பெயர்ப்பு', |
| 1454 | +); |
| 1455 | + |
| 1456 | +/** Telugu (తెలుగు) |
| 1457 | + * @author Veeven |
| 1458 | + * @author రహ్మానుద్దీన్ |
| 1459 | + */ |
| 1460 | +$messages['te'] = array( |
| 1461 | + 'narayam-help-page' => 'సహాయం : టైపింగు', |
| 1462 | + 'narayam-hi-inscript' => 'హిందీ ఇన్స్క్రిప్ట్', |
| 1463 | + 'narayam-kn' => 'కన్నడ లిప్యంతరీకరణ', |
| 1464 | + 'narayam-kn-inscript' => 'కన్నడ ఇన్స్క్రిప్ట్', |
| 1465 | + 'narayam-ml' => 'మలయాళం లిప్యంతరీకరణ', |
| 1466 | + 'narayam-ml-inscript' => 'మలయాళం ఇన్స్క్రిప్ట్', |
| 1467 | + 'narayam-or' => 'ఒరియా లిప్యంతరీకరణ', |
| 1468 | + 'narayam-or-inscript' => 'ఒరియా ఇన్స్క్రిప్ట్', |
| 1469 | + 'narayam-sa' => 'సంస్కృతం లిప్యంతరీకరణ', |
| 1470 | + 'narayam-sa-inscript' => 'సంస్కృతం ఇన్స్క్రిప్ట్', |
| 1471 | + 'narayam-ta99' => 'తమిళం99', |
| 1472 | + 'narayam-ta' => 'తమిళం లిప్యంతరీకరణ', |
| 1473 | + 'narayam-te-inscript' => 'తెలుగు ఇన్స్క్రిప్ట్', |
| 1474 | + 'narayam-bn-avro' => 'బెంగాలీ అవ్రో', |
| 1475 | + 'narayam-bn-inscript' => 'బెంగాలీ ఇన్స్క్రిప్ట్', |
| 1476 | + 'narayam-bn-nkb' => 'బెంగాలీ NKB', |
| 1477 | +); |
| 1478 | + |
| 1479 | +/** Tagalog (Tagalog) |
| 1480 | + * @author AnakngAraw |
| 1481 | + */ |
| 1482 | +$messages['tl'] = array( |
| 1483 | + 'narayam-desc' => 'Nagpapahintulot na makapagdagdag ng pasadyang mga metodo ng pagpapasok para sa mga hanay na pinagpapasukan', |
| 1484 | + 'narayam-toggle-ime' => 'Upang mapagpalipat-lipat ang IM ($1)', |
| 1485 | + 'narayam-help-page' => 'Help:Pagmamakinilya', |
| 1486 | + 'narayam-checkbox-tooltip' => 'Upang mapagpalit-palit ang paraan ng pagpasok bilang buhay at nakapatay', |
| 1487 | + 'narayam-disable-preference' => 'Huwag paganahin ang Patnugot ng Paraan ng Pagpapasok (Input Method Editor, IME) ng Narayam', |
| 1488 | + 'narayam-eo' => 'Esperanto', |
| 1489 | + 'narayam-hi-inscript' => 'Panitik na Hindi', |
| 1490 | + 'narayam-kn' => 'Transliterasyong Kannada', |
| 1491 | + 'narayam-kn-inscript' => 'Panitik na Kannada', |
| 1492 | + 'narayam-ml' => 'Transliterasyong Malayalam', |
| 1493 | + 'narayam-ml-inscript' => 'Panitik na Malayalam', |
| 1494 | + 'narayam-or' => 'Transliterasyong Oriya', |
| 1495 | + 'narayam-or-inscript' => 'Panitik na Oriya', |
| 1496 | + 'narayam-sa' => 'Transliterasyong Sanskrit', |
| 1497 | + 'narayam-sa-inscript' => 'Panitik na Sanskrit', |
| 1498 | + 'narayam-si-singlish' => 'Singgles na Sinhala', |
| 1499 | + 'narayam-si-wijesekara' => 'Wijesekara na Sinhala', |
| 1500 | + 'narayam-ta99' => 'Tamil99', |
| 1501 | + 'narayam-ta' => 'Transliterasyong Tamil', |
| 1502 | + 'narayam-te-inscript' => 'Panitik na Telugu', |
| 1503 | + 'narayam-bn-avro' => 'Avro na Bengali', |
| 1504 | + 'narayam-bn-inscript' => 'Panitik na Bengali', |
| 1505 | + 'narayam-bn-nkb' => 'NKB na Bengali', |
| 1506 | +); |
| 1507 | + |
| 1508 | +/** Ukrainian (Українська) |
| 1509 | + * @author Dim Grits |
| 1510 | + */ |
| 1511 | +$messages['uk'] = array( |
| 1512 | + 'narayam-desc' => 'Дозволяє додавати користувацькі методи вводу для полів введення', |
| 1513 | + 'narayam-toggle-ime' => 'Активувати ($1)', |
| 1514 | + 'narayam-menu' => 'Метод введення', |
| 1515 | + 'narayam-menu-tooltip' => 'Управління редактором методу введення нараям (IME)', |
| 1516 | + 'narayam-help' => 'Довідка', |
| 1517 | + 'narayam-help-page' => 'Help:Набір тексту', |
| 1518 | + 'narayam-checkbox-tooltip' => 'Для перемикання методів вводу', |
| 1519 | + 'narayam-disable-preference' => 'Вимкнути редактор методу введення нараям (IME)', |
| 1520 | + 'narayam-eo' => 'Есперанто', |
| 1521 | + 'narayam-hi-inscript' => 'Гінді Inscript', |
| 1522 | + 'narayam-kn' => 'Транслітерація каннада', |
| 1523 | + 'narayam-kn-inscript' => 'Каннада Inscript', |
| 1524 | + 'narayam-ml' => 'Малайська транслітерація', |
| 1525 | + 'narayam-ml-inscript' => 'Малайський Inscript', |
| 1526 | + 'narayam-ne' => 'Транслітерація непальською', |
| 1527 | + 'narayam-ne-inscript' => 'Непальський Inscript', |
| 1528 | + 'narayam-or' => 'Транслітерація орія', |
| 1529 | + 'narayam-or-inscript' => 'Орія Inscript', |
| 1530 | + 'narayam-sa' => 'Транслітерація санскритом', |
| 1531 | + 'narayam-sa-inscript' => 'Санскрит Inscript', |
| 1532 | + 'narayam-si-singlish' => 'Сингальський Сінгліш', |
| 1533 | + 'narayam-si-wijesekara' => 'Сингальська Віджесекера', |
| 1534 | + 'narayam-ta99' => 'Таміл99', |
| 1535 | + 'narayam-ta' => 'Тамільська транслітерація', |
| 1536 | + 'narayam-te-inscript' => 'Телугу Inscript', |
| 1537 | + 'narayam-bn-avro' => 'Бенгальська', |
| 1538 | + 'narayam-bn-inscript' => 'Бенгальська Inscript', |
| 1539 | + 'narayam-bn-nkb' => 'Бенгальська НКБ', |
| 1540 | +); |
| 1541 | + |
| 1542 | +/** Vietnamese (Tiếng Việt) |
| 1543 | + * @author Minh Nguyen |
| 1544 | + */ |
| 1545 | +$messages['vi'] = array( |
| 1546 | + 'narayam-desc' => 'Cung cấp bộ gõ tùy biến cho các hộp văn bản', |
| 1547 | + 'narayam-toggle-ime' => 'Bật bộ gõ ($1)', |
| 1548 | + 'narayam-menu' => 'Bộ gõ', |
| 1549 | + 'narayam-menu-tooltip' => 'Điều khiển bộ gõ Narayam', |
| 1550 | + 'narayam-help' => 'Trợ giúp', |
| 1551 | + 'narayam-help-page' => 'Help:Bộ gõ', |
| 1552 | + 'narayam-checkbox-tooltip' => 'Bật/tắt bộ gõ', |
| 1553 | + 'narayam-disable-preference' => 'Tắt bộ gõ Narayam', |
| 1554 | + 'narayam-eo' => 'Quốc tế ngữ', |
| 1555 | + 'narayam-hi-inscript' => 'InScript Hindi', |
| 1556 | + 'narayam-kn' => 'Chuyển tự tiếng Kannada', |
| 1557 | + 'narayam-kn-inscript' => 'InScript Kannada', |
| 1558 | + 'narayam-ml' => 'Chuyển tự tiếng Malayalam', |
| 1559 | + 'narayam-ml-inscript' => 'InScript Malayalam', |
| 1560 | + 'narayam-ne' => 'Chuyển tự tiếng Nepal', |
| 1561 | + 'narayam-ne-inscript' => 'InScript Nepal', |
| 1562 | + 'narayam-or' => 'Chuyển tự tiếng Oriya', |
| 1563 | + 'narayam-or-inscript' => 'InScript Oriya', |
| 1564 | + 'narayam-sa' => 'Chuyển tự tiếng Phạn', |
| 1565 | + 'narayam-sa-inscript' => 'InScript Phạn', |
| 1566 | + 'narayam-si-singlish' => 'Singlish Sinhala', |
| 1567 | + 'narayam-si-wijesekara' => 'Wijesekara Sinhala', |
| 1568 | + 'narayam-ta99' => 'Tamil99', |
| 1569 | + 'narayam-ta' => 'Chuyển tự tiếng Tamil', |
| 1570 | + 'narayam-te-inscript' => 'InScript Telugu', |
| 1571 | + 'narayam-bn-avro' => 'Avro Bengal', |
| 1572 | + 'narayam-bn-inscript' => 'InScript Bengal', |
| 1573 | + 'narayam-bn-nkb' => 'NKB Bengal', |
| 1574 | +); |
| 1575 | + |
| 1576 | +/** Simplified Chinese (中文(简体)) |
| 1577 | + * @author Anakmalaysia |
| 1578 | + * @author Hydra |
| 1579 | + * @author PhiLiP |
| 1580 | + * @author Xiaomingyan |
| 1581 | + * @author 阿pp |
| 1582 | + */ |
| 1583 | +$messages['zh-hans'] = array( |
| 1584 | + 'narayam-desc' => '允许添加自定义输入的方法的输入字段。', |
| 1585 | + 'narayam-toggle-ime' => '启用 ($1)', |
| 1586 | + 'narayam-menu' => '输入法', |
| 1587 | + 'narayam-menu-tooltip' => '控制Narayam输入法编辑器(IME)', |
| 1588 | + 'narayam-help' => '帮助', |
| 1589 | + 'narayam-help-page' => 'Help:打字', |
| 1590 | + 'narayam-checkbox-tooltip' => '要打开和关闭切换输入的法', |
| 1591 | + 'narayam-disable-preference' => '停用Narayam输入法编辑器(IME)', |
| 1592 | + 'narayam-eo' => '世界语', |
| 1593 | + 'narayam-hi-inscript' => '印地语 InScript', |
| 1594 | + 'narayam-kn' => '卡纳达语音译', |
| 1595 | + 'narayam-kn-inscript' => '卡纳达语 InScript', |
| 1596 | + 'narayam-ml' => '马拉雅拉姆语音译', |
| 1597 | + 'narayam-ml-inscript' => '马拉雅拉姆语 InScript', |
| 1598 | + 'narayam-ne' => '尼泊尔文转写', |
| 1599 | + 'narayam-ne-inscript' => '尼泊尔文InScript', |
| 1600 | + 'narayam-or' => '奥里亚文音译', |
| 1601 | + 'narayam-or-inscript' => '奥里亚文 InScript', |
| 1602 | + 'narayam-sa' => '梵语的音译', |
| 1603 | + 'narayam-sa-inscript' => '梵语 InScript', |
| 1604 | + 'narayam-si-singlish' => '僧伽罗语新式', |
| 1605 | + 'narayam-si-wijesekara' => '僧伽罗语维杰塞克拉', |
| 1606 | + 'narayam-ta99' => '泰米尔99', |
| 1607 | + 'narayam-ta' => '泰米尔音译', |
| 1608 | + 'narayam-te-inscript' => '泰卢固文 InScript', |
| 1609 | + 'narayam-bn-avro' => '孟加拉文阿夫罗', |
| 1610 | + 'narayam-bn-inscript' => '孟加拉文 InScript', |
| 1611 | + 'narayam-bn-nkb' => '孟加拉文 NKB', |
| 1612 | +); |
| 1613 | + |
| 1614 | +/** Traditional Chinese (中文(繁體)) |
| 1615 | + * @author Anakmalaysia |
| 1616 | + */ |
| 1617 | +$messages['zh-hant'] = array( |
| 1618 | + 'narayam-desc' => '允許添加自定義輸入的方法的輸入字段', |
| 1619 | + 'narayam-toggle-ime' => '啟用( $1 )', |
| 1620 | + 'narayam-menu' => '輸入法', |
| 1621 | + 'narayam-menu-tooltip' => '控制Narayam輸入法編輯器(IME)', |
| 1622 | + 'narayam-help' => '幫助', |
| 1623 | + 'narayam-help-page' => 'Help:打字', |
| 1624 | + 'narayam-checkbox-tooltip' => '打開和關閉切換輸入法', |
| 1625 | + 'narayam-disable-preference' => '停用Narayam輸入法編輯器(IME)', |
| 1626 | + 'narayam-eo' => '世界語', |
| 1627 | + 'narayam-hi-inscript' => '印地語 InScript', |
| 1628 | + 'narayam-kn' => '卡納達語音譯', |
| 1629 | + 'narayam-kn-inscript' => '卡納達語 InScript', |
| 1630 | + 'narayam-ml' => '馬拉雅拉姆語音譯', |
| 1631 | + 'narayam-ml-inscript' => '馬拉雅拉姆語 InScript', |
| 1632 | + 'narayam-ne' => '尼泊爾語音譯', |
| 1633 | + 'narayam-ne-inscript' => '尼泊爾語 InScript', |
| 1634 | + 'narayam-or' => '奧里亞語音譯', |
| 1635 | + 'narayam-or-inscript' => '奧里亞語 InScript', |
| 1636 | + 'narayam-sa' => '梵語音譯', |
| 1637 | + 'narayam-sa-inscript' => '梵語 InScript', |
| 1638 | + 'narayam-si-singlish' => '僧伽羅語音譯', |
| 1639 | + 'narayam-si-wijesekara' => '僧伽羅語 Wijesekara', |
| 1640 | + 'narayam-ta99' => '坦米爾語 Tamil99', |
| 1641 | + 'narayam-ta' => '坦米爾語音譯', |
| 1642 | + 'narayam-te-inscript' => '泰盧固語 InScript', |
| 1643 | + 'narayam-bn-avro' => '孟加拉語 Avro', |
| 1644 | + 'narayam-bn-inscript' => '孟加拉語 InScript', |
| 1645 | + 'narayam-bn-nkb' => '孟加拉語 NKB', |
| 1646 | +); |
| 1647 | + |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/Narayam.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 1648 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ta99.js |
— | — | @@ -0,0 +1,191 @@ |
| 2 | +/** |
| 3 | + * Regular expression rules table for Tamil 99 input method |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-11-20 |
| 6 | + * License: GPLv3, CC-BY-SA 3.0 |
| 7 | + */ |
| 8 | + |
| 9 | + // Normal rules |
| 10 | +var rules = [ |
| 11 | +['([க-ஹ])h','a', '$1க'], |
| 12 | +['([க-ஹ])b','a', '$1ங'], |
| 13 | +['([க-ஹ])\\[','a', '$1ச'], |
| 14 | +['([க-ஹ])E','a', '$1ஜ'], |
| 15 | +['([க-ஹ])\\]','a', '$1ஞ'], |
| 16 | +['([க-ஹ])o','a', '$1ட'], |
| 17 | +['([க-ஹ])p','a', '$1ண'], |
| 18 | +['([க-ஹ])l','a', '$1த'], |
| 19 | +['([க-ஹ]);','a', '$1ந'], |
| 20 | +['([க-ஹ])i','a', '$1ன'], |
| 21 | +['([க-ஹ])j','a', '$1ப'], |
| 22 | +['([க-ஹ])k','a', '$1ம'], |
| 23 | +["([க-ஹ])'",'a', '$1ய'], |
| 24 | +['([க-ஹ])m','a', '$1ர'], |
| 25 | +['([க-ஹ])u','a', '$1ற'], |
| 26 | +['([க-ஹ])n','a', '$1ல'], |
| 27 | +['([க-ஹ])y','a', '$1ள'], |
| 28 | +['([க-ஹ])/','a', '$1ழ'], |
| 29 | +['([க-ஹ])v','a', '$1வ'], |
| 30 | +// void |
| 31 | +['([க-ஹ])W','a', '$1ஷ'], |
| 32 | +['([க-ஹ])Q','a', '$1ஸ'], |
| 33 | +['([க-ஹ])R','a', '$1ஹ'], |
| 34 | + |
| 35 | + |
| 36 | +['க்கh', '','க்கக்'], |
| 37 | +['ங்ஙb', '','ங்ஙங்'], |
| 38 | +['ச்ச\\[', '','ச்சச்'], |
| 39 | +['ஜ்ஜE', '','ஜ்ஜஜ்'], |
| 40 | +['ஞ்ஞ\\]', '','ஞ்ஞஞ்'], |
| 41 | +['ட்டo', '','ட்டட்'], |
| 42 | +['ண்ணp', '','ண்ணண்'], |
| 43 | +['த்தl', '','த்தத்'], |
| 44 | +['ந்ந;', '','ந்நந்'], |
| 45 | +['ன்னi', '','ன்னன்'], |
| 46 | +['ப்பj', '','ப்பப்'], |
| 47 | +['ம்மk', '','ம்மம்'], |
| 48 | +["ய்ய'", '','ய்யய்'], |
| 49 | +['ர்ரm', '','ர்ரர்'], |
| 50 | +['ற்றu', '','ற்றற்'], |
| 51 | +['ல்லn', '','ல்லல்'], |
| 52 | +['ள்ளy', '','ள்ளள்'], |
| 53 | +['ழ்ழ/', '','ழ்ழழ்'], |
| 54 | +['வ்வv', '','வ்வவ்'], |
| 55 | +// void |
| 56 | +['ஷ்ஷW', '','ஷ்ஷஷ்'], |
| 57 | +['ஸ்ஸQ', '','ஸ்ஸஸ்'], |
| 58 | +['ஹ்ஹR', '','ஹ்ஹஹ்'], |
| 59 | + |
| 60 | +['([க-ஹ])q', '','$1ா'], |
| 61 | +['([க-ஹ])s', '','$1ி'], |
| 62 | +['([க-ஹ])w', '','$1ீ'], |
| 63 | +['([க-ஹ])d', '','$1ு'], |
| 64 | +['([க-ஹ])e', '','$1ூ'], |
| 65 | +['([க-ஹ])g', '','$1ெ'], |
| 66 | +['([க-ஹ])t', '','$1ே'], |
| 67 | +['([க-ஹ])r', '','$1ை'], |
| 68 | +['([க-ஹ])c', '','$1ொ'], |
| 69 | +['([க-ஹ])x', '','$1ோ'], |
| 70 | +['([க-ஹ])z', '','$1ௌ'], |
| 71 | + |
| 72 | +['([க-ஹ])a', '','$1'], |
| 73 | + |
| 74 | +['கh', '','க்க'], |
| 75 | +['ஙb', '','ங்ங'], |
| 76 | +['ச\\[', '','ச்ச'], |
| 77 | +['ஜE', '','ஜ்ஜ'], |
| 78 | +['ஞ\\]', '','ஞ்ஞ'], |
| 79 | +['டo', '','ட்ட'], |
| 80 | +['ணp', '','ண்ண'], |
| 81 | +['தl', '','த்த'], |
| 82 | +['ந;', '','ந்ந'], |
| 83 | +['னi', '','ன்ன'], |
| 84 | +['பj', '','ப்ப'], |
| 85 | +['மk', '','ம்ம'], |
| 86 | +["ய'", '','ய்ய'], |
| 87 | +['ரm', '','ர்ர'], |
| 88 | +['றu', '','ற்ற'], |
| 89 | +['லn', '','ல்ல'], |
| 90 | +['ளy', '','ள்ள'], |
| 91 | +['ழ/', '','ழ்ழ'], |
| 92 | +['வv', '','வ்வ'], |
| 93 | +// void |
| 94 | +['ஷW', '','ஷ்ஷ'], |
| 95 | +['ஸQ', '','ஸ்ஸ'], |
| 96 | +['ஹR', '','ஹ்ஹ'], |
| 97 | + |
| 98 | +['நl', '','ந்த'], |
| 99 | +['ஙh', '','ங்க'], |
| 100 | +['னu', '','ன்ற'], |
| 101 | +['ணo', '','ண்ட'], |
| 102 | +['ஞ\\[', '','ஞ்ச'], |
| 103 | +['மj', '','ம்ப'], |
| 104 | + |
| 105 | +['q', '','ஆ'], |
| 106 | +['w', '','ஈ'], |
| 107 | +['e', '','ஊ'], |
| 108 | +['r', '','ஐ'], |
| 109 | +['t', '','ஏ'], |
| 110 | +['y', '','ள'], |
| 111 | +['u', '','ற'], |
| 112 | +['i', '','ன'], |
| 113 | +['o', '','ட'], |
| 114 | +['p', '','ண'], |
| 115 | +['\\[', '','ச'], |
| 116 | +['\\]', '','ஞ'], |
| 117 | + |
| 118 | +['a', '','அ'], |
| 119 | +['s', '','இ'], |
| 120 | +['d', '','உ'], |
| 121 | +['f', '','்'], |
| 122 | +['g', '','எ'], |
| 123 | +['h', '','க'], |
| 124 | +['j', '','ப'], |
| 125 | +['k', '','ம'], |
| 126 | +['l', '','த'], |
| 127 | +[';', '','ந'], |
| 128 | +["'", '','ய'], |
| 129 | + |
| 130 | +['z', '','ஔ'], |
| 131 | +['x', '','ஓ'], |
| 132 | +['c', '','ஒ'], |
| 133 | +['v', '','வ'], |
| 134 | +['b', '','ங'], |
| 135 | +['n', '','ல'], |
| 136 | +['m', '','ர'], |
| 137 | +//',', '','ஆ'], |
| 138 | +//'\\.', '','ஆ'], |
| 139 | +['/', '','ழ'], |
| 140 | + |
| 141 | +['Q', '','ஸ'], |
| 142 | +['W', '','ஷ'], |
| 143 | +['E', '','ஜ'], |
| 144 | +['R', '','ஹ'], |
| 145 | +['T', '','க்ஷ'], |
| 146 | +['Y', '','ஸ்ரீ'], |
| 147 | +['U', '','ற'], |
| 148 | +['I', '','ன'], |
| 149 | +['O', '','['], |
| 150 | +['P', '',']'], |
| 151 | +//'\\{', '','ஆ'], |
| 152 | +//'\\}', '','ஆ'], |
| 153 | + |
| 154 | +['A', '','௹'], |
| 155 | +['S', '','௺'], |
| 156 | +['D', '','௸'], |
| 157 | +['F', '','ஃ'], |
| 158 | +['G', '','எ'], |
| 159 | +['H', '','க'], |
| 160 | +['J', '','ப'], |
| 161 | +['K', '','"'], |
| 162 | +['L', '',':'], |
| 163 | +['\\:', '',';'], |
| 164 | +['"', '',"'"], |
| 165 | + |
| 166 | +['Z', '','௳'], |
| 167 | +['X', '','௴'], |
| 168 | +['C', '','௵'], |
| 169 | +['V', '','௶'], |
| 170 | +['B', '','௷'], |
| 171 | +['N', '','ல'], |
| 172 | +['M', '','ர'], |
| 173 | + |
| 174 | +['\\\\0', '','\u0be6'], |
| 175 | +['\\\\1', '','௧'], |
| 176 | +['\\\\2', '','௨'], |
| 177 | +['\\\\3', '','௩'], |
| 178 | +['\\\\4', '','௪'], |
| 179 | +['\\\\5', '','௫'], |
| 180 | +['\\\\6', '','௬'], |
| 181 | +['\\\\7', '','௭'], |
| 182 | +['\\\\8', '','௮'], |
| 183 | +['\\\\9', '','௯'] |
| 184 | +]; |
| 185 | + |
| 186 | +jQuery.narayam.addScheme( 'ta99', { |
| 187 | + 'namemsg': 'narayam-ta99', |
| 188 | + 'extended_keyboard': false, |
| 189 | + 'lookbackLength': 1, |
| 190 | + 'keyBufferLength': 1, |
| 191 | + 'rules': rules |
| 192 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ta99.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 193 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.bn-inscript.js |
— | — | @@ -0,0 +1,127 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Bengali script |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 6 | + * @date 2010-12-12 |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + |
| 10 | +// Normal rules |
| 11 | +var rules = [ |
| 12 | +['X', '', 'ঁ'], |
| 13 | +['x', '', 'ং'], |
| 14 | +['_', '', 'ঃ'], |
| 15 | +['D', '', 'অ'], |
| 16 | +['E', '', 'আ'], |
| 17 | +['F', '', 'ই'], |
| 18 | +['R', '', 'ঈ'], |
| 19 | +['G', '', 'উ'], |
| 20 | +['T', '', 'ঊ'], |
| 21 | +['\\+', '', 'ঋ'], |
| 22 | +['S', '', 'এ'], |
| 23 | +['W', '', 'ঐ'], |
| 24 | +['A', '', 'ও'], |
| 25 | +['Q', '', 'ঔ'], |
| 26 | +['k', '', 'ক'], |
| 27 | +['K', '', 'খ'], |
| 28 | +['i', '', 'গ'], |
| 29 | +['I', '', 'ঘ'], |
| 30 | +['U', '', 'ঙ'], |
| 31 | +[';', '', 'চ'], |
| 32 | +['\\:', '', 'ছ'], |
| 33 | +['p', '', 'জ'], |
| 34 | +['P', '', 'ঝ'], |
| 35 | +['\\}', '', 'ঞ'], |
| 36 | +["'", '', 'ট'], |
| 37 | +['"', '', 'ঠ'], |
| 38 | +['\\[', '', 'ড'], |
| 39 | +['\\{', '', 'ঢ'], |
| 40 | +['C', '', 'ণ'], |
| 41 | +['l', '', 'ত'], |
| 42 | +['L', '', 'থ'], |
| 43 | +['o', '', 'দ'], |
| 44 | +['O', '', 'ধ'], |
| 45 | +['v', '', 'ন'], |
| 46 | +['h', '', 'প'], |
| 47 | +['H', '', 'ফ'], |
| 48 | +['y', '', 'ব'], |
| 49 | +['Y', '', 'ভ'], |
| 50 | +['c', '', 'ম'], |
| 51 | +['\\?', '', 'য'], |
| 52 | +['j', '', 'র'], |
| 53 | +['J', '', 'ৎ'], |
| 54 | +['n', '', 'ল'], |
| 55 | +['M', '', 'শ'], |
| 56 | +['\\<', '', 'ষ'], |
| 57 | +['m', '', 'স'], |
| 58 | +['u', '', 'হ'], |
| 59 | +['\\]', '', '়'], |
| 60 | +['e', '', 'া'], |
| 61 | +['f', '', 'ি'], |
| 62 | +['r', '', 'ী'], |
| 63 | +['g', '', 'ু'], |
| 64 | +['t', '', 'ূ'], |
| 65 | +['\\=', '', 'ৃ'], |
| 66 | +['s', '', 'ে'], |
| 67 | +['w', '', 'ৈ'], |
| 68 | +['a', '', 'ো'], |
| 69 | +['q', '', 'ৌ'], |
| 70 | +['d', '', '্'], |
| 71 | +['/', '', 'য়'], |
| 72 | +['\\>', '', ''], |
| 73 | +['0', '', '০'], |
| 74 | +['1', '', '১'], |
| 75 | +['2', '', '২'], |
| 76 | +['3', '', '৩'], |
| 77 | +['4', '', '৪'], |
| 78 | +['5', '', '৫'], |
| 79 | +['6', '', '৬'], |
| 80 | +['7', '', '৭'], |
| 81 | +['8', '', '৮'], |
| 82 | +['9', '', '৯'], |
| 83 | +['z', '', 'ʼ'], |
| 84 | +['\\!', '', 'অ্যা'], |
| 85 | +['\\#', '', '্র'], |
| 86 | +['\\$', '', 'র্'], |
| 87 | +['\\%', '', 'জ্ঞ'], |
| 88 | +['\\^', '', 'ত্র'], |
| 89 | +['\\&', '', 'ক্ষ'], |
| 90 | +['\\*', '', 'শ্র'], |
| 91 | +['\\(', '', '\u200D'], |
| 92 | +['\\)', '', '\u200C'] |
| 93 | +]; |
| 94 | + |
| 95 | +// Extended layout for InScript. Works in Firefox only |
| 96 | +var rules_x = [ |
| 97 | +['F', '', 'ঌ'], |
| 98 | +['\\>', '', 'ঽ'], |
| 99 | +['\\=', '', 'ৠ'], |
| 100 | +['l', '', 'ৎ'], |
| 101 | +['\\[', '', 'ড়'], |
| 102 | +['\\{', '', 'ঢ়'], |
| 103 | +['\\+', '', 'ৠ'], |
| 104 | +['R', '', 'ৡ'], |
| 105 | +['f', '', 'ৢ'], |
| 106 | +['r', '', 'ৣ'], |
| 107 | +['\\.', '', ''], |
| 108 | +['x', '', '৺'], |
| 109 | +['\\<', '', '৲'], |
| 110 | +[',', '', '৳'], |
| 111 | +['\\!', '', '৴'], |
| 112 | +['\\@', '', '৵'], |
| 113 | +['\\#', '', '৶'], |
| 114 | +['\\$', '', '৷'], |
| 115 | +['\\%', '', '৸'], |
| 116 | +['\\^', '', '৹'], |
| 117 | +['\\?', '', '৻'], |
| 118 | +['4', '', '₹'] |
| 119 | +]; |
| 120 | + |
| 121 | +jQuery.narayam.addScheme( 'bn-inscript', { |
| 122 | + 'namemsg': 'narayam-bn-inscript', |
| 123 | + 'extended_keyboard': true, |
| 124 | + 'lookbackLength': 0, |
| 125 | + 'keyBufferLength': 0, |
| 126 | + 'rules': rules, |
| 127 | + 'rules_x': rules_x |
| 128 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.bn-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 129 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.si-singlish.js |
— | — | @@ -0,0 +1,107 @@ |
| 2 | +/** |
| 3 | + * Transliteration regular expression rules table for Sinhala (Singlish) |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2011-02-23 |
| 6 | + * @credits With help from Nishantha Anuruddha (si.wikipedia.org/wiki/user:බිඟුවා) |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | +// Normal rules |
| 11 | +var rules = [ |
| 12 | +['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\','$1'], |
| 13 | + |
| 14 | +['ඬ්හ්a', '', 'ඳ'], // nndha |
| 15 | +['න්න්d', '', 'ඬ්'], // nnd |
| 16 | +['න්න්g', '', 'ඟ්'], // nng |
| 17 | +['ශ්රිi', '', 'ශ්රී'], // shrii |
| 18 | +['ශ්රi', '', 'ශ්රි'], // shri |
| 19 | +['ශ්r', '', 'ශ්ර'], // shr |
| 20 | + |
| 21 | +['([\\u0D9A-\\u0DC6])්a', '', '$1'], // <consonant>a |
| 22 | +['([\\u0D9A-\\u0DC6])a', '', '$1ා'], // <consonant>aa |
| 23 | +['([\\u0D9A-\\u0DC6])්A', '', '$1ැ'], // <consonant>A |
| 24 | +['([\\u0D9A-\\u0DC6])ැa', '', '$1ෑ'], // <consonant>Aa |
| 25 | +['([\\u0D9A-\\u0DC6])්i', '', '$1ි'], // <consonant>i |
| 26 | +['([\\u0D9A-\\u0DC6])ි[ei]', '', '$1ී'], // <consonant>ie |
| 27 | +['([\\u0D9A-\\u0DC6])්u', '', '$1ු'], // <consonant>u |
| 28 | +['([\\u0D9A-\\u0DC6])ුu', '', '$1ූ'], // <consonant>u |
| 29 | +['([\\u0D9A-\\u0DC6])්e', '', '$1ෙ'], // <consonant>e |
| 30 | +['([\\u0D9A-\\u0DC6])ෙ[ai]', '', '$1ේ'], // <consonant>ei |
| 31 | +['([\\u0D9A-\\u0DC6])්o', '', '$1ො'], // <consonant>o |
| 32 | +['([\\u0D9A-\\u0DC6])ොe', '', '$1ෝ'], // <consonant>oe |
| 33 | +['([\\u0D9A-\\u0DC6])u', '', '$1ෞ'], // <consonant>au |
| 34 | +['([\\u0D9A-\\u0DC6])්I', '', '$1ෛ'], // <consonant>I |
| 35 | + |
| 36 | +['ළුu', '', 'ළුු'], // Luu |
| 37 | + |
| 38 | +['(ක්h|K)', '', 'ඛ්'], // kh K |
| 39 | +['(ග්h|G)', '', 'ඝ්'], // gh G |
| 40 | +['ස්h', '', 'ශ්'], // sh |
| 41 | +['ch', '', 'ච්'], |
| 42 | +['Ch', '', 'ඡ්'], |
| 43 | +['Sh', '', 'ෂ්'], |
| 44 | +['ඝ්N', '', 'ඥ්'], // GN |
| 45 | +['ඨ්h', '', 'ථ්'], // Th |
| 46 | +['ඛ්N', '', 'ඤ්'], // KN |
| 47 | +['ට්h', '', 'ත්'], // th |
| 48 | +['ඪ්h', '', 'ධ්'], // Dh |
| 49 | +['ඩ්h', '', 'ද්'], // dh |
| 50 | +['(ප්h|P)', '', 'ඵ්'], // ph P |
| 51 | +['ළ්u', '', 'ළු'], // Lu |
| 52 | +['බ්h', '', 'භ්'], // bh |
| 53 | + |
| 54 | +['(\\\\r|R)', '', 'ර්'], // \r R |
| 55 | +['(\\\\y|Y)', '', 'ය්'], // \y Y |
| 56 | + |
| 57 | + |
| 58 | +['අ(a|\\))', '', 'ආ'], // aa a) |
| 59 | +['ඇ(a|\\))', '', 'ඈ'], // Aa A) ae |
| 60 | +['(ඉ[i\\)e]|එe)', '', 'ඊ'], // ii i) ie ee |
| 61 | +['එ[a\\)i]', '', 'ඒ'], // ea e) ei |
| 62 | +['ඔ[e\\)]', '', 'ඕ'], // oe o) |
| 63 | +['(උ[u\\)]|ඔo)', '', 'ඌ'], // uu u) oo |
| 64 | +['අu', '', 'ඖ'], // au |
| 65 | + |
| 66 | +['\\\\n', '', 'ං'], |
| 67 | +['\\\\h', '', 'ඃ'], |
| 68 | +['\\\\N', '', 'ඞ'], |
| 69 | +['\\\\R', '', 'ඍ'], |
| 70 | + |
| 71 | +['a', '', 'අ'], |
| 72 | +['A', '', 'ඇ'], |
| 73 | +['i', '', 'ඉ'], |
| 74 | +['e', '', 'එ'], |
| 75 | +['o', '', 'ඔ'], |
| 76 | +['u', '', 'උ'], |
| 77 | + |
| 78 | +['k', '', 'ක්'], |
| 79 | +['b', '', 'බ්'], |
| 80 | +['B', '', 'ඹ්'], |
| 81 | +['g', '', 'ග්'], |
| 82 | +['m', '', 'ම්'], |
| 83 | +['y', '', 'ය්'], |
| 84 | +['j', '', 'ජ්'], |
| 85 | +['r', '', 'ර්'], |
| 86 | +['T', '', 'ඨ්'], |
| 87 | +['f', '', 'ෆ්'], |
| 88 | +['t', '', 'ට්'], |
| 89 | +['l', '', 'ල්'], |
| 90 | +['D', '', 'ඪ්'], |
| 91 | +['d', '', 'ඩ්'], |
| 92 | +['(w|v)', '', 'ව්'], |
| 93 | +['s', '', 'ස්'], |
| 94 | +['q', '', 'ඣ්'], |
| 95 | +['h', '', 'හ්'], |
| 96 | +['n', '', 'න්'], |
| 97 | +['N', '', 'ණ්'], |
| 98 | +['p', '', 'ප්'], |
| 99 | +['L', '', 'ළ්'] |
| 100 | +]; |
| 101 | + |
| 102 | +jQuery.narayam.addScheme( 'si-singlish', { |
| 103 | + 'namemsg': 'narayam-si-singlish', |
| 104 | + 'extended_keyboard': false, |
| 105 | + 'lookbackLength': 5, |
| 106 | + 'keyBufferLength': 2, |
| 107 | + 'rules': rules |
| 108 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.si-singlish.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 109 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.hi-inscript.js |
— | — | @@ -0,0 +1,124 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Devanagari script for Hindi |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 6 | + * @date 2011-02-26 |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | + // Normal rules |
| 11 | +var rules = [ |
| 12 | +['X', '', '\u0901'], |
| 13 | +['x', '', '\u0902'], |
| 14 | +['_', '', '\u0903'], |
| 15 | +['D', '', '\u0905'], |
| 16 | +['E', '', '\u0906'], |
| 17 | +['F', '', '\u0907'], |
| 18 | +['R', '', '\u0908'], |
| 19 | +['G', '', '\u0909'], |
| 20 | +['T', '', '\u090A'], |
| 21 | +['\\+', '', '\u090B'], |
| 22 | +['!', '', '\u090D'], |
| 23 | +['S', '', '\u090F'], |
| 24 | +['W', '', '\u0910'], |
| 25 | +['\\|', '', '\u0911'], |
| 26 | +['A', '', '\u0913'], |
| 27 | +['Q', '', '\u0914'], |
| 28 | +['k', '', '\u0915'], |
| 29 | +['K', '', '\u0916'], |
| 30 | +['i', '', '\u0917'], |
| 31 | +['I', '', '\u0918'], |
| 32 | +['U', '', '\u0919'], |
| 33 | +[';', '', '\u091A'], |
| 34 | +['\\:', '', '\u091B'], |
| 35 | +['p', '', '\u091C'], |
| 36 | +['P', '', '\u091D'], |
| 37 | +['\\}', '', '\u091E'], |
| 38 | +["'", '', '\u091F'], |
| 39 | +['"', '', '\u0920'], |
| 40 | +['\\[', '', '\u0921'], |
| 41 | +['\\{', '', '\u0922'], |
| 42 | +['C', '', '\u0923'], |
| 43 | +['l', '', '\u0924'], |
| 44 | +['L', '', '\u0925'], |
| 45 | +['o', '', '\u0926'], |
| 46 | +['O', '', '\u0927'], |
| 47 | +['v', '', '\u0928'], |
| 48 | +['h', '', '\u092A'], |
| 49 | +['H', '', '\u092B'], |
| 50 | +['y', '', '\u092C'], |
| 51 | +['Y', '', '\u092D'], |
| 52 | +['c', '', '\u092E'], |
| 53 | +['/', '', '\u092F'], |
| 54 | +['j', '', '\u0930'], |
| 55 | +['n', '', '\u0932'], |
| 56 | +['b', '', '\u0935'], |
| 57 | +['M', '', '\u0936'], |
| 58 | +['\\<', '', '\u0937'], |
| 59 | +['m', '', '\u0938'], |
| 60 | +['u', '', '\u0939'], |
| 61 | +['\\]', '', '\u093C'], |
| 62 | +['e', '', '\u093E'], |
| 63 | +['f', '', '\u093F'], |
| 64 | +['r', '', '\u0940'], |
| 65 | +['g', '', '\u0941'], |
| 66 | +['t', '', '\u0942'], |
| 67 | +['\\=', '', '\u0943'], |
| 68 | +['\\@', '', '\u0945'], |
| 69 | +['s', '', '\u0947'], |
| 70 | +['w', '', '\u0948'], |
| 71 | +['\\\\', '', '\u0949'], |
| 72 | +['a', '', '\u094B'], |
| 73 | +['q', '', '\u094C'], |
| 74 | +['d', '', '\u094D'], |
| 75 | +['\\>', '', '\u0964'], |
| 76 | +['0', '', '\u0966'], |
| 77 | +['1', '', '\u0967'], |
| 78 | +['2', '', '\u0968'], |
| 79 | +['3', '', '\u0969'], |
| 80 | +['4', '', '\u096A'], |
| 81 | +['5', '', '\u096B'], |
| 82 | +['6', '', '\u096C'], |
| 83 | +['7', '', '\u096D'], |
| 84 | +['8', '', '\u096E'], |
| 85 | +['9', '', '\u096F'], |
| 86 | +['\\#', '', '\u094D\u0930'], |
| 87 | +['\\$', '', '\u0930\u094D'], |
| 88 | +['\\%', '', '\u091C\u094D\u091E'], |
| 89 | +['\\^', '', '\u0924\u094D\u0930'], |
| 90 | +['\\&', '', '\u0915\u094D\u0937'], |
| 91 | +['\\*', '', '\u0936\u094D\u0930'], |
| 92 | +['\\(', '', '\u200D'], |
| 93 | +['\\)', '', '\u200C'] |
| 94 | +]; |
| 95 | + |
| 96 | +var rules_x = [ |
| 97 | +['F', '', '\u090C'], |
| 98 | +['N', '', '\u0933'], |
| 99 | +['\\>', '', '\u093D'], |
| 100 | +['\\=', '', '\u0944'], |
| 101 | +['X', '', '\u0950'], |
| 102 | +['e', '', '\u0951'], |
| 103 | +['d', '', '\u0952'], |
| 104 | +['k', '', '\u0958'], |
| 105 | +['K', '', '\u0959'], |
| 106 | +['i', '', '\u095A'], |
| 107 | +['p', '', '\u095B'], |
| 108 | +['\\[', '', '\u095C'], |
| 109 | +['\\+', '', '\u0960'], |
| 110 | +['R', '', '\u0961'], |
| 111 | +['f', '', '\u0962'], |
| 112 | +['r', '', '\u0963'], |
| 113 | +['\\.', '', '\u0965'], |
| 114 | +[',', '', '\u0970'], |
| 115 | +['\\$', '', '\u20B9'] |
| 116 | +]; |
| 117 | + |
| 118 | +jQuery.narayam.addScheme( 'hi-inscript', { |
| 119 | + 'namemsg': 'narayam-hi-inscript', |
| 120 | + 'extended_keyboard': true, |
| 121 | + 'lookbackLength': 0, |
| 122 | + 'keyBufferLength': 0, |
| 123 | + 'rules': rules, |
| 124 | + 'rules_x': rules_x |
| 125 | +} ); |
\ No newline at end of file |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.hi-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 126 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ne-inscript.js |
— | — | @@ -0,0 +1,118 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Nepali script |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Bhawani Gautam ([[user:Bhawani Gautam]]) |
| 6 | + * License: GPLv3, CC-BY-SA 3.0 |
| 7 | + */ |
| 8 | + |
| 9 | +// normal rules |
| 10 | +var rules = [ |
| 11 | +['X', '', 'ँ'], |
| 12 | +['x', '', 'ं'], |
| 13 | +['_', '', 'ः'], |
| 14 | +['D', '', 'अ'], |
| 15 | +['E', '', 'आ'], |
| 16 | +['F', '', 'इ'], |
| 17 | +['R', '', 'ई'], |
| 18 | +['G', '', 'उ'], |
| 19 | +['T', '', 'ऊ'], |
| 20 | +['\\+', '', 'ृ'], |
| 21 | +['S', '', 'ए'], |
| 22 | +['W', '', 'ऐ'], |
| 23 | +['A', '', 'ओ'], |
| 24 | +['Q', '', 'औ'], |
| 25 | +['k', '', 'क'], |
| 26 | +['K', '', 'ख'], |
| 27 | +['i', '', 'ग'], |
| 28 | +['I', '', 'घ'], |
| 29 | +['U', '', 'ङ'], |
| 30 | +['\\;', '', 'च'], |
| 31 | +['\\:', '', 'छ'], |
| 32 | +['p', '', 'ज'], |
| 33 | +['P', '', 'झ'], |
| 34 | +['\\}', '', 'ञ'], |
| 35 | +["'", '', 'ट'], |
| 36 | +['"', '', 'ठ'], |
| 37 | +['\\[', '','ड'], |
| 38 | +['\\{', '','ढ'], |
| 39 | +['C', '', 'ण'], |
| 40 | +['l', '', 'त'], |
| 41 | +['L', '', 'थ'], |
| 42 | +['o', '', 'द'], |
| 43 | +['O', '', 'ध'], |
| 44 | +['v', '', 'न'], |
| 45 | +['h', '', 'प'], |
| 46 | +['H', '', 'फ'], |
| 47 | +['y', '', 'ब'], |
| 48 | +['Y', '', 'भ'], |
| 49 | +['c', '', 'म'], |
| 50 | +['\\?', '','य'], |
| 51 | +['j', '', 'र'], |
| 52 | +['J', '', 'द्य'], |
| 53 | +['n', '', 'ल'], |
| 54 | +['N', '', 'ळ'], |
| 55 | +['b', '', 'व'], |
| 56 | +['M', '', 'श'], |
| 57 | +['\\<', '','ष'], |
| 58 | +['m', '', 'स'], |
| 59 | +['u', '', 'ह'], |
| 60 | +['\\]', '','़'], |
| 61 | +['e', '', 'ा'], |
| 62 | +['f', '', 'ि'], |
| 63 | +['r', '', 'ी'], |
| 64 | +['g', '', 'ु'], |
| 65 | +['t', '', 'ू'], |
| 66 | +['\\=', '','ृ'], |
| 67 | +['\\\\', '', 'ॄ'], |
| 68 | +['s', '', 'े'], |
| 69 | +['w', '', 'ै'], |
| 70 | +['a', '', 'ो'], |
| 71 | +['q', '', 'ौ'], |
| 72 | +['d', '', '्'], |
| 73 | +['\\|', '', 'ॠ'], |
| 74 | +['/', '', 'य'], |
| 75 | +['\\>', '', '।'], |
| 76 | +['0', '','०'], |
| 77 | +['1', '','१'], |
| 78 | +['2', '', '२'], |
| 79 | +['3', '', '३'], |
| 80 | +['4', '', '४'], |
| 81 | +['5', '', '५'], |
| 82 | +['6', '', '६'], |
| 83 | +['7', '', '७'], |
| 84 | +['8', '', '८'], |
| 85 | +['9', '', '९'], |
| 86 | +['\\@', '', 'ॅ'], |
| 87 | +['\\#', '','्र'], |
| 88 | +['\\$', '','र्'], |
| 89 | +['\\%', '','ज्ञ'], |
| 90 | +['\\^', '','त्र'], |
| 91 | +['\\&', '', 'क्ष'], |
| 92 | +['\\*', '', 'श्र'], |
| 93 | +['\\(', '', '\u200D'], |
| 94 | +['\\)', '', '\u200C'] |
| 95 | +]; |
| 96 | + |
| 97 | +// Extended layout for InScript. Works in Firefox only |
| 98 | +var rules_x = [ |
| 99 | +['F', '', 'ऌ'], |
| 100 | +['\\>', '','ऽ'], |
| 101 | +['X', '', 'ॐ'], |
| 102 | +['e', '', '\0951'], |
| 103 | +['d', '', '\u0952'], |
| 104 | +['R', '', 'ॡ'], |
| 105 | +['f', '', 'ॢ'], |
| 106 | +['r', '', 'ॣ'], |
| 107 | +['\\.', '', '॥'], |
| 108 | +['\\@', '','ॅ'], |
| 109 | +['4', '', '₹'] |
| 110 | +]; |
| 111 | + |
| 112 | +jQuery.narayam.addScheme( 'ne-inscript', { |
| 113 | + 'namemsg': 'narayam-ne-inscript', |
| 114 | + 'extended_keyboard': true, |
| 115 | + 'lookbackLength': 0, |
| 116 | + 'keyBufferLength': 0, |
| 117 | + 'rules': rules, |
| 118 | + 'rules_x': rules_x |
| 119 | +} ); |
\ No newline at end of file |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ne-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 120 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.sa-inscript.js |
— | — | @@ -0,0 +1,116 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Sanskrit script |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 6 | + * @date 2010-12-26 |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | +var rules = [ |
| 10 | +['X', '', 'ँ'], |
| 11 | +['x', '', 'ं'], |
| 12 | +['_', '', 'ः'], |
| 13 | +['D', '', 'अ'], |
| 14 | +['E', '', 'आ'], |
| 15 | +['F', '', 'इ'], |
| 16 | +['R', '', 'ई'], |
| 17 | +['G', '', 'उ'], |
| 18 | +['T', '', 'ऊ'], |
| 19 | +['\\+', '', 'ृ'], |
| 20 | +['S', '', 'ए'], |
| 21 | +['W', '', 'ऐ'], |
| 22 | +['A', '', 'ओ'], |
| 23 | +['Q', '', 'औ'], |
| 24 | +['k', '', 'क'], |
| 25 | +['K', '', 'ख'], |
| 26 | +['i', '', 'ग'], |
| 27 | +['I', '', 'घ'], |
| 28 | +['U', '', 'ङ'], |
| 29 | +['\\;', '', 'च'], |
| 30 | +['\\:', '', 'छ'], |
| 31 | +['p', '', 'ज'], |
| 32 | +['P', '', 'झ'], |
| 33 | +['\\}', '', 'ञ'], |
| 34 | +["'", '', 'ट'], |
| 35 | +['"', '', 'ठ'], |
| 36 | +['\\[', '','ड'], |
| 37 | +['\\{', '','ढ'], |
| 38 | +['C', '', 'ण'], |
| 39 | +['l', '', 'त'], |
| 40 | +['L', '', 'थ'], |
| 41 | +['o', '', 'द'], |
| 42 | +['O', '', 'ध'], |
| 43 | +['v', '', 'न'], |
| 44 | +['h', '', 'प'], |
| 45 | +['H', '', 'फ'], |
| 46 | +['y', '', 'ब'], |
| 47 | +['Y', '', 'भ'], |
| 48 | +['c', '', 'म'], |
| 49 | +['\\?', '','य'], |
| 50 | +['j', '', 'र'], |
| 51 | +['n', '', 'ल'], |
| 52 | +['N', '', 'ळ'], |
| 53 | +['b', '', 'व'], |
| 54 | +['M', '', 'श'], |
| 55 | +['\\<', '','ष'], |
| 56 | +['m', '', 'स'], |
| 57 | +['u', '', 'ह'], |
| 58 | +['\\]', '','़'], |
| 59 | +['e', '', 'ा'], |
| 60 | +['f', '', 'ि'], |
| 61 | +['r', '', 'ी'], |
| 62 | +['g', '', 'ु'], |
| 63 | +['t', '', 'ू'], |
| 64 | +['\\=', '','ृ'], |
| 65 | +['\\\\', '', 'ॄ'], |
| 66 | +['s', '', 'े'], |
| 67 | +['w', '', 'ै'], |
| 68 | +['a', '', 'ो'], |
| 69 | +['q', '', 'ौ'], |
| 70 | +['d', '', '्'], |
| 71 | +['\\|', '', 'ॠ'], |
| 72 | +['/', '', 'य'], |
| 73 | +['\\>', '', '।'], |
| 74 | +['0', '','०'], |
| 75 | +['1', '','१'], |
| 76 | +['2', '', '२'], |
| 77 | +['3', '', '३'], |
| 78 | +['4', '', '४'], |
| 79 | +['5', '', '५'], |
| 80 | +['6', '', '६'], |
| 81 | +['7', '', '७'], |
| 82 | +['8', '', '८'], |
| 83 | +['9', '', '९'], |
| 84 | +['\\@', '', 'ॅ'], |
| 85 | +['\\#', '','्र'], |
| 86 | +['\\$', '','र्'], |
| 87 | +['\\%', '','ज्ञ'], |
| 88 | +['\\^', '','त्र'], |
| 89 | +['\\&', '', 'क्ष'], |
| 90 | +['\\*', '', 'श्र'], |
| 91 | +['\\(', '', '\u200D'], |
| 92 | +['\\)', '', '\u200C'] |
| 93 | +]; |
| 94 | + |
| 95 | +// Extended layout for InScript. Works in Firefox only |
| 96 | +var rules_x = [ |
| 97 | +['F', '', 'ऌ'], |
| 98 | +['\\>', '','ऽ'], |
| 99 | +['X', '', 'ॐ'], |
| 100 | +['e', '', '\0951'], |
| 101 | +['d', '', '\u0952'], |
| 102 | +['R', '', 'ॡ'], |
| 103 | +['f', '', 'ॢ'], |
| 104 | +['r', '', 'ॣ'], |
| 105 | +['\\.', '', '॥'], |
| 106 | +['\\@', '','ॅ'], |
| 107 | +['4', '', '₹'] |
| 108 | +]; |
| 109 | + |
| 110 | +jQuery.narayam.addScheme( 'sa-inscript', { |
| 111 | + 'namemsg': 'narayam-sa-inscript', |
| 112 | + 'extended_keyboard': true, |
| 113 | + 'lookbackLength': 0, |
| 114 | + 'keyBufferLength': 0, |
| 115 | + 'rules': rules, |
| 116 | + 'rules_x': rules_x |
| 117 | +} ); |
\ No newline at end of file |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.sa-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 118 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.si-wijesekara.js |
— | — | @@ -0,0 +1,98 @@ |
| 2 | +/** |
| 3 | + * Standard Wijesekara Keyboard Layout for Sinhala |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2011-03-01 |
| 6 | + * @credits Language Technology Research Laboratory - University of Colombo School of Computing |
| 7 | + * http://www.ucsc.lk/ltrl/services/layout/ |
| 8 | + * License: GPLv3 |
| 9 | + */ |
| 10 | + |
| 11 | +var rules = [ |
| 12 | +['`', '', '්ර'], |
| 13 | +['~', '', 'ර්'], |
| 14 | + |
| 15 | +['q', '', 'ු'], |
| 16 | +['w', '', 'අ'], |
| 17 | +['e', '', 'ැ'], |
| 18 | +['r', '', 'ර'], |
| 19 | +['t', '', 'එ'], |
| 20 | +['y', '', 'හ'], |
| 21 | +['u', '', 'ම'], |
| 22 | +['i', '', 'ස'], |
| 23 | +['o', '', 'ද'], |
| 24 | +['p', '', 'ච'], |
| 25 | +['\\[', '', 'ඤ'], |
| 26 | +['\\]', '', ';'], |
| 27 | +['a', '', '්'], |
| 28 | +['s', '', 'ි'], |
| 29 | +['d', '', 'ා'], |
| 30 | +['f', '', 'ෙ'], |
| 31 | +['g', '', 'ට'], |
| 32 | +['h', '', 'ය'], |
| 33 | +['j', '', 'ව'], |
| 34 | +['k', '', 'න'], |
| 35 | +['l', '', 'ක'], |
| 36 | +[';', '', 'ත'], |
| 37 | +["'", '', '.'], |
| 38 | +['z', '', "'"], |
| 39 | +['x', '', 'ං'], |
| 40 | +['c', '', 'ජ'], |
| 41 | +['v', '', 'ඩ'], |
| 42 | +['b', '', 'ඉ'], |
| 43 | +['n', '', 'බ'], |
| 44 | +['m', '', 'ප'], |
| 45 | +[',', '', 'ල'], |
| 46 | +['\\.', '', 'ග'], |
| 47 | + |
| 48 | +['Q', '', 'ූ'], |
| 49 | +['W', '', 'උ'], |
| 50 | +['E', '', 'ෑ'], |
| 51 | +['R', '', 'ඍ'], |
| 52 | +['T', '', 'ඔ'], |
| 53 | +['Y', '', 'ශ'], |
| 54 | +['U', '', 'ඹ'], |
| 55 | +['I', '', 'ෂ'], |
| 56 | +['O', '', 'ධ'], |
| 57 | +['P', '', 'ඡ'], |
| 58 | +['\\{', '', 'ඥ'], |
| 59 | +['\\}', '', ':'], |
| 60 | +['A', '', 'ෟ'], |
| 61 | +['S', '', 'ී'], |
| 62 | +['D', '', 'ෘ'], |
| 63 | +['F', '', 'ෆ'], |
| 64 | +['G', '', 'ඨ'], |
| 65 | +['H', '', 'ය'], |
| 66 | +['J', '', 'ළ'], |
| 67 | +['K', '', 'ණ'], |
| 68 | +['L', '', 'ඛ'], |
| 69 | +['\\:', '', 'ථ'], |
| 70 | +['"', '', ','], |
| 71 | +['Z', '', '"'], |
| 72 | +['X', '', 'ඃ'], |
| 73 | +['C', '', 'ඣ'], |
| 74 | +['V', '', 'ඪ'], |
| 75 | +['B', '', 'ඊ'], |
| 76 | +['N', '', 'භ'], |
| 77 | +['M', '', 'ඵ'], |
| 78 | +['\\<', '', 'ළ'], |
| 79 | +['\\>', '', 'ඝ'] |
| 80 | +]; |
| 81 | + |
| 82 | +var rules_x = [ |
| 83 | +['o', '', 'ඳ'], |
| 84 | +['v', '', 'ඬ'], |
| 85 | +["'", '', '෴'], |
| 86 | +['a', '', 'ෳ'], |
| 87 | +['\\.', '', 'ඟ'], |
| 88 | +['x', '', 'ඦ'], |
| 89 | +[',', '', 'ඏ'] |
| 90 | +]; |
| 91 | + |
| 92 | +jQuery.narayam.addScheme( 'si-wijesekara', { |
| 93 | + 'namemsg': 'narayam-si-wijesekara', |
| 94 | + 'extended_keyboard': true, |
| 95 | + 'lookbackLength': 0, |
| 96 | + 'keyBufferLength': 0, |
| 97 | + 'rules': rules, |
| 98 | + 'rules_x': rules_x |
| 99 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.si-wijesekara.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 100 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.core.js |
— | — | @@ -0,0 +1,566 @@ |
| 2 | +/** |
| 3 | + * Narayam |
| 4 | + * Input field rewriter tool for web pages |
| 5 | + * @author Junaid P V ([[user:Junaidpv]])(http://junaidpv.in) |
| 6 | + * @date 2010-12-18 (Based on naaraayam transliteration tool I first wrote on 2010-05-19) |
| 7 | + * @version 3.0 |
| 8 | + * Last update: 2010-11-28 |
| 9 | + * License: GPLv3, CC-BY-SA 3.0 |
| 10 | + */ |
| 11 | + |
| 12 | +/** |
| 13 | + * NOTE: For documentation on writing schemes and rulesets, see the |
| 14 | + * documentation for addScheme(). |
| 15 | + */ |
| 16 | + |
| 17 | +( function( $ ) { |
| 18 | +$.narayam = new ( function() { |
| 19 | + /* Private members */ |
| 20 | + |
| 21 | + // Reference to this object |
| 22 | + var that = this; |
| 23 | + // jQuery array holding all text inputs Narayam applies to |
| 24 | + var $inputs = $( [] ); |
| 25 | + // Whether Narayam is enabled |
| 26 | + var enabled = false; |
| 27 | + // Registered schemes |
| 28 | + var schemes = {}; |
| 29 | + // List of scheme names, ordered for presentation purposes |
| 30 | + // Schemes not in this list won't be allowed to register |
| 31 | + // This object is formatted as { 'schemename': '', 'schemename2': '', ... } |
| 32 | + // for easy searching |
| 33 | + var availableSchemes = mw.config.get( 'wgNarayamAvailableSchemes' ) || {}; |
| 34 | + // Currently selected scheme |
| 35 | + var currentScheme = null; |
| 36 | + // Shortcut key for turning Narayam on and off |
| 37 | + var shortcutKey = mw.config.get( 'wgNarayamShortcutKey' ) || { |
| 38 | + altKey: false, |
| 39 | + ctrlKey: false, |
| 40 | + shiftKey: false, |
| 41 | + key: null |
| 42 | + }; |
| 43 | + |
| 44 | + /* Private functions */ |
| 45 | + |
| 46 | + /** |
| 47 | + * Transliterate a string using the current scheme |
| 48 | + * @param str String to transliterate |
| 49 | + * @param keyBuffer The key buffer |
| 50 | + * @param useExtended Whether to use the extended part of the scheme |
| 51 | + * @return Transliterated string, or str if no applicable transliteration found. |
| 52 | + */ |
| 53 | + function transliterate( str, keyBuffer, useExtended ) { |
| 54 | + var rules = currentScheme.extended_keyboard && useExtended ? |
| 55 | + currentScheme.rules_x : currentScheme.rules; |
| 56 | + for ( var i = 0; i < rules.length; i++ ) { |
| 57 | + var keyBufferMatch = true; |
| 58 | + if ( rules[i][1].length > 0 && rules[i][1].length <= keyBuffer.length ) { |
| 59 | + // Try to match rules[i][1] at the end of the key buffer |
| 60 | + keyBufferMatch = new RegExp( rules[i][1] + '$' ).test( keyBuffer ); |
| 61 | + } |
| 62 | + var regex = new RegExp( rules[i][0] + '$' ); |
| 63 | + if ( keyBufferMatch && regex.test( str ) ) { |
| 64 | + return str.replace( regex, rules[i][2] ); |
| 65 | + } |
| 66 | + } |
| 67 | + // No matches, return the input |
| 68 | + return str; |
| 69 | + } |
| 70 | + |
| 71 | + /** |
| 72 | + * Get the n characters in str that immediately precede pos |
| 73 | + * Example: lastNChars( "foobarbaz", 5, 2 ) == "ba" |
| 74 | + * @param str String to search in |
| 75 | + * @param pos Position in str |
| 76 | + * @param n Number of characters to go back from pos |
| 77 | + * @return Substring of str, at most n characters long, immediately preceding pos |
| 78 | + */ |
| 79 | + function lastNChars( str, pos, n ) { |
| 80 | + if ( n === 0 ) { |
| 81 | + return ''; |
| 82 | + } |
| 83 | + if ( pos <= n ) { |
| 84 | + return str.substr( 0, pos ); |
| 85 | + } else { |
| 86 | + return str.substr( pos - n, n ); |
| 87 | + } |
| 88 | + } |
| 89 | + |
| 90 | + /** |
| 91 | + * Find the point at which a and b diverge, i.e. the first position |
| 92 | + * at which they don't have matching characters. |
| 93 | + * @param a String |
| 94 | + * @param b String |
| 95 | + * @return Position at which a and b diverge, or -1 if a == b |
| 96 | + */ |
| 97 | + function firstDivergence( a, b ) { |
| 98 | + var minLength = a.length < b.length ? a.length : b.length; |
| 99 | + for ( var i = 0; i < minLength; i++ ) { |
| 100 | + if ( a.charCodeAt( i ) !== b.charCodeAt( i ) ) { |
| 101 | + return i; |
| 102 | + } |
| 103 | + } |
| 104 | + return -1; |
| 105 | + } |
| 106 | + |
| 107 | + /** |
| 108 | + * Check whether a keypress event corresponds to the shortcut key |
| 109 | + * @param e Event object |
| 110 | + * @return bool |
| 111 | + */ |
| 112 | + function isShortcutKey( e ) { |
| 113 | + return e.altKey == shortcutKey.altKey && |
| 114 | + e.ctrlKey == shortcutKey.ctrlKey && |
| 115 | + e.shiftKey == shortcutKey.shiftKey && |
| 116 | + String.fromCharCode( e.which ).toLowerCase() == shortcutKey.key.toLowerCase(); |
| 117 | + } |
| 118 | + |
| 119 | + /** |
| 120 | + * Get a description of the shortcut key, e.g. "Ctrl-M" |
| 121 | + * @return string |
| 122 | + */ |
| 123 | + function shortcutText() { |
| 124 | + var text = ''; |
| 125 | + // TODO: Localize these things (in core, too) |
| 126 | + if ( shortcutKey.ctrlKey ) { |
| 127 | + text += 'Ctrl-'; |
| 128 | + } |
| 129 | + if ( shortcutKey.shiftKey ) { |
| 130 | + text += 'Shift-'; |
| 131 | + } |
| 132 | + if ( shortcutKey.altKey ) { |
| 133 | + text += 'Alt-'; |
| 134 | + } |
| 135 | + text += shortcutKey.key.toUpperCase(); |
| 136 | + return text; |
| 137 | + } |
| 138 | + |
| 139 | + /** |
| 140 | + * Change visual appearance of element (text input, textarea) according |
| 141 | + * current state of Narayam |
| 142 | + */ |
| 143 | + function changeVisual( $element ) { |
| 144 | + // It is simple in working |
| 145 | + // If Narayam is active add narayam class otherwise remove narayam class |
| 146 | + if ( enabled ) { |
| 147 | + $element.addClass( 'narayam-input' ); |
| 148 | + } else { |
| 149 | + $element.removeClass( 'narayam-input' ); |
| 150 | + } |
| 151 | + } |
| 152 | + |
| 153 | + /** |
| 154 | + * Replace text part from startPos to endPos with peri |
| 155 | + * It function is specifically for webkit browsers, |
| 156 | + * because of bug: https://bugs.webkit.org/show_bug.cgi?id=66630 |
| 157 | + * TODO: remove when webkit bug is handled in jQuery.textSelection.js |
| 158 | + * |
| 159 | + * @param $element jQuery object to wich replacement to be taked place |
| 160 | + * @param startPos Starting position of text range to be replaced |
| 161 | + * @param endPos Ending position of text range to be replaced |
| 162 | + * @param peri String to be substituted |
| 163 | + */ |
| 164 | + function replaceString( $element, startPos, endPos, peri ) { |
| 165 | + // Take entire text of the element |
| 166 | + var text = $element.val(); |
| 167 | + var pre = text.substring( 0, startPos ); |
| 168 | + var post = text.substring( endPos, text.length ); |
| 169 | + |
| 170 | + // Then replace |
| 171 | + $element.val( pre + peri + post ); |
| 172 | + } |
| 173 | + |
| 174 | + /** |
| 175 | + * Keydown event handler. Handles shortcut key presses |
| 176 | + * @param e Event object |
| 177 | + */ |
| 178 | + function onkeydown( e ) { |
| 179 | + // If the current scheme uses the alt key, ignore keydown for Alt+? combinations |
| 180 | + if ( enabled && currentScheme.extended_keyboard && e.altKey && !e.ctrlKey ) { |
| 181 | + e.stopPropagation(); |
| 182 | + return false; // Not in original code -- does this belong here? |
| 183 | + } else if ( isShortcutKey( e ) ) { |
| 184 | + that.toggle(); |
| 185 | + changeVisual( $( this ) ); |
| 186 | + e.stopPropagation(); |
| 187 | + return false; |
| 188 | + } |
| 189 | + return true; |
| 190 | + } |
| 191 | + |
| 192 | + /** |
| 193 | + * Keypress event handler. This is where the real work happens |
| 194 | + * @param e Event object |
| 195 | + */ |
| 196 | + function onkeypress( e ) { |
| 197 | + if ( !enabled ) { |
| 198 | + return true; |
| 199 | + } |
| 200 | + |
| 201 | + if ( e.which == 8 ) { // Backspace |
| 202 | + // Blank the keybuffer |
| 203 | + $( this ).data( 'narayamKeyBuffer', '' ); |
| 204 | + return true; |
| 205 | + } |
| 206 | + |
| 207 | + // Leave non-ASCII stuff alone, as well as anything involving |
| 208 | + // Alt (except for extended keymaps), Ctrl and Meta |
| 209 | + if ( e.which < 32 || ( e.altKey && !currentScheme.extended_keyboard ) || e.ctrlKey || e.metaKey ) { |
| 210 | + return true; |
| 211 | + } |
| 212 | + |
| 213 | + var $this = $( this ); |
| 214 | + var c = String.fromCharCode( e.which ); |
| 215 | + // Get the current caret position. The user may have selected text to overwrite, |
| 216 | + // so get both the start and end position of the selection. If there is no selection, |
| 217 | + // startPos and endPos will be equal. |
| 218 | + var pos = $this.textSelection( 'getCaretPosition', { 'startAndEnd': true } ); |
| 219 | + var startPos = pos[0]; |
| 220 | + var endPos = pos[1]; |
| 221 | + // Get the last few characters before the one the user just typed, |
| 222 | + // to provide context for the transliteration regexes. |
| 223 | + // We need to append c because it hasn't been added to $this.val() yet |
| 224 | + var input = lastNChars( $this.val(), startPos, currentScheme.lookbackLength ) + c; |
| 225 | + var keyBuffer = $this.data( 'narayamKeyBuffer' ); |
| 226 | + var replacement = transliterate( input, keyBuffer, e.altKey ); |
| 227 | + |
| 228 | + // Update the key buffer |
| 229 | + keyBuffer += c; |
| 230 | + if ( keyBuffer.length > currentScheme.keyBufferLength ) { |
| 231 | + // The buffer is longer than needed, truncate it at the front |
| 232 | + keyBuffer = keyBuffer.substring( keyBuffer.length - currentScheme.keyBufferLength ); |
| 233 | + } |
| 234 | + $this.data( 'narayamKeyBuffer', keyBuffer ); |
| 235 | + |
| 236 | + // textSelection() magic is expensive, so we avoid it as much as we can |
| 237 | + if ( replacement == input ) { |
| 238 | + return true; |
| 239 | + } |
| 240 | + // Drop a common prefix, if any |
| 241 | + // TODO: Profile this, see if it's any faster |
| 242 | + var divergingPos = firstDivergence( input, replacement ); |
| 243 | + input = input.substring( divergingPos ); |
| 244 | + replacement = replacement.substring( divergingPos ); |
| 245 | + |
| 246 | + // TODO: use better browser detection as $.browser may be moved out |
| 247 | + // from jQuery core |
| 248 | + if ( $.browser.webkit ) { |
| 249 | + // Webkit browser have a bug: |
| 250 | + // https://bugs.webkit.org/show_bug.cgi?id=66630 |
| 251 | + // TODO: remove when webkit bug is handled |
| 252 | + // in jQuery.textSelection.js |
| 253 | + |
| 254 | + replaceString($this, startPos - input.length + 1, endPos, replacement); |
| 255 | + // Calculate new position for caret to be set |
| 256 | + var newCaretPosition = startPos - input.length + 1 + replacement.length; |
| 257 | + // Update caret postion |
| 258 | + $this.textSelection( 'setSelection', { |
| 259 | + 'start': newCaretPosition, |
| 260 | + 'end': newCaretPosition |
| 261 | + } ); |
| 262 | + } |
| 263 | + else { |
| 264 | + // Select and replace the text |
| 265 | + $this.textSelection( 'setSelection', { |
| 266 | + 'start': startPos - input.length + 1, |
| 267 | + 'end': endPos |
| 268 | + } ); |
| 269 | + $this.textSelection( 'encapsulateSelection', { |
| 270 | + 'peri': replacement, |
| 271 | + 'replace': true, |
| 272 | + 'selectPeri': false |
| 273 | + } ); |
| 274 | + } |
| 275 | + |
| 276 | + e.stopPropagation(); |
| 277 | + return false; |
| 278 | + } |
| 279 | + |
| 280 | + /** |
| 281 | + * Focus event handler. |
| 282 | + * @param e Event object |
| 283 | + */ |
| 284 | + function onfocus( e ) { |
| 285 | + $( this ).data( 'narayamKeyBuffer', '' ); |
| 286 | + changeVisual( $( this ) ); |
| 287 | + } |
| 288 | + |
| 289 | + /** |
| 290 | + * Blur event handler. |
| 291 | + * @param e Event object |
| 292 | + */ |
| 293 | + function onblur( e ) { |
| 294 | + $( this ).removeClass( 'narayam-input' ); |
| 295 | + } |
| 296 | + |
| 297 | + |
| 298 | + /* Public functions */ |
| 299 | + |
| 300 | + /** |
| 301 | + * Add more inputs to apply Narayam to |
| 302 | + * @param inputs A jQuery object holding one or more input or textarea elements, |
| 303 | + * or an array of DOM elements, or a single DOM element, or a selector |
| 304 | + */ |
| 305 | + this.addInputs = function( inputs ) { |
| 306 | + if (typeof( inputs ) == "string" ) { |
| 307 | + // If a string is passed, it is CSS selector |
| 308 | + // We can use jQuery's .live() instead of .bind() |
| 309 | + // So Narayam can work on elements added later to DOM too |
| 310 | + $( inputs ) |
| 311 | + .live( 'keydown', onkeydown ) |
| 312 | + .live( 'keypress', onkeypress ) |
| 313 | + .live( 'focus', onfocus ) |
| 314 | + .live( 'blur', onblur ); |
| 315 | + } else { |
| 316 | + var $newInputs = $( inputs ); |
| 317 | + $inputs = $inputs.add( $newInputs ); |
| 318 | + $newInputs |
| 319 | + .bind( 'keydown.narayam', onkeydown ) |
| 320 | + .bind( 'keypress.narayam', onkeypress ) |
| 321 | + .bind( 'focus', onfocus) |
| 322 | + .bind( 'blur', onblur); |
| 323 | + } |
| 324 | + }; |
| 325 | + |
| 326 | + /** |
| 327 | + * Enable Narayam |
| 328 | + */ |
| 329 | + this.enable = function() { |
| 330 | + if ( !enabled && currentScheme !== null ) { |
| 331 | + $.cookie( 'narayam-enabled', '1', { 'path': '/', 'expires': 30 } ); |
| 332 | + $( '#narayam-toggle' ).attr( 'checked', true ); |
| 333 | + $( 'li#pt-narayam').removeClass( 'narayam-inactive' ); |
| 334 | + $( 'li#pt-narayam').addClass( 'narayam-active' ); |
| 335 | + enabled = true; |
| 336 | + } |
| 337 | + }; |
| 338 | + |
| 339 | + /** |
| 340 | + * Disable Narayam |
| 341 | + */ |
| 342 | + this.disable = function() { |
| 343 | + if ( enabled ) { |
| 344 | + $.cookie( 'narayam-enabled', '0', { 'path': '/', 'expires': 30 } ); |
| 345 | + $( '#narayam-toggle' ).attr( 'checked', false ); |
| 346 | + $( 'li#pt-narayam').removeClass( 'narayam-active' ); |
| 347 | + $( 'li#pt-narayam').addClass( 'narayam-inactive' ); |
| 348 | + enabled = false; |
| 349 | + } |
| 350 | + }; |
| 351 | + |
| 352 | + /** |
| 353 | + * Toggle the enabled/disabled state |
| 354 | + */ |
| 355 | + this.toggle = function() { |
| 356 | + if ( enabled ) { |
| 357 | + that.disable(); |
| 358 | + } else { |
| 359 | + that.enable(); |
| 360 | + } |
| 361 | + }; |
| 362 | + |
| 363 | + /** |
| 364 | + * Add a transliteration scheme. Schemes whose name is not in |
| 365 | + * wgNarayamAvailableSchemes will be ignored. |
| 366 | + * |
| 367 | + * A scheme consists of rules used for transliteration. A rule is an |
| 368 | + * array of three strings. The first string is a regex that is matched |
| 369 | + * against the input string (the last few characters before the cursor |
| 370 | + * followed by the character the user entered), the second string is a |
| 371 | + * regex that is matched against the end of the key buffer (the last |
| 372 | + * few keys the user pressed), and the third string is the replacement |
| 373 | + * string (may contain placeholders like $1 for subexpressions). You do |
| 374 | + * not need to add $ to the end of either of the regexes so they match |
| 375 | + * at the end, this is done automagically. |
| 376 | + * |
| 377 | + * The transliteration algorithm processes the rules in the order they |
| 378 | + * are specified, and applies the first rule that matches. For a rule |
| 379 | + * to match, both the first and second regex have to match (the first |
| 380 | + * for the input, the second for the key buffer). Most rules do not use |
| 381 | + * the keybuffer and specify an empty string as the second regex. |
| 382 | + * |
| 383 | + * The scheme data object must have the following keys: |
| 384 | + * namemsg: Message key for the name of the scheme |
| 385 | + * extended_keyboard: Whether this scheme has an extended ruleset (bool) |
| 386 | + * lookbackLength: Number of characters before the cursor to include |
| 387 | + * when matching the first regex of each rule. This is |
| 388 | + * usually the maximum number of characters a rule |
| 389 | + * regex can match minus one. |
| 390 | + * keyBufferLength: Length of the key buffer. May be zero if not needed |
| 391 | + * rules: Array of rules, which themselves are arrays of three strings. |
| 392 | + * rules_x: Extended ruleset. This is used instead of the normal |
| 393 | + * ruleset when Alt is held. This key is only required if |
| 394 | + * extended_keyboard is true |
| 395 | + * |
| 396 | + * NOTE: All keys are REQUIRED (except rules_x when not used). Missing |
| 397 | + * keys may result in JS errors. |
| 398 | + * |
| 399 | + * @param name Name of the scheme, must be unique |
| 400 | + * @param data Object with scheme data. |
| 401 | + * @return True if added, false if not |
| 402 | + */ |
| 403 | + this.addScheme = function( name, data ) { |
| 404 | + if ( name in availableSchemes ) { |
| 405 | + schemes[name] = data; |
| 406 | + return true; |
| 407 | + } else { |
| 408 | + return false; |
| 409 | + } |
| 410 | + }; |
| 411 | + |
| 412 | + /** |
| 413 | + * Change the current transliteration scheme |
| 414 | + * @param name String |
| 415 | + */ |
| 416 | + this.setScheme = function( name ) { |
| 417 | + if ( name in schemes ) { |
| 418 | + currentScheme = schemes[name]; |
| 419 | + $.cookie( 'narayam-scheme', name, { 'path': '/', 'expires': 30 } ); |
| 420 | + } |
| 421 | + }; |
| 422 | + |
| 423 | + /** |
| 424 | + * Set up Narayam. This adds the scheme dropdown, binds the handlers |
| 425 | + * and initializes the enabled/disabled state and selected scheme |
| 426 | + * from a cookie or wgNarayamEnableByDefault |
| 427 | + */ |
| 428 | + this.setup = function() { |
| 429 | + // Build the menu |
| 430 | + if ( !that.buildMenu() ) { |
| 431 | + // /buildMenu() returned false |
| 432 | + // No need to proceed |
| 433 | + return; |
| 434 | + } |
| 435 | + |
| 436 | + // Restore state from cookies |
| 437 | + var savedScheme = $.cookie( 'narayam-scheme' ); |
| 438 | + if ( savedScheme && savedScheme in schemes ) { |
| 439 | + that.setScheme( savedScheme ); |
| 440 | + $( '#narayam-' + savedScheme ).attr( 'checked', 'checked' ); |
| 441 | + } else { |
| 442 | + //if no saved input scheme, select the first. |
| 443 | + var $firstScheme = $( 'input.narayam-scheme:first' ); |
| 444 | + that.setScheme( $firstScheme.val() ); |
| 445 | + $firstScheme.attr( 'checked', 'checked' ); |
| 446 | + |
| 447 | + } |
| 448 | + var enabledCookie = $.cookie( 'narayam-enabled' ); |
| 449 | + if ( enabledCookie == '1' || ( mw.config.get( 'wgNarayamEnabledByDefault' ) && enabledCookie !== '0' ) ) { |
| 450 | + that.enable(); |
| 451 | + } |
| 452 | + else { |
| 453 | + $( 'li#pt-narayam' ).addClass( 'narayam-inactive' ); |
| 454 | + } |
| 455 | + // Renew the narayam-enabled cookie. narayam-scheme is renewed by setScheme() |
| 456 | + if ( enabledCookie ) { |
| 457 | + $.cookie( 'narayam-enabled', enabledCookie, { |
| 458 | + 'path': '/', |
| 459 | + 'expires': 30 |
| 460 | + } ); |
| 461 | + } |
| 462 | + |
| 463 | + }; |
| 464 | + |
| 465 | + /* |
| 466 | + * Construct the menu for Narayam |
| 467 | + */ |
| 468 | + this.buildMenu = function() { |
| 469 | + var haveSchemes = false; |
| 470 | + // Build schemes option list |
| 471 | + var $narayamMenuItems = $( '<ul/>' ); |
| 472 | + for ( var scheme in schemes ) { |
| 473 | + var $input = $( '<input type="radio" name="narayam-input-method" class="narayam-scheme" />' ); |
| 474 | + $input |
| 475 | + .attr( 'id', 'narayam-' + scheme ) |
| 476 | + .val( scheme ); |
| 477 | + |
| 478 | + var $narayamMenuItemLabel = $( '<label />' ) |
| 479 | + .attr( 'for' ,'narayam-' + scheme ) |
| 480 | + .append( $input ) |
| 481 | + .append( mw.html.escape( mw.msg( schemes[scheme].namemsg ) ) ); |
| 482 | + |
| 483 | + var $narayamMenuItem = $( '<li/>' ) |
| 484 | + .append( $input ) |
| 485 | + .append( $narayamMenuItemLabel ); |
| 486 | + |
| 487 | + haveSchemes = true; |
| 488 | + $narayamMenuItems.append( $narayamMenuItem ); |
| 489 | + } |
| 490 | + |
| 491 | + if ( !haveSchemes ) { |
| 492 | + // No schemes available, don't show the tool |
| 493 | + // So return false |
| 494 | + return false; |
| 495 | + } |
| 496 | + |
| 497 | + // Event listener for scheme selection. |
| 498 | + // There is a plan to add a feature that allow dynamic loading of schemes. |
| 499 | + // So .live will be useful |
| 500 | + $( '.narayam-scheme', $( '#narayam-menu-items > ul')[0] ).live( 'click', function() { |
| 501 | + that.setScheme( $(this).val() ); |
| 502 | + } ); |
| 503 | + |
| 504 | + // Build enable/disable checkbox and label |
| 505 | + var $checkbox = $( '<input type="checkbox" id="narayam-toggle" />' ); |
| 506 | + $checkbox |
| 507 | + .attr( 'title', mw.msg( 'narayam-checkbox-tooltip' ) ) |
| 508 | + .click( that.toggle ); |
| 509 | + |
| 510 | + var $label = $( '<label for="narayam-toggle" />' ); |
| 511 | + $label |
| 512 | + .text( mw.msg( 'narayam-toggle-ime', shortcutText() ) ) |
| 513 | + .prepend( $checkbox ) |
| 514 | + .attr( 'title', mw.msg( 'narayam-checkbox-tooltip' ) ); |
| 515 | + |
| 516 | + var helppage = mw.msg( 'narayam-help-page' ); |
| 517 | + if ( helppage ) { |
| 518 | + $narayamMenuItems.append( $( '<li class="narayam-help-link" />') |
| 519 | + .append( |
| 520 | + $( '<a/>' ) |
| 521 | + .text( mw.msg( 'narayam-help' ) ) |
| 522 | + .attr( |
| 523 | + 'href', |
| 524 | + mw.util.wikiGetlink( mw.msg( 'narayam-help-page' ) ) |
| 525 | + ) |
| 526 | + ) |
| 527 | + ); |
| 528 | + } |
| 529 | + |
| 530 | + $narayamMenuItems.prepend( $( '<li/>' ).append( $label ) ); |
| 531 | + |
| 532 | + var $menuItemsDiv = $( '<div id="narayam-menu-items" class="menu-items" />' ); |
| 533 | + $menuItemsDiv |
| 534 | + .append( $narayamMenuItems ); |
| 535 | + |
| 536 | + var $menu = $( '<div id="narayam-menu" class="narayam-menu" />'); |
| 537 | + $menu |
| 538 | + .append( |
| 539 | + $( '<a href="#" />' ) |
| 540 | + .text( mw.msg( 'narayam-menu' ) ) |
| 541 | + .attr( 'title', mw.msg( 'narayam-menu-tooltip' ) ) |
| 542 | + ) |
| 543 | + .append( $menuItemsDiv ); |
| 544 | + |
| 545 | + var $li = $( '<li id="pt-narayam" />' ); |
| 546 | + $li.append( $menu ); |
| 547 | + |
| 548 | + // If rtl, add to the right of top personal links. Else, to the left |
| 549 | + var fn = $( 'body' ).hasClass( 'rtl' ) ? "append" : "prepend"; |
| 550 | + $( '#p-personal ul:first' )[fn]( $li ); |
| 551 | + // Workaround for IE bug - activex components like input fields |
| 552 | + // coming on top of everything. |
| 553 | + // TODO: is there a better solution other than hiding it on hover? |
| 554 | + if ( $.browser.msie ) { |
| 555 | + $( '#narayam-menu' ).hover( function() { |
| 556 | + $( '#searchform' ).css( 'visibility', 'hidden' ); |
| 557 | + }, function() { |
| 558 | + $( '#searchform' ).css( 'visibility', 'visible' ); |
| 559 | + }); |
| 560 | + } |
| 561 | + |
| 562 | + // Narayam controls setup complete, returns true |
| 563 | + return true; |
| 564 | + }; |
| 565 | +} )(); |
| 566 | + |
| 567 | +} )( jQuery ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.core.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 568 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.te-inscript.js |
— | — | @@ -0,0 +1,118 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Telugu script |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Veeven ([[user:Veeven]]) |
| 6 | + * @date 2011-02-27 |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | +var rules = [ |
| 10 | +['X', '', 'ఁ'], |
| 11 | +['x', '', 'ం'], |
| 12 | +//['_', '', ''], |
| 13 | +['D', '', 'అ'], |
| 14 | +['E', '', 'ఆ'], |
| 15 | +['F', '', 'ఇ'], |
| 16 | +['R', '', 'ఈ'], |
| 17 | +['G', '', 'ఉ'], |
| 18 | +['T', '', 'ఊ'], |
| 19 | +['\\+', '', 'ఋ'], |
| 20 | +['Z', '', 'ఎ'], |
| 21 | +['S', '', 'ఏ'], |
| 22 | +['W', '', 'ఐ'], |
| 23 | + |
| 24 | +['~', '', 'ఒ'], |
| 25 | +['A', '', 'ఓ'], |
| 26 | +['Q', '', 'ఔ'], |
| 27 | +['k', '', 'క'], |
| 28 | +['K', '', 'ఖ'], |
| 29 | +['i', '', 'గ'], |
| 30 | +['I', '', 'ఘ'], |
| 31 | +['U', '', 'ఙ'], |
| 32 | +['\\;', '', 'చ'], |
| 33 | +['\\:', '', 'ఛ'], |
| 34 | +['p', '', 'జ'], |
| 35 | +['P', '', 'ఝ'], |
| 36 | +['\\}', '', 'ఞ'], |
| 37 | +["'", '', 'ట'], |
| 38 | +['"', '', 'ఠ'], |
| 39 | +['\\[', '','డ'], |
| 40 | +['\\{', '','ఢ'], |
| 41 | +['C', '', 'ణ'], |
| 42 | +['l', '', 'త'], |
| 43 | +['L', '', 'థ'], |
| 44 | +['o', '', 'ద'], |
| 45 | +['O', '', 'ధ'], |
| 46 | +['v', '', 'న'], |
| 47 | +['h', '', 'ప'], |
| 48 | +['H', '', 'ఫ'], |
| 49 | +['y', '', 'బ'], |
| 50 | +['Y', '', 'భ'], |
| 51 | +['c', '', 'మ'], |
| 52 | +['\\?', '','య'], |
| 53 | +['j', '', 'ర'], |
| 54 | +['n', '', 'ల'], |
| 55 | +['N', '', 'ళ'], |
| 56 | +['b', '', 'వ'], |
| 57 | +['M', '', 'శ'], |
| 58 | +['\\<', '','ష'], |
| 59 | +['m', '', 'స'], |
| 60 | +['u', '', 'హ'], |
| 61 | +['\\]', '','ఞ'], |
| 62 | +['e', '', 'ా'], |
| 63 | +['f', '', 'ి'], |
| 64 | +['r', '', 'ీ'], |
| 65 | +['g', '', 'ు'], |
| 66 | +['t', '', 'ూ'], |
| 67 | +['\\=', '', 'ృ'], |
| 68 | +['\\\\', '', ''], |
| 69 | +['s', '', 'ే'], |
| 70 | +['w', '', 'ై'], |
| 71 | +['a', '', 'ో'], |
| 72 | +['q', '', 'ౌ'], |
| 73 | +['d', '', '్'], |
| 74 | +//['\\|', '', 'ॠ'], |
| 75 | +['/', '', 'య'], |
| 76 | +//['\\>', '', '.'], |
| 77 | +['0', '','౦'], |
| 78 | +['1', '','౧'], |
| 79 | +['2', '', '౨'], |
| 80 | +['3', '', '౩'], |
| 81 | +['4', '', '౪'], |
| 82 | +['5', '', '౫'], |
| 83 | +['6', '', '౬'], |
| 84 | +['7', '', '౭'], |
| 85 | +['8', '', '౮'], |
| 86 | +['9', '', '౯'], |
| 87 | +//['\\@', '', 'ॅ'], |
| 88 | +['\\#', '', '్ర'], |
| 89 | +['\\$', '', 'ర్'], |
| 90 | +['\\%', '', 'జ్ఞ'], |
| 91 | +['\\^', '', 'త్ర'], |
| 92 | +['\\&', '', 'క్ష'], |
| 93 | +['\\*', '', 'శ్ర'], |
| 94 | +['\\(', '', '\u200D'], |
| 95 | +['\\)', '', '\u200C'] |
| 96 | +]; |
| 97 | + |
| 98 | +// Extended layout for InScript. Works in Firefox only |
| 99 | +var rules_x = [ |
| 100 | +//['F', '', 'ऌ'], |
| 101 | +//['\\>', '','ऽ'], |
| 102 | +['X', '', 'ॐ'], |
| 103 | +//['e', '', '\0951'], |
| 104 | +//['d', '', '\u0952'], |
| 105 | +//['R', '', 'ॡ'], |
| 106 | +//['f', '', 'ॢ'], |
| 107 | +//['r', '', 'ॣ'], |
| 108 | +//['\\.', '', '॥'], |
| 109 | +//['\\@', '','ॅ'], |
| 110 | +['4', '', '₹'] |
| 111 | +]; |
| 112 | + |
| 113 | +jQuery.narayam.addScheme( 'te-inscript', { |
| 114 | + 'namemsg': 'narayam-te-inscript', |
| 115 | + 'extended_keyboard': true, |
| 116 | + 'lookbackLength': 0, |
| 117 | + 'rules': rules, |
| 118 | + 'rules_x': rules_x |
| 119 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.te-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 120 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.kn-inscript.js |
— | — | @@ -0,0 +1,116 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Kannada script |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 6 | + * @date 2011-02-27 |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + // Normal |
| 10 | + var rules = [ |
| 11 | +['x', '', '\u0C82'], |
| 12 | +['_', '', '\u0C83'], |
| 13 | +['D', '', '\u0C85'], |
| 14 | +['E', '', '\u0C86'], |
| 15 | +['F', '', '\u0C87'], |
| 16 | +['R', '', '\u0C88'], |
| 17 | +['G', '', '\u0C89'], |
| 18 | +['T', '', '\u0C8A'], |
| 19 | +['\\+', '', '\u0C8B'], |
| 20 | +['Z', '', '\u0C8E'], |
| 21 | +['S', '', '\u0C8F'], |
| 22 | +['W', '', '\u0C90'], |
| 23 | +['~', '', '\u0C92'], |
| 24 | +['A', '', '\u0C93'], |
| 25 | +['Q', '', '\u0C94'], |
| 26 | +['k', '', '\u0C95'], |
| 27 | +['K', '', '\u0C96'], |
| 28 | +['i', '', '\u0C97'], |
| 29 | +['I', '', '\u0C98'], |
| 30 | +['U', '', '\u0C99'], |
| 31 | +[';', '', '\u0C9A'], |
| 32 | +['\\:', '', '\u0C9B'], |
| 33 | +['p', '', '\u0C9C'], |
| 34 | +['P', '', '\u0C9D'], |
| 35 | +['\\}', '', '\u0C9E'], |
| 36 | +["'", '', '\u0C9F'], |
| 37 | +['"', '', '\u0CA0'], |
| 38 | +['\\[', '', '\u0CA1'], |
| 39 | +['\\{', '', '\u0CA2'], |
| 40 | +['C', '', '\u0CA3'], |
| 41 | +['l', '', '\u0CA4'], |
| 42 | +['L', '', '\u0CA5'], |
| 43 | +['o', '', '\u0CA6'], |
| 44 | +['O', '', '\u0CA7'], |
| 45 | +['v', '', '\u0CA8'], |
| 46 | +['h', '', '\u0CAA'], |
| 47 | +['H', '', '\u0CAB'], |
| 48 | +['y', '', '\u0CAC'], |
| 49 | +['Y', '', '\u0CAD'], |
| 50 | +['c', '', '\u0CAE'], |
| 51 | +['/', '', '\u0CAF'], |
| 52 | +['j', '', '\u0CB0'], |
| 53 | +['J', '', '\u0CB1'], |
| 54 | +['n', '', '\u0CB2'], |
| 55 | +['N', '', '\u0CB3'], |
| 56 | +['b', '', '\u0CB5'], |
| 57 | +['M', '', '\u0CB6'], |
| 58 | +[',', '', '\u0CB7'], |
| 59 | +['m', '', '\u0CB8'], |
| 60 | +['u', '', '\u0CB9'], |
| 61 | +['\\]', '', '\u0CBC'], |
| 62 | +['e', '', '\u0CBE'], |
| 63 | +['f', '', '\u0CBF'], |
| 64 | +['r', '', '\u0CC0'], |
| 65 | +['g', '', '\u0CC1'], |
| 66 | +['t', '', '\u0CC2'], |
| 67 | +['\\=', '', '\u0CC3'], |
| 68 | +['z', '', '\u0CC6'], |
| 69 | +['s', '', '\u0CC7'], |
| 70 | +['w', '', '\u0CC8'], |
| 71 | +['`', '', '\u0CCA'], |
| 72 | +['a', '', '\u0CCB'], |
| 73 | +['q', '', '\u0CCC'], |
| 74 | +['d', '', '\u0CCD'], |
| 75 | +['t', '', '\u0CC2'], |
| 76 | +['0', '', '\u0CE6'], |
| 77 | +['1', '', '\u0CE7'], |
| 78 | +['2', '', '\u0CE8'], |
| 79 | +['3', '', '\u0CE9'], |
| 80 | +['4', '', '\u0CEA'], |
| 81 | +['5', '', '\u0CEB'], |
| 82 | +['6', '', '\u0CEC'], |
| 83 | +['7', '', '\u0CED'], |
| 84 | +['8', '', '\u0CEE'], |
| 85 | +['9', '', '\u0CEF'], |
| 86 | +['\\#', '', '\u0CCD\u0CB0'], |
| 87 | +['\\%', '', '\u0C9C\u0CCD\u0C9E'], |
| 88 | +['\\^', '', '\u0CA4\u0CCD\u0CB0'], |
| 89 | +['\\&', '', '\u0C95\u0CCD\u0CB0'], |
| 90 | +['\\(', '', '\u200D'], |
| 91 | +['\\)', '', '\u200C'] |
| 92 | +]; |
| 93 | +// Extended |
| 94 | +var rules_x = [ |
| 95 | +['F', '', '\uC88C'], |
| 96 | +['\\>', '', '\u0CBD'], |
| 97 | +['\\=', '', '\u0CC4'], |
| 98 | +['H', '', '\u0CDE'], |
| 99 | +['\\+', '', '\u0CE0'], |
| 100 | +['R', '', '\u0CE1'], |
| 101 | +['f', '', '\u0CE2'], |
| 102 | +['r', '', '\u0CE3'], |
| 103 | +['\\>', '', '\u0CE4'], |
| 104 | +['\\.', '', '\u0CE5'], |
| 105 | +['u', '', '\u0CF1'], |
| 106 | +['j', '', '\u0CF2'], |
| 107 | +['\\$', '', '\u20B9'] |
| 108 | +]; |
| 109 | + |
| 110 | +jQuery.narayam.addScheme( 'kn-inscript', { |
| 111 | + 'namemsg': 'narayam-kn-inscript', |
| 112 | + 'extended_keyboard': true, |
| 113 | + 'lookbackLength': 0, |
| 114 | + 'keyBufferLength': 0, |
| 115 | + 'rules': rules, |
| 116 | + 'rules_x': rules_x |
| 117 | +} ); |
\ No newline at end of file |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.kn-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 118 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ml-inscript.js |
— | — | @@ -0,0 +1,88 @@ |
| 2 | +/** |
| 3 | + * Inscript regular expression rules table for Malayalam |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-09-08 |
| 6 | + * License: GPLv3 |
| 7 | + */ |
| 8 | +var rules = [ |
| 9 | +['`', '','ൊ'], |
| 10 | +['~', '','ഒ'], |
| 11 | +['_', '','ഃ'], |
| 12 | +['=', '','ൃ'], |
| 13 | +['\\+', '','ഋ'], |
| 14 | +['\\\\', '','\u200C'], |
| 15 | +['q', '','ൗ'], |
| 16 | +['Q', '','ഔ'], |
| 17 | +['w', '','ൈ'], |
| 18 | +['W', '','ഐ'], |
| 19 | +['e', '','ാ'], |
| 20 | +['E', '','ആ'], |
| 21 | +['r', '','ീ'], |
| 22 | +['R', '','ഈ'], |
| 23 | +['t', '','ൂ'], |
| 24 | +['T', '','ഊ'], |
| 25 | +['y', '','ബ'], |
| 26 | +['Y', '','ഭ'], |
| 27 | +['u', '','ഹ'], |
| 28 | +['U', '','ങ'], |
| 29 | +['i', '','ഗ'], |
| 30 | +['I', '','ഘ'], |
| 31 | +['o', '','ദ'], |
| 32 | +['O', '','ധ'], |
| 33 | +['p', '','ജ'], |
| 34 | +['P', '','ഝ'], |
| 35 | +['\\[', '','ഡ'], |
| 36 | +['\\{', '','ഢ'], |
| 37 | +//['\\]', '','\u200d'], |
| 38 | +['ണ്\\]', '','ൺ'], |
| 39 | +['ന്\\]', '','ൻ'], |
| 40 | +['ര്\\]', '','ർ'], |
| 41 | +['ല്\\]', '','ൽ'], |
| 42 | +['ള്\\]', '','ൾ'], |
| 43 | +['ക്\\]', '','ൿ'], |
| 44 | +['\\}', '','ഞ'], |
| 45 | +['a', '','ോ'], |
| 46 | +['A', '','ഓ'], |
| 47 | +['s', '','േ'], |
| 48 | +['S', '','ഏ'], |
| 49 | +['d', '','്'], |
| 50 | +['D', '','അ'], |
| 51 | +['f', '','ി'], |
| 52 | +['F', '','ഇ'], |
| 53 | +['g', '','ു'], |
| 54 | +['G', '','ഉ'], |
| 55 | +['h', '','പ'], |
| 56 | +['H', '','ഫ'], |
| 57 | +['j', '','ര'], |
| 58 | +['J', '','റ'], |
| 59 | +['k', '','ക'], |
| 60 | +['K', '','ഖ'], |
| 61 | +['l', '','ത'], |
| 62 | +['L', '','ഥ'], |
| 63 | +[';', '','ച'], |
| 64 | +[':', '','ഛ'], |
| 65 | +['\'', '','ട'], |
| 66 | +['"', '','ഠ'], |
| 67 | +['z', '','െ'], |
| 68 | +['Z', '','എ'], |
| 69 | +['x', '','ം'], |
| 70 | +['c', '','മ'], |
| 71 | +['C', '','ണ'], |
| 72 | +['v', '','ന'], |
| 73 | +['b', '','വ'], |
| 74 | +['B', '','ഴ'], |
| 75 | +['n', '','ല'], |
| 76 | +['N', '','ള'], |
| 77 | +['m', '','സ'], |
| 78 | +['M', '','ശ'], |
| 79 | +['<', '','ഷ'], |
| 80 | +['/', '','യ'] |
| 81 | +]; |
| 82 | + |
| 83 | +jQuery.narayam.addScheme( 'ml-inscript', { |
| 84 | + 'namemsg': 'narayam-ml-inscript', |
| 85 | + 'extended_keyboard': false, |
| 86 | + 'lookbackLength': 2, |
| 87 | + 'keyBufferLength': 0, |
| 88 | + 'rules': rules |
| 89 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ml-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 90 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ne.js |
— | — | @@ -0,0 +1,164 @@ |
| 2 | +/** |
| 3 | + * Trasliteration regular expression rules table for Nepali |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) and Bhawani Gautam ([[user:Bhawani Gautam]]) |
| 5 | + * @date 2011-07-22 |
| 6 | + * License: GPLv3, CC-BY-SA 3.0 |
| 7 | + */ |
| 8 | + |
| 9 | + // Normal rules |
| 10 | +var rules = [ |
| 11 | +['क्h','c','च्'], |
| 12 | +['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'], |
| 13 | + |
| 14 | +['([क-ह]़?)्a', '','$1'], |
| 15 | +['([क-ह]़?)्A', '','$1ा'], |
| 16 | +['([क-ह]़?)a', '','$1ा'], |
| 17 | +['([क-ह]़?)्i', '','$1ि'], |
| 18 | +['([क-ह]़?)(्I|िi|ेe)', '','$1ी'], |
| 19 | +['([क-ह]़?)्u', '','$1ु'], |
| 20 | +['([क-ह]़?)(ुu|्U|ोo)', '','$1ू'], |
| 21 | +['([क-ह]़?)्R', '','$1ृ'], |
| 22 | +['([क-ह]़?)ृR', '','$1ॄ'], |
| 23 | +['([क-ह]़?)्ळ्l', '','$1ॢ'], |
| 24 | +['([क-ह]़?)ॢl', '','$1ॣ'], |
| 25 | +['([क-ह]़?)ॆ\\^', '','$1ॅ'], |
| 26 | +['([क-ह]़?)्e', '','$1े'], |
| 27 | +['([क-ह]़?)्E', '','$1े'], |
| 28 | +['([क-ह]़?)ॊ\\^', '','$1ॉ'], |
| 29 | +['([क-ह]़?)i', '','$1ै'], |
| 30 | +['([क-ह]़?)्o', '','$1ो'], |
| 31 | +['([क-ह]़?)्O', '','$1ो'], |
| 32 | +['([क-ह]़?)u', '','$1ौ'], |
| 33 | +['([क-ह]़?)ृa', '','$1्ऱ'], |
| 34 | +['([क-ह]़?)ृA', '','$1्ऱा'], |
| 35 | +['([क-ह]़?)ृi', '','$1्ऱि'], |
| 36 | +['([क-ह]़?)ृI', '','$1्ऱी'], |
| 37 | +['([क-ह]़?)ृu', '','$1्ऱु'], |
| 38 | +['([क-ह]़?)ृU', '','$1्ऱू'], |
| 39 | +['([क-ह]़?)ृ\\^', '','$1्ऱॅ'], |
| 40 | +['([क-ह]़?)ृe', '','$1्ऱे'], |
| 41 | +['([क-ह]़?)ृE', '','$1्ऱे'], |
| 42 | +['([क-ह]़?)ृo', '','$1्ऱो'], |
| 43 | +['([क-ह]़?)ृO', '','$1्ऱो'], |
| 44 | +['([क-ह]़?)ृ\\~', '','$1्ऱ्'], |
| 45 | +['([क-ह])्\\`', '','$1़्'], |
| 46 | + |
| 47 | +['अa', '','आ'], |
| 48 | +['(ओo|उu)', '','ऊ'], |
| 49 | +['ऎ\\^', '','ऍ'], |
| 50 | +['अi', '','ऐ'], |
| 51 | +['अ\\^', '','ॲ'], |
| 52 | +['(इi|एe)', '','ई'], |
| 53 | +['ऒ\\^', '','ऑ'], |
| 54 | +['अu', '','औ'], |
| 55 | +['र्rय्', '','र्य्'], |
| 56 | +['ड़्h', '','ढ़्'], |
| 57 | +['ऋR', '','ॠ'], |
| 58 | +['ळ्l', '','ऌ'], |
| 59 | +['ऌl', '','ॡ'], |
| 60 | +['ं\\^', '','ँ'], |
| 61 | +['ंM', '','ँ'], |
| 62 | +['ओM', '','ॐ'], |
| 63 | +['ड्D', '','ड़्'], |
| 64 | +['क्h', '','ख्'], |
| 65 | +['ग्h', '','घ्'], |
| 66 | +['G', '','ङ्'], |
| 67 | +['च्h', '','छ्'], |
| 68 | +['ज्h', '','झ्'], |
| 69 | +['न्j', '','ञ्'], |
| 70 | +['ट्h', '','ठ्'], |
| 71 | +['ड्h', '','ढ्'], |
| 72 | +['त्h', '','थ्'], |
| 73 | +['द्h', '','ध्'], |
| 74 | +['प्h', '','फ्'], |
| 75 | +['ब्h', '','भ्'], |
| 76 | +['ऋa', '','ऱ'], |
| 77 | +['ऋA', '','ऱा'], |
| 78 | +['ऋi', '','ऱि'], |
| 79 | +['ऋI', '','ऱी'], |
| 80 | +['ऋu', '','ऱु'], |
| 81 | +['ऋU', '','ऱू'], |
| 82 | +['ऋ\\^', '','ऱॅ'], |
| 83 | +['ऋe', '','ऱे'], |
| 84 | +['ऋE', '','ऱे'], |
| 85 | +['ऋo', '','ऱो'], |
| 86 | +['ऋO', '','ऱो'], |
| 87 | +['ऋ\\~', '','ऱ्'], |
| 88 | + |
| 89 | +['स्h', '','श्'], |
| 90 | +['श्h', '','ष्'], |
| 91 | +['क़्h', '','ख़्'], |
| 92 | +['ज़्h', '','ऴ्'], |
| 93 | +['।\\.', '','॥'], |
| 94 | + |
| 95 | +['a', '','अ'], |
| 96 | +['b', '','ब्'], |
| 97 | +['c', '','क्'], |
| 98 | +['d', '','द्'], |
| 99 | +['e', '','ए'], |
| 100 | +['(f|F)', '','फ़्'], |
| 101 | +['g', '','ग्'], |
| 102 | +['h', '','ह्'], |
| 103 | +['i', '','इ'], |
| 104 | +['j', '','ज्'], |
| 105 | +['k', '','क्'], |
| 106 | +['l', '','ल्'], |
| 107 | +['m', '','म्'], |
| 108 | +['n', '','न्'], |
| 109 | +['o', '','ओ'], |
| 110 | +['p', '','प्'], |
| 111 | +['q', '','क़्'], |
| 112 | +['r', '','र्'], |
| 113 | +['s', '','स्'], |
| 114 | +['t', '','त्'], |
| 115 | +['u', '','उ'], |
| 116 | +['(v|w)', '','व्'], |
| 117 | +['x', '','क्ष्'], |
| 118 | +['y', '','य्'], |
| 119 | +['(z|Z)', '','ज़्'], |
| 120 | +['A', '','आ'], |
| 121 | +['B', '','ब्ब्'], |
| 122 | +['C', '','क्क्'], |
| 123 | +['D', '','ड्'], |
| 124 | +['E', '','ए'], |
| 125 | +//'F', '','फ्'], |
| 126 | +['H', '','ः'], |
| 127 | +['I', '','ई'], |
| 128 | +['J', '','ज्ज्'], |
| 129 | +['K', '','क्क्'], |
| 130 | +['L', '','ळ्'], |
| 131 | +['M', '','ं'], |
| 132 | +['N', '','ण्'], |
| 133 | +['O', '','ओ'], |
| 134 | +['P', '','प्प्'], |
| 135 | +//'Q', '','अ'], |
| 136 | +['R', '','ऋ'], |
| 137 | +['S', '','श्'], |
| 138 | +['T', '','ट्'], |
| 139 | +['U', '','ऊ'], |
| 140 | +['(V|W)', '','व्व्'], |
| 141 | +['X', '','क्ष्'], |
| 142 | +['Y', '','य्य्'], |
| 143 | +//'z', '','अ' |
| 144 | +['0', '','०'], |
| 145 | +['1', '','१'], |
| 146 | +['2', '','२'], |
| 147 | +['3', '','३'], |
| 148 | +['4', '','४'], |
| 149 | +['5', '','५'], |
| 150 | +['6', '','६'], |
| 151 | +['7', '','७'], |
| 152 | +['8', '','८'], |
| 153 | +['9', '','९'], |
| 154 | +['\\.', '','।'], |
| 155 | +['//', '','ऽ'], |
| 156 | +['\\`', '','़'] |
| 157 | +]; |
| 158 | + |
| 159 | +jQuery.narayam.addScheme( 'ne', { |
| 160 | + 'namemsg': 'narayam-ne', |
| 161 | + 'extended_keyboard': false, |
| 162 | + 'lookbackLength': 4, |
| 163 | + 'keyBufferLength': 1, |
| 164 | + 'rules': rules |
| 165 | +} ); |
\ No newline at end of file |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ne.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 166 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.sa.js |
— | — | @@ -0,0 +1,165 @@ |
| 2 | +/** |
| 3 | + * Trasliteration regular expression rules table for Sanskrit |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-10-12 |
| 6 | + * @credits With help from Naveen Shankar |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + |
| 10 | + // Normal rules |
| 11 | +var rules = [ |
| 12 | +['क्h','c','च्'], |
| 13 | +['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'], |
| 14 | + |
| 15 | +['([क-ह]़?)्a', '','$1'], |
| 16 | +['([क-ह]़?)्A', '','$1ा'], |
| 17 | +['([क-ह]़?)a', '','$1ा'], |
| 18 | +['([क-ह]़?)्i', '','$1ि'], |
| 19 | +['([क-ह]़?)(्I|िi|ॆe)', '','$1ी'], |
| 20 | +['([क-ह]़?)्u', '','$1ु'], |
| 21 | +['([क-ह]़?)(ुu|्U|ॊo)', '','$1ू'], |
| 22 | +['([क-ह]़?)्R', '','$1ृ'], |
| 23 | +['([क-ह]़?)ृR', '','$1ॄ'], |
| 24 | +['([क-ह]़?)्ळ्l', '','$1ॢ'], |
| 25 | +['([क-ह]़?)ॢl', '','$1ॣ'], |
| 26 | +['([क-ह]़?)ॆ\\^', '','$1ॅ'], |
| 27 | +['([क-ह]़?)्e', '','$1ॆ'], |
| 28 | +['([क-ह]़?)्E', '','$1े'], |
| 29 | +['([क-ह]़?)ॊ\\^', '','$1ॉ'], |
| 30 | +['([क-ह]़?)i', '','$1ै'], |
| 31 | +['([क-ह]़?)्o', '','$1ॊ'], |
| 32 | +['([क-ह]़?)्O', '','$1ो'], |
| 33 | +['([क-ह]़?)u', '','$1ौ'], |
| 34 | +['([क-ह]़?)ृa', '','$1्ऱ'], |
| 35 | +['([क-ह]़?)ृA', '','$1्ऱा'], |
| 36 | +['([क-ह]़?)ृi', '','$1्ऱि'], |
| 37 | +['([क-ह]़?)ृI', '','$1्ऱी'], |
| 38 | +['([क-ह]़?)ृu', '','$1्ऱु'], |
| 39 | +['([क-ह]़?)ृU', '','$1्ऱू'], |
| 40 | +['([क-ह]़?)ृ\\^', '','$1्ऱॅ'], |
| 41 | +['([क-ह]़?)ृe', '','$1्ऱॆ'], |
| 42 | +['([क-ह]़?)ृE', '','$1्ऱे'], |
| 43 | +['([क-ह]़?)ृo', '','$1्ऱॊ'], |
| 44 | +['([क-ह]़?)ृO', '','$1्ऱो'], |
| 45 | +['([क-ह]़?)ृ\\~', '','$1्ऱ्'], |
| 46 | +['([क-ह])्\\`', '','$1़्'], |
| 47 | + |
| 48 | +['अa', '','आ'], |
| 49 | +['(ऒo|उu)', '','ऊ'], |
| 50 | +['ऎ\\^', '','ऍ'], |
| 51 | +['अi', '','ऐ'], |
| 52 | +['अ\\^', '','ॲ'], |
| 53 | +['(इi|ऎe)', '','ई'], |
| 54 | +['ऒ\\^', '','ऑ'], |
| 55 | +['अu', '','औ'], |
| 56 | +['ऋR', '','ॠ'], |
| 57 | +['ळ्l', '','ऌ'], |
| 58 | +['ऌl', '','ॡ'], |
| 59 | +['ं\\^', '','ँ'], |
| 60 | +['ंm', '','ँ'], |
| 61 | +['ओM', '','ॐ'], |
| 62 | + |
| 63 | +['क्h', '','ख्'], |
| 64 | +['ग्h', '','घ्'], |
| 65 | +['न्g', '','ङ्'], |
| 66 | +['च्h', '','छ्'], |
| 67 | +['ज्h', '','झ्'], |
| 68 | +['न्j', '','ञ्'], |
| 69 | +['ट्h', '','ठ्'], |
| 70 | +['ड्h', '','ढ्'], |
| 71 | +['त्h', '','थ्'], |
| 72 | +['द्h', '','ध्'], |
| 73 | +['प्h', '','फ्'], |
| 74 | +['ब्h', '','भ्'], |
| 75 | +['ऋa', '','ऱ'], |
| 76 | +['ऋA', '','ऱा'], |
| 77 | +['ऋi', '','ऱि'], |
| 78 | +['ऋI', '','ऱी'], |
| 79 | +['ऋu', '','ऱु'], |
| 80 | +['ऋU', '','ऱू'], |
| 81 | +['ऋ\\^', '','ऱॅ'], |
| 82 | +['ऋe', '','ऱॆ'], |
| 83 | +['ऋE', '','ऱे'], |
| 84 | +['ऋo', '','ऱॊ'], |
| 85 | +['ऋO', '','ऱो'], |
| 86 | +['ऋ\\~', '','ऱ्'], |
| 87 | + |
| 88 | +['स्h', '','ष्'], |
| 89 | +['क़्h', '','ख़्'], |
| 90 | +['ज़्h', '','ऴ्'], |
| 91 | +['।\\.', '','॥'], |
| 92 | + |
| 93 | +['a', '','अ'], |
| 94 | +['b', '','ब्'], |
| 95 | +['c', '','क्'], |
| 96 | +['d', '','द्'], |
| 97 | +['e', '','ऎ'], |
| 98 | +['(f|F)', '','फ़्'], |
| 99 | +['g', '','ग्'], |
| 100 | +['h', '','ह्'], |
| 101 | +['i', '','इ'], |
| 102 | +['j', '','ज्'], |
| 103 | +['k', '','क्'], |
| 104 | +['l', '','ल्'], |
| 105 | +['m', '','म्'], |
| 106 | +['n', '','न्'], |
| 107 | +['o', '','ऒ'], |
| 108 | +['p', '','प्'], |
| 109 | +['q', '','क़्'], |
| 110 | +['r', '','र्'], |
| 111 | +['s', '','स्'], |
| 112 | +['t', '','त्'], |
| 113 | +['u', '','उ'], |
| 114 | +['(v|w)', '','व्'], |
| 115 | +['x', '','क्ष्'], |
| 116 | +['y', '','य्'], |
| 117 | +['(z|Z)', '','ज़्'], |
| 118 | +['A', '','आ'], |
| 119 | +['B', '','ब्ब्'], |
| 120 | +['C', '','क्क्'], |
| 121 | +['D', '','ड्'], |
| 122 | +['E', '','ए'], |
| 123 | +//'F', '','फ्'], |
| 124 | +['G', '','ग्ग्'], |
| 125 | +['H', '','ः'], |
| 126 | +['I', '','ई'], |
| 127 | +['J', '','ज्ज्'], |
| 128 | +['K', '','क्क्'], |
| 129 | +['L', '','ळ्'], |
| 130 | +['M', '','ं'], |
| 131 | +['N', '','ण्'], |
| 132 | +['O', '','ओ'], |
| 133 | +['P', '','प्प्'], |
| 134 | +//'Q', '','अ'], |
| 135 | +['R', '','ऋ'], |
| 136 | +['S', '','श्'], |
| 137 | +['T', '','ट्'], |
| 138 | +['U', '','ऊ'], |
| 139 | +['(V|W)', '','व्व्'], |
| 140 | +['X', '','क्ष्'], |
| 141 | +['Y', '','य्य्'], |
| 142 | +//'z', '','अ' |
| 143 | +['0', '','०'], |
| 144 | +['1', '','१'], |
| 145 | +['2', '','२'], |
| 146 | +['3', '','३'], |
| 147 | +['4', '','४'], |
| 148 | +['5', '','५'], |
| 149 | +['6', '','६'], |
| 150 | +['7', '','७'], |
| 151 | +['8', '','८'], |
| 152 | +['9', '','९'], |
| 153 | +['~', '','्'], |
| 154 | +['\\.', '','।'], |
| 155 | +['//', '','ऽ'], |
| 156 | +['\\`', '','़'], |
| 157 | +['(\u200C)*_', '', '\u200c'] |
| 158 | +]; |
| 159 | + |
| 160 | +jQuery.narayam.addScheme( 'sa', { |
| 161 | + 'namemsg': 'narayam-sa', |
| 162 | + 'extended_keyboard': false, |
| 163 | + 'lookbackLength': 4, |
| 164 | + 'keyBufferLength': 1, |
| 165 | + 'rules': rules |
| 166 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.sa.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 167 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.eo.js |
— | — | @@ -0,0 +1,26 @@ |
| 2 | +/** |
| 3 | + * Rule tables for Esperanto x-code transcription. |
| 4 | + * @author Brion Vibber ([[user:Brion VIBBER]]) |
| 5 | + * @date 2011-04-05 |
| 6 | + * License: GPLv3 |
| 7 | + */ |
| 8 | + |
| 9 | +(function() { |
| 10 | + |
| 11 | +var rules = []; |
| 12 | +var chars = {C: 'Ĉ', G: 'Ĝ', H: 'Ĥ', J: 'Ĵ', S: 'Ŝ', U: 'Ŭ', |
| 13 | + c: 'ĉ', g: 'ĝ', h: 'ĥ', j: 'ĵ', s: 'ŝ', u: 'ŭ'}; |
| 14 | +jQuery.each(chars, function(ascii, accented) { |
| 15 | + rules.push([ascii + '[Xx]', ascii, accented]); |
| 16 | + rules.push([accented + '([Xx])', '[Xx]', ascii + '$1']); |
| 17 | +}); |
| 18 | + |
| 19 | +jQuery.narayam.addScheme( 'eo', { |
| 20 | + 'namemsg': 'narayam-eo', |
| 21 | + 'extended_keyboard': false, |
| 22 | + 'lookbackLength': 1, |
| 23 | + 'keyBufferLength': 1, |
| 24 | + 'rules': rules |
| 25 | +} ); |
| 26 | + |
| 27 | +})(jQuery); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.eo.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 28 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ta.js |
— | — | @@ -0,0 +1,118 @@ |
| 2 | +/** |
| 3 | + * Trasliteration regular expression rules table for Tamil |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-11-21 |
| 6 | + * License: GPLv3, CC-BY-SA 3.0 |
| 7 | + */ |
| 8 | + |
| 9 | +// Normal rules |
| 10 | +var rules = [ |
| 11 | +['ச்h','h','ச்ஹ்',], |
| 12 | +['ழ்h','h','ழ்ஹ்',], |
| 13 | + |
| 14 | + //'(ஸ்ரிi|ஸ்ர்I)', '','', |
| 15 | + |
| 16 | +['([க-ஹ])்a', '','$1'], |
| 17 | +['([க-ஹ])(்A|a)', '','$1ா'], |
| 18 | +['([க-ஹ])்i', '','$1ி'], |
| 19 | +['([க-ஹ])(்I|ிi)', '','$1ீ'], |
| 20 | +['([க-ஹ])்u', '','$1ு'], |
| 21 | +['([க-ஹ])(்U|ுu)', '','$1ூ'], |
| 22 | +['([க-ஹ])்e', '','$1ெ'], |
| 23 | +['([க-ஹ])(்E|ெe)', '','$1ே'], |
| 24 | +['([க-ஹ])i', '','$1ை'], |
| 25 | +['([க-ஹ])்o', '','$1ொ'], |
| 26 | +['([க-ஹ])(்O|ொo)', '','$1ோ'], |
| 27 | +['([க-ஹ])u', '','$1ௌ'], |
| 28 | + |
| 29 | +['([அ-ஹ][ெ-்]?)n', '','$1ன்'], |
| 30 | + |
| 31 | +['அa', '','ஆ'], |
| 32 | +['இi', '','ஈ'], |
| 33 | +['உu', '','ஊ'], |
| 34 | +['எe', '','ஏ'], |
| 35 | +['அi', '','ஐ'], |
| 36 | +['ஒo', '','ஓ'], |
| 37 | +['அu', '','ஔ'], |
| 38 | + |
| 39 | +['(ந்|ன்)g', '','ங்'], |
| 40 | +['(ந்|ன்)j', '','ஞ்'], |
| 41 | +['ச்h', '','ஷ்'], |
| 42 | +['ழ்h', '','ழ்'], |
| 43 | +['ட்h', '','த்'], |
| 44 | +['ஸ்h', '','ஷ்'], |
| 45 | +['ஸ்r', '','ஸ்ரீ'], |
| 46 | + |
| 47 | +['a', '','அ'], |
| 48 | +['b', '','ப்'], |
| 49 | +['c', '','ச்'], |
| 50 | +['d', '','ட்'], |
| 51 | +['e', '','எ'], |
| 52 | +['f','','ஃப்'], |
| 53 | +['g', '','க்'], |
| 54 | +['h', '','ஹ்'], |
| 55 | +['i', '','இ'], |
| 56 | +['j', '','ஜ்'], |
| 57 | +['k', '','க்'], |
| 58 | +['l', '','ல்'], |
| 59 | +['m', '','ம்'], |
| 60 | +['n', '','ன்'], |
| 61 | +['o', '','ஒ'], |
| 62 | +['p', '','ப்'], |
| 63 | +['q', '','ஃ'], |
| 64 | +['r', '','ர்'], |
| 65 | +['s', '','ச்'], |
| 66 | +['t', '','ட்'], |
| 67 | +['u', '','உ'], |
| 68 | +['v', '','வ்'], |
| 69 | +['w', '','ந்'], |
| 70 | +['y', '','ய்'], |
| 71 | +['z', '','ழ்'], |
| 72 | +['A', '','ஆ'], |
| 73 | +['B', '','ப்'], |
| 74 | +['C', '','க்க்'], |
| 75 | +['E', '','ஏ'], |
| 76 | +['F','','ஃப்'], |
| 77 | +['G', '','க்'], |
| 78 | +['H', '','ஃ'], |
| 79 | +['I', '','ஈ'], |
| 80 | +['J', '','ஜ்ஜ்'], |
| 81 | +['K', '','க்'], |
| 82 | +['L', '','ள்'], |
| 83 | +['M', '','ம்ம்'], |
| 84 | +['N', '','ண்'], |
| 85 | +['O', '','ஓ'], |
| 86 | +['P', '','ப்ப்'], |
| 87 | +['Q', '','ஃ'], |
| 88 | +['R', '','ற்'], |
| 89 | +['S', '','ஸ்'], |
| 90 | +['T', '','ட்'], |
| 91 | +['U', '','ஊ'], |
| 92 | +['(V|W)', '','வ்வ்'], |
| 93 | +['Y', '','ய்ய்'], |
| 94 | +['Z', '','ஶ்'], |
| 95 | + |
| 96 | +['~', '','்'], |
| 97 | + |
| 98 | +['\\\\0', '','\u0be6'], |
| 99 | +['\\\\1', '','௧'], |
| 100 | +['\\\\2', '','௨'], |
| 101 | +['\\\\3', '','௩'], |
| 102 | +['\\\\4', '','௪'], |
| 103 | +['\\\\5', '','௫'], |
| 104 | +['\\\\6', '','௬'], |
| 105 | +['\\\\7', '','௭'], |
| 106 | +['\\\\8', '','௮'], |
| 107 | +['\\\\9', '','௯'], |
| 108 | +['10\\\\', '','\u0BF0'], |
| 109 | +['100\\\\', '','\u0BF1'], |
| 110 | +['1000\\\\', '','\u0BF2'] |
| 111 | +]; |
| 112 | + |
| 113 | +jQuery.narayam.addScheme( 'ta', { |
| 114 | + 'namemsg': 'narayam-ta', |
| 115 | + 'extended_keyboard': false, |
| 116 | + 'lookbackLength': 4, |
| 117 | + 'keyBufferLength': 1, |
| 118 | + 'rules': rules |
| 119 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ta.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 120 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.bn-avro.js |
— | — | @@ -0,0 +1,197 @@ |
| 2 | +/** |
| 3 | + * Avro layout regular expression rules table for Bengali script |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-12-05 |
| 6 | + * License: GPLv3, CC-BY-SA 3.0 |
| 7 | + */ |
| 8 | + |
| 9 | +var rules = [ |
| 10 | +['([ক-হড়ঢ়য়])্?ররi','[^o`]', '$1ৃ'], |
| 11 | +['ররi','[^o`]', 'ঋ'], |
| 12 | + |
| 13 | +['ঙহo', '', 'ঙ্ঘ'], |
| 14 | + |
| 15 | +['([ক-হড়ঢ়য়])াZ', '[^o`]', '$1্যা'], |
| 16 | + |
| 17 | +['(([ক-হড়ঢ়য়])|য়)o','[^o`]', '$1'], // য় cannot be included in the range, why? everywhere else it is OK! |
| 18 | +['([ক-হড়ঢ়য়])a','[^o`]', '$1া'], |
| 19 | +['([ক-হড়ঢ়য়])i','[^o`]', '$1ি'], |
| 20 | +['([ক-হড়ঢ়য়])(I|েe)','[^o`]', '$1ী'], |
| 21 | +['([ক-হড়ঢ়য়])u','[^o`]', '$1ু'], |
| 22 | +['([ক-হড়ঢ়য়])U','[^o`]', '$1ূ'], |
| 23 | +['([ক-হড়ঢ়য়])o','[o`]', '$1ু'], |
| 24 | +['([ক-হড়ঢ়য়])e','[^o`]', '$1ে'], |
| 25 | +['([ক-হড়ঢ়য়])োI','[^o`]', '$1ৈ'], |
| 26 | +['([ক-হড়ঢ়য়])O','[^o`]', '$1ো'], |
| 27 | +['([ক-হড়ঢ়য়])োU','[^o`]', '$1ৌ'], |
| 28 | + |
| 29 | +['([ক-হড়ঢ়য়][িুেো]|[এইওউ])a','[^o`]', '$1য়া'], |
| 30 | +['([ক-হড়ঢ়য়][াে]|[আএ])o', '[^o`]', '$1ও'], |
| 31 | +//'চচh','[^o`]', 'চ্চ'], |
| 32 | + |
| 33 | +['([কঙলষস])(k|K)','[^o`]','$1্ক'], |
| 34 | +['([ঙদল])(g|G)','[^o`]','$1্গ'], |
| 35 | +['গg','[^o`]','জ্ঞ'], |
| 36 | +['([চশ])c','[^o`]','$1্চ'], |
| 37 | +['([জঞব])j','[^o`]','$1্জ'], |
| 38 | +['নj','[^o`]','ঞ্জ'], |
| 39 | +['([কটণনপলষস])T','[^o`]','$1্ট'], |
| 40 | +['([ডণনল])D','[^o`]','$1্ড'], |
| 41 | +['([গষহ])N','[^o`]','$1্ণ'], |
| 42 | +['([কতনপশসহ])t','[^o`]','$1্ত'], |
| 43 | +['([দনব])d','[^o`]','$1্দ'], |
| 44 | +['([গঘণতধনপমশসহ])n','[^o`]','$1্ন'], |
| 45 | +['([পমলষস])p','[^o`]','$1্প'], |
| 46 | +['([স])f', '[^o`]', '$1্ফ'], |
| 47 | +['([বমল])b','[^o`]','$1্ব'], |
| 48 | +['([দম])(v|V)','[^o`]','$1্ভ'], |
| 49 | +['([কগঙটণতদধনমলশষসহ])m','[^o`]','$1্ম'], |
| 50 | +['([ক-ঘচ-ঝট-যলশ-হড়ঢ়য়])r','[^o`]','$1্র'], |
| 51 | +['([কগপ-বমলশসহ])l','[^o`]','$1্ল'], |
| 52 | +['([কনপ])s','[^o`]','$1্স'], |
| 53 | +['([ক-হড়ঢ়য়])w','[^o`]','$1্ব'], |
| 54 | +['([ক-হড়ঢ়য়])y','[^o`]','$1্য'], |
| 55 | +['নc','[^o`]','ঞ্চ'], |
| 56 | + |
| 57 | +['ত`','`' ,'ৎ'], |
| 58 | + |
| 59 | +['ক্ক(h|H)','[^o`]','ক্ষ'], |
| 60 | +['কশ(h|H)','[^o`]','ক্ষ'], |
| 61 | +//'([অ-ঔা-ৌ])ররk','[^o]','$1র্ক'], |
| 62 | + |
| 63 | +['ররk','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ক'], |
| 64 | +['ররg','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্গ'], |
| 65 | +['ররc','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্চ'], |
| 66 | +['ররj','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্জ'], |
| 67 | +['ররT','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ট'], |
| 68 | +['ররD','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড'], |
| 69 | +['ররN','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ণ'], |
| 70 | +['ররt','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ত'], |
| 71 | +['ররd','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্দ'], |
| 72 | +['ররn','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ন'], |
| 73 | +['ররp','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্প'], |
| 74 | +['ররf','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ফ'], |
| 75 | +['ররb','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ব'], |
| 76 | +['ররv','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ভ'], |
| 77 | +['ররm','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ম'], |
| 78 | +['ররz','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য'], |
| 79 | +['ররl','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ল'], |
| 80 | +['ররS','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্শ'], |
| 81 | +['ররs','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্স'], |
| 82 | +['ররh','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্হ'], |
| 83 | +['ররR','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড়'], |
| 84 | +['রর(y|Y)','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য়'], |
| 85 | + |
| 86 | +['ংo', '', 'ঙ্গ'], |
| 87 | +['ংi', '', 'ঙ্গি'], |
| 88 | +['ংI', '', 'ঙ্গী'], |
| 89 | +['(ংu|ঙ্গo)', '', 'ঙ্গু'], |
| 90 | +['ংU', '', 'ঙ্গূ'], |
| 91 | +['ং', '', 'ঙ্গি'], |
| 92 | +['ং', '', 'ঙ্গি'], |
| 93 | + |
| 94 | +['শ(h|H)','S', 'ষ'], |
| 95 | + |
| 96 | +['অo','[^`]', 'উ'], |
| 97 | +['এe','[^o`]', 'ঈ'], |
| 98 | + |
| 99 | +['ক(h|H)','[^o`]', 'খ'], |
| 100 | +['গ(h|H)','[^o`]', 'ঘ'], |
| 101 | +['ণg','[^o`]', 'ঙ'], |
| 102 | +['চ(h|H)','[^o`]', 'ছ'], |
| 103 | +['জ(h|H)','[^o`]', 'ঝ'], |
| 104 | +['ণG','[^o`]', 'ঞ'], |
| 105 | +['ট(h|H)','[^o`]', 'ঠ'], |
| 106 | +['ড(h|H)','[^o`]', 'ঢ'], |
| 107 | +['ত(h|H)','[^o`]', 'থ'], |
| 108 | +['দ(h|H)','[^o`]', 'ধ'], |
| 109 | +['প(h|H)','[^o`]', 'ফ'], |
| 110 | +['ব(h|H)','[^o`]', 'ভ'], |
| 111 | +['(স(h|H))','[^o`]', 'শ'], |
| 112 | +['ড়(h|H)','[^o`]', 'ঢ়'], |
| 113 | +['ত্`','[^o`]', 'ৎ'], |
| 114 | +['নg','[^o`]', 'ং'], |
| 115 | +['ঃ`','[^o`]', ':'], |
| 116 | +['ররi','[^o`]', 'ঋ'], |
| 117 | +['ওI','[^o`]', 'ঐ'], |
| 118 | +['ওU','[^o`]', 'ঔ'], |
| 119 | + |
| 120 | +['আ`', '', 'া'], |
| 121 | +['ই`', '', 'ি'], |
| 122 | +['ঈ`', '', 'ী'], |
| 123 | +['উ`', '', 'ু'], |
| 124 | +['ঊ`', '', 'ূ'], |
| 125 | +['এ`', '', 'ে'], |
| 126 | +['আ`', '', 'া'], |
| 127 | +['আ`', '', 'া'], |
| 128 | +['আ`', '', 'া'], |
| 129 | +['আ`', '', 'া'], |
| 130 | +['আ`', '', 'া'], |
| 131 | +['আ`', '', 'া'], |
| 132 | + |
| 133 | +['([kKqQ])','' ,'ক'], |
| 134 | +['(g|G)','' ,'গ'], |
| 135 | +['(c|C)','' ,'চ'], |
| 136 | +['(j|J)','' ,'জ'], |
| 137 | +['T','' ,'ট'], |
| 138 | +['D','' ,'ড'], |
| 139 | +['N','' ,'ণ'], |
| 140 | +['t','' ,'ত'], |
| 141 | +['d','' ,'দ'], |
| 142 | +['n','' ,'ন'], |
| 143 | +['(p|P)','' ,'প'], |
| 144 | +['f','' ,'ফ'], |
| 145 | +['(b|B)','' ,'ব'], |
| 146 | +['(v|V)','' ,'ভ'], |
| 147 | +['(m|M)','' ,'ম'], |
| 148 | +['z','' ,'য'], |
| 149 | +['r','' ,'র'], |
| 150 | +['(l|L)','' ,'ল'], |
| 151 | +['S','' ,'শ'], |
| 152 | +['s','' ,'স'], |
| 153 | +['(h|H)','' ,'হ'], |
| 154 | +['R','' ,'ড়'], |
| 155 | +['w', '', 'ও'], |
| 156 | +['x', '', 'ক্স'], |
| 157 | +['(y|Y)','' ,'য়'], |
| 158 | + |
| 159 | +['Z','' ,'্য'], |
| 160 | + |
| 161 | +['o','' ,'অ'], |
| 162 | +['(a|A)','' ,'আ'], |
| 163 | +['i','' ,'ই'], |
| 164 | +['I','' ,'ঈ'], |
| 165 | +['u','' ,'উ'], |
| 166 | +['U','' ,'ঊ'], |
| 167 | +['(e|E)','' ,'এ'], |
| 168 | +['O','' ,'ও'], |
| 169 | + |
| 170 | +['0','' ,'০'], |
| 171 | +['1','' ,'১'], |
| 172 | +['2','' ,'২'], |
| 173 | +['3','' ,'৩'], |
| 174 | +['4','' ,'৪'], |
| 175 | +['5','' ,'৫'], |
| 176 | +['6','' ,'৬'], |
| 177 | +['7','' ,'৭'], |
| 178 | +['8','' ,'৮'], |
| 179 | +['9','' ,'৯'], |
| 180 | + |
| 181 | +['\\\\\\.','' ,'.'], |
| 182 | + |
| 183 | +[',,','' ,'্'], |
| 184 | +['\\:','' ,'ঃ'], |
| 185 | +['\\^','' ,'ঁ'], |
| 186 | +['\\.','' ,'।'], |
| 187 | +['\\$','' ,'৳'], |
| 188 | +['ঃ`','' ,':'], |
| 189 | +['`','' ,''] |
| 190 | +]; |
| 191 | + |
| 192 | +jQuery.narayam.addScheme( 'bn-avro', { |
| 193 | + 'namemsg': 'narayam-bn-avro', |
| 194 | + 'extended_keyboard': false, |
| 195 | + 'lookbackLength': 3, |
| 196 | + 'keyBufferLength': 5, |
| 197 | + 'rules': rules |
| 198 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.bn-avro.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 199 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.bn-nkb.js |
— | — | @@ -0,0 +1,138 @@ |
| 2 | +/** |
| 3 | + * Regular expression rules table for Bengali National Keyboard |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-12-13 |
| 6 | + * @credits From the standard developed by Bangladesh Computer Council, |
| 7 | + * Ministry of Science and Information & Communication Technology, Govt. of Bangladesh |
| 8 | + * License: GPLv3, CC-BY-SA 3.0 |
| 9 | + */ |
| 10 | + |
| 11 | +// Normal rules |
| 12 | +var rules = [ |
| 13 | +['1', '', '১'], |
| 14 | +['2', '', '২'], |
| 15 | +['3', '', '৩'], |
| 16 | +['4', '', '৪'], |
| 17 | +['5', '', '৫'], |
| 18 | +['6', '', '৬'], |
| 19 | +['7', '', '৭'], |
| 20 | +['8', '', '৮'], |
| 21 | +['9', '', '৯'], |
| 22 | +['0', '', '০'], |
| 23 | + |
| 24 | +['q', '', 'ঙ'], |
| 25 | +['w', '', 'য'], |
| 26 | +['e', '', 'ড'], |
| 27 | +['r', '', 'প'], |
| 28 | +['t', '', 'ট'], |
| 29 | +['y', '', 'চ'], |
| 30 | +['u', '', 'জ'], |
| 31 | +['i', '', 'হ'], |
| 32 | +['o', '', 'গ'], |
| 33 | +['p', '', 'ড়'], |
| 34 | + |
| 35 | +['a', '', 'ৃ'], |
| 36 | +['s', '', 'ু'], |
| 37 | +['d', '', 'ি'], |
| 38 | +['f', '', 'ব'], |
| 39 | +['g', '', '্'], |
| 40 | +['h', '', 'া'], |
| 41 | +['j', '', 'ক'], |
| 42 | +['k', '', 'ত'], |
| 43 | +['l', '', 'দ'], |
| 44 | + |
| 45 | +['z', '', 'ঁ'], |
| 46 | +['x', '', 'ো'], |
| 47 | +['c', '', 'ে'], |
| 48 | +['v', '', 'র'], |
| 49 | +['b', '', 'ন'], |
| 50 | +['n', '', 'স'], |
| 51 | +['m', '', 'ম'], |
| 52 | + |
| 53 | +['Q', '', 'ং'], |
| 54 | +['W', '', 'য়'], |
| 55 | +['E', '', 'ঢ'], |
| 56 | +['R', '', 'ফ'], |
| 57 | +['T', '', 'ঠ'], |
| 58 | +['Y', '', 'ছ'], |
| 59 | +['U', '', 'ঝ'], |
| 60 | +['I', '', 'ঞ'], |
| 61 | +['O', '', 'ঘ'], |
| 62 | +['P', '', 'ঢ়'], |
| 63 | + |
| 64 | +['A', '', 'ৗ'], |
| 65 | +['S', '', 'ূ'], |
| 66 | +['D', '', 'ী'], |
| 67 | +['F', '', 'ভ'], |
| 68 | +['G', '', '।'], |
| 69 | +['H', '', 'অ'], |
| 70 | +['J', '', 'খ'], |
| 71 | +['K', '', 'থ'], |
| 72 | +['L', '', 'ধ'], |
| 73 | + |
| 74 | +['Z', '', 'ঃ'], |
| 75 | +['X', '', 'ৌ'], |
| 76 | +['C', '', 'ৈ'], |
| 77 | +['V', '', 'ল'], |
| 78 | +['B', '', 'ণ'], |
| 79 | +['N', '', 'ষ'], |
| 80 | +['M', '', 'শ'] |
| 81 | +]; |
| 82 | + |
| 83 | +// Extended layout for National Keyboard. Works in Firefox only |
| 84 | +var rules_x = [ |
| 85 | +['1', '', '৴'], |
| 86 | +['2', '', '৵'], |
| 87 | +['3', '', '৶'], |
| 88 | +['4', '', '৳'], |
| 89 | +['5', '', '৷'], |
| 90 | +['6', '', '৸'], |
| 91 | +['7', '', 'ं'], |
| 92 | +['0', '', '৹'], |
| 93 | +['\\-', '', '\u200C'], |
| 94 | +['\\=', '', '\u200D'], |
| 95 | + |
| 96 | +['q', '', 'ৢ'], |
| 97 | +['w', '', '্য'], |
| 98 | +['e', '', 'ৄ'], |
| 99 | +['i', '', 'ঽ'], |
| 100 | + |
| 101 | +['a', '', 'ঋ'], |
| 102 | +['s', '', 'উ'], |
| 103 | +['d', '', 'ই'], |
| 104 | +['f', '', 'ৰ'], |
| 105 | +['g', '', '॥'], |
| 106 | +['h', '', 'আ'], |
| 107 | +['j', '', ''], |
| 108 | +['k', '', 'ঢ'], |
| 109 | +['l', '', 'ঌ'], |
| 110 | + |
| 111 | +['z', '', '৺'], |
| 112 | +['x', '', 'ও'], |
| 113 | +['c', '', 'এ'], |
| 114 | +['v', '', '্র'], |
| 115 | +['\\.', '', '়'], |
| 116 | + |
| 117 | +['\\$', '', '৲'], |
| 118 | +['\\^', '', ''], |
| 119 | + |
| 120 | +['Q', '', 'ৣ'], |
| 121 | + |
| 122 | +['A', '', 'ৠ'], |
| 123 | +['S', '', 'ঊ'], |
| 124 | +['D', '', 'ঈ'], |
| 125 | +['F', '', 'ৱ'], |
| 126 | +['L', '', 'ৡ'], |
| 127 | + |
| 128 | +['X', '', 'ঔ'], |
| 129 | +['C', '', 'ঐ'] |
| 130 | +]; |
| 131 | + |
| 132 | +jQuery.narayam.addScheme( 'bn-nkb', { |
| 133 | + 'namemsg': 'narayam-bn-nkb', |
| 134 | + 'extended_keyboard': true, |
| 135 | + 'lookbackLength': 0, |
| 136 | + 'keyBufferLength': 0, |
| 137 | + 'rules': rules, |
| 138 | + 'rules_x': rules_x |
| 139 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.bn-nkb.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 140 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ml.js |
— | — | @@ -0,0 +1,336 @@ |
| 2 | +/** |
| 3 | + * Trasliteration regular expression rules table for Malayalam |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) with extensive advise from Thachan Makan ([[user:Thachan.makan]]) |
| 5 | + * @date 2010-05-19 (update: 2010-12-11) |
| 6 | + * @credits Malayalam Wikimedia Community, especialy Thachan Makan ([[user:Thachan.makan]]) |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + |
| 10 | +// Normal rules |
| 11 | +var rules = [ |
| 12 | +['(\u200c)+a', '', 'അ'], |
| 13 | +['(\u200c)+A', '', 'ആ'], |
| 14 | +['(\u200c)+i', '', 'ഇ'], |
| 15 | +['(\u200c)+u', '', 'ഉ'], |
| 16 | +['(\u200c)+U', '', 'ഊ'], |
| 17 | +['(\u200c)+R', '', 'ഋ'], |
| 18 | +['(\u200c)+e', '', 'എ'], |
| 19 | +['(\u200c)+E', '', 'ഏ'], |
| 20 | +['(\u200c)+I', '', 'ഐ'], |
| 21 | +['(\u200c)+o', '', 'ഒ'], |
| 22 | +['(\u200c)+O', '', 'ഓ'], |
| 23 | +['(\u200c)+H', '', 'ഃ'], |
| 24 | +['ൻൿh','nc','ഞ്ച്'], |
| 25 | +['ൿh','c', 'ച്'], |
| 26 | +['ക്ക്h','cc', 'ച്ച്'], |
| 27 | +['ല്പ്p','lp','ൽപ്പ്'], |
| 28 | + |
| 29 | +['\\\\([A-Za-z\\>_~])','\\\\','$1'], |
| 30 | + |
| 31 | +['([ക-ഹ])്R', '', '$1ൃ'], |
| 32 | +['ന്ന്j', '', 'ഞ്ഞ്'], |
| 33 | +['ന്ന്g', '', 'ങ്ങ്'], |
| 34 | +['റ്റ്h', '', 'ത്'], |
| 35 | +['റ്റ്t', '', 'ട്ട്'], |
| 36 | +['ന്റ്h', '', 'ന്ത്'], |
| 37 | +['([ക-ഹ])്ല്l', 'L', '$1\u0d62'], |
| 38 | +['([ക-ഹ])\u0d62l', '', '$1\u0d63'], |
| 39 | +['([അ-ഊഌഎ-ഐഒ-ഹ])([ഽ-ൂെ-ൌൗ])+R', '', '$1$2റ്'], |
| 40 | +['([ക-ഹ])ൃa', '', '$1്ര'], |
| 41 | +['([ക-ഹ])ൃA', '', '$1്രാ'], |
| 42 | +['([ക-ഹ])ൃi', '', '$1്രി'], |
| 43 | +['([ക-ഹ])ൃI', '', '$1്രീ'], |
| 44 | +['([ക-ഹ])ൃu', '', '$1്രു'], |
| 45 | +['([ക-ഹ])ൃU', '', '$1്രൂ'], |
| 46 | +['([ക-ഹ])ൃe', '', '$1്രെ'], |
| 47 | +['([ക-ഹ])ൃE', '', '$1്രേ'], |
| 48 | +['([ക-ഹ])ൃo', '', '$1്രൊ'], |
| 49 | +['([ക-ഹ])ൃO', '', '$1്രോ'], |
| 50 | +['([ക-ഹ])്(l|L)', '', '$1്ല്'], |
| 51 | +['അa', '', 'ആ'], |
| 52 | +['അi', '', 'ഐ'], |
| 53 | +['അu', '', 'ഔ'], |
| 54 | +['ഇi', '', 'ഈ'], |
| 55 | +['ഉu', '', 'ഊ'], |
| 56 | +['ഊo', '', 'ഊഊ'], |
| 57 | +['ഋR', '', 'ൠ'], |
| 58 | +['ഋa', '', 'റ'], |
| 59 | +['ഋA', '', 'റാ'], |
| 60 | +['ഋi', '', 'റി'], |
| 61 | +['ഋI', '', 'റീ'], |
| 62 | +['ഋu', '', 'റു'], |
| 63 | +['ഋU', '', 'റൂ'], |
| 64 | +['ഋe', '', 'റെ'], |
| 65 | +['ഋE', '', 'റേ'], |
| 66 | +['ഋo', '', 'റൊ'], |
| 67 | +['ഋO', '', 'റോ'], |
| 68 | +['ഋ~', '', 'റ്'], |
| 69 | +['ഌl', '', 'ൡ'], |
| 70 | +['എe', '', 'ഈ'], |
| 71 | +['ഒo', '', 'ഊ'], |
| 72 | +['ാa', '', 'ാാ'], |
| 73 | +['ീi', '', 'ീീ'], |
| 74 | +['ൂu', '', 'ൂൂ'], |
| 75 | +['ൂo', '', 'ൂൂ'], |
| 76 | +['ൄR', '', 'ൄൄ'], |
| 77 | +['േE', '', 'േേ'], |
| 78 | +['ോO', '', 'ോോ'], |
| 79 | +['ൗu', '', 'ൗൗ'], |
| 80 | +['\u0d62\\^', '', '\u0d63'], |
| 81 | +['\u0d63\\^', '', '\u0d63\u0d63'], |
| 82 | +['ക്h', '', 'ഖ്'], |
| 83 | +['ഗ്h', '', 'ഘ്'], |
| 84 | +['ൻg', '', 'ങ്'], |
| 85 | +['ച്h', '', 'ഛ്'], |
| 86 | +['ജ്h', '', 'ഝ്'], |
| 87 | +['ട്h', '', 'ഠ്'], |
| 88 | +['ഡ്h', '', 'ഢ്'], |
| 89 | +['ത്h', '', 'ഥ്'], |
| 90 | +['ദ്h', '', 'ധ്'], |
| 91 | +['പ്h', '', 'ഫ്'], |
| 92 | +['ബ്h', '', 'ഭ്'], |
| 93 | +['ംa', '', 'മ'], |
| 94 | +['ംA', '', 'മാ'], |
| 95 | +['ംi', '', 'മി'], |
| 96 | +['ംI', '', 'മീ'], |
| 97 | +['ംu', '', 'മു'], |
| 98 | +['ംU', '', 'മൂ'], |
| 99 | +['ംR', '', 'മൃ'], |
| 100 | +['ംe', '', 'മെ'], |
| 101 | +['ംE', '', 'മേ'], |
| 102 | +['ംo', '', 'മൊ'], |
| 103 | +['ംO', '', 'മോ'], |
| 104 | +['ംm', '', 'മ്മ്'], |
| 105 | +['([^സ])ംr', '', '$1മ്ര്'], |
| 106 | +['ംp', '', 'മ്പ്'], |
| 107 | +['([^സ])ം(l|L)', '', '$1മ്ല്'], |
| 108 | +['ം~', '', 'മ്'], |
| 109 | +['([^സ])ംn', '', '$1മ്ന്'], |
| 110 | +['([^സ])ംy', '', '$1മ്യ്'], |
| 111 | +['സ്h', '', 'ഷ്'], |
| 112 | +['ശ്h', '', 'ഴ്'], |
| 113 | +['ൺ\\\\\\\\', '', 'ണ്\u200d'], // old style chillu N |
| 114 | +['ൺ~', '', 'ണ്'], |
| 115 | +['ൺR', '', 'ണൃ'], |
| 116 | +['ൺN', '', 'ണ്ണ്'], |
| 117 | +['ൺT', '', 'ണ്ട്'], |
| 118 | +['ൺD', '', 'ണ്ഡ്'], |
| 119 | +['ൺy', '', 'ണ്യ്'], |
| 120 | +['ൺv', '', 'ണ്വ്'], |
| 121 | +['ൺm', '', 'ണ്മ്'], |
| 122 | +['ൻ\\\\\\\\', '', 'ന്\u200d'], // old style chillu n |
| 123 | +['ൻ~', '', 'ന്'], |
| 124 | +['ൻr', '', 'ന്ര്'], |
| 125 | +['ൻR', '', 'നൃ'], |
| 126 | +['ൻk', '', 'ങ്ക്'], |
| 127 | +['ൻj', '', 'ഞ്'], |
| 128 | +['ൻn', '', 'ന്ന്'], |
| 129 | +['ൻd', '', 'ന്ദ്'], |
| 130 | +['ൻt', '', 'ന്റ്'], |
| 131 | +['ൻm', '', 'ന്മ്'], |
| 132 | +['ൻL', '', 'ന്ല്'], |
| 133 | +['ൻv', '', 'ന്വ്'], |
| 134 | +['ൻy', '', 'ന്യ്'], |
| 135 | +['ർ\\\\\\\\', '', 'ര്\u200d'], // old style chill r |
| 136 | +['ർ~', '', 'ര്'], |
| 137 | +['ർr', '', 'റ്'], |
| 138 | +['ർR', '', 'രൃ'], |
| 139 | +['ർy', '', 'ര്യ്'], |
| 140 | +['ൽ\\\\\\\\', '', 'ല്\u200d'], // old style chillu l |
| 141 | +['ൽ~', '', 'ല്'], |
| 142 | +['ൽR', '', 'ലൃ'], |
| 143 | +['ൽ(l|L)', '', 'ല്ല്'], |
| 144 | +['ൽp', '', 'ല്പ്'], |
| 145 | +['ൽy', '', 'ല്യ്'], |
| 146 | +['ൽv', '', 'ല്വ്'], |
| 147 | +['ൾ\\\\\\\\', '', 'ള്\u200d'], // old style chillu L |
| 148 | +['ൾ~', '', 'ള്'], |
| 149 | +['ൾR', '', 'ളൃ'], |
| 150 | +['ൾL', '', 'ള്ള്'], |
| 151 | +['ൾy', '', 'ള്യ്'], |
| 152 | +['ൾl', '', 'ഌ'], |
| 153 | +['ൿ\\\\\\\\', '', 'ക്\u200d'], // old style chillu k |
| 154 | +['ൿR', '', 'കൃ'], |
| 155 | +['ൿy', '', 'ക്യ്'], |
| 156 | +['ൿ(l|L)', '', 'ക്ല്'], |
| 157 | +['ൿv', '', 'ക്വ്'], |
| 158 | +['ൿ(k|c)', '', 'ക്ക്'], |
| 159 | +['([ക-ഹ])a', '', '$1ാ'], |
| 160 | +['([ക-ഹ])്a', '', '$1'], |
| 161 | +['ൺa', '', 'ണ'], |
| 162 | +['ൻa', '', 'ന'], |
| 163 | +['ർa', '', 'ര'], |
| 164 | +['ൽa', '', 'ല'], |
| 165 | +['ൾa', '', 'ള'], |
| 166 | +['ൿa', '', 'ക'], |
| 167 | +['([ക-ഹ])്A', '', '$1ാ'], |
| 168 | +['ൺA', '', 'ണാ'], |
| 169 | +['ൻA', '', 'നാ'], |
| 170 | +['ർA', '', 'രാ'], |
| 171 | +['ൽA', '', 'ലാ'], |
| 172 | +['ൾA', '', 'ളാ'], |
| 173 | +['ൿA', '', 'കാ'], |
| 174 | +['([ക-ഹ])്i', '', '$1ി'], |
| 175 | +['ൺi', '', 'ണി'], |
| 176 | +['ൻi', '', 'നി'], |
| 177 | +['ർi', '', 'രി'], |
| 178 | +['ൽi', '', 'ലി'], |
| 179 | +['ൾi', '', 'ളി'], |
| 180 | +['ൿi', '', 'കി'], |
| 181 | +['([ക-ഹ])്I', '', '$1ീ'], |
| 182 | +['ൺI', '', 'ണീ'], |
| 183 | +['ൻI', '', 'നീ'], |
| 184 | +['ർI', '', 'രീ'], |
| 185 | +['ൽI', '', 'ലീ'], |
| 186 | +['ൾI', '', 'ളീ'], |
| 187 | +['ൿI', '', 'കീ'], |
| 188 | +['([ക-ഹ])ിi', '', '$1ീ'], |
| 189 | +['([ക-ഹ])െe', '', '$1ീ'], |
| 190 | +['([ക-ഹ])്u', '', '$1ു'], |
| 191 | +['ൺu', '', 'ണു'], |
| 192 | +['ൻu', '', 'നു'], |
| 193 | +['ർu', '', 'രു'], |
| 194 | +['ൽu', '', 'ലു'], |
| 195 | +['ൾu', '', 'ളു'], |
| 196 | +['ൿu', '', 'കു'], |
| 197 | +['([ക-ഹ])്U', '', '$1ൂ'], |
| 198 | +['([ക-ഹ])ുu', '', '$1ൂ'], |
| 199 | +['ൺU', '', 'ണൂ'], |
| 200 | +['ൻU', '', 'നൂ'], |
| 201 | +['ർU', '', 'രൂ'], |
| 202 | +['ൽU', '', 'ലൂ'], |
| 203 | +['ൾU', '', 'ളൂ'], |
| 204 | +['ൿU', '', 'കൂ'], |
| 205 | +['([ക-ഹ])ൊo', '', '$1ൂ'], |
| 206 | +['([ക-ഹ])ൃR', '', '$1ൄ'], |
| 207 | +['([ക-ഹ])്e', '', '$1െ'], |
| 208 | +['ൺe', '', 'ണെ'], |
| 209 | +['ൻe', '', 'നെ'], |
| 210 | +['ർe', '', 'രെ'], |
| 211 | +['ൽe', '', 'ലെ'], |
| 212 | +['ൾe', '', 'ളെ'], |
| 213 | +['ൿe', '', 'കെ'], |
| 214 | +['([ക-ഹ])്E', '', '$1േ'], |
| 215 | +['ൺE', '', 'ണേ'], |
| 216 | +['ൻE', '', 'നേ'], |
| 217 | +['ർE', '', 'രേ'], |
| 218 | +['ൽE', '', 'ലേ'], |
| 219 | +['ൾE', '', 'ളേ'], |
| 220 | +['ൿE', '', 'കേ'], |
| 221 | +['([ക-ഹ])i', '', '$1ൈ'], |
| 222 | +['([ക-ഹ])്o', '', '$1ൊ'], |
| 223 | +['ൺo', '', 'ണൊ'], |
| 224 | +['ൻo', '', 'നൊ'], |
| 225 | +['ർo', '', 'രൊ'], |
| 226 | +['ൽo', '', 'ലൊ'], |
| 227 | +['ൾo', '', 'ളൊ'], |
| 228 | +['ൿo', '', 'കൊ'], |
| 229 | +['([ക-ഹ])്O', '', '$1ോ'], |
| 230 | +['ൺO', '', 'ണോ'], |
| 231 | +['ൻO', '', 'നോ'], |
| 232 | +['ർO', '', 'രോ'], |
| 233 | +['ൽO', '', 'ലോ'], |
| 234 | +['ൾO', '', 'ളോ'], |
| 235 | +['ൿO', '', 'കോ'], |
| 236 | +['([ക-ഹ])u', '', '$1ൗ'], |
| 237 | +['([ക-ഹ])U', '', '$1ൌ'], |
| 238 | +['([അ-്])m', '', '$1ം'], |
| 239 | +['\\\\0', '', '൦'], // escape to ml digit 0 by \0 |
| 240 | +['\\\\1', '', '൧'], // escape to ml digit 1 by \1 |
| 241 | +['\\\\2', '', '൨'], // escape to ml digit 2 by \2 |
| 242 | +['\\\\3', '', '൩'], // escape to ml digit 3 by \3 |
| 243 | +['\\\\4', '', '൪'], // escape to ml digit 4 by \4 |
| 244 | +['\\\\5', '', '൫'], // escape to ml digit 5 by \5 |
| 245 | +['\\\\6', '', '൬'], // escape to ml digit 6 by \6 |
| 246 | +['\\\\7', '', '൭'], // escape to ml digit 7 by \7 |
| 247 | +['\\\\8', '', '൮'], // escape to ml digit 8 by \8 |
| 248 | +['\\\\9', '', '൯'], // escape to ml digit 9 by \9 |
| 249 | +['മ്\\\\', '', 'ം'], |
| 250 | +['ആ\\\\', '', 'ാ'], |
| 251 | +['ഇ\\\\', '', 'ി'], |
| 252 | +['ഈ\\\\', '', 'ീ'], |
| 253 | +['ഉ\\\\', '', 'ു'], |
| 254 | +['ഊ\\\\', '', 'ൂ'], |
| 255 | +['ഋ\\\\', '', 'ൃ'], |
| 256 | +['ൠ\\\\', '', 'ൄ'], |
| 257 | +['എ\\\\', '', 'െ'], |
| 258 | +['ഏ\\\\', '', 'േ'], |
| 259 | +['ഐ\\\\', '', 'ൈ'], |
| 260 | +['ഒ\\\\', '', 'ൊ'], |
| 261 | +['ഓ\\\\', '', 'ോ'], |
| 262 | +['ഔ\\\\', '', 'ൗ'], |
| 263 | +['ൗ\\\\', '', 'ൌ'], |
| 264 | +['ഌ\\\\', '', 'ൢ'], |
| 265 | +['ൡ\\\\', '', 'ൣ'], |
| 266 | +['(([ൺ-ൿം])\u200c+)?A', '', '$2ആ'], |
| 267 | +['(([ൺ-ൿം])\u200c+)?B', '', '$2ബ്ബ്'], |
| 268 | +['(([ൺ-ൿം])\u200c+)?C', '', '$2ച്ച്'], |
| 269 | +['(([ൺ-ൿം])\u200c+)?D', '', '$2ഡ്'], |
| 270 | +['(([ൺ-ൿം])\u200c+)?E', '', '$2ഏ'], |
| 271 | +['(([ൺ-ൿം])\u200c+)?F', '', '$2ഫ്'], |
| 272 | +['(([ൺ-ൿം])\u200c+)?G', '', '$2ഗ്ഗ്'], |
| 273 | +['(([ൺ-ൿം])\u200c+)?H', '', '$2ഃ'], |
| 274 | +['(([ൺ-ൿം])\u200c+)?I', '', '$2ഐ'], |
| 275 | +['(([ൺ-ൿം])\u200c+)?J', '', '$2ജ്ജ്'], |
| 276 | +['(([ൺ-ൿം])\u200c+)?K', '', '$2ക്ക്'], |
| 277 | +['(([ൺ-ൿം])\u200c+)?L', '', '$2ൾ'], |
| 278 | +['(([ൺ-ൿം])\u200c+)?M', '', '$2മ്മ്'], |
| 279 | +['(([ൺ-ൿം])\u200c+)?N', '', '$2ൺ'], |
| 280 | +['(([ൺ-ൿം])\u200c+)?O', '', '$2ഓ'], |
| 281 | +['(([ൺ-ൿം])\u200c+)?P', '', '$2പ്പ്'], |
| 282 | +['(([ൺ-ൿം])\u200c+)?Q', '', '$2ക്യ്'], |
| 283 | +['(([ൺ-ൿം])\u200c+)?R', '', '$2ഋ'], |
| 284 | +['(([ൺ-ൿം])\u200c+)?(S|z)', '', '$2ശ്'], |
| 285 | +['(([ൺ-ൿം])\u200c+)?T', '', '$2ട്'], |
| 286 | +['(([ൺ-ൿം])\u200c+)?U', '', '$2ഊ'], |
| 287 | +['(([ൺ-ൿം])\u200c+)?(V|W)', '', '$2വ്വ്'], |
| 288 | +['(([ൺ-ൿം])\u200c+)?X', '', '$2ക്ഷ്'], |
| 289 | +['(([ൺ-ൿം])\u200c+)?Y', '', '$2യ്യ്'], |
| 290 | +['(([ൺ-ൿം])\u200c+)?Z', '', '$2ശ്ശ്'], |
| 291 | +['(([ൺ-ൿം])\u200c+)?a', '', '$2അ'], |
| 292 | +['(([ൺ-ൿം])\u200c+)?b', '', '$2ബ്'], |
| 293 | +['(([ൺ-ൿം])\u200c+)?c', '', '$2ൿ'], |
| 294 | +['(([ൺ-ൿം])\u200c+)?d', '', '$2ദ്'], |
| 295 | +['(([ൺ-ൿം])\u200c+)?e', '', '$2എ'], |
| 296 | +['(([ൺ-ൿം])\u200c+)?f', '', '$2ഫ്'], |
| 297 | +['(([ൺ-ൿം])\u200c+)?g', '', '$2ഗ്'], |
| 298 | +['(([ൺ-ൿം])\u200c+)?h', '', '$2ഹ്'], |
| 299 | +['(([ൺ-ൿം])\u200c+)?i', '', '$2ഇ'], |
| 300 | +['(([ൺ-ൿം])\u200c+)?j', '', '$2ജ്'], |
| 301 | +['(([ൺ-ൿം])\u200c+)?k', '', '$2ക്'], |
| 302 | +['(([ൺ-ൿം])\u200c+)?l', '', '$2ൽ'], |
| 303 | +['(([ൺ-ൿം])\u200c+)?m', '', '$2മ്'], |
| 304 | +['(([ൺ-ൿം])\u200c+)?n', '', '$2ൻ'], |
| 305 | +['(([ൺ-ൿം])\u200c+)?o', '', '$2ഒ'], |
| 306 | +['(([ൺ-ൿം])\u200c+)?p', '', '$2പ്'], |
| 307 | +['(([ൺ-ൿം])\u200c+)?q', '', '$2ക്ക്'], |
| 308 | +['(([ൺ-ൿം])\u200c+)?r', '', '$2ർ'], |
| 309 | +['(([ൺ-ൿം])\u200c+)?s', '', '$2സ്'], |
| 310 | +['(([ൺ-ൿം])\u200c+)?t', '', '$2റ്റ്'], // tta according to 5.1 |
| 311 | +['(([ൺ-ൿം])\u200c+)?u', '', '$2ഉ'], |
| 312 | +['(([ൺ-ൿം])\u200c+)?(v|w)', '', '$2വ്'], |
| 313 | +['(([ൺ-ൿം])\u200c+)?x', '', '$2ക്ഷ്'], |
| 314 | +['(([ൺ-ൿം])\u200c+)?y', '', '$2യ്'], |
| 315 | +['(([ൺ-ൿം])\u200c+)?~', '', '$2്'], |
| 316 | +['(\u200C)*_', '', '\u200c'], |
| 317 | +['//', '', 'ऽ'], |
| 318 | +['1/4\\\\', '', '൳'], |
| 319 | +['1/2\\\\', '', '൴'], |
| 320 | +['3/4\\\\', '', '൵'], |
| 321 | +['10\\\\', '', '\u0D70'], |
| 322 | +['100\\\\', '', '\u0D71'], |
| 323 | +['1000\\\\', '', '\u0D72'], |
| 324 | +['\\-\\-\\-\\\\', '', '—'], // em dash |
| 325 | +['\\-\\-\\\\', '', '–'], // en dash |
| 326 | +['\\\\\\-', '', '−'], |
| 327 | +['\\\\\\*', '', '×'], |
| 328 | +['\\\\/', '', '÷'] |
| 329 | +]; |
| 330 | + |
| 331 | +jQuery.narayam.addScheme( 'ml', { |
| 332 | + 'namemsg': 'narayam-ml', |
| 333 | + 'extended_keyboard': false, |
| 334 | + 'lookbackLength': 6, |
| 335 | + 'keyBufferLength': 2, |
| 336 | + 'rules': rules |
| 337 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.ml.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 338 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.kn.js |
— | — | @@ -0,0 +1,149 @@ |
| 2 | +/** |
| 3 | + * Trasliteration regular expression rules table for Kannada |
| 4 | + * @author M G Harish [[user:M G Harish]] |
| 5 | + * Modified by User:HPNadig (User:HPN on en) |
| 6 | + * @date 2010-12-25 |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + var rules = [ |
| 10 | +['ಕ್h','c','ಚ್'], |
| 11 | +['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'], |
| 12 | +// For users accustomed to Baraha |
| 13 | +['ಜ್್j', '','ಜ್ಞ್'], |
| 14 | +['([ಕ-ಹೞ]಼?)್a', '','$1'], |
| 15 | +['([ಕ-ಹೞ]಼?)್A', '','$1ಾ'], |
| 16 | +['([ಕ-ಹೞ]಼?)a', '','$1ಾ'], |
| 17 | +['([ಕ-ಹೞ]಼?)್i', '','$1ಿ'], |
| 18 | +['([ಕ-ಹೞ]಼?)(್I|ಿi|ೆe)', '','$1ೀ'], |
| 19 | +['([ಕ-ಹೞ]಼?)್u', '','$1ು'], |
| 20 | +['([ಕ-ಹೞ]಼?)(ುu|್U|ೊo)', '','$1ೂ'], |
| 21 | +['([ಕ-ಹೞ]಼?)್R', '','$1ೃ'], |
| 22 | +['([ಕ-ಹೞ]಼?)ೃR', '','$1ೄ'], |
| 23 | +['([ಕ-ಹೞ]಼?)್e', '','$1ೆ'], |
| 24 | +['([ಕ-ಹೞ]಼?)್E', '','$1ೇ'], |
| 25 | +['([ಕ-ಹೞ]಼?)i', '','$1ೈ'], |
| 26 | +['([ಕ-ಹೞ]಼?)್o', '','$1ೊ'], |
| 27 | +['([ಕ-ಹೞ]಼?)್O', '','$1ೋ'], |
| 28 | +['([ಕ-ಹೞ]಼?)u', '','$1ೌ'], |
| 29 | +['([ಕ-ಹೞ])್\\`', '','$1़್'], |
| 30 | + |
| 31 | +['ಅa', '','ಆ'], |
| 32 | +['(ಒo|ಉu)', '','ಊ'], |
| 33 | +['ಅi', '','ಐ'], |
| 34 | +['(ಇi|ಎe)', '','ಈ'], |
| 35 | +['ಅu', '','ಔ'], |
| 36 | +['ಋR', '','ೠ'], |
| 37 | +['ಓ~M', '','ॐ'], |
| 38 | + |
| 39 | +['~l', '','ೞ್'], |
| 40 | +['~r', '','ಱ್'], |
| 41 | +['q', '','ೞ್'], |
| 42 | +['Q', '','ಱ್'], |
| 43 | +['ಕ್h', '','ಖ್'], |
| 44 | +['ಗ್h', '','ಘ್'], |
| 45 | +['~g', '','ಙ್'], |
| 46 | +['~N', '','ಙ್'], |
| 47 | +['ಚ್h', '','ಛ್'], |
| 48 | +['ಜ್h', '','ಝ್'], |
| 49 | +['~j', '','ಞ್'], |
| 50 | +['~n', '','ಞ್'], |
| 51 | +['ಟ್h', '','ಠ್'], |
| 52 | +['ಡ್h', '','ಢ್'], |
| 53 | +['ತ್h', '','ಥ್'], |
| 54 | +['ದ್h', '','ಧ್'], |
| 55 | +['ಪ್h', '','ಫ್'], |
| 56 | +['ಬ್h', '','ಭ್'], |
| 57 | +['ಸ್h', '','ಶ್'], |
| 58 | +['ಶ್h', '','ಷ್'], |
| 59 | + |
| 60 | + |
| 61 | +['ಋa', '','ರ'], |
| 62 | +['ಋA', '','ರಾ'], |
| 63 | +['ಋi', '','ರಿ'], |
| 64 | +['ಋI', '','ರೀ'], |
| 65 | +['ಋu', '','ರು'], |
| 66 | +['ಋU', '','ರೂ'], |
| 67 | +['ಋe', '','ರೆ'], |
| 68 | +['ಋE', '','ರೇ'], |
| 69 | + |
| 70 | +['X', '',''], // 0x200C Zero width non-joiner |
| 71 | +['x', '',''], // 0x200D Zero width joiner |
| 72 | + |
| 73 | +['([ಕ-ಹೞ]಼?)ೃa', '','$1್ರ'], |
| 74 | +['([ಕ-ಹೞ]಼?)ೃA', '','$1್ರಾ'], |
| 75 | +['([ಕ-ಹೞ]಼?)ೃi', '','$1್ರಿ'], |
| 76 | +['([ಕ-ಹೞ]಼?)ೃI', '','$1್ರೀ'], |
| 77 | +['([ಕ-ಹೞ]಼?)ೃu', '','$1್ರು'], |
| 78 | +['([ಕ-ಹೞ]಼?)ೃU', '','$1್ರೂ'], |
| 79 | +['([ಕ-ಹೞ]಼?)ೃe', '','$1್ರೆ'], |
| 80 | +['([ಕ-ಹೞ]಼?)ೃE', '','$1್ರೇ'], |
| 81 | +['([ಕ-ಹೞ]಼?)ೃo', '','$1್ರೊ'], |
| 82 | +['([ಕ-ಹೞ]಼?)ೃO', '','$1್ರೋ'], |
| 83 | +['([ಕ-ಹೞ]಼?)ೃ\\~', '','$1್ರ್'], |
| 84 | + |
| 85 | +['।\\.', '','॥'], |
| 86 | + |
| 87 | +['a', '','ಅ'], |
| 88 | +['b', '','ಬ್'], |
| 89 | +['c', '','ಚ್'], |
| 90 | +['d', '','ದ್'], |
| 91 | +['e', '','ಎ'], |
| 92 | +['g', '','ಗ್'], |
| 93 | +['h', '','ಹ್'], |
| 94 | +['i', '','ಇ'], |
| 95 | +['j', '','ಜ್'], |
| 96 | +['k', '','ಕ್'], |
| 97 | +['l', '','ಲ್'], |
| 98 | +['m', '','ಮ್'], |
| 99 | +['n', '','ನ್'], |
| 100 | +['o', '','ಒ'], |
| 101 | +['p', '','ಪ್'], |
| 102 | +['r', '','ರ್'], |
| 103 | +['s', '','ಸ್'], |
| 104 | +['t', '','ತ್'], |
| 105 | +['u', '','ಉ'], |
| 106 | +['(v|w)', '','ವ್'], |
| 107 | +['y', '','ಯ್'], |
| 108 | +['A', '','ಆ'], |
| 109 | +['B', '','ಭ್'], |
| 110 | +['C', '','ಛ್'], |
| 111 | +['D', '','ಡ್'], |
| 112 | +['E', '','ಏ'], |
| 113 | +['G', '','ಘ್'], |
| 114 | +['H', '','ಃ'], |
| 115 | +['I', '','ಈ'], |
| 116 | +['J', '','ಝ್'], |
| 117 | +['K', '','ಖ್'], |
| 118 | +['L', '','ಳ್'], |
| 119 | +['M', '','ಂ'], |
| 120 | +['N', '','ಣ್'], |
| 121 | +['O', '','ಓ'], |
| 122 | +['P', '','ಫ್'], |
| 123 | +['R', '','ಋ'], |
| 124 | +['S', '','ಶ್'], |
| 125 | +['T', '','ಟ್'], |
| 126 | +['U', '','ಊ'], |
| 127 | +['(V|W)', '','ವ್'], |
| 128 | +['Y', '','ಯ್'], |
| 129 | +['(z|Z)', '','ಜ಼್'], |
| 130 | +['(f|F)', '','ಫ಼್'], |
| 131 | +['0', '','೦'], |
| 132 | +['1', '','೧'], |
| 133 | +['2', '','೨'], |
| 134 | +['3', '','೩'], |
| 135 | +['4', '','೪'], |
| 136 | +['5', '','೫'], |
| 137 | +['6', '','೬'], |
| 138 | +['7', '','೭'], |
| 139 | +['8', '','೮'], |
| 140 | +['9', '','೯'], |
| 141 | +['//', '','ಽ'] |
| 142 | +]; |
| 143 | + |
| 144 | +jQuery.narayam.addScheme( 'kn', { |
| 145 | + 'namemsg': 'narayam-kn', |
| 146 | + 'extended_keyboard': false, |
| 147 | + 'lookbackLength': 3, |
| 148 | + 'keyBufferLength': 1, |
| 149 | + 'rules': rules |
| 150 | +} ); |
\ No newline at end of file |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.kn.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 151 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.js |
— | — | @@ -0,0 +1,9 @@ |
| 2 | +/** |
| 3 | + * Narayam startup script |
| 4 | + */ |
| 5 | +( function( $ ) { |
| 6 | + $( document ).ready( function() { |
| 7 | + $.narayam.addInputs( 'input:text, input[type=search], textarea' ); |
| 8 | + $.narayam.setup(); |
| 9 | + } ); |
| 10 | +} )( jQuery ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 11 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.or-inscript.js |
— | — | @@ -0,0 +1,109 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Oriya script |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 6 | + * @date 2011-02-28 |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | +var rules = [ |
| 11 | +['X', '', '\u0B01'], |
| 12 | +['x', '', '\u0B02'], |
| 13 | +['_', '', '\u0B03'], |
| 14 | +['D', '', '\u0B05'], |
| 15 | +['E', '', '\u0B06'], |
| 16 | +['F', '', '\u0B07'], |
| 17 | +['R', '', '\u0B08'], |
| 18 | +['G', '', '\u0B09'], |
| 19 | +['T', '', '\u0B0A'], |
| 20 | +['\\+', '', '\u0B0B'], |
| 21 | +['S', '', '\u0B0F'], |
| 22 | +['W', '', '\u0B10'], |
| 23 | +['A', '', '\u0B13'], |
| 24 | +['Q', '', '\u0B14'], |
| 25 | +['k', '', '\u0B15'], |
| 26 | +['K', '', '\u0B16'], |
| 27 | +['i', '', '\u0B17'], |
| 28 | +['I', '', '\u0B18'], |
| 29 | +['U', '', '\u0B19'], |
| 30 | +[';', '', '\u0B1A'], |
| 31 | +['\\:', '', '\u0B1B'], |
| 32 | +['p', '', '\u0B1C'], |
| 33 | +['P', '', '\u0B1D'], |
| 34 | +['\\}', '', '\u0B1E'], |
| 35 | +['`', '', '\u0B1F'], |
| 36 | +['~', '', '\u0B20'], |
| 37 | +['\\[', '', '\u0B21'], |
| 38 | +['\\{', '', '\u0B22'], |
| 39 | +['C', '', '\u0B23'], |
| 40 | +['l', '', '\u0B24'], |
| 41 | +['L', '', '\u0B25'], |
| 42 | +['o', '', '\u0B26'], |
| 43 | +['O', '', '\u0B27'], |
| 44 | +['v', '', '\u0B28'], |
| 45 | +['h', '', '\u0B2A'], |
| 46 | +['H', '', '\u0B2B'], |
| 47 | +['y', '', '\u0B2C'], |
| 48 | +['Y', '', '\u0B2D'], |
| 49 | +['c', '', '\u0B2E'], |
| 50 | +['\\?', '', '\u0B2F'], |
| 51 | +['j', '', '\u0B30'], |
| 52 | +['n', '', '\u0B32'], |
| 53 | +['N', '', '\u0B33'], |
| 54 | +['M', '', '\u0B36'], |
| 55 | +['\\<', '', '\u0B37'], |
| 56 | +['m', '', '\u0B38'], |
| 57 | +['u', '', '\u0B39'], |
| 58 | +['\\]', '', '\u0B3C'], |
| 59 | +['e', '', '\u0B3E'], |
| 60 | +['f', '', '\u0B3F'], |
| 61 | +['r', '', '\u0B40'], |
| 62 | +['g', '', '\u0B41'], |
| 63 | +['t', '', '\u0B42'], |
| 64 | +['\\=', '', '\u0B43'], |
| 65 | +['s', '', '\u0B47'], |
| 66 | +['w', '', '\u0B48'], |
| 67 | +['a', '', '\u0B4B'], |
| 68 | +['q', '', '\u0B4C'], |
| 69 | +['d', '', '\u0B4D'], |
| 70 | +['/', '', '\u0B5F'], |
| 71 | +['\\>', '', '\u0B64'], |
| 72 | +['0', '', '\u0B66'], |
| 73 | +['1', '', '\u0B67'], |
| 74 | +['2', '', '\u0B68'], |
| 75 | +['3', '', '\u0B69'], |
| 76 | +['4', '', '\u0B6A'], |
| 77 | +['5', '', '\u0B6B'], |
| 78 | +['6', '', '\u0B6C'], |
| 79 | +['7', '', '\u0B6D'], |
| 80 | +['8', '', '\u0B6E'], |
| 81 | +['9', '', '\u0B6F'], |
| 82 | +['b', '', '\u0B71'], |
| 83 | +['\\(', '', '\u200D'], |
| 84 | +['\\)', '', '\u200C'] |
| 85 | +]; |
| 86 | + |
| 87 | +var rules_x = [ |
| 88 | +['F', '', '\u0B0C'], |
| 89 | +['b', '', '\u0B35'], |
| 90 | +['\\>', '', '\u0B3D'], |
| 91 | +['\\=', '', '\u0B44'], |
| 92 | +['\\[', '', '\u0B5C'], |
| 93 | +['\\{', '', '\u0B5D'], |
| 94 | +['\\+', '', '\u0B60'], |
| 95 | +['R', '', '\u0B61'], |
| 96 | +['f', '', '\u0B62'], |
| 97 | +['r', '', '\u0B63'], |
| 98 | +['\\.', '', '\u0B65'], |
| 99 | +['x', '', '\u0B70'], |
| 100 | +['\\$', '', '\u20B9'] |
| 101 | +]; |
| 102 | + |
| 103 | +jQuery.narayam.addScheme( 'or-inscript', { |
| 104 | + 'namemsg': 'narayam-or-inscript', |
| 105 | + 'extended_keyboard': true, |
| 106 | + 'lookbackLength': 0, |
| 107 | + 'keyBufferLength': 0, |
| 108 | + 'rules': rules, |
| 109 | + 'rules_x': rules_x |
| 110 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.or-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 111 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.or.js |
— | — | @@ -0,0 +1,145 @@ |
| 2 | +/** |
| 3 | + * Trasliteration regular expression rules table for Oriya |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-11-13 |
| 6 | + * @credit With help from Subhashish Panigrahi |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | +// Normal rules |
| 10 | +var rules = [ |
| 11 | +['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\','$1'], |
| 12 | + |
| 13 | +['ଞ୍ଜ୍h', '', 'ଞ୍ଝ୍'], // njh |
| 14 | +['ଙ୍ଗ୍h', '', 'ଙ୍ଘ୍'], // ngh |
| 15 | + |
| 16 | +['([କ-ହୟ])୍a', '','$1'], |
| 17 | +['([କ-ହୟ])(a|୍A)', '','$1ା'], |
| 18 | +['([କ-ହୟ])୍i', '','$1\u0b3f'], |
| 19 | +['([କ-ହୟ])୍I', '','$1ୀ'], |
| 20 | +['([କ-ହୟ])୍u', '','$1\u0b41'], |
| 21 | +['([କ-ହୟ])(୍U|\u0b41u)', '','$1\u0b42'], |
| 22 | +['([କ-ହୟ])୍R', '','$1\u0b43'], |
| 23 | +['([କ-ହୟ])\u0b43R', '','$1\u0b44'], |
| 24 | +['([କ-ହୟ])୍ଳ୍l', '','$1ୢ'], |
| 25 | +['([କ-ହୟ])ୢl', '','$1ୣ'], |
| 26 | +['([କ-ହୟ])୍e', '','$1େ'], |
| 27 | +['([କ-ହୟ])i', '','$1ୈ'], |
| 28 | +['([କ-ହୟ])୍o', '','$1ୋ'], |
| 29 | +['([କ-ହୟ])ୋu', '','$1ୌ'], |
| 30 | +['([କ-ହୟ])୍E', '','$1\u0B48'], |
| 31 | + |
| 32 | +['ଅa', '','ଆ'], |
| 33 | +['(ଅi|ଏe)', '','ଐ'], |
| 34 | +['(ଅu|ଓo|ଓO)', '','ଔ'], |
| 35 | +['ଋR', '','ୠ'], |
| 36 | +['ଳ୍l', '','ଌ'], |
| 37 | +['ଌl', '','ୡ'], |
| 38 | +['ଞ୍ଚ୍h', '', 'ଞ୍ଛ୍'], // nch |
| 39 | + |
| 40 | +['ଣ୍G', '', 'ଙ୍'], // NG |
| 41 | +['ଣ୍g', '', 'ଞ୍'], // Ng |
| 42 | +['କ୍h', '','ଖ୍'], |
| 43 | +['ଗ୍h', '','ଘ୍'], |
| 44 | +['ନ୍c', '', 'ଞ୍ଚ୍'], // nc |
| 45 | +['ନ୍g', '', 'ଙ୍ଗ୍'], // ng |
| 46 | +['ଚ୍h', '','ଛ୍'], |
| 47 | +['ଜ୍h', '','ଝ୍'], |
| 48 | +['ନ୍j', '', 'ଞ୍ଜ୍'], // nj |
| 49 | +['ନ୍k', '', 'ଙ୍କ୍'], // nk |
| 50 | +['ଟ୍h', '','ଠ୍'], |
| 51 | +['ଡ୍h', '','ଢ୍'], |
| 52 | +['ତ୍h', '','ଥ୍'], |
| 53 | +['ଦ୍h', '','ଧ୍'], |
| 54 | +['ପ୍h', '','ଫ୍'], |
| 55 | +['ବ୍h', '','ଭ୍'], |
| 56 | +['ସ୍h', '','ଷ୍'], |
| 57 | +['।Z', '', '॥'], |
| 58 | + |
| 59 | +['ଆ\\\\', '', '\u0B3E'], // aa sign |
| 60 | +['ଇ\\\\', '', '\u0B3F'], // i sign |
| 61 | +['ଈ\\\\', '', '\u0B40'],// I sign |
| 62 | +['ଉ\\\\', '', '\u0B41'], // u sign |
| 63 | +['ଉ\\\\', '', '\u0B42'], // U sign |
| 64 | +['ଋ\\\\', '', '\u0B43'], // R sign |
| 65 | +['ୠ\\\\', '', '\u0B44'], // RR sign |
| 66 | +['ଌ\\\\', '', '\u0B62'], // L sign |
| 67 | +['ୡ\\\\', '', '\u0B63'], // LL sign |
| 68 | +['ଏ\\\\', '', '\u0B47'], // e sign |
| 69 | +['ଐ\\\\', '', '\u0B48'], // ai sign |
| 70 | +['ଓ\\\\', '', '\u0B4B'], // o sign |
| 71 | +['ଔ\\\\', '', '\u0B4C'], // au sign |
| 72 | + |
| 73 | +['\u200c?a', '','ଅ'], |
| 74 | +['b', '','ବ୍'], |
| 75 | +['c','','ଚ୍'], |
| 76 | +['d', '','ଦ୍'], |
| 77 | +['\u200c?e', '','ଏ'], |
| 78 | +['f', '','ଫ୍'], |
| 79 | +['g', '','ଗ୍'], |
| 80 | +['h', '','ହ୍'], |
| 81 | +['\u200c?i', '','ଇ'], |
| 82 | +['j', '','ଜ୍'], |
| 83 | +['k', '','କ୍'], |
| 84 | +['l', '','ଲ୍'], |
| 85 | +['m', '','ମ୍'], |
| 86 | +['n', '','ନ୍'], |
| 87 | +['\u200c?o', '','ଓ'], |
| 88 | +['p', '','ପ୍'], |
| 89 | +['q', '', 'ଜ୍ଞ୍'], |
| 90 | +['r', '','ର୍'], |
| 91 | +['s', '','ସ୍'], |
| 92 | +['t', '','ତ୍'], |
| 93 | +['\u200c?u', '','ଉ'], |
| 94 | +['v', '', 'ୱ୍'], |
| 95 | +['w', '','ଵ୍'], |
| 96 | +['x', '','କ୍ଷ୍'], |
| 97 | +['y', '', 'ୟ୍'], |
| 98 | +['z', '','\u0B3C'], |
| 99 | +['\u200c?A', '','ଆ'], |
| 100 | +['B', '','ବ୍'], |
| 101 | +['C', '','ଛ୍'], |
| 102 | +['D', '','ଡ୍'], |
| 103 | +['\u200c?E', '','ଐ'], |
| 104 | +['F', '','ଫ୍'], |
| 105 | +['G', '','ଗ୍'], |
| 106 | +['H', '','ଃ'], |
| 107 | +['\u200c?I', '','ଈ'], |
| 108 | +['J', '','ଝ୍'], |
| 109 | +['K', '','କ୍'], |
| 110 | +['L', '','ଳ୍'], |
| 111 | +['M', '','ଂ'], |
| 112 | +['N', '','ଣ୍'], |
| 113 | +['\u200c?O', '', 'ଔ'], |
| 114 | +['P', '','ଫ୍'], |
| 115 | +['Q', '', 'ଜ୍ଞ୍'], |
| 116 | +['R', '','ଋ'], |
| 117 | +['S', '','ଶ୍'], |
| 118 | +['T', '','ଟ୍'], |
| 119 | +['\u200c?U', '','ଊ'], |
| 120 | +['V', '', 'ଵ୍'], |
| 121 | +['W', '','ଵ୍ଵ୍'], |
| 122 | +['X', '', 'ଁ'], |
| 123 | +['Y', '','ଯ୍'], |
| 124 | +['Z', '', '।'], |
| 125 | +['\\~', '','୍'], |
| 126 | +['//', '','ଽ'], |
| 127 | +['_', '', '\u200c'], |
| 128 | +['0', '','୦'], |
| 129 | +['1', '','୧'], |
| 130 | +['2', '','୨'], |
| 131 | +['3', '','୩'], |
| 132 | +['4', '','୪'], |
| 133 | +['5', '','୫'], |
| 134 | +['6', '','୬'], |
| 135 | +['7', '','୭'], |
| 136 | +['8', '','୮'], |
| 137 | +['9', '','୯'] |
| 138 | +]; |
| 139 | + |
| 140 | +jQuery.narayam.addScheme( 'or', { |
| 141 | + 'namemsg': 'narayam-or', |
| 142 | + 'extended_keyboard': true, |
| 143 | + 'lookbackLength': 4, |
| 144 | + 'keyBufferLength': 2, |
| 145 | + 'rules': rules |
| 146 | +} ); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/js/ext.narayam.rules.or.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 147 | + native |
Index: branches/wmf/1.17wmf1/extensions/Narayam/Narayam.php |
— | — | @@ -0,0 +1,242 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * NAME |
| 5 | + * Narayam |
| 6 | + * |
| 7 | + * SYNOPSIS |
| 8 | + * |
| 9 | + * INSTALL |
| 10 | + * Put this whole directory under your Mediawiki extensions directory |
| 11 | + * Then add this line to LocalSettings.php to load the extension |
| 12 | + * |
| 13 | + * require_once("$IP/extensions/Narayam.php"); |
| 14 | + * |
| 15 | + * Currently Vector and Monobook skins are supported |
| 16 | + * |
| 17 | + * AUTHOR |
| 18 | + * Junaid P V <http://junaidpv.in> |
| 19 | + * |
| 20 | + * @file |
| 21 | + * @ingroup extensions |
| 22 | + * @version 0.2 |
| 23 | + * @copyright Copyright 2010 Junaid P V |
| 24 | + * @license GPLv3 |
| 25 | + */ |
| 26 | + |
| 27 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 28 | + exit( 1 ); |
| 29 | +} |
| 30 | + |
| 31 | +/* Configuration */ |
| 32 | + |
| 33 | +// Whether the input method should be active as default or not |
| 34 | +$wgNarayamEnabledByDefault = true; |
| 35 | + |
| 36 | +// Shortcut key for enabling and disabling Narayam |
| 37 | +// Defaults to Ctrl+M |
| 38 | +$wgNarayamShortcutKey = array( |
| 39 | + 'altKey' => false, |
| 40 | + 'ctrlKey' => true, |
| 41 | + 'shiftKey' => false, |
| 42 | + 'key' => 'm' |
| 43 | +); |
| 44 | + |
| 45 | +// Array mapping language codes and scheme names to module names |
| 46 | +// Custom schemes can be added here |
| 47 | +$wgNarayamSchemes = array( |
| 48 | + 'bn' => array( |
| 49 | + 'bn-avro' => 'ext.narayam.rules.bn-avro', |
| 50 | + 'bn-inscript' => 'ext.narayam.rules.bn-inscript', |
| 51 | + 'bn-nkb' => 'ext.narayam.rules.bn-nkb', |
| 52 | + ), |
| 53 | + 'eo' => array( |
| 54 | + 'eo' => 'ext.narayam.rules.eo', |
| 55 | + ), |
| 56 | + 'hi' => array( |
| 57 | + 'hi-inscript' => 'ext.narayam.rules.hi-inscript', |
| 58 | + ), |
| 59 | + 'kn' => array( |
| 60 | + 'kn' => 'ext.narayam.rules.kn', |
| 61 | + 'kn-inscript' => 'ext.narayam.rules.kn-inscript', |
| 62 | + ), |
| 63 | + 'ml' => array( |
| 64 | + 'ml' => 'ext.narayam.rules.ml', |
| 65 | + 'ml-inscript' => 'ext.narayam.rules.ml-inscript', |
| 66 | + ), |
| 67 | + 'ne' => array( |
| 68 | + 'ne' => 'ext.narayam.rules.ne', |
| 69 | + 'ne-inscript' => 'ext.narayam.rules.ne-inscript', |
| 70 | + ), |
| 71 | + 'or' => array( |
| 72 | + 'or' => 'ext.narayam.rules.or', |
| 73 | + 'or-inscript' => 'ext.narayam.rules.or-inscript', |
| 74 | + ), |
| 75 | + 'sa' => array( |
| 76 | + 'sa' => 'ext.narayam.rules.sa', |
| 77 | + 'sa-inscript' => 'ext.narayam.rules.sa-inscript', |
| 78 | + ), |
| 79 | + 'si' => array( |
| 80 | + 'si-singlish' => 'ext.narayam.rules.si-singlish', |
| 81 | + 'si-wijesekara' => 'ext.narayam.rules.si-wijesekara', |
| 82 | + ), |
| 83 | + 'ta' => array( |
| 84 | + 'ta' => 'ext.narayam.rules.ta', |
| 85 | + 'ta99' => 'ext.narayam.rules.ta99', |
| 86 | + ), |
| 87 | + 'te' => array( |
| 88 | + 'te-inscript' => 'ext.narayam.rules.te-inscript', |
| 89 | + ), |
| 90 | +); |
| 91 | + |
| 92 | +/* Setup */ |
| 93 | + |
| 94 | +$dir = dirname( __FILE__ ); |
| 95 | + |
| 96 | +// Register extension credits |
| 97 | +$wgExtensionCredits['other'][] = array( |
| 98 | + 'path' => __FILE__, |
| 99 | + 'name' => 'Narayam', |
| 100 | + 'version' => 0.1, |
| 101 | + 'author' => array( 'Junaid P V (http://junaidpv.in)', 'Roan Kattouw' ), |
| 102 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:Narayam', |
| 103 | + 'descriptionmsg' => 'narayam-desc' |
| 104 | +); |
| 105 | + |
| 106 | +// Localization |
| 107 | +$wgExtensionMessagesFiles['Narayam'] = $dir . '/Narayam.i18n.php'; |
| 108 | + |
| 109 | +// Register hook function |
| 110 | +$wgHooks['BeforePageDisplay'][] = 'NarayamHooks::addModules'; |
| 111 | +$wgHooks['ResourceLoaderGetConfigVars'][] = 'NarayamHooks::addConfig'; |
| 112 | +$wgHooks['MakeGlobalVariablesScript'][] = 'NarayamHooks::addVariables'; |
| 113 | +$wgHooks['GetPreferences'][] = 'NarayamHooks::addPreference'; |
| 114 | + |
| 115 | +// Autoloader |
| 116 | +$wgAutoloadClasses['NarayamHooks'] = $dir . '/Narayam.hooks.php'; |
| 117 | + |
| 118 | +// ResourceLoader module registration |
| 119 | +$narayamTpl = array( |
| 120 | + 'localBasePath' => $dir, |
| 121 | + 'remoteExtPath' => 'Narayam', |
| 122 | +); |
| 123 | +$wgResourceModules['ext.narayam'] = $narayamTpl + array( |
| 124 | + 'scripts' => 'js/ext.narayam.js', |
| 125 | + 'dependencies' => 'ext.narayam.core', |
| 126 | +); |
| 127 | +$wgResourceModules['ext.narayam.core'] = $narayamTpl + array( |
| 128 | + 'scripts' => 'js/ext.narayam.core.js', |
| 129 | + 'styles' => 'css/ext.narayam.core.css', |
| 130 | + 'skinStyles' => array( |
| 131 | + 'monobook' => 'css/ext.narayam.core-monobook.css', |
| 132 | + 'vector' => 'css/ext.narayam.core-vector.css', |
| 133 | + ), |
| 134 | + 'messages' => array( |
| 135 | + 'narayam-checkbox-tooltip', |
| 136 | + 'narayam-menu', |
| 137 | + 'narayam-menu-tooltip', |
| 138 | + 'narayam-help', |
| 139 | + 'narayam-help-page', |
| 140 | + 'narayam-toggle-ime', |
| 141 | + ), |
| 142 | + 'dependencies' => array( 'mediawiki.util', 'jquery.textSelection' ), |
| 143 | +); |
| 144 | +$wgResourceModules['ext.narayam.rules.bn-avro'] = $narayamTpl + array( |
| 145 | + 'scripts' => 'js/ext.narayam.rules.bn-avro.js', |
| 146 | + 'messages' => array( 'narayam-bn-avro' ), |
| 147 | + 'dependencies' => 'ext.narayam.core', |
| 148 | +); |
| 149 | +$wgResourceModules['ext.narayam.rules.bn-inscript'] = $narayamTpl + array( |
| 150 | + 'scripts' => 'js/ext.narayam.rules.bn-inscript.js', |
| 151 | + 'messages' => array( 'narayam-bn-inscript' ), |
| 152 | + 'dependencies' => 'ext.narayam.core', |
| 153 | +); |
| 154 | +$wgResourceModules['ext.narayam.rules.bn-nkb'] = $narayamTpl + array( |
| 155 | + 'scripts' => 'js/ext.narayam.rules.bn-nkb.js', |
| 156 | + 'messages' => array( 'narayam-bn-nkb' ), |
| 157 | + 'dependencies' => 'ext.narayam.core', |
| 158 | +); |
| 159 | +$wgResourceModules['ext.narayam.rules.eo'] = $narayamTpl + array( |
| 160 | + 'scripts' => 'js/ext.narayam.rules.eo.js', |
| 161 | + 'messages' => array( 'narayam-eo' ), |
| 162 | + 'dependencies' => 'ext.narayam.core', |
| 163 | +); |
| 164 | +$wgResourceModules['ext.narayam.rules.hi-inscript'] = $narayamTpl + array( |
| 165 | + 'scripts' => 'js/ext.narayam.rules.hi-inscript.js', |
| 166 | + 'messages' => array( 'narayam-hi-inscript' ), |
| 167 | + 'dependencies' => 'ext.narayam.core', |
| 168 | +); |
| 169 | +$wgResourceModules['ext.narayam.rules.kn'] = $narayamTpl + array( |
| 170 | + 'scripts' => 'js/ext.narayam.rules.kn.js', |
| 171 | + 'messages' => array( 'narayam-kn' ), |
| 172 | + 'dependencies' => 'ext.narayam.core', |
| 173 | +); |
| 174 | +$wgResourceModules['ext.narayam.rules.kn-inscript'] = $narayamTpl + array( |
| 175 | + 'scripts' => 'js/ext.narayam.rules.kn-inscript.js', |
| 176 | + 'messages' => array( 'narayam-kn-inscript' ), |
| 177 | + 'dependencies' => 'ext.narayam.core', |
| 178 | +); |
| 179 | +$wgResourceModules['ext.narayam.rules.ml'] = $narayamTpl + array( |
| 180 | + 'scripts' => 'js/ext.narayam.rules.ml.js', |
| 181 | + 'messages' => array( 'narayam-ml' ), |
| 182 | + 'dependencies' => 'ext.narayam.core', |
| 183 | +); |
| 184 | +$wgResourceModules['ext.narayam.rules.ml-inscript'] = $narayamTpl + array( |
| 185 | + 'scripts' => 'js/ext.narayam.rules.ml-inscript.js', |
| 186 | + 'messages' => array( 'narayam-ml-inscript' ), |
| 187 | + 'dependencies' => 'ext.narayam.core', |
| 188 | +); |
| 189 | +$wgResourceModules['ext.narayam.rules.ne'] = $narayamTpl + array( |
| 190 | + 'scripts' => 'js/ext.narayam.rules.ne.js', |
| 191 | + 'messages' => array( 'narayam-ne' ), |
| 192 | + 'dependencies' => 'ext.narayam.core', |
| 193 | +); |
| 194 | +$wgResourceModules['ext.narayam.rules.ne-inscript'] = $narayamTpl + array( |
| 195 | + 'scripts' => 'js/ext.narayam.rules.ne-inscript.js', |
| 196 | + 'messages' => array( 'narayam-ne-inscript' ), |
| 197 | + 'dependencies' => 'ext.narayam.core', |
| 198 | +); |
| 199 | +$wgResourceModules['ext.narayam.rules.or'] = $narayamTpl + array( |
| 200 | + 'scripts' => 'js/ext.narayam.rules.or.js', |
| 201 | + 'messages' => array( 'narayam-or' ), |
| 202 | + 'dependencies' => 'ext.narayam.core', |
| 203 | +); |
| 204 | +$wgResourceModules['ext.narayam.rules.or-inscript'] = $narayamTpl + array( |
| 205 | + 'scripts' => 'js/ext.narayam.rules.or-inscript.js', |
| 206 | + 'messages' => array( 'narayam-or-inscript' ), |
| 207 | + 'dependencies' => 'ext.narayam.core', |
| 208 | +); |
| 209 | +$wgResourceModules['ext.narayam.rules.sa'] = $narayamTpl + array( |
| 210 | + 'scripts' => 'js/ext.narayam.rules.sa.js', |
| 211 | + 'messages' => array( 'narayam-sa' ), |
| 212 | + 'dependencies' => 'ext.narayam.core', |
| 213 | +); |
| 214 | +$wgResourceModules['ext.narayam.rules.sa-inscript'] = $narayamTpl + array( |
| 215 | + 'scripts' => 'js/ext.narayam.rules.sa-inscript.js', |
| 216 | + 'messages' => array( 'narayam-sa-inscript' ), |
| 217 | + 'dependencies' => 'ext.narayam.core', |
| 218 | +); |
| 219 | +$wgResourceModules['ext.narayam.rules.si-singlish'] = $narayamTpl + array( |
| 220 | + 'scripts' => 'js/ext.narayam.rules.si-singlish.js', |
| 221 | + 'messages' => array( 'narayam-si-singlish' ), |
| 222 | + 'dependencies' => 'ext.narayam.core', |
| 223 | +); |
| 224 | +$wgResourceModules['ext.narayam.rules.si-wijesekara'] = $narayamTpl + array( |
| 225 | + 'scripts' => 'js/ext.narayam.rules.si-wijesekara.js', |
| 226 | + 'messages' => array( 'narayam-si-wijesekara' ), |
| 227 | + 'dependencies' => 'ext.narayam.core', |
| 228 | +); |
| 229 | +$wgResourceModules['ext.narayam.rules.ta'] = $narayamTpl + array( |
| 230 | + 'scripts' => 'js/ext.narayam.rules.ta.js', |
| 231 | + 'messages' => array( 'narayam-ta' ), |
| 232 | + 'dependencies' => 'ext.narayam.core', |
| 233 | +); |
| 234 | +$wgResourceModules['ext.narayam.rules.ta99'] = $narayamTpl + array( |
| 235 | + 'scripts' => 'js/ext.narayam.rules.ta99.js', |
| 236 | + 'messages' => array( 'narayam-ta99' ), |
| 237 | + 'dependencies' => 'ext.narayam.rules.ta', // make sure ta99 loads after ta |
| 238 | +); |
| 239 | +$wgResourceModules['ext.narayam.rules.te-inscript'] = $narayamTpl + array( |
| 240 | + 'scripts' => 'js/ext.narayam.rules.te-inscript.js', |
| 241 | + 'messages' => array( 'narayam-te-inscript' ), |
| 242 | + 'dependencies' => 'ext.narayam.core', |
| 243 | +); |
Property changes on: branches/wmf/1.17wmf1/extensions/Narayam/Narayam.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 244 | + native |