Index: trunk/extensions/Narayam/css/ext.narayam.core-vector.css |
— | — | @@ -1,6 +0,0 @@ |
2 | | -.narayam-wrapper { |
3 | | - font-size: 80%; |
4 | | - position: absolute; |
5 | | - top: 1.4em; |
6 | | - right: 0.5em; |
7 | | -} |
Index: trunk/extensions/Narayam/css/ext.narayam.core.css |
— | — | @@ -1,154 +0,0 @@ |
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 | | -li#pt-narayam { |
16 | | - padding-left: 15px !important; |
17 | | -} |
18 | | - |
19 | | -/* Variants and Actions */ |
20 | | -/* @noflip */ |
21 | | -div#narayam-menu { |
22 | | - direction: ltr; |
23 | | - float: left; |
24 | | - cursor: pointer; |
25 | | -} |
26 | | -div.narayam-menuFocus { |
27 | | - background-position: -22px 60%; |
28 | | -} |
29 | | -/* @noflip */ |
30 | | -body.rtl div#narayam-menu { |
31 | | - direction: rtl; |
32 | | -} |
33 | | -div#narayam-menu div.menu-items { |
34 | | - position: relative; |
35 | | - display: none; |
36 | | - clear: both; |
37 | | - text-align: left; |
38 | | - z-index: 99999; |
39 | | -} |
40 | | - |
41 | | -div#narayam-menu-items li { |
42 | | - margin: 0; |
43 | | - padding: 5px; |
44 | | - font-size: 100%; |
45 | | - float: none; |
46 | | - z-index: 99999; |
47 | | - |
48 | | -} |
49 | | -ul#imelist{ |
50 | | - padding: 5px; |
51 | | -} |
52 | | -/* OVERRIDDEN BY COMPLIANT BROWSERS */ |
53 | | -/* @noflip */ |
54 | | -body.rtl div#narayam-menu div.menu-items { |
55 | | - margin-left: 24px; |
56 | | -} |
57 | | -/* IGNORED BY IE6 */ |
58 | | -/* @noflip */ |
59 | | -body.rtl div#narayam-menu > div.menu-items { |
60 | | - margin-left: auto; |
61 | | -} |
62 | | -/* IGNORED BY IE6 */ |
63 | | -/* Also fixes old versions of FireFox */ |
64 | | -/* @noflip */ |
65 | | -body.rtl div#narayam-menu > div.menu-items, |
66 | | -x:-moz-any-link { |
67 | | - margin-left: 23px; |
68 | | -} |
69 | | -/* Enable forcing showing of the menu for accessibility */ |
70 | | -div#narayam-menu:hover div.menu-items, |
71 | | -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 | | -} |
143 | | - |
144 | | -li.narayam-more-imes-link { |
145 | | - /* @embed */ |
146 | | - background: url('../images/closed-ltr.png') no-repeat scroll left center transparent; |
147 | | -} |
148 | | - |
149 | | -li.narayam-more-imes-link.open { |
150 | | - /* @embed */ |
151 | | - background: url('../images/open.png') no-repeat scroll left center transparent; |
152 | | -} |
153 | | -li.narayam-more-imes-link a { |
154 | | - padding-left: 10px; |
155 | | -} |
Index: trunk/extensions/Narayam/css/ext.narayam.core-monobook.css |
— | — | @@ -1,3 +0,0 @@ |
2 | | -.narayam-wrapper select { |
3 | | - width: 9em; |
4 | | -} |
Index: trunk/extensions/Narayam/css/ext.narayam.core-modern.css |
— | — | @@ -1,34 +0,0 @@ |
2 | | -#p-personal { |
3 | | - /* #p-personal has overflow:hidden. That makes a dropdown menu appearing hidden. |
4 | | - * overriding it this way may not be the best way. |
5 | | - */ |
6 | | - overflow: visible !important; |
7 | | -} |
8 | | - |
9 | | -div#narayam-menu ul, |
10 | | -x:-moz-any-link { |
11 | | - min-width: 15em; |
12 | | - height: auto; |
13 | | -} |
14 | | - |
15 | | -div#narayam-menu li { |
16 | | - background-color: #FFFFFF; |
17 | | - font-weight: normal; |
18 | | - white-space: nowrap; |
19 | | - text-transform: none; |
20 | | - font-variant: normal; |
21 | | -} |
22 | | - |
23 | | -div#narayam-menu ul { |
24 | | - background-color: #FFFFFF; |
25 | | - border: solid 1px silver; |
26 | | - height: auto; |
27 | | -} |
28 | | - |
29 | | -div#narayam-menu li a:hover { |
30 | | - color: #0645AD; |
31 | | -} |
32 | | - |
33 | | -div#narayam-menu li:hover { |
34 | | - background-color: #FFFFFF; |
35 | | -} |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.ur.js |
— | — | @@ -0,0 +1,95 @@ |
| 2 | +/** |
| 3 | +Urdu key board layout |
| 4 | +Created By:Mohammed Imran Tabani |
| 5 | + */ |
| 6 | +var rules = [ |
| 7 | +['x', '', 'ف'], |
| 8 | +['_', '', '_'], |
| 9 | +['D', '', 'ڑ'], |
| 10 | +['E', '', 'ذ'], |
| 11 | +['F', '', 'ں'], |
| 12 | +['R', '', 'ڈ'], |
| 13 | +['G', '', 'ۂ'], |
| 14 | +['T', '', 'ث'], |
| 15 | +['\\+', '', '+'], |
| 16 | +['S', '', 'ز'], |
| 17 | +['W', '', 'ض'], |
| 18 | +['A', '', 'ژ'], |
| 19 | +['Q', '', 'ظ'], |
| 20 | +['k', '', 'ک'], |
| 21 | +['K', '', 'گ'], |
| 22 | +['i', '', 'ب'], |
| 23 | +['I', '', 'ـ'], |
| 24 | +['U', '', 'ۃ'], |
| 25 | +['\\;', '', '؛'], |
| 26 | +['\\:', '', ':'], |
| 27 | +['p', '', 'ح'], |
| 28 | +['P', '', 'خ'], |
| 29 | +['\\}', '', '{'], |
| 30 | +["'", '', '\''], |
| 31 | +['"', '', '"'], |
| 32 | +['\\[', '',']'], |
| 33 | +['\\{', '','{'], |
| 34 | +['C', '', 'ۓ'], |
| 35 | +['l', '', 'ی'], |
| 36 | +['L', '', 'ي'], |
| 37 | +['o', '', 'ج'], |
| 38 | +['O', '', 'چ'], |
| 39 | +['v', '', 'س'], |
| 40 | +['h', '', 'ہ'], |
| 41 | +['H', '', 'ء'], |
| 42 | +['y', '', 'پ'], |
| 43 | +['Y', '', 'ّ'], |
| 44 | +['c', '', 'ے'], |
| 45 | +['\\?', '','؟'], |
| 46 | +['j', '', 'ا'], |
| 47 | +['n', '', 'غ'], |
| 48 | +['N', '', 'ئ'], |
| 49 | +['b', '', 'ش'], |
| 50 | +['\\<', '','>'], |
| 51 | +['m', '', 'ع'], |
| 52 | +['u', '', 'ت'], |
| 53 | +['\\]', '','['], |
| 54 | +['e', '', 'ھ'], |
| 55 | +['f', '', 'ن'], |
| 56 | +['r', '', 'د'], |
| 57 | +['g', '', 'ل'], |
| 58 | +['t', '', 'ٹ'], |
| 59 | +['\\=', '','='], |
| 60 | +['\\\\', '', '\\'], |
| 61 | +['s', '', 'و'], |
| 62 | +['w', '', 'ص'], |
| 63 | +['a', '', 'م'], |
| 64 | +['q', '', 'ط'], |
| 65 | +['d', '', 'ر'], |
| 66 | +['\\|', '', '|'], |
| 67 | +['/', '', '/'], |
| 68 | +['\\>', '', '<'], |
| 69 | +['0', '','0'], |
| 70 | +['1', '','1'], |
| 71 | +['2', '', '2'], |
| 72 | +['3', '', '3'], |
| 73 | +['4', '', '4'], |
| 74 | +['5', '', '5'], |
| 75 | +['6', '', '6'], |
| 76 | +['7', '', '7'], |
| 77 | +['8', '', '8'], |
| 78 | +['9', '', '9'], |
| 79 | +['\\@', '', '@'], |
| 80 | +['\\#', '','#'], |
| 81 | +['\\$', '','$'], |
| 82 | +['\\%', '','٪'], |
| 83 | +['\\^', '','^'], |
| 84 | +['\\&', '', 'ۖ'], |
| 85 | +['\\*', '', '٭'], |
| 86 | +['\\(', '', '('], |
| 87 | +['\\)', '', ')'] |
| 88 | +]; |
| 89 | + |
| 90 | +jQuery.narayam.addScheme( 'ur', { |
| 91 | + 'namemsg': 'narayam-ur', |
| 92 | + 'extended_keyboard': false, |
| 93 | + 'lookbackLength': 0, |
| 94 | + 'keyBufferLength': 0, |
| 95 | + 'rules': rules |
| 96 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.ur.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 97 | + native |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.bn-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 129 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.de.js |
— | — | @@ -0,0 +1,24 @@ |
| 2 | +/** |
| 3 | + * German input method (umlauts and sz), using ~ as the compose key. |
| 4 | + * @author Erik Moeller ([[User:Eloquence]]) |
| 5 | + * @date 2011-11-20 |
| 6 | + * License: Public domain |
| 7 | + */ |
| 8 | + |
| 9 | +(function() { |
| 10 | + |
| 11 | +var rules = []; |
| 12 | +var chars = {A: 'Ä', O: 'Ö', U: 'Ü', a: 'ä', o: 'ö', u: 'ü', s: 'ß', S: 'ß'}; |
| 13 | +jQuery.each( chars, function( ascii, special ) { |
| 14 | + rules.push( [ '~' + ascii, '~' , special ] ); |
| 15 | +}); |
| 16 | + |
| 17 | +jQuery.narayam.addScheme( 'de', { |
| 18 | + 'namemsg': 'narayam-de', |
| 19 | + 'extended_keyboard': false, |
| 20 | + 'lookbackLength': 1, |
| 21 | + 'keyBufferLength': 1, |
| 22 | + 'rules': rules |
| 23 | +} ); |
| 24 | + |
| 25 | +})(jQuery); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.de.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 26 | + native |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.hi-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 126 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.pa-inscript.js |
— | — | @@ -0,0 +1,98 @@ |
| 2 | +/** |
| 3 | + * Transliteration regular expression rules table for Punjabi |
| 4 | + * @date 2011-11-19 |
| 5 | + * Based on http://fedoraproject.org/wiki/I18N/Indic/PunjabiKeyboardLayouts |
| 6 | + */ |
| 7 | + |
| 8 | + // Normal rules |
| 9 | +var rules = [ |
| 10 | + |
| 11 | + ['1', '','੧'], |
| 12 | + ['2', '','੨'], |
| 13 | + ['3', '','੩'], |
| 14 | + ['4', '','੪'], |
| 15 | + ['5', '','੫'], |
| 16 | + ['6', '','੬'], |
| 17 | + ['7', '','੭'], |
| 18 | + ['8', '','੮'], |
| 19 | + ['9', '','੯'], |
| 20 | + ['0', '','੦'], |
| 21 | + ['\\_', '','_'], |
| 22 | + ['\\-', '','-'], |
| 23 | + ['\\+', '','+'], |
| 24 | + ['\\=', '','='], |
| 25 | + ['Q', '','ਔ'], |
| 26 | + ['q', '','ੌ'], |
| 27 | + ['W', '','ਐ'], |
| 28 | + ['w', '','ੈ'], |
| 29 | + ['E', '','ਆ'], |
| 30 | + ['e', '','ਾ'], |
| 31 | + ['R', '','ਈ'], |
| 32 | + ['r', '','ੀ'], |
| 33 | + ['T', '','ਊ'], |
| 34 | + ['t', '','ੂ'], |
| 35 | + ['Y', '','ਭ'], |
| 36 | + ['y', '','ਬ'], |
| 37 | + ['U', '','ਙ'], |
| 38 | + ['u', '','ਹ'], |
| 39 | + ['I', '','ਘ'], |
| 40 | + ['i', '','ਗ'], |
| 41 | + ['O', '','ਧ'], |
| 42 | + ['o', '','ਦ'], |
| 43 | + ['P', '','ਝ'], |
| 44 | + ['p', '','ਜ'], |
| 45 | + ['\\{', '','ਢ'], |
| 46 | + ['\\[', '','ਡ'], |
| 47 | + ['\\}', '','ਞ'], |
| 48 | + ['\\]', '','਼'], |
| 49 | + ['A', '','ਓ'], |
| 50 | + ['a', '','ੋ'], |
| 51 | + ['S', '','ਏ'], |
| 52 | + ['s', '','ੇ'], |
| 53 | + ['D', '','ਅ'], |
| 54 | + ['d', '','੍'], |
| 55 | + ['F', '','ਇ'], |
| 56 | + ['f', '','ਿ'], |
| 57 | + ['G', '','ਉ'], |
| 58 | + ['g', '','ੁ'], |
| 59 | + ['H', '','ਫ'], |
| 60 | + ['h', '','ਪ'], |
| 61 | + ['J', '','ੜ'], |
| 62 | + ['j', '','ਰ'], |
| 63 | + ['K', '','ਖ'], |
| 64 | + ['k', '','ਕ'], |
| 65 | + ['L', '','ਥ'], |
| 66 | + ['l', '','ਤ'], |
| 67 | + ['\\:', '','ਛ'], |
| 68 | + ['\\;', '','ਚ'], |
| 69 | + ['\\"', '','ਠ'], |
| 70 | + ["'", '','ਟ'], |
| 71 | + ['Z', '','ੱ'], |
| 72 | + ['z', '','ੰ'], |
| 73 | + ['X', '','ਫ਼'], |
| 74 | + ['x', '','ਜ਼'], |
| 75 | + ['C', '','ਣ'], |
| 76 | + ['c', '','ਮ'], |
| 77 | + ['V', '','ਂ'], |
| 78 | + ['v', '','ਨ'], |
| 79 | + ['B', '','ਞ'], |
| 80 | + ['b', '','ਵ'], |
| 81 | + ['N', '','ਲ਼'], |
| 82 | + ['n', '','ਲ'], |
| 83 | + ['M', '','ਸ਼'], |
| 84 | + ['m', '','ਸ'], |
| 85 | + ['\\<', '','ੳ'], |
| 86 | + [',', '',','], |
| 87 | + ['\\>', '','ੲ'], |
| 88 | + ['\\.', '','.'], |
| 89 | + ['\\?', '','?'], |
| 90 | + ['/', '','ਯ'] |
| 91 | +]; |
| 92 | + |
| 93 | +jQuery.narayam.addScheme( 'pa-inscript', { |
| 94 | + 'namemsg': 'narayam-pa-inscript', |
| 95 | + 'extended_keyboard': true, |
| 96 | + 'lookbackLength': 0, |
| 97 | + 'keyBufferLength': 0, |
| 98 | + 'rules': rules |
| 99 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.pa-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 100 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.si-singlish.js |
— | — | @@ -0,0 +1,111 @@ |
| 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', '', 'ඳ'], // nndha |
| 13 | +['ඬ්h', '', 'ඳ්'], // nndh |
| 14 | +['න්න්d', '', 'ඬ්'], // nnd |
| 15 | +['න්න්g', '', 'ඟ්'], // nng |
| 16 | +['ශ්රිi', '', 'ශ්රී'], // shrii |
| 17 | +['ශ්රi', '', 'ශ්රි'], // shri |
| 18 | +['ශ්r', '', 'ශ්ර'], // shr |
| 19 | + |
| 20 | +['([\\u0D9A-\\u0DC6])්\\u200Dර්u', '', '$1ෘ'], // <consonant>ru |
| 21 | +['([\\u0D9A-\\u0DC6])ෘu', '', '$1ෲ'], // <consonant>ruu |
| 22 | + |
| 23 | +['([\\u0D9A-\\u0DC6])්a', '', '$1'], // <consonant>a |
| 24 | +['([\\u0D9A-\\u0DC6])a', '', '$1ා'], // <consonant>aa |
| 25 | +['([\\u0D9A-\\u0DC6])්A', '', '$1ැ'], // <consonant>A |
| 26 | +['([\\u0D9A-\\u0DC6])ැa', '', '$1ෑ'], // <consonant>Aa |
| 27 | +['([\\u0D9A-\\u0DC6])්i', '', '$1ි'], // <consonant>i |
| 28 | +['([\\u0D9A-\\u0DC6])ි[ei]', '', '$1ී'], // <consonant>ie |
| 29 | +['([\\u0D9A-\\u0DC6])්u', '', '$1ු'], // <consonant>u |
| 30 | +['([\\u0D9A-\\u0DC6])ුu', '', '$1ූ'], // <consonant>u |
| 31 | +['([\\u0D9A-\\u0DC6])්e', '', '$1ෙ'], // <consonant>e |
| 32 | +['([\\u0D9A-\\u0DC6])ෙ[ai]', '', '$1ේ'], // <consonant>ei |
| 33 | +['([\\u0D9A-\\u0DC6])්o', '', '$1ො'], // <consonant>o |
| 34 | +['([\\u0D9A-\\u0DC6])ොe', '', '$1ෝ'], // <consonant>oe |
| 35 | +['([\\u0D9A-\\u0DC6])u', '', '$1ෞ'], // <consonant>au |
| 36 | +['([\\u0D9A-\\u0DC6])්I', '', '$1ෛ'], // <consonant>I |
| 37 | + |
| 38 | +['([\\u0D9A-\\u0DC6]්)r', '', '$1\u200Dර්'], // <consonant>r |
| 39 | + |
| 40 | +['ළුu', '', 'ළුු'], // Luu |
| 41 | + |
| 42 | +['(ක්h|K)', '', 'ඛ්'], // kh K |
| 43 | +['(ග්h|G)', '', 'ඝ්'], // gh G |
| 44 | +['ස්h', '', 'ශ්'], // sh |
| 45 | +['ch', '', 'ච්'], |
| 46 | +['Ch', '', 'ඡ්'], |
| 47 | +['Sh', '', 'ෂ්'], |
| 48 | +['ඝ්N', '', 'ඥ්'], // GN |
| 49 | +['ඨ්h', '', 'ථ්'], // Th |
| 50 | +['ඛ්N', '', 'ඤ්'], // KN |
| 51 | +['ට්h', '', 'ත්'], // th |
| 52 | +['ඪ්h', '', 'ධ්'], // Dh |
| 53 | +['ඩ්h', '', 'ද්'], // dh |
| 54 | +['(ප්h|P)', '', 'ඵ්'], // ph P |
| 55 | +['ළ්u', '', 'ළු'], // Lu |
| 56 | +['බ්h', '', 'භ්'], // bh |
| 57 | + |
| 58 | +['(\\\\r|R)', '', 'ර්'], // \r R |
| 59 | +['(\\\\y|Y)', '', 'ය්'], // \y Y |
| 60 | + |
| 61 | + |
| 62 | +['අ(a|\\))', '', 'ආ'], // aa a) |
| 63 | +['ඇ(a|\\))', '', 'ඈ'], // Aa A) ae |
| 64 | +['(ඉ[i\\)e]|එe)', '', 'ඊ'], // ii i) ie ee |
| 65 | +['එ[a\\)i]', '', 'ඒ'], // ea e) ei |
| 66 | +['ඔ[e\\)]', '', 'ඕ'], // oe o) |
| 67 | +['(උ[u\\)]|ඔo)', '', 'ඌ'], // uu u) oo |
| 68 | +['අu', '', 'ඖ'], // au |
| 69 | + |
| 70 | +['\\\\n', '', 'ං'], |
| 71 | +['\\\\h', '', 'ඃ'], |
| 72 | +['\\\\N', '', 'ඞ'], |
| 73 | +['\\\\R', '', 'ඍ'], |
| 74 | + |
| 75 | +['a', '', 'අ'], |
| 76 | +['A', '', 'ඇ'], |
| 77 | +['i', '', 'ඉ'], |
| 78 | +['e', '', 'එ'], |
| 79 | +['o', '', 'ඔ'], |
| 80 | +['u', '', 'උ'], |
| 81 | + |
| 82 | +['k', '', 'ක්'], |
| 83 | +['b', '', 'බ්'], |
| 84 | +['B', '', 'ඹ්'], |
| 85 | +['g', '', 'ග්'], |
| 86 | +['m', '', 'ම්'], |
| 87 | +['y', '', 'ය්'], |
| 88 | +['j', '', 'ජ්'], |
| 89 | +['r', '', 'ර්'], |
| 90 | +['T', '', 'ඨ්'], |
| 91 | +['f', '', 'ෆ්'], |
| 92 | +['t', '', 'ට්'], |
| 93 | +['l', '', 'ල්'], |
| 94 | +['D', '', 'ඪ්'], |
| 95 | +['d', '', 'ඩ්'], |
| 96 | +['(w|v)', '', 'ව්'], |
| 97 | +['s', '', 'ස්'], |
| 98 | +['q', '', 'ඣ්'], |
| 99 | +['h', '', 'හ්'], |
| 100 | +['n', '', 'න්'], |
| 101 | +['N', '', 'ණ්'], |
| 102 | +['p', '', 'ප්'], |
| 103 | +['L', '', 'ළ්'] |
| 104 | +]; |
| 105 | + |
| 106 | +jQuery.narayam.addScheme( 'si-singlish', { |
| 107 | + 'namemsg': 'narayam-si-singlish', |
| 108 | + 'extended_keyboard': false, |
| 109 | + 'lookbackLength': 5, |
| 110 | + 'keyBufferLength': 2, |
| 111 | + 'rules': rules |
| 112 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.si-singlish.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 113 | + native |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.ne-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 120 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.core-monobook.css |
— | — | @@ -0,0 +1,3 @@ |
| 2 | +.narayam-wrapper select { |
| 3 | + width: 9em; |
| 4 | +} |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.core-monobook.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 5 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.core-modern.css |
— | — | @@ -0,0 +1,34 @@ |
| 2 | +#p-personal { |
| 3 | + /* #p-personal has overflow:hidden. That makes a dropdown menu appearing hidden. |
| 4 | + * overriding it this way may not be the best way. |
| 5 | + */ |
| 6 | + overflow: visible !important; |
| 7 | +} |
| 8 | + |
| 9 | +div#narayam-menu ul, |
| 10 | +x:-moz-any-link { |
| 11 | + min-width: 15em; |
| 12 | + height: auto; |
| 13 | +} |
| 14 | + |
| 15 | +div#narayam-menu li { |
| 16 | + background-color: #FFFFFF; |
| 17 | + font-weight: normal; |
| 18 | + white-space: nowrap; |
| 19 | + text-transform: none; |
| 20 | + font-variant: normal; |
| 21 | +} |
| 22 | + |
| 23 | +div#narayam-menu ul { |
| 24 | + background-color: #FFFFFF; |
| 25 | + border: solid 1px silver; |
| 26 | + height: auto; |
| 27 | +} |
| 28 | + |
| 29 | +div#narayam-menu li a:hover { |
| 30 | + color: #0645AD; |
| 31 | +} |
| 32 | + |
| 33 | +div#narayam-menu li:hover { |
| 34 | + background-color: #FFFFFF; |
| 35 | +} |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.core-modern.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 36 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.am.js |
— | — | @@ -0,0 +1,442 @@ |
| 2 | +/** |
| 3 | + * Transliteration regular expression rules table for Amharic script |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2011-10-08 |
| 6 | + * @credits Referring http://www.lexilogos.com/keyboard/amharic.htm and helps from Sisay |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | +var rules = [ |
| 11 | +['\\\\([A-Za-z\\>\\<_~ ])','\\\\','$1'], // include space also |
| 12 | + |
| 13 | +['፼0', '', '፲፼'], // 10000 and 0 becomes 10 10000 |
| 14 | +['፲፻0', '', '፼'], // 10x100 and 0 becomes 10000 |
| 15 | +['፻0', '', '፲፻'], // NUM_100 and 0 becomes 10 and 100 |
| 16 | + |
| 17 | +['፻0', '', '፲፻'], // 1000 |
| 18 | + |
| 19 | +['፳0', '', '፪፻'], // 200 |
| 20 | +['፴0', '', '፫፻'], // 300 |
| 21 | +['፵0', '', '፬፻'], // 400 |
| 22 | +['፶0', '', '፭፻'], // 500 |
| 23 | +['፷0', '', '፮፻'], // 600 |
| 24 | +['፸0', '', '፯፻'], // 700 |
| 25 | +['፹0', '', '፰፻'], // 800 |
| 26 | +['፺0', '', '፱፻'], // 900 |
| 27 | + |
| 28 | +['ጕe', '', 'ጐ'], // gwe |
| 29 | +['ጕi', '', 'ጒ'], // gwi |
| 30 | +// removed |
| 31 | +['ጐe', '', 'ጔ'], // gwee |
| 32 | + |
| 33 | +['ዅe', '', 'ዀ'], // kxwe |
| 34 | +['ዅi', '', 'ዂ'], // kxwi |
| 35 | +['(ኻ|ኹ|ዅ)a', '', 'ዃ'], // kxwa |
| 36 | +['ዀe', '', 'ዄ'], // kxwee |
| 37 | + |
| 38 | +['ኵe', '', 'ኰ'], // kwe |
| 39 | +['ኵi', '', 'ኲ'], // kwi |
| 40 | +// removed |
| 41 | +['ኰe', '', 'ኴ'], // kwee |
| 42 | + |
| 43 | +['ኍe', '', 'ኈ'], // xwe |
| 44 | +['ኍi', '', 'ኊ'], // xwi |
| 45 | +// removed |
| 46 | +['ኈe', '', 'ኌ'], // xwee |
| 47 | + |
| 48 | +['ቝe', '', 'ቘ'], // qhwe |
| 49 | +['ቝi', '', 'ቚ'], // qhwi |
| 50 | +['ቝa', '', 'ቛ'], // qhwa |
| 51 | +['ቘe', '', 'ቜ'], // qhwee |
| 52 | + |
| 53 | +['ቍe', '', 'ቈ'], // qwe |
| 54 | +['ቍi', '', 'ቊ'], // qwi |
| 55 | +// removed |
| 56 | +['ቈe', '', 'ቌ'], // qwee |
| 57 | + |
| 58 | +['ፕe', '', 'ፐ'], // pe |
| 59 | +['ፕu', '', 'ፑ'], // pu |
| 60 | +['ፕi', '', 'ፒ'], // pi |
| 61 | +['ፕa', '', 'ፓ'], // pa |
| 62 | +['(ፓ|ፐ|ፒ)e', '', 'ፔ'], // pee |
| 63 | +['ፕo', '', 'ፖ'], // po |
| 64 | +['(ፓ|ፑ|ፕው)a', '', 'ፗ'], // paa or pua or pwa |
| 65 | + |
| 66 | +['ፍe', '', 'ፈ'], // fe |
| 67 | +['ፍu', '', 'ፉ'], // fu |
| 68 | +['ፍi', '', 'ፊ'], // fi |
| 69 | +['ፍa', '', 'ፋ'], // fa |
| 70 | +['(ፋ|ፈ|ፊ)e', '', 'ፌ'], // fee |
| 71 | +['ፍo', '', 'ፎ'], // fo |
| 72 | +['(ፋ|ፉ|ፍው)a', '', 'ፏ'], // faa or fua or fwa |
| 73 | + |
| 74 | +['ፅe', '', 'ፀ'], // tze |
| 75 | +['ፅu', '', 'ፁ'], // tzu |
| 76 | +['ፅi', '', 'ፂ'], // tzi |
| 77 | +['ፅa', '', 'ፃ'], // tza |
| 78 | +['(ፃ|ፀ|ፂ)e', '', 'ፄ'], // tzee |
| 79 | +['ፅo', '', 'ፆ'], // tzo |
| 80 | +['(ፃ|ፁ|ፅው)a', '', 'ፇ'], // tzaa or tzua or tzwa |
| 81 | + |
| 82 | +['ጽe', '', 'ጸ'], // tse |
| 83 | +['ጽu', '', 'ጹ'], // tsu |
| 84 | +['ጽi', '', 'ጺ'], // tsi |
| 85 | +['ጽa', '', 'ጻ'], // tsa |
| 86 | +['(ጻ|ጸ|ጺ)e', '', 'ጼ'], // tsee |
| 87 | +['ጽo', '', 'ጾ'], // tso |
| 88 | +['(ጻ|ጹ|ጽው)a', '', 'ጿ'], // tsaa or tsua or tswa |
| 89 | + |
| 90 | +['ጵe', '', 'ጰ'], // phe or ppe (ph is alias for pp) |
| 91 | +['ጵu', '', 'ጱ'], // phu |
| 92 | +['ጵi', '', 'ጲ'], // phi |
| 93 | +['ጵa', '', 'ጳ'], // pha |
| 94 | +['(ጳ|ጰ|ጲ)e', '', 'ጴ'], // phee |
| 95 | +['ጵo', '', 'ጶ'], // pho |
| 96 | +['(ጳ|ጱ|ጵው)a', '', 'ጷ'], // phaa or phua or phwa |
| 97 | + |
| 98 | +['ጭe', '', 'ጨ'], // che |
| 99 | +['ጭu', '', 'ጩ'], // chu |
| 100 | +['ጭi', '', 'ጪ'], // chi |
| 101 | +['ጭa', '', 'ጫ'], // cha |
| 102 | +['(ጫ|ጨ|ጪ)e', '', 'ጬ'], // chee |
| 103 | +['ጭo', '', 'ጮ'], // cho |
| 104 | +['(ጫ|ጩ|ጭው)a', '', 'ጯ'], // chaa or chua or chwa |
| 105 | + |
| 106 | +['ጥe', '', 'ጠ'], // the or tte (th is alias for tt) |
| 107 | +['ጥu', '', 'ጡ'], // thu |
| 108 | +['ጥi', '', 'ጢ'], // thi |
| 109 | +['ጥa', '', 'ጣ'], // tha |
| 110 | +['(ጣ|ጠ|ጢ)e', '', 'ጤ'], // thee |
| 111 | +['ጥo', '', 'ጦ'], // tho |
| 112 | +['(ጣ|ጡ|ጥው)a', '', 'ጧ'], // thaa or thua or thwa |
| 113 | + |
| 114 | +['ጝe', '', 'ጘ'], // gge |
| 115 | +['ጝu', '', 'ጙ'], // ggu |
| 116 | +['ጝi', '', 'ጚ'], // ggi |
| 117 | +['ጝa', '', 'ጛ'], // gga |
| 118 | +['(ጛ|ጘ|ጚ)e', '', 'ጜ'], // ggee |
| 119 | +['ጝo', '', 'ጞ'], // ggo |
| 120 | +['(ጛ|ጙ|ጝው)a', '', 'ጟ'], // ggaa or ggua or ggwa |
| 121 | + |
| 122 | +['ግe', '', 'ገ'], // ge |
| 123 | +['ግu', '', 'ጉ'], // gu |
| 124 | +['ግi', '', 'ጊ'], // gi |
| 125 | +['ግa', '', 'ጋ'], // ga |
| 126 | +['(ጋ|ገ|ጊ)e', '', 'ጌ'], // gee |
| 127 | +['ግo', '', 'ጎ'], // go |
| 128 | +['(ጋ|ጉ|ጕ)a', '', 'ጓ'], // gaa or gua or gaa |
| 129 | + |
| 130 | +['ጅe', '', 'ጀ'], // je |
| 131 | +['ጅu', '', 'ጁ'], // ju |
| 132 | +['ጅi', '', 'ጂ'], // ji |
| 133 | +['ጅa', '', 'ጃ'], // ja |
| 134 | +['(ጃ|ጀ|ጂ)e', '', 'ጄ'], // jee |
| 135 | +['ጅo', '', 'ጆ'], // jo |
| 136 | +['(ጃ|ጁ|ጅው)a', '', 'ጇ'], // jaa or jua or jwa |
| 137 | + |
| 138 | +['ዽe', '', 'ዸ'], // dde |
| 139 | +['ዽu', '', 'ዹ'], // ddu |
| 140 | +['ዽi', '', 'ዺ'], // ddi |
| 141 | +['ዽa', '', 'ዻ'], // dda |
| 142 | +['(ዻ|ዸ|ዺ)e', '', 'ዼ'], // ddee |
| 143 | +['ዽo', '', 'ዾ'], // ddo |
| 144 | +['(ዻ|ዹ|ዽው)a', '', 'ዿ'], // ddaa or ddua or ddwa |
| 145 | + |
| 146 | +['ድe', '', 'ደ'], // de |
| 147 | +['ድu', '', 'ዱ'], // du |
| 148 | +['ድi', '', 'ዲ'], // di |
| 149 | +['ድa', '', 'ዳ'], // da |
| 150 | +['(ዳ|ደ|ዲ)e', '', 'ዴ'], // dee |
| 151 | +['ድo', '', 'ዶ'], // do |
| 152 | +['(ዳ|ዱ|ድው)a', '', 'ዷ'], // daa or dua or dwa |
| 153 | + |
| 154 | +['ይe', '', 'የ'], // ye |
| 155 | +['ይu', '', 'ዩ'], // yu |
| 156 | +['ይi', '', 'ዪ'], // yi |
| 157 | +['ይa', '', 'ያ'], // ya |
| 158 | +['(ያ|የ|ዪ)e', '', 'ዬ'], // yee |
| 159 | +['ይo', '', 'ዮ'], // yo |
| 160 | +['(ያ|ዩ|ይው)a', '', 'ዯ'], // yaa or yua or ywa |
| 161 | + |
| 162 | +['ዥe', '', 'ዠ'], // zhe or zze (zh is alias for zz) |
| 163 | +['ዥu', '', 'ዡ'], // zhu |
| 164 | +['ዥi', '', 'ዢ'], // zhi |
| 165 | +['ዥa', '', 'ዣ'], // zha |
| 166 | +['(ዣ|ዠ|ዢ)e', '', 'ዤ'], // zhee |
| 167 | +['ዥo', '', 'ዦ'], // zho |
| 168 | +['(ዣ|ዡ|ዥው)a', '', 'ዧ'], // zhaa or zhua or zhwa |
| 169 | + |
| 170 | +['ዝe', '', 'ዘ'], // ze |
| 171 | +['ዝu', '', 'ዙ'], // zu |
| 172 | +['ዝi', '', 'ዚ'], // zi |
| 173 | +['ዝa', '', 'ዛ'], // za |
| 174 | +['(ዛ|ዘ|ዚ)e', '', 'ዜ'], // zee |
| 175 | +['ዝo', '', 'ዞ'], // zo |
| 176 | +['(ዛ|ዙ|ዝው)a', '', 'ዟ'], // zaa or zua or zwa |
| 177 | + |
| 178 | +['ዕe', '', 'ዐ'], // "e |
| 179 | +['ዕu', '', 'ዑ'], // "u |
| 180 | +['ዕi', '', 'ዒ'], // "i |
| 181 | +['ዕa', '', 'ዓ'], // "a |
| 182 | +['(ዓ|ዐ|ዒ)e', '', 'ዔ'], // "ee |
| 183 | +['ዕo', '', 'ዖ'], // "o |
| 184 | + |
| 185 | +['ኽe', '', 'ኸ'], // kxe |
| 186 | +['ኽu', '', 'ኹ'], // kxu |
| 187 | +['ኽi', '', 'ኺ'], // kxi |
| 188 | +['ኽa', '', 'ኻ'], // kxa |
| 189 | +['(ኻ|ኸ|ኺ)e', '', 'ኼ'], // kxee |
| 190 | +['ኽo', '', 'ኾ'], // kxo |
| 191 | + |
| 192 | +['ክe', '', 'ከ'], // ke |
| 193 | +['ክu', '', 'ኩ'], // ku |
| 194 | +['ክi', '', 'ኪ'], // ki |
| 195 | +['ክa', '', 'ካ'], // ka |
| 196 | +['(ካ|ከ|ኪ)e', '', 'ኬ'], // kee |
| 197 | +['ክo', '', 'ኮ'], // ko |
| 198 | +['(ካ|ኩ|ኵ)a', '', 'ኳ'], // kaa or kua or kwa |
| 199 | + |
| 200 | +['እe', "'", 'አ'], // 'e |
| 201 | +['እu', "'", 'ኡ'], // 'u |
| 202 | +['እi', "'", 'ኢ'], // 'i |
| 203 | +['እa', "'", 'ኣ'], // 'a |
| 204 | +['አe', "'", 'ኤ'], // 'ee |
| 205 | +['እo', "'", 'ኦ'], // 'o |
| 206 | +['(ኣ|ኡ|እው)a', "'[auw]", 'ኧ'], // 'aa or 'ua or 'wa |
| 207 | + |
| 208 | +['ኝe', '', 'ኘ'], // Ne or nne (N is alias for nn) |
| 209 | +['ኝu', '', 'ኙ'], // Nu |
| 210 | +['ኝi', '', 'ኚ'], // Ni |
| 211 | +['ኝa', '', 'ኛ'], // Na |
| 212 | +['(ኛ|ኘ|ኚ)e', '', 'ኜ'], // Nee |
| 213 | +['ኝo', '', 'ኞ'], // No |
| 214 | +['(ኛ|ኙ|ኝው)a', '', 'ኟ'], // Naa or Nua or Nwa |
| 215 | + |
| 216 | +['ንe', '', 'ነ'], // ne |
| 217 | +['ንu', '', 'ኑ'], // nu |
| 218 | +['ንi', '', 'ኒ'], // ni |
| 219 | +['ንa', '', 'ና'], // na |
| 220 | +['(ና|ነ|ኒ)e', '', 'ኔ'], // nee |
| 221 | +['ንo', '', 'ኖ'], // no |
| 222 | +['(ና|ኑ|ንው)a', '', 'ኗ'], // naa or nua or nwa |
| 223 | + |
| 224 | +['ኅe', '', 'ኀ'], // xe |
| 225 | +['ኅu', '', 'ኁ'], // xu |
| 226 | +['ኅi', '', 'ኂ'], // xi |
| 227 | +['ኅa', '', 'ኃ'], // xa |
| 228 | +['(ኃ|ኀ|ኂ)e', '', 'ኄ'], // xee |
| 229 | +['ኅo', '', 'ኆ'], // xo |
| 230 | +['(ኃ|ኁ|ኍ)a', '', 'ኍ'], // xaa or xua or xwa |
| 231 | + |
| 232 | +['ችe', '', 'ቸ'], // ce |
| 233 | +['ችu', '', 'ቹ'], // cu |
| 234 | +['ችi', '', 'ቺ'], // ci |
| 235 | +['ችa', '', 'ቻ'], // ca |
| 236 | +['(ቻ|ቸ|ቺ)e', '', 'ቼ'], // cee |
| 237 | +['ችo', '', 'ቾ'], // co |
| 238 | +['(ቻ|ቹ|ችው)a', '', 'ቿ'], // caa or cua or cwa |
| 239 | + |
| 240 | +['ትe', '', 'ተ'], // te |
| 241 | +['ትu', '', 'ቱ'], // tu |
| 242 | +['ትi', '', 'ቲ'], // ti |
| 243 | +['ትa', '', 'ታ'], // ta |
| 244 | +['(ታ|ተ|ቲ)e', '', 'ቴ'], // tee |
| 245 | +['ትo', '', 'ቶ'], // to |
| 246 | +['(ታ|ቱ|ትው)a', '', 'ቷ'], // taa or tua or twa |
| 247 | + |
| 248 | +['ቭe', '', 'ቨ'], // ve |
| 249 | +['ቭu', '', 'ቩ'], // vu |
| 250 | +['ቭi', '', 'ቪ'], // vi |
| 251 | +['ቭa', '', 'ቫ'], // va |
| 252 | +['(ቫ|ቨ|ቪ)e', '', 'ቬ'], // vee |
| 253 | +['ቭo', '', 'ቮ'], // vo |
| 254 | +['(ቫ|ቩ|ቭው)a', '', 'ቯ'], // vaa or vua or vwa |
| 255 | + |
| 256 | +['ብe', '', 'በ'], // be |
| 257 | +['ብu', '', 'ቡ'], // bu |
| 258 | +['ብi', '', 'ቢ'], // bi |
| 259 | +['ብa', '', 'ባ'], // ba |
| 260 | +['(ባ|በ|ቢ)e', '', 'ቤ'], // bee |
| 261 | +['ብo', '', 'ቦ'], // bo |
| 262 | +['(ባ|ቡ|ብው)a', '', 'ቧ'], // baa or bua or bwa |
| 263 | + |
| 264 | +['ቕe', '', 'ቐ'], // qhe |
| 265 | +['ቕu', '', 'ቑ'], // qhu |
| 266 | +['ቕi', '', 'ቒ'], // qhi |
| 267 | +['ቕa', '', 'ቓ'], // qha |
| 268 | +['(ቓ|ቐ|ቒ)e', '', 'ቔ'], // qhee |
| 269 | +['ቕo', '', 'ቖ'], // qho |
| 270 | + |
| 271 | +['ቅe', '', 'ቀ'], // qe |
| 272 | +['ቅu', '', 'ቁ'], // qu |
| 273 | +['ቅi', '', 'ቂ'], // qi |
| 274 | +['ቅa', '', 'ቃ'], // qa |
| 275 | +['(ቃ|ቀ|ቂ)e', '', 'ቄ'], // qee |
| 276 | +['ቅo', '', 'ቆ'], // qo |
| 277 | +['(ቃ|ቁ|ቍ)a', '', 'ቋ'], // qaa or qua or qwa |
| 278 | + |
| 279 | +['ሽe', '', 'ሸ'], // she |
| 280 | +['ሽu', '', 'ሹ'], // shu |
| 281 | +['ሽi', '', 'ሺ'], // shi |
| 282 | +['ሽa', '', 'ሻ'], // sha |
| 283 | +['(ሻ|ሸ|ሺ)e', '', 'ሼ'], // shae,shee,shie |
| 284 | +['ሽo', '', 'ሾ'], // sho |
| 285 | +['(ሻ|ሹ|ሽው)a', '', 'ሿ'], // shaa or shua or shwa |
| 286 | + |
| 287 | +['ስe', '', 'ሰ'], // se |
| 288 | +['ስu', '', 'ሱ'], // su |
| 289 | +['ስi', '', 'ሲ'], // si |
| 290 | +['ስa', '', 'ሳ'], // sa |
| 291 | +['(ሳ|ሰ|ሲ)e', '', 'ሴ'], // sae,see,sie |
| 292 | +['ስo', '', 'ሶ'], // so |
| 293 | +['(ሳ|ሱ|ስው)a', '', 'ሷ'], // saa or sua or swa |
| 294 | + |
| 295 | +['ርe', '', 'ረ'], // re |
| 296 | +['ርu', '', 'ሩ'], // ru |
| 297 | +['ርi', '', 'ሪ'], // ri |
| 298 | +['ርa', '', 'ራ'], // ra |
| 299 | +['(ራ|ረ|ሪ)e', '', 'ሬ'], // rae,ree,rie |
| 300 | +['ርo', '', 'ሮ'], // ro |
| 301 | +['(ራ|ሩ|ርው)a', '', 'ሯ'], // raa or rua or rwa |
| 302 | + |
| 303 | +['ሥe', '', 'ሠ'], // sze or sse (sz is alias for ss) |
| 304 | +['ሥu', '', 'ሡ'], // szu |
| 305 | +['ሥi', '', 'ሢ'], // szi |
| 306 | +['ሥa', '', 'ሣ'], // sza |
| 307 | +['(ሣ|ሠ|ሢ)e', '', 'ሤ'], // szae,szee,szie |
| 308 | +['ሥo', '', 'ሦ'], // szo |
| 309 | +['(ሣ|ሡ|ሥው)a', '', 'ሧ'], // szaa or szua or szwa |
| 310 | + |
| 311 | +['ምe', '', 'መ'], // me |
| 312 | +['ምu', '', 'ሙ'], // mu |
| 313 | +['ምi', '', 'ሚ'], // mi |
| 314 | +['ምa', '', 'ማ'], // ma |
| 315 | +['(ማ|መ|ሚ)e', '', 'ሜ'], // mae,mee,mie |
| 316 | +['ምo', '', 'ሞ'], // mo |
| 317 | +['(ማ|ሙ|ምው)a', '', 'ሟ'], // maa or mua or mwa |
| 318 | + |
| 319 | +['ሕe', '', 'ሐ'], // hhe |
| 320 | +['ሕu', '', 'ሑ'], // hhu |
| 321 | +['ሕi', '', 'ሒ'], // hhi |
| 322 | +['ሕa', '', 'ሓ'], // hha |
| 323 | +['(ሓ|ሐ|ሒ)e', '', 'ሔ'], // hhae,hhee,hhie |
| 324 | +['ሕo', '', 'ሖ'], // hho |
| 325 | +['(ሓ|ሑ|ሕው)a', '', 'ሗ'], // hhaa or hhua or hhwa |
| 326 | + |
| 327 | +['ልe', '', 'ለ'], // le |
| 328 | +['ልu', '', 'ሉ'], // lu |
| 329 | +['ልi', '', 'ሊ'], // li |
| 330 | +['ልa', '', 'ላ'], // la |
| 331 | +['(ላ|ለ|ሊ)e', '', 'ሌ'], // lae,lee,lie |
| 332 | +['ልo', '', 'ሎ'], // lo |
| 333 | +['(ላ|ሉ|ልው)a', '', 'ሏ'], // laa or lua or lwa |
| 334 | + |
| 335 | +['ህe', '', 'ሀ'], // he |
| 336 | +['ህu', '', 'ሁ'], // hu |
| 337 | +['ህi', '', 'ሂ'], // hi |
| 338 | +['ህa', '', 'ሃ'], // ha |
| 339 | +['(ሃ|ሀ|ሂ)e', '', 'ሄ'], // hae,hee,hie |
| 340 | +['ህo', '', 'ሆ'], // ho |
| 341 | + |
| 342 | +['ውe', '', 'ወ'], // we |
| 343 | +['ውu', '', 'ዉ'], // wu |
| 344 | +['ውi', '', 'ዊ'], // wi |
| 345 | +['ውa', '', 'ዋ'], // wa |
| 346 | +['(ዋ|ወ|ዊ)e', '', 'ዌ'], // wae,wee,wie |
| 347 | +['ውo', '', 'ዎ'], // wo |
| 348 | + |
| 349 | +['አa', '', 'ኣ'], // aa |
| 350 | +['(አ|እ|ኢ)e', '', 'ኤ'], // ae or ee or ie |
| 351 | +['(እ|አ)h', '', 'ኧ'], // eh or eeh |
| 352 | + |
| 353 | +['ህh', '', 'ሕ'], // hh |
| 354 | +['ስ(s|z)', '', 'ሥ'], // ss or sz |
| 355 | +['ስh', '', 'ሽ'], // sh |
| 356 | +['ቅh', '', 'ቕ'], // qh |
| 357 | +['ክx', '', 'ኽ'], // kx |
| 358 | +['ዝ(h|z)', '', 'ዥ'], // zh or zz |
| 359 | +['ድd', '', 'ዽ'], // dd |
| 360 | +['ግg', '', 'ጝ'], // gg |
| 361 | +['ት(h|t)', '', 'ጥ'], // th or tt |
| 362 | +['ችh', '', 'ጭ'], // ch |
| 363 | +['ፕ(h|p)', '', 'ጵ'], // ph or pp |
| 364 | +['ትs', '', 'ጽ'], // ts |
| 365 | +['ትz', '', 'ፅ'], // tz |
| 366 | +['ቅw', '', 'ቍ'], // qw |
| 367 | +['ቕw', '', 'ቝ'], // qhw |
| 368 | +['ኅw', '', 'ኍ'], // xw |
| 369 | +['ክw', '', 'ኵ'], // kw |
| 370 | +['ኽw', '', 'ዅ'], // kxw |
| 371 | +['ግw', '', 'ጕ'], // gw |
| 372 | + |
| 373 | +['(N|ንn)', '', 'ኝ'], // nn or N |
| 374 | + |
| 375 | +['፩0', '', '፲'], // 10 |
| 376 | +['፪0', '', '፳'], // 20 |
| 377 | +['፫0', '', '፴'], // 30 |
| 378 | +['፬0', '', '፵'], // 40 |
| 379 | +['፭0', '', '፶'], // 50 |
| 380 | +['፮0', '', '፷'], // 60 |
| 381 | +['፯0', '', '፸'], // 70 |
| 382 | +['፰0', '', '፹'], // 80 |
| 383 | +['፱0', '', '፺'], // 90 |
| 384 | +['፲0', '', '፻'], // 100 |
| 385 | + |
| 386 | +['h', '', 'ህ'], |
| 387 | +['l', '', 'ል'], |
| 388 | +['m', '', 'ም'], |
| 389 | +['r', '', 'ር'], |
| 390 | +['s', '', 'ስ'], |
| 391 | +['q', '', 'ቅ'], |
| 392 | +['b', '', 'ብ'], |
| 393 | +['v', '', 'ቭ'], |
| 394 | +['t', '', 'ት'], |
| 395 | +['c', '', 'ች'], |
| 396 | +['x', '', 'ኅ'], |
| 397 | +['n', '', 'ን'], |
| 398 | +['k', '', 'ክ'], |
| 399 | +['w', '', 'ው'], |
| 400 | +['"', '', 'ዕ'], |
| 401 | +['z', '', 'ዝ'], |
| 402 | +['y', '', 'ይ'], |
| 403 | +['d', '', 'ድ'], |
| 404 | +['j', '', 'ጅ'], |
| 405 | +['g', '', 'ግ'], |
| 406 | +['f', '', 'ፍ'], |
| 407 | +['p', '', 'ፕ'], |
| 408 | + |
| 409 | +// vowels |
| 410 | +['a', '', 'አ'], |
| 411 | +["(e|')", '', 'እ'], |
| 412 | +['i', '', 'ኢ'], |
| 413 | +['o', '', 'ኦ'], |
| 414 | +['u', '', 'ኡ'], |
| 415 | + |
| 416 | +['\\;', '', '፥'], |
| 417 | +['\\.', '', '።'], |
| 418 | +[',', '', '፣'], |
| 419 | +['\\:', '', '፤'], |
| 420 | +['\\:', '', '፥'], |
| 421 | +['/', '', '፨'], |
| 422 | +['\\?', '', '፧'], |
| 423 | +['[ \\-]', '', '፡'], // space or - |
| 424 | +['\\!', '', '፦'], |
| 425 | + |
| 426 | +['1', '', '፩'], |
| 427 | +['2', '', '፪'], |
| 428 | +['3', '', '፫'], |
| 429 | +['4', '', '፬'], |
| 430 | +['5', '', '፭'], |
| 431 | +['6', '', '፮'], |
| 432 | +['7', '', '፯'], |
| 433 | +['8', '', '፰'], |
| 434 | +['9', '', '፱'] |
| 435 | +]; |
| 436 | + |
| 437 | +jQuery.narayam.addScheme( 'am', { |
| 438 | + 'namemsg': 'narayam-am', |
| 439 | + 'extended_keyboard': false, |
| 440 | + 'lookbackLength': 2, |
| 441 | + 'keyBufferLength': 1, |
| 442 | + 'rules': rules |
| 443 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.am.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 444 | + native |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.si-wijesekara.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 100 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.hi.js |
— | — | @@ -0,0 +1,168 @@ |
| 2 | +/** |
| 3 | + * Transliteration 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 | +['क्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 | +['ओM', '','ॐ'], |
| 63 | + |
| 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', '','फ्'], |
| 101 | +['F', '','फ़्'], |
| 102 | +['g', '','ग्'], |
| 103 | +['h', '','ह्'], |
| 104 | +['i', '','इ'], |
| 105 | +['j', '','ज्'], |
| 106 | +['j', '','ज़्'], |
| 107 | +['k', '','क्'], |
| 108 | +['l', '','ल्'], |
| 109 | +['m', '','म्'], |
| 110 | +['n', '','न्'], |
| 111 | +['o', '','ओ'], |
| 112 | +['p', '','प्'], |
| 113 | +['q', '','\u0951'], |
| 114 | +['r', '','र्'], |
| 115 | +['s', '','स्'], |
| 116 | +['t', '','त्'], |
| 117 | +['u', '','उ'], |
| 118 | +['(v|w)', '','व्'], |
| 119 | +['x', '','क्ष्'], |
| 120 | +['y', '','य्'], |
| 121 | +['(z|Z)', '','.'], |
| 122 | +['A', '','आ'], |
| 123 | +['B', '','ब्ब्'], |
| 124 | +['C', '','क्क्'], |
| 125 | +['D', '','ड्'], |
| 126 | +['E', '','ऍ'], |
| 127 | +//'F', '','फ्'], |
| 128 | +['G', '','ग्ग्'], |
| 129 | +['H', '','ः'], |
| 130 | +['I', '','ई'], |
| 131 | +['J', '','ज्ज्'], |
| 132 | +['K', '','क्क्'], |
| 133 | +['L', '','ळ्'], |
| 134 | +['M', '','ं'], |
| 135 | +['N', '','ण्'], |
| 136 | +['O', '','ओ'], |
| 137 | +['P', '','प्प्'], |
| 138 | +//'Q', '','अ'], |
| 139 | +['R', '','ऋ'], |
| 140 | +['S', '','श्'], |
| 141 | +['T', '','ट्'], |
| 142 | +['U', '','ऊ'], |
| 143 | +['(V|W)', '','व्व्'], |
| 144 | +['X', '','क्ष्'], |
| 145 | +['Y', '','ञ्'], |
| 146 | +//'z', '','अ' |
| 147 | +['0', '','०'], |
| 148 | +['1', '','१'], |
| 149 | +['2', '','२'], |
| 150 | +['3', '','३'], |
| 151 | +['4', '','४'], |
| 152 | +['5', '','५'], |
| 153 | +['6', '','६'], |
| 154 | +['7', '','७'], |
| 155 | +['8', '','८'], |
| 156 | +['9', '','९'], |
| 157 | +['~', '','्'], |
| 158 | +['\\.', '','।'], |
| 159 | +['//', '','ऽ'], |
| 160 | +['\\`', '','़'] |
| 161 | +]; |
| 162 | + |
| 163 | +jQuery.narayam.addScheme( 'hi', { |
| 164 | + 'namemsg': 'narayam-hi', |
| 165 | + 'extended_keyboard': false, |
| 166 | + 'lookbackLength': 3, |
| 167 | + 'keyBufferLength': 1, |
| 168 | + 'rules': rules |
| 169 | +} ); |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.te-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 120 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.ne.js |
— | — | @@ -0,0 +1,164 @@ |
| 2 | +/** |
| 3 | + * Transliteration 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', '','भ्'], |
| 117 | +['w', '','व्'], |
| 118 | +['x', '','क्ष्'], |
| 119 | +['y', '','य्'], |
| 120 | +['(z|Z)', '','ज़्'], |
| 121 | +['A', '','आ'], |
| 122 | +['B', '','ब्ब्'], |
| 123 | +['C', '','क्क्'], |
| 124 | +['D', '','ड्'], |
| 125 | +['E', '','ए'], |
| 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', '','झ्'], |
| 141 | +['W', '','औ'], |
| 142 | +['X', '','क्ष्'], |
| 143 | +['Y', '','य्य्'], |
| 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: trunk/extensions/Narayam/resources/ext.narayam.rules.ne.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 166 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.sa.js |
— | — | @@ -0,0 +1,165 @@ |
| 2 | +/** |
| 3 | + * Transliteration 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': 2, |
| 165 | + 'rules': rules |
| 166 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.sa.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 167 | + native |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.eo.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 28 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.as.js |
— | — | @@ -0,0 +1,109 @@ |
| 2 | +/** |
| 3 | + * Transliteration regular expression rules table for Assamese script |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-12-01, updated 2011-11-10 |
| 6 | + * @credits W Chaipau and Prabhakar Sarma Neog and Assameses Wikimedia community |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | +var rules = [ |
| 11 | +['([ক-হড়-য়ৰৱ])(্ড়্ড়্i|্q)', '', '$1ৃ'], // <consonant>RRi or <consonant>q |
| 12 | + |
| 13 | +['(ড়্ড়্i|q)', '', 'ঋ'], // RRi or q |
| 14 | + |
| 15 | +['([ক-হড়-য়ৰৱ])্o', '', '$1'], // <consonant>o |
| 16 | +['([ক-হড়-য়ৰৱ])্a', '', '$1া'], // <consonant>a |
| 17 | +['([ক-হড়-য়ৰৱ])্i', '', '$1ি'], // <consonant>i |
| 18 | +['([ক-হড়-য়ৰৱ])(িi|্I)', '', '$1ী'], // <consonant>ii or <consonant>I |
| 19 | +['([ক-হড়-য়ৰৱ])্u', '', '$1ু'], // <consonant>u |
| 20 | +['([ক-হড়-য়ৰৱ])(ুu|্U)', '', '$1ূ'], // <consonant>uu or <consonant>U |
| 21 | + |
| 22 | +['([ক-হড়-য়ৰৱ])্e', '', '$1ে'], // <consonant>e |
| 23 | +['([ক-হড়-য়ৰৱ])i', '', '$1ৈ'], // <consonant>oi |
| 24 | +['([ক-হড়-য়ৰৱ])্O', '', '$1ো'], // <consonant>O |
| 25 | +['([ক-হড়-য়ৰৱ])u', '', '$1ৌ'], // <consonant>ou |
| 26 | + |
| 27 | +['(খ্y|c)', '', 'ক্ষ্'], // khy or c |
| 28 | + |
| 29 | +['ইi', '', 'ঈ'], // ii |
| 30 | +['উu', '', 'ঊ'], // uu |
| 31 | +['অi', '', 'ঐ'], // oi |
| 32 | +['অu', '', 'ঔ'], // ou |
| 33 | +['ত~', '', 'ৎ'], // t~ |
| 34 | + |
| 35 | +['ক্h', '', 'খ্'], // kh |
| 36 | +['গ্h', '', 'ঘ্'], // gh |
| 37 | +['ন্g', '', 'ঙ্'], // ng |
| 38 | +['জ্h', '', 'ঝ্'], // jh |
| 39 | +['(ন্~|Y)', '', 'ঞ্'], // n~ or Y |
| 40 | +['ট্h', '', 'ঠ্'], // Th |
| 41 | +['ড্h', '', 'ঢ্'], // Dh |
| 42 | +['ত্h', '', 'থ্'], // th |
| 43 | +['দ্h', '', 'ধ্'], // dh |
| 44 | +['(প্h|f)', '', 'ফ্'], // ph or f |
| 45 | +['(ব্h|v)', '', 'ভ্'], // bh or v |
| 46 | +['শ্h', '', 'ষ্'], // Xh |
| 47 | +['ড়্h', '', 'ঢ়্'], // Rh |
| 48 | + |
| 49 | +['o', '', 'অ'], |
| 50 | +['a', '', 'আ'], |
| 51 | +['i', '', 'ই'], |
| 52 | +['I', '', 'ঈ'], |
| 53 | +['u', '', 'উ'], |
| 54 | +['U', '', 'ঊ'], |
| 55 | +['e', '', 'এ'], |
| 56 | +['O', '', 'ও'], |
| 57 | + |
| 58 | +['H', '', 'ঃ'], |
| 59 | +['\\^', '', 'ঁ'], |
| 60 | +['C', '', '৺'], |
| 61 | + |
| 62 | +['k', '', 'ক্'], |
| 63 | +['g', '', 'গ্'], |
| 64 | +['s', '', 'চ্'], |
| 65 | +['S', '', 'ছ্'], |
| 66 | +['j', '', 'জ্'], |
| 67 | +['T', '', 'ট্'], |
| 68 | +['D', '', 'ড্'], |
| 69 | +['N', '', 'ণ্'], |
| 70 | +['t', '', 'ত্'], |
| 71 | +['d', '', 'দ্'], |
| 72 | +['n', '', 'ন্'], |
| 73 | +['p', '', 'প্'], |
| 74 | +['b', '', 'ব্'], |
| 75 | +['m', '', 'ম্'], |
| 76 | +['z', '', 'য্'], |
| 77 | +['r', '', 'ৰ্'], |
| 78 | +['l', '', 'ল্'], |
| 79 | +['w', '', 'ৱ্'], |
| 80 | +['X', '', 'শ্'], |
| 81 | +['x', '', 'স্'], |
| 82 | +['h', '', 'হ্'], |
| 83 | +['R', '', 'ড়্'], |
| 84 | +['y', '', 'য়্'], |
| 85 | + |
| 86 | +['\\\\\\.', '', '.'], |
| 87 | +['।\\.', '', '॥'], |
| 88 | +['\\.', '', '।'], |
| 89 | + |
| 90 | +['0','', '০'], |
| 91 | +['1','', '১'], |
| 92 | +['2','', '২'], |
| 93 | +['3','', '৩'], |
| 94 | +['4','', '৪'], |
| 95 | +['5','', '৫'], |
| 96 | +['6','', '৬'], |
| 97 | +['7','', '৭'], |
| 98 | +['8','', '৮'], |
| 99 | +['9','', '৯'], |
| 100 | + |
| 101 | +['(\u200D)*`', '', '\u200D'] |
| 102 | +]; |
| 103 | + |
| 104 | +jQuery.narayam.addScheme( 'as', { |
| 105 | + 'namemsg': 'narayam-as', |
| 106 | + 'extended_keyboard': false, |
| 107 | + 'lookbackLength': 8, |
| 108 | + 'keyBufferLength': 0, |
| 109 | + 'rules': rules |
| 110 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.as.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 111 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.ta.js |
— | — | @@ -0,0 +1,118 @@ |
| 2 | +/** |
| 3 | + * Transliteration 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: trunk/extensions/Narayam/resources/ext.narayam.rules.ta.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 120 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.pa-phonetic.js |
— | — | @@ -0,0 +1,99 @@ |
| 2 | +/** |
| 3 | + * Phonetic keyboard regular expression rules table for Punjabi |
| 4 | + * @date 2011-11-19 |
| 5 | + * Based on http://fedoraproject.org/wiki/I18N/Indic/PunjabiKeyboardLayouts |
| 6 | + */ |
| 7 | + |
| 8 | + // Normal rules |
| 9 | +var rules = [ |
| 10 | + ['!', '','੧'], |
| 11 | + ['1', '','1'], |
| 12 | + ['@', '','੨'], |
| 13 | + ['2', '','2'], |
| 14 | + ['#', '','੩'], |
| 15 | + ['3', '','3'], |
| 16 | + ['\\$', '','੪'], |
| 17 | + ['4', '','4'], |
| 18 | + ['5', '','5'], |
| 19 | + ['6', '','6'], |
| 20 | + ['7', '','7'], |
| 21 | + ['8', '','8'], |
| 22 | + ['\\)', '','੯'], |
| 23 | + ['9', '','9'], |
| 24 | + ['\\),', '','੦'], |
| 25 | + ['0', '','0'], |
| 26 | + ['Q', '','ਥ'], |
| 27 | + ['q', '','ਤ'], |
| 28 | + ['w', '','ਾ'], |
| 29 | + ['E', '','ਓ'], |
| 30 | + ['e', '','ੲ'], |
| 31 | + ['r', '','ਰ'], |
| 32 | + ['T', '','ਠ'], |
| 33 | + ['t', '','ਟ'], |
| 34 | + ['Y', '','ੈ'], |
| 35 | + ['y', '','ੇ'], |
| 36 | + ['U', '','ੂ'], |
| 37 | + ['u', '','ੁ'], |
| 38 | + ['I', '','ੀ'], |
| 39 | + ['i', '','ਿ'], |
| 40 | + ['O', '','ੌ'], |
| 41 | + ['o', '','ੋ'], |
| 42 | + ['P', '','ਫ'], |
| 43 | + ['p', '','ਪ'], |
| 44 | + ['\\{', '','('], |
| 45 | + ['\\}', '',')'], |
| 46 | + ['A', '','ਅ'], |
| 47 | + ['a', '','ੳ'], |
| 48 | + ['S', '','ਸ਼'], |
| 49 | + ['s', '','ਸ'], |
| 50 | + ['D', '','ਧ'], |
| 51 | + ['d', '','ਦ'], |
| 52 | + ['F', '','ਢ'], |
| 53 | + ['f', '','ਡ'], |
| 54 | + ['G', '','ਘ'], |
| 55 | + ['g', '','ਗ'], |
| 56 | + ['h', '','ਹ'], |
| 57 | + ['J', '','ਝ'], |
| 58 | + ['j', '','ਜ'], |
| 59 | + ['K', '','ਖ'], |
| 60 | + ['k', '','ਕ'], |
| 61 | + ['L', '','ਲ਼'], |
| 62 | + ['l', '','ਲ'], |
| 63 | + ['\\', '','ਙ'], |
| 64 | + ['\\~', '','?ੱ'], |
| 65 | + ['\\`', '','?੍ '], |
| 66 | + ['Z', '','ਗ਼'], |
| 67 | + ['z', '','ਜ਼'], |
| 68 | + ['X', '','ਯ'], |
| 69 | + ['x', '','ਣ'], |
| 70 | + ['C', '','ਛ'], |
| 71 | + ['c', '','ਚ'], |
| 72 | + ['V', '','ੜ'], |
| 73 | + ['v', '','ਵ'], |
| 74 | + ['B', '','ਭ'], |
| 75 | + ['b', '','ਬ'], |
| 76 | + ['N', '','ਂ'], |
| 77 | + ['n', '','ਨ'], |
| 78 | + ['M', '','ੰ'], |
| 79 | + ['m', '','ਮ'], |
| 80 | + ['\\<', '','ਖ਼'], |
| 81 | + ['\\>', '','ੴ'], |
| 82 | + ['\\.', '','?਼'], |
| 83 | + ['\\?', '','?'], |
| 84 | + ['\\/', '','ਞ'], |
| 85 | + ['%', '','੫'], |
| 86 | + ['\\^', '','੬'], |
| 87 | + ['&', '','੭'], |
| 88 | + ['*', '','੮'], |
| 89 | + ['R', '','੍ਰ'], |
| 90 | + ['H', '','੍ਹ'], |
| 91 | + ['W', '','ਾਂ'] |
| 92 | +]; |
| 93 | + |
| 94 | +jQuery.narayam.addScheme( 'pa-phonetic', { |
| 95 | + 'namemsg': 'narayam-pa-phonetic', |
| 96 | + 'extended_keyboard': true, |
| 97 | + 'lookbackLength': 0, |
| 98 | + 'keyBufferLength': 0, |
| 99 | + 'rules': rules |
| 100 | +} ); |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.bn-nkb.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 140 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.as-avro.js |
— | — | @@ -0,0 +1,168 @@ |
| 2 | +/** |
| 3 | + * Avro layout regular expression rules table for Assamese script |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-12-05 |
| 6 | + * @credits Derived from Bengali Avro layout by changing the characters for Assamese |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + |
| 10 | +var rules = [ |
| 11 | +['([ক-হড়ঢ়য়ৰ])্?ৰৰi','[^o`]', '$1ৃ'], |
| 12 | +['ৰৰi','[^o`]', 'ঋ'], |
| 13 | + |
| 14 | +['(([ক-হড়ঢ়য়ৰ])|য়)o','[^o`]', '$1'], // য় cannot be included in the range, why? everywhere else it is OK! |
| 15 | +['([ক-হড়ঢ়য়ৰ])a','[^o`]', '$1া'], |
| 16 | +['([ক-হড়ঢ়য়ৰ])i','[^o`]', '$1ি'], |
| 17 | +['([ক-হড়ঢ়য়ৰ])I','[^o`]', '$1ী'], |
| 18 | +['([ক-হড়ঢ়য়ৰ])u','[^o`]', '$1ু'], |
| 19 | +['([ক-হড়ঢ়য়ৰ])U','[^o`]', '$1ূ'], |
| 20 | +['([ক-হড়ঢ়য়ৰ])o','[o`]', '$1ু'], |
| 21 | +['([ক-হড়ঢ়য়ৰ])e','[^o`]', '$1ে'], |
| 22 | +['([ক-হড়ঢ়য়ৰ])োI','[^o`]', '$1ৈ'], |
| 23 | +['([ক-হড়ঢ়য়ৰ])O','[^o`]', '$1ো'], |
| 24 | +['([ক-হড়ঢ়য়ৰ])োU','[^o`]', '$1ৌ'], |
| 25 | + |
| 26 | +//'চচh','[^o`]', 'চ্চ'], |
| 27 | + |
| 28 | +['([কঙলষস])(k|K)','[^o`]','$1্ক'], |
| 29 | +['([ঙদল])(g|G)','[^o`]','$1্গ'], |
| 30 | +['গg','[^o`]','জ্ঞ'], |
| 31 | +['([চশ])c','[^o`]','$1্চ'], |
| 32 | +['([জঞব])j','[^o`]','$1্জ'], |
| 33 | +['নj','[^o`]','ঞ্জ'], |
| 34 | +['([কটণনপলষস])T','[^o`]','$1্ট'], |
| 35 | +['([ডণনল])D','[^o`]','$1্ড'], |
| 36 | +['([গষহ])N','[^o`]','$1্ণ'], |
| 37 | +['([কতনপশসহ])t','[^o`]','$1্ত'], |
| 38 | +['([দনব])d','[^o`]','$1্দ'], |
| 39 | +['([গঘণতধনপমশসহ])n','[^o`]','$1্ন'], |
| 40 | +['([পমলস])p','[^o`]','$1্প'], |
| 41 | +['([বমল])b','[^o`]','$1্ব'], |
| 42 | +['([দম])(v|V)','[^o`]','$1্ভ'], |
| 43 | +['([কগঙটণতদধনমলশষসহ])m','[^o`]','$1্ম'], |
| 44 | +['([ক-ঘচ-ঝট-যলশ-হড়ঢ়য়])r','[^o`]','$1্ৰ'], |
| 45 | +['([কগপ-বমলশসহ])l','[^o`]','$1্ল'], |
| 46 | +['([কনপ])s','[^o`]','$1্স'], |
| 47 | +['([ক-হড়ঢ়য়ৰ])w','[^o`]','$1্ব'], |
| 48 | +['([ক-হড়ঢ়য়ৰ])y','[^o`]','$1্য'], |
| 49 | +['নc','[^o`]','ঞ্চ'], |
| 50 | + |
| 51 | +['ত`','`' ,'ৎ'], |
| 52 | + |
| 53 | +['ক্ক(h|H)','[^o`]','ক্ষ'], |
| 54 | +['কশ(h|H)','[^o`]','ক্ষ'], |
| 55 | +//'([অ-ঔা-ৌ])ৰৰk','[^o]','$1র্ক'], |
| 56 | + |
| 57 | +['ৰৰk','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ক'], |
| 58 | +['ৰৰg','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্গ'], |
| 59 | +['ৰৰc','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্চ'], |
| 60 | +['ৰৰj','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্জ'], |
| 61 | +['ৰৰT','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ট'], |
| 62 | +['ৰৰD','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড'], |
| 63 | +['ৰৰN','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ণ'], |
| 64 | +['ৰৰt','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ত'], |
| 65 | +['ৰৰd','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্দ'], |
| 66 | +['ৰৰn','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ন'], |
| 67 | +['ৰৰp','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্প'], |
| 68 | +['ৰৰf','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ফ'], |
| 69 | +['ৰৰb','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ব'], |
| 70 | +['ৰৰv','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ভ'], |
| 71 | +['ৰৰm','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ম'], |
| 72 | +['ৰৰz','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য'], |
| 73 | +['ৰৰl','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ল'], |
| 74 | +['ৰৰS','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্শ'], |
| 75 | +['ৰৰs','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্স'], |
| 76 | +['ৰৰh','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্হ'], |
| 77 | +['ৰৰR','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড়'], |
| 78 | +['ৰৰ(y|Y)','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য়'], |
| 79 | + |
| 80 | +['শ(h|H)','S', 'ষ'], |
| 81 | + |
| 82 | +['অo','[^`]', 'উ'], |
| 83 | +['এe','[^o`]', 'ঈ'], |
| 84 | + |
| 85 | +['কh','[^o`]', 'খ'], |
| 86 | +['গh','[^o`]', 'ঘ'], |
| 87 | +['ণg','[^o`]', 'ঙ'], |
| 88 | +['চh','[^o`]', 'ছ'], |
| 89 | +['জh','[^o`]', 'ঝ'], |
| 90 | +['ণG','[^o`]', 'ঞ'], |
| 91 | +['টh','[^o`]', 'ঠ'], |
| 92 | +['ডh','[^o`]', 'ঢ'], |
| 93 | +['তh','[^o`]', 'থ'], |
| 94 | +['দh','[^o`]', 'ধ'], |
| 95 | +['পh','[^o`]', 'ফ'], |
| 96 | +['বh','[^o`]', 'ভ'], |
| 97 | +['(সh)','[^o`]', 'শ'], |
| 98 | +['ড়h','[^o`]', 'ঢ়'], |
| 99 | +['ত্`','[^o`]', 'ৎ'], |
| 100 | +['নg','[^o`]', 'ং'], |
| 101 | +['ঃ`','[^o`]', ':'], |
| 102 | +['ৰৰi','[^o`]', 'ঋ'], |
| 103 | +['ওI','[^o`]', 'ঐ'], |
| 104 | +['ওU','[^o`]', 'ঔ'], |
| 105 | + |
| 106 | +['(k|K)','' ,'ক'], |
| 107 | +['(g|G)','' ,'গ'], |
| 108 | +['(c|C)','' ,'চ'], |
| 109 | +['j','' ,'জ'], |
| 110 | +['T','' ,'ট'], |
| 111 | +['D','' ,'ড'], |
| 112 | +['N','' ,'ণ'], |
| 113 | +['t','' ,'ত'], |
| 114 | +['d','' ,'দ'], |
| 115 | +['n','' ,'ন'], |
| 116 | +['(p|P)','' ,'প'], |
| 117 | +['f','' ,'ফ'], |
| 118 | +['(b|B)','' ,'ব'], |
| 119 | +['(v|V)','' ,'ভ'], |
| 120 | +['(m|M)','' ,'ম'], |
| 121 | +['z','' ,'য'], |
| 122 | +['r','' ,'ৰ'], |
| 123 | +['(l|L)','' ,'ল'], |
| 124 | +['S','' ,'শ'], |
| 125 | +['s','' ,'স'], |
| 126 | +['(h|H)','' ,'হ'], |
| 127 | +['R','' ,'ড়'], |
| 128 | +['(y|Y)','' ,'য়'], |
| 129 | + |
| 130 | +['Z','' ,'্য'], |
| 131 | + |
| 132 | +['o','' ,'অ'], |
| 133 | +['(a|A)','' ,'আ'], |
| 134 | +['i','' ,'ই'], |
| 135 | +['I','' ,'ঈ'], |
| 136 | +['u','' ,'উ'], |
| 137 | +['U','' ,'ঊ'], |
| 138 | +['e','' ,'এ'], |
| 139 | +['O','' ,'ও'], |
| 140 | + |
| 141 | +['0','' ,'০'], |
| 142 | +['1','' ,'১'], |
| 143 | +['2','' ,'২'], |
| 144 | +['3','' ,'৩'], |
| 145 | +['4','' ,'৪'], |
| 146 | +['5','' ,'৫'], |
| 147 | +['6','' ,'৬'], |
| 148 | +['7','' ,'৭'], |
| 149 | +['8','' ,'৮'], |
| 150 | +['9','' ,'৯'], |
| 151 | + |
| 152 | +['\\\\\\.','' ,'.'], |
| 153 | + |
| 154 | +[',,','' ,'্'], |
| 155 | +['\\:','' ,'ঃ'], |
| 156 | +['\\^','' ,'ঁ'], |
| 157 | +['\\.','' ,'।'], |
| 158 | +['\\$','' ,'৳'], |
| 159 | +['ঃ`','' ,':'], |
| 160 | +['`','' ,''] |
| 161 | +]; |
| 162 | + |
| 163 | +jQuery.narayam.addScheme( 'as-avro', { |
| 164 | + 'namemsg': 'narayam-as-avro', |
| 165 | + 'extended_keyboard': false, |
| 166 | + 'lookbackLength': 4, |
| 167 | + 'keyBufferLength': 2, |
| 168 | + 'rules': rules |
| 169 | +} ); |
\ No newline at end of file |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.as-avro.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 170 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.js |
— | — | @@ -0,0 +1,7 @@ |
| 2 | +/** |
| 3 | + * Narayam startup script |
| 4 | + */ |
| 5 | +jQuery( function( $ ) { |
| 6 | + $.narayam.addInputs( 'input:text, input[type=search], textarea' ); |
| 7 | + $.narayam.setup(); |
| 8 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 9 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.core.css |
— | — | @@ -0,0 +1,154 @@ |
| 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 | +li#pt-narayam { |
| 16 | + padding-left: 15px !important; |
| 17 | +} |
| 18 | + |
| 19 | +/* Variants and Actions */ |
| 20 | +/* @noflip */ |
| 21 | +div#narayam-menu { |
| 22 | + direction: ltr; |
| 23 | + float: left; |
| 24 | + cursor: pointer; |
| 25 | +} |
| 26 | +div.narayam-menuFocus { |
| 27 | + background-position: -22px 60%; |
| 28 | +} |
| 29 | +/* @noflip */ |
| 30 | +body.rtl div#narayam-menu { |
| 31 | + direction: rtl; |
| 32 | +} |
| 33 | +div#narayam-menu div.menu-items { |
| 34 | + position: relative; |
| 35 | + display: none; |
| 36 | + clear: both; |
| 37 | + text-align: left; |
| 38 | + z-index: 99999; |
| 39 | +} |
| 40 | + |
| 41 | +div#narayam-menu-items li { |
| 42 | + margin: 0; |
| 43 | + padding: 5px; |
| 44 | + font-size: 100%; |
| 45 | + float: none; |
| 46 | + z-index: 99999; |
| 47 | + |
| 48 | +} |
| 49 | +ul#imelist{ |
| 50 | + padding: 5px; |
| 51 | +} |
| 52 | +/* OVERRIDDEN BY COMPLIANT BROWSERS */ |
| 53 | +/* @noflip */ |
| 54 | +body.rtl div#narayam-menu div.menu-items { |
| 55 | + margin-left: 24px; |
| 56 | +} |
| 57 | +/* IGNORED BY IE6 */ |
| 58 | +/* @noflip */ |
| 59 | +body.rtl div#narayam-menu > div.menu-items { |
| 60 | + margin-left: auto; |
| 61 | +} |
| 62 | +/* IGNORED BY IE6 */ |
| 63 | +/* Also fixes old versions of FireFox */ |
| 64 | +/* @noflip */ |
| 65 | +body.rtl div#narayam-menu > div.menu-items, |
| 66 | +x:-moz-any-link { |
| 67 | + margin-left: 23px; |
| 68 | +} |
| 69 | +/* Enable forcing showing of the menu for accessibility */ |
| 70 | +div#narayam-menu:hover div.menu-items, |
| 71 | +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 | +} |
| 143 | + |
| 144 | +li.narayam-more-imes-link { |
| 145 | + /* @embed */ |
| 146 | + background: url('../images/closed-ltr.png') no-repeat scroll left center transparent; |
| 147 | +} |
| 148 | + |
| 149 | +li.narayam-more-imes-link.open { |
| 150 | + /* @embed */ |
| 151 | + background: url('../images/open.png') no-repeat scroll left center transparent; |
| 152 | +} |
| 153 | +li.narayam-more-imes-link a { |
| 154 | + padding-left: 10px; |
| 155 | +} |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.core.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 156 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.gu.js |
— | — | @@ -0,0 +1,171 @@ |
| 2 | +/** |
| 3 | + * Transliteration regular expression rules table for Gujarathi |
| 4 | + * @author Jaldeep R Vasavada ([[user:JaldeepVasavada]]) |
| 5 | + * @date 2011-11-19 |
| 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 | + |
| 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 | + |
| 47 | +['([ક-હ])्\\`', '','$1़्'], |
| 48 | + |
| 49 | +['અa', '','આ'], |
| 50 | +['(ઑo|ઉu)', '','ઊ'], |
| 51 | +['ઍ\\^', '','એ'], |
| 52 | +['અi', '','એ'], |
| 53 | +['અ\\^', '','ઍ'], |
| 54 | +['(ઇi|ઍe)', '','ઈ'], |
| 55 | +['ઑ\\^', '','ઓ'], |
| 56 | +['અu', '','ઔ'], |
| 57 | +['ઋR', '','ૠ'], |
| 58 | +['ળl', '','ઌ'], |
| 59 | +['ઌl', '','ૡ'],//problem |
| 60 | +['ं\\^', '','ँ'], |
| 61 | +['ंm', '','ँ'], |
| 62 | +['ઓM', '','ૐ'], |
| 63 | + |
| 64 | +['રY', '','ऱ्ય'], |
| 65 | + |
| 66 | +['ક्h', '','ખ'],//kh |
| 67 | +['ગh', '','ઘ'], |
| 68 | +['નg', '','ઙ'], |
| 69 | +['ચh', '','છ'], |
| 70 | +['જh', '','ઝ'], |
| 71 | +['નj', '','ઞ'], |
| 72 | +['ટh', '','ઠ'], |
| 73 | +['ડh', '','ઢ'], |
| 74 | +['તh', '','થ'], |
| 75 | +['દh', '','ધ'], |
| 76 | +['પh', '','ફ'], |
| 77 | +['બh', '','ભ'], |
| 78 | + |
| 79 | +['ઋa', '','ऱ'], |
| 80 | +['ઋA', '','ऱા'], |
| 81 | +['ઋi', '','ऱિ'], |
| 82 | +['ઋI', '','ऱી'], |
| 83 | +['ઋu', '','ऱુ'], |
| 84 | +['ઋU', '','ऱૂ'], |
| 85 | +['ઋ\\^', '','ऱॅ'], |
| 86 | +['ઋe', '','ऱॆ'], |
| 87 | +['ઋE', '','ऱૅ'], |
| 88 | +['ઋo', '','ऱો'], |
| 89 | +['ઋO', '','ऱો'], |
| 90 | +['ઋ\\~', '','ऱ्'], |
| 91 | + |
| 92 | +['સh', '','ષ'], |
| 93 | +['ક़्h', '','ખ'], |
| 94 | +['જh', '','ऴ्'], |
| 95 | +['।\\.', '','॥'], |
| 96 | + |
| 97 | +['a', '','અ'], |
| 98 | +['b', '','બ'], |
| 99 | +['c', '','ક्'], |
| 100 | +['d', '','દ'], |
| 101 | +['e', '','ઍ'], |
| 102 | +['(f|F)', '','ફ'], |
| 103 | +['g', '','ગ'], |
| 104 | +['h', '','હ'], |
| 105 | +['i', '','ઇ'], |
| 106 | +['j', '','જ'], |
| 107 | +['k', '','ક्'], |
| 108 | +['l', '','લ'], |
| 109 | +['m', '','મ'], |
| 110 | +['n', '','ન'], |
| 111 | +['o', '','ઑ'], |
| 112 | +['p', '','પ'], |
| 113 | +['q', '','ક़्'], |
| 114 | +['r', '','ર'], |
| 115 | +['s', '','સ'], |
| 116 | +['t', '','ત'], |
| 117 | +['u', '','ઉ'], |
| 118 | +['(v|w)', '','વ'], |
| 119 | +['x', '','ક्ષ'], |
| 120 | +['y', '','ય'], |
| 121 | +['(z|Z)', '','જ'], |
| 122 | +['A', '','આ'], |
| 123 | +['B', '','બ'], //double |
| 124 | +['C', '','ક्ક्'], |
| 125 | +['D', '','ડ'], |
| 126 | +['E', '','એ'], |
| 127 | +//'F', '','ફ'], |
| 128 | +['G', '','ગ'],//double |
| 129 | +['H', '','ः'], |
| 130 | +['I', '','ઈ'], |
| 131 | +['J', '','જ'],//double |
| 132 | +['K', '','ક्ક्'], |
| 133 | +['L', '','ળ'], |
| 134 | +['M', '','ं'], |
| 135 | +['N', '','ણ'], |
| 136 | +['O', '','ઓ'], |
| 137 | +['P', '','પ'],//double |
| 138 | +//'Q', '','અ'], |
| 139 | +['R', '','ઋ'], |
| 140 | +['S', '','શ'], |
| 141 | +['T', '','ટ'], |
| 142 | +['U', '','ઊ'], |
| 143 | +['(V|W)', '','વ'],//double |
| 144 | +['X', '','ક्ષ'], |
| 145 | +['Y', '','ય'],//double |
| 146 | +//'z', '','અ' |
| 147 | +['0', '','૦'], |
| 148 | +['1', '','૧'], |
| 149 | +['2', '','૨'], |
| 150 | +['3', '','૩'], |
| 151 | +['4', '','૪'], |
| 152 | +['5', '','૫'], |
| 153 | +['6', '','૬'], |
| 154 | +['7', '','૭'], |
| 155 | +['8', '','૮'], |
| 156 | +['9', '','૯'], |
| 157 | +['~', '','्'], |
| 158 | +['\\.', '','।'], |
| 159 | +['//', '','ऽ'], |
| 160 | +['\\`', '','़'], |
| 161 | +['(\u200C)*_', '', '\u200c'] |
| 162 | +]; |
| 163 | + |
| 164 | + |
| 165 | +jQuery.narayam.addScheme( 'gu', { |
| 166 | + 'namemsg': 'narayam-gu', |
| 167 | + 'extended_keyboard': false, |
| 168 | + 'lookbackLength': 4, |
| 169 | + 'keyBufferLength': 2, |
| 170 | + 'rules': rules |
| 171 | +} ); |
| 172 | + |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.brx-inscript.js |
— | — | @@ -0,0 +1,115 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Devanagari script for Bodo |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 6 | + * @date 2011-11-20 |
| 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 | +['S', '', '\u090F'], |
| 23 | +['W', '', '\u0910'], |
| 24 | +['A', '', '\u0913'], |
| 25 | +['Q', '', '\u0914'], |
| 26 | +['k', '', '\u0915'], |
| 27 | +['K', '', '\u0916'], |
| 28 | +['i', '', '\u0917'], |
| 29 | +['I', '', '\u0918'], |
| 30 | +['U', '', '\u0919'], |
| 31 | +[';', '', '\u091A'], |
| 32 | +['\\:', '', '\u091B'], |
| 33 | +['p', '', '\u091C'], |
| 34 | +['P', '', '\u091D'], |
| 35 | +['\\}', '', '\u091E'], |
| 36 | +["'", '', '\u091F'], |
| 37 | +['"', '', '\u0920'], |
| 38 | +['\\[', '', '\u0921'], |
| 39 | +['\\{', '', '\u0922'], |
| 40 | +['C', '', '\u0923'], |
| 41 | +['l', '', '\u0924'], |
| 42 | +['L', '', '\u0925'], |
| 43 | +['o', '', '\u0926'], |
| 44 | +['O', '', '\u0927'], |
| 45 | +['v', '', '\u0928'], |
| 46 | +['h', '', '\u092A'], |
| 47 | +['H', '', '\u092B'], |
| 48 | +['y', '', '\u092C'], |
| 49 | +['Y', '', '\u092D'], |
| 50 | +['c', '', '\u092E'], |
| 51 | +['/', '', '\u092F'], |
| 52 | +['j', '', '\u0930'], |
| 53 | +['n', '', '\u0932'], |
| 54 | +['b', '', '\u0935'], |
| 55 | +['M', '', '\u0936'], |
| 56 | +['\\<', '', '\u0937'], |
| 57 | +['m', '', '\u0938'], |
| 58 | +['u', '', '\u0939'], |
| 59 | +['\\]', '', '\u093C'], |
| 60 | +['e', '', '\u093E'], |
| 61 | +['f', '', '\u093F'], |
| 62 | +['r', '', '\u0940'], |
| 63 | +['g', '', '\u0941'], |
| 64 | +['t', '', '\u0942'], |
| 65 | +['\\=', '', '\u0943'], |
| 66 | +['s', '', '\u0947'], |
| 67 | +['w', '', '\u0948'], |
| 68 | +['a', '', '\u094B'], |
| 69 | +['q', '', '\u094C'], |
| 70 | +['d', '', '\u094D'], |
| 71 | +['\\>', '', '\u0964'], |
| 72 | +['0', '', '\u0966'], |
| 73 | +['1', '', '\u0967'], |
| 74 | +['2', '', '\u0968'], |
| 75 | +['3', '', '\u0969'], |
| 76 | +['4', '', '\u096A'], |
| 77 | +['5', '', '\u096B'], |
| 78 | +['6', '', '\u096C'], |
| 79 | +['7', '', '\u096D'], |
| 80 | +['8', '', '\u096E'], |
| 81 | +['9', '', '\u096F'], |
| 82 | +['\\#', '', '\u094D\u0930'], |
| 83 | +['\\$', '', '\u0930\u094D'], |
| 84 | +['\\%', '', '\u091C\u094D\u091E'], |
| 85 | +['\\^', '', '\u0924\u094D\u0930'], |
| 86 | +['\\&', '', '\u0915\u094D\u0937'], |
| 87 | +['\\*', '', '\u0936\u094D\u0930'], |
| 88 | +['\\(', '', '\u200D'], |
| 89 | +['\\)', '', '\u200C'] |
| 90 | +]; |
| 91 | + |
| 92 | +var rules_x = [ |
| 93 | +['F', '', '\u090C'], |
| 94 | +['N', '', '\u0933'], |
| 95 | +['\\>', '', '\u093D'], |
| 96 | +['\\=', '', '\u0944'], |
| 97 | +['X', '', '\u0950'], |
| 98 | +['e', '', '\u0951'], |
| 99 | +['d', '', '\u0952'], |
| 100 | +['\\+', '', '\u0960'], |
| 101 | +['R', '', '\u0961'], |
| 102 | +['f', '', '\u0962'], |
| 103 | +['r', '', '\u0963'], |
| 104 | +['\\.', '', '\u0965'], |
| 105 | +[',', '', '\u0970'], |
| 106 | +['\\$', '', '\u20B9'] |
| 107 | +]; |
| 108 | + |
| 109 | +jQuery.narayam.addScheme( 'brx-inscript', { |
| 110 | + 'namemsg': 'narayam-brx-inscript', |
| 111 | + 'extended_keyboard': true, |
| 112 | + 'lookbackLength': 0, |
| 113 | + 'keyBufferLength': 0, |
| 114 | + 'rules': rules, |
| 115 | + 'rules_x': rules_x |
| 116 | +} ); |
\ No newline at end of file |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.or-lekhani.js |
— | — | @@ -0,0 +1,155 @@ |
| 2 | +/** |
| 3 | + * Lekhani regular expression rules table for Oriya |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2011-11-20 |
| 6 | + * @credit With help from Subhashish Panigrahi |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | +// Normal rules |
| 10 | +var rules = [ |
| 11 | +['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\','$1'], |
| 12 | + |
| 13 | +['([କ-ହୟୱ])a', '','$1ା'], |
| 14 | +['([କ-ହୟୱ])i', '','$1\u0b3f'], |
| 15 | +['([କ-ହୟୱ])I', '','$1ୀ'], |
| 16 | +['([କ-ହୟୱ])u', '','$1\u0b41'], |
| 17 | +['([କ-ହୟୱ])(U|\u0b41u)', '','$1\u0b42'], |
| 18 | +['([କ-ହୟୱ])R', '','$1\u0b43'], |
| 19 | +['([କ-ହୟୱ])\u0b43R', '','$1\u0b44'], |
| 20 | +['([କ-ହୟୱ])୍ଳ୍l', '','$1ୢ'], |
| 21 | +['([କ-ହୟୱ])ୢl', '','$1ୣ'], |
| 22 | +['([କ-ହୟୱ])e', '','$1େ'], |
| 23 | +['([କ-ହୟୱ])ାi', '','$1ୈ'], |
| 24 | +['([କ-ହୟୱ])o', '','$1ୋ'], |
| 25 | +['([କ-ହୟୱ])(ାu|ୋu)', '','$1ୌ'], |
| 26 | +['([କ-ହୟୱ])E', '','$1\u0B48'], |
| 27 | + |
| 28 | +['([କ-ହୟୱ])y', '', '$1୍ୟ'], // <consonant>y |
| 29 | + |
| 30 | +['ଅa', '','ଆ'], |
| 31 | +['(ଅi|ଏe)', '','ଐ'], |
| 32 | +['(ଅu|ଓo|ଓO)', '','ଔ'], |
| 33 | +['ଋR', '','ୠ'], // RR |
| 34 | +['ଳl', '','ଌ'], // Ll |
| 35 | +['ଌl', '','ୡ'], // Lll |
| 36 | +['ଞ୍ଚh', '', 'ଞ୍ଛ'], // nch |
| 37 | +['ଞ୍ଜh', '', 'ଞ୍ଝ'], // njh |
| 38 | +['ଙ୍କh', '', 'ଙ୍ଖ'], // nkh |
| 39 | +['ଙ୍ଗh', '', 'ଙ୍ଘ'], // ngh |
| 40 | +['ମ୍ବh', '', 'ମ୍ଭ'], // mbh or nbh |
| 41 | +['ଜ୍ଜh', '', 'ଜ୍ଝ'], // jjh |
| 42 | + |
| 43 | +['ଚ୍ଚh', '', 'ଚ୍ଛ'], // cch |
| 44 | + |
| 45 | +['ଣG', '', 'ଙ'], // NG |
| 46 | +['ଣg', '', 'ଞ'], // Ng |
| 47 | +['କh', '','ଖ'], // kh |
| 48 | +['ଗh', '','ଘ'], // gh |
| 49 | +['ନc', '', 'ଞ୍ଚ'], // nc |
| 50 | +['ନg', '', 'ଙ୍ଗ'], // ng |
| 51 | +['ଚh', '','ଛ'], // ch |
| 52 | +['ଜh', '','ଝ'], // jh |
| 53 | +['ନj', '', 'ଞ୍ଜ'], // nj |
| 54 | +['ନk', '', 'ଙ୍କ'], // nk |
| 55 | +['ଟh', '','ଠ'], // Th |
| 56 | +['ଡh', '','ଢ'], // Dh |
| 57 | +['ତh', '','ଥ'], // th |
| 58 | +['ଦh', '','ଧ'], // dh |
| 59 | +['(f|ପh)', '','ଫ'], // ph or f |
| 60 | +['ବh', '','ଭ'], // bh |
| 61 | +['ସh', '','ଷ'], // sh |
| 62 | +['(ମb|ନb)', '', 'ମ୍ବ'], // mb or nb |
| 63 | +['ଂM', '', 'ଁ'], // MM |
| 64 | + |
| 65 | +['କk', '', 'କ୍କ'], // kk |
| 66 | +['ଗg', '', 'ଗ୍ଗ'], // gg |
| 67 | +['ଚc', '', 'ଚ୍ଚ'], // cc |
| 68 | +['ଜj', '', 'ଜ୍ଜ'], // jj |
| 69 | +['ଟT', '', 'ଟ୍ଟ'], // TT |
| 70 | +['ଡD', '', 'ଡ୍ଡ'], // DD |
| 71 | +['ତt', '', 'ତ୍ତ'], // tt |
| 72 | + |
| 73 | + |
| 74 | +['ଆ\\\\', '', '\u0B3E'], // aa sign |
| 75 | +['ଇ\\\\', '', '\u0B3F'], // i sign |
| 76 | +['ଈ\\\\', '', '\u0B40'],// I sign |
| 77 | +['ଉ\\\\', '', '\u0B41'], // u sign |
| 78 | +['ଉ\\\\', '', '\u0B42'], // U sign |
| 79 | +['ଋ\\\\', '', '\u0B43'], // R sign |
| 80 | +['ୠ\\\\', '', '\u0B44'], // RR sign |
| 81 | +['ଌ\\\\', '', '\u0B62'], // L sign |
| 82 | +['ୡ\\\\', '', '\u0B63'], // LL sign |
| 83 | +['ଏ\\\\', '', '\u0B47'], // e sign |
| 84 | +['ଐ\\\\', '', '\u0B48'], // ai sign |
| 85 | +['ଓ\\\\', '', '\u0B4B'], // o sign |
| 86 | +['ଔ\\\\', '', '\u0B4C'], // au sign |
| 87 | + |
| 88 | +['\u200c?a', '','ଅ'], |
| 89 | +['b', '','ବ'], |
| 90 | +['c','','ଚ'], |
| 91 | +['d', '','ଦ'], |
| 92 | +['\u200c?e', '','ଏ'], |
| 93 | +['g', '','ଗ'], |
| 94 | +['h', '','ହ'], |
| 95 | +['\u200c?i', '','ଇ'], |
| 96 | +['j', '','ଜ'], |
| 97 | +['k', '','କ'], |
| 98 | +['l', '','ଲ'], |
| 99 | +['m', '','ମ'], |
| 100 | +['n', '','ନ'], |
| 101 | +['\u200c?o', '','ଓ'], |
| 102 | +['p', '','ପ'], |
| 103 | +['q', '', 'ଡ଼'], |
| 104 | +['r', '','ର'], |
| 105 | +['s', '','ସ'], |
| 106 | +['t', '','ତ'], |
| 107 | +['\u200c?u', '','ଉ'], |
| 108 | +['[vwVW]', '', 'ୱ'], |
| 109 | +['x', '','କ୍ଷ'], |
| 110 | +['[yY]', '', 'ୟ'], |
| 111 | +['z', '','\u0B3C'], |
| 112 | +['\u200c?A', '','ଆ'], |
| 113 | +['B', '','ବ'], |
| 114 | +['C', '','ଛ'], |
| 115 | +['D', '','ଡ'], |
| 116 | +['\u200c?E', '','ଐ'], |
| 117 | +['F', '','ଫ'], |
| 118 | +['G', '','ଗ'], |
| 119 | +['H', '','ଃ'], |
| 120 | +['\u200c?I', '','ଈ'], |
| 121 | +['J', '','ଯ'], |
| 122 | +['K', '','କ୍କ'], |
| 123 | +['L', '','ଳ'], |
| 124 | +['M', '','ଂ'], |
| 125 | +['N', '','ଣ'], |
| 126 | +['\u200c?O', '', 'ଔ'], |
| 127 | +['P', '','ପ୍ପ'], |
| 128 | +['Q', '', 'ଢ଼'], |
| 129 | +['R', '','ଋ'], |
| 130 | +['S', '','ଶ'], |
| 131 | +['T', '','ଟ'], |
| 132 | +['\u200c?U', '','ଊ'], |
| 133 | +['X', '', 'ଁ'], |
| 134 | +['Z', '', 'ଜ୍ଞ'], |
| 135 | +['\\~', '','୍'], |
| 136 | +['//', '','ଽ'], |
| 137 | +['_', '', '\u200c'], |
| 138 | +['0', '','୦'], |
| 139 | +['1', '','୧'], |
| 140 | +['2', '','୨'], |
| 141 | +['3', '','୩'], |
| 142 | +['4', '','୪'], |
| 143 | +['5', '','୫'], |
| 144 | +['6', '','୬'], |
| 145 | +['7', '','୭'], |
| 146 | +['8', '','୮'], |
| 147 | +['9', '','୯'] |
| 148 | +]; |
| 149 | + |
| 150 | +jQuery.narayam.addScheme( 'or-lekhani', { |
| 151 | + 'namemsg': 'narayam-or-lekhani', |
| 152 | + 'extended_keyboard': false, |
| 153 | + 'lookbackLength': 4, |
| 154 | + 'keyBufferLength': 2, |
| 155 | + 'rules': rules |
| 156 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.or-lekhani.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 157 | + native |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.sa-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 118 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.as-inscript.js |
— | — | @@ -0,0 +1,126 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Assamese script |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 6 | + * @date 2010-12-12 (updated: 2010-12-22) |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + |
| 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', '', '\u09F0'], |
| 52 | +['J', '', 'ৎ'], |
| 53 | +['n', '', 'ল'], |
| 54 | +['M', '', 'শ'], |
| 55 | +['\\<', '', 'ষ'], |
| 56 | +['m', '', 'স'], |
| 57 | +['u', '', 'হ'], |
| 58 | +['\\]', '', '়'], |
| 59 | +['e', '', 'া'], |
| 60 | +['f', '', 'ি'], |
| 61 | +['r', '', 'ী'], |
| 62 | +['g', '', 'ু'], |
| 63 | +['t', '', 'ূ'], |
| 64 | +['\\=', '', 'ৃ'], |
| 65 | +['s', '', 'ে'], |
| 66 | +['w', '', 'ৈ'], |
| 67 | +['a', '', 'ো'], |
| 68 | +['q', '', 'ৌ'], |
| 69 | +['d', '', '্'], |
| 70 | +['/', '', 'য়'], |
| 71 | +['\\>', '', ''], |
| 72 | +['0', '', '০'], |
| 73 | +['1', '', '১'], |
| 74 | +['2', '', '২'], |
| 75 | +['3', '', '৩'], |
| 76 | +['4', '', '৪'], |
| 77 | +['5', '', '৫'], |
| 78 | +['6', '', '৬'], |
| 79 | +['7', '', '৭'], |
| 80 | +['8', '', '৮'], |
| 81 | +['9', '', '৯'], |
| 82 | +['z', '', 'ʼ'], |
| 83 | +['\\!', '', 'অ্যা'], |
| 84 | +['\\#', '', '্\u09F0'], |
| 85 | +['\\$', '', '\u09F0্'], |
| 86 | +['\\%', '', 'জ্ঞ'], |
| 87 | +['\\^', '', 'ত্র'], |
| 88 | +['\\&', '', 'ক্ষ'], |
| 89 | +['\\*', '', 'শ্র'], |
| 90 | +['\\(', '', '\u200D'], |
| 91 | +['\\)', '', '\u200C'] |
| 92 | +]; |
| 93 | + |
| 94 | +// Extended layout for InScript. Works in Firefox only |
| 95 | +var rules_x = [ |
| 96 | +['F', '', 'ঌ'], |
| 97 | +['\\>', '', 'ঽ'], |
| 98 | +['\\=', '', 'ৠ'], |
| 99 | +['l', '', 'ৎ'], |
| 100 | +['\\[', '', 'ড়'], |
| 101 | +['\\{', '', 'ঢ়'], |
| 102 | +['\\+', '', 'ৠ'], |
| 103 | +['R', '', 'ৡ'], |
| 104 | +['f', '', 'ৢ'], |
| 105 | +['r', '', 'ৣ'], |
| 106 | +['\\.', '', ''], |
| 107 | +['x', '', '৺'], |
| 108 | +['\\<', '', '৲'], |
| 109 | +[',', '', '৳'], |
| 110 | +['\\!', '', '৴'], |
| 111 | +['\\@', '', '৵'], |
| 112 | +['\\#', '', '৶'], |
| 113 | +['\\$', '', '৷'], |
| 114 | +['\\%', '', '৸'], |
| 115 | +['\\^', '', '৹'], |
| 116 | +['\\?', '', '৻'], |
| 117 | +['4', '', '₹'] |
| 118 | +]; |
| 119 | + |
| 120 | +jQuery.narayam.addScheme( 'as-inscript', { |
| 121 | + 'namemsg': 'narayam-as-inscript', |
| 122 | + 'extended_keyboard': true, |
| 123 | + 'lookbackLength': 0, |
| 124 | + 'keyBufferLength': 0, |
| 125 | + 'rules': rules, |
| 126 | + 'rules_x': rules_x |
| 127 | +} ); |
\ No newline at end of file |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.as-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 128 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.as-bornona.js |
— | — | @@ -0,0 +1,82 @@ |
| 2 | +/** |
| 3 | + * Regular expression rules table for Bornona layout for Assamese script |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2010-12-22 |
| 6 | + * License: GPLv3, CC-BY-SA 3.0 |
| 7 | + */ |
| 8 | + |
| 9 | +var rules = [ |
| 10 | +['q', '', 'ং'], |
| 11 | +['Q', '', 'ঙ'], |
| 12 | +['w', '', 'ঢ'], |
| 13 | +['W', '', 'ঠ'], |
| 14 | +['e', '', 'ে'], |
| 15 | +['E', '', 'ৈ'], |
| 16 | +['r', '', 'ৰ'], |
| 17 | +['R', '', 'ৃ'], |
| 18 | +['t', '', 'ত'], |
| 19 | +['T', '', 'ট'], |
| 20 | +['y', '', 'ধ'], |
| 21 | +['Y', '', 'থ'], |
| 22 | +['u', '', 'ু'], |
| 23 | +['U', '', 'ূ'], |
| 24 | +['i', '', 'ি'], |
| 25 | +['I', '', 'ী'], |
| 26 | +['o', '', 'ো'], |
| 27 | +['O', '', 'ৌ'], |
| 28 | +['p', '', 'প'], |
| 29 | +['P', '', '্ৰ'], |
| 30 | +['\\|', '', 'র'], |
| 31 | +['\\\\', '', 'ৱ'], |
| 32 | +['a', '', 'া'], |
| 33 | +['A', '', 'অ'], |
| 34 | +['s', '', 'স'], |
| 35 | +['S', '', 'শ'], |
| 36 | +['d', '', 'দ'], |
| 37 | +['D', '', 'ড'], |
| 38 | +['f', '', 'ফ'], |
| 39 | +['F', '', 'ৰ্ফ'], |
| 40 | +['g', '', 'গ'], |
| 41 | +['G', '', 'ঘ'], |
| 42 | +['h', '', '্'], |
| 43 | +['H', '', 'হ'], |
| 44 | +['j', '', 'জ'], |
| 45 | +['J', '', 'ঝ'], |
| 46 | +['k', '', 'ক'], |
| 47 | +['K', '', 'খ'], |
| 48 | +['l', '', 'ল'], |
| 49 | +['L', '', '।'], |
| 50 | +['z', '', 'য'], |
| 51 | +['Z', '', 'ড়'], |
| 52 | +['x', '', 'ষ'], |
| 53 | +['X', '', 'ঢ়'], |
| 54 | +['c', '', 'চ'], |
| 55 | +['C', '', 'ছ'], |
| 56 | +['v', '', 'ভ'], |
| 57 | +['V', '', '্য'], |
| 58 | +['b', '', 'ব'], |
| 59 | +['B', '', 'য়'], |
| 60 | +['n', '', 'ন'], |
| 61 | +['N', '', 'ণ'], |
| 62 | +['m', '', 'ম'], |
| 63 | +['M', '', 'ঞ'], |
| 64 | +['0', '', '০'], |
| 65 | +['1', '', '১'], |
| 66 | +['2', '', '২'], |
| 67 | +['3', '', '৩'], |
| 68 | +['4', '', '৪'], |
| 69 | +['5', '', '৫'], |
| 70 | +['6', '', '৬'], |
| 71 | +['7', '', '৭'], |
| 72 | +['8', '', '৮'], |
| 73 | +['9', '', '৯'], |
| 74 | +['\\`', '', '\u200C'] |
| 75 | +]; |
| 76 | + |
| 77 | +jQuery.narayam.addScheme( 'as-bornona', { |
| 78 | + 'namemsg': 'narayam-as-bornona', |
| 79 | + 'extended_keyboard': false, |
| 80 | + 'lookbackLength': 0, |
| 81 | + 'keyBufferLength': 0, |
| 82 | + 'rules': rules |
| 83 | +} ); |
\ No newline at end of file |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.as-bornona.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 84 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.core.js |
— | — | @@ -0,0 +1,662 @@ |
| 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 | + // All input methods. This will be used for selecting input methods from languages |
| 35 | + // other than uselang- optionally |
| 36 | + var allImes = mw.config.get( 'wgNarayamAllSchemes' ) || {}; |
| 37 | + // Currently selected scheme |
| 38 | + var currentScheme = null; |
| 39 | + // Shortcut key for turning Narayam on and off |
| 40 | + var shortcutKey = getShortCutKey(); |
| 41 | + // Number of recent input methods to be shown |
| 42 | + var recentItemsLength = mw.config.get( 'wgNarayamRecentItemsLength' ); |
| 43 | + /* Private functions */ |
| 44 | + |
| 45 | + /** |
| 46 | + * Transliterate a string using the current scheme |
| 47 | + * @param str String to transliterate |
| 48 | + * @param keyBuffer The key buffer |
| 49 | + * @param useExtended Whether to use the extended part of the scheme |
| 50 | + * @return Transliterated string, or str if no applicable transliteration found. |
| 51 | + */ |
| 52 | + function transliterate( str, keyBuffer, useExtended ) { |
| 53 | + var rules = currentScheme.extended_keyboard && useExtended ? |
| 54 | + currentScheme.rules_x : currentScheme.rules; |
| 55 | + for ( var i = 0; i < rules.length; i++ ) { |
| 56 | + var regex = new RegExp( rules[i][0] + '$' ); |
| 57 | + if ( regex.test( str ) // Input string match |
| 58 | + && |
| 59 | + ( |
| 60 | + rules[i][1].length == 0 // Keybuffer match not required |
| 61 | + || |
| 62 | + ( // Keybuffer match specified, so it should be met |
| 63 | + rules[i][1].length > 0 |
| 64 | + && rules[i][1].length <= keyBuffer.length |
| 65 | + && new RegExp( rules[i][1] + '$' ).test( keyBuffer ) |
| 66 | + ) |
| 67 | + ) |
| 68 | + ) { |
| 69 | + return str.replace( regex, rules[i][2] ); |
| 70 | + } |
| 71 | + } |
| 72 | + // No matches, return the input |
| 73 | + return str; |
| 74 | + } |
| 75 | + |
| 76 | + /** |
| 77 | + * Get the n characters in str that immediately precede pos |
| 78 | + * Example: lastNChars( "foobarbaz", 5, 2 ) == "ba" |
| 79 | + * @param str String to search in |
| 80 | + * @param pos Position in str |
| 81 | + * @param n Number of characters to go back from pos |
| 82 | + * @return Substring of str, at most n characters long, immediately preceding pos |
| 83 | + */ |
| 84 | + function lastNChars( str, pos, n ) { |
| 85 | + if ( n === 0 ) { |
| 86 | + return ''; |
| 87 | + } else if ( pos <= n ) { |
| 88 | + return str.substr( 0, pos ); |
| 89 | + } else { |
| 90 | + return str.substr( pos - n, n ); |
| 91 | + } |
| 92 | + } |
| 93 | + |
| 94 | + /** |
| 95 | + * Find the point at which a and b diverge, i.e. the first position |
| 96 | + * at which they don't have matching characters. |
| 97 | + * @param a String |
| 98 | + * @param b String |
| 99 | + * @return Position at which a and b diverge, or -1 if a == b |
| 100 | + */ |
| 101 | + function firstDivergence( a, b ) { |
| 102 | + var minLength = a.length < b.length ? a.length : b.length; |
| 103 | + for ( var i = 0; i < minLength; i++ ) { |
| 104 | + if ( a.charCodeAt( i ) !== b.charCodeAt( i ) ) { |
| 105 | + return i; |
| 106 | + } |
| 107 | + } |
| 108 | + return -1; |
| 109 | + } |
| 110 | + |
| 111 | + /** |
| 112 | + * Check whether a keypress event corresponds to the shortcut key |
| 113 | + * @param e Event object |
| 114 | + * @return bool |
| 115 | + */ |
| 116 | + function isShortcutKey( e ) { |
| 117 | + return e.altKey == shortcutKey.altKey && |
| 118 | + e.ctrlKey == shortcutKey.ctrlKey && |
| 119 | + e.shiftKey == shortcutKey.shiftKey && |
| 120 | + String.fromCharCode( e.which ).toLowerCase() == shortcutKey.key.toLowerCase(); |
| 121 | + } |
| 122 | + |
| 123 | + /** |
| 124 | + * Get the shortcut key for the tool, depending on OS, browser |
| 125 | + * @return shortcutKey |
| 126 | + */ |
| 127 | + function getShortCutKey() { |
| 128 | + var defaultShortcut = { |
| 129 | + altKey: false, |
| 130 | + ctrlKey: true, |
| 131 | + shiftKey: false, |
| 132 | + cmdKey: false, |
| 133 | + key: 'm' |
| 134 | + } |
| 135 | + // Browser sniffing to determine the available shortcutKey |
| 136 | + // Refer: mediawiki.util.js and en.wikipedia.org/wiki/Access_key |
| 137 | + var profile = $.client.profile(); |
| 138 | + // Safari/Konqueror on any platform, but not Safari on Windows |
| 139 | + // or any browser on Mac except chrome and opera |
| 140 | + if ( !( profile.platform == 'win' && profile.name == 'safari' ) && |
| 141 | + ( profile.name == 'safari'|| profile.platform == 'mac' || profile.name == 'konqueror' ) |
| 142 | + && !( profile.name == 'opera' || profile.name == 'chrome' ) ) { |
| 143 | + defaultShortcut.key = 'g'; |
| 144 | + } |
| 145 | + // For Opera in OSX, shortcut is control+command+m. |
| 146 | + if ( profile.name == 'opera' && profile.platform == 'mac' ) { |
| 147 | + defaultShortcut.cmdKey = true; |
| 148 | + } |
| 149 | + return defaultShortcut; |
| 150 | + } |
| 151 | + |
| 152 | + /** |
| 153 | + * Get a description of the shortcut key, e.g. "Ctrl-M" |
| 154 | + * @return string |
| 155 | + */ |
| 156 | + function shortcutText() { |
| 157 | + var text = ''; |
| 158 | + // TODO: Localize these things (in core, too) |
| 159 | + if ( shortcutKey.ctrlKey ) { |
| 160 | + text += 'Ctrl-'; |
| 161 | + } |
| 162 | + if ( shortcutKey.shiftKey ) { |
| 163 | + text += 'Shift-'; |
| 164 | + } |
| 165 | + if ( shortcutKey.altKey ) { |
| 166 | + text += 'Alt-'; |
| 167 | + } |
| 168 | + if ( shortcutKey.cmdKey ) { |
| 169 | + text += 'Command-'; |
| 170 | + } |
| 171 | + text += shortcutKey.key.toUpperCase(); |
| 172 | + return text; |
| 173 | + } |
| 174 | + |
| 175 | + /** |
| 176 | + * Change visual appearance of element (text input, textarea) according |
| 177 | + * current state of Narayam |
| 178 | + */ |
| 179 | + function changeVisual( $element ) { |
| 180 | + if ( enabled ) { |
| 181 | + $element.addClass( 'narayam-input' ); |
| 182 | + } else { |
| 183 | + $element.removeClass( 'narayam-input' ); |
| 184 | + } |
| 185 | + } |
| 186 | + |
| 187 | + /** |
| 188 | + * Replace text part from startPos to endPos with peri |
| 189 | + * It function is specifically for webkit browsers, |
| 190 | + * because of bug: https://bugs.webkit.org/show_bug.cgi?id=66630 |
| 191 | + * TODO: remove when webkit bug is handled in jQuery.textSelection.js |
| 192 | + * |
| 193 | + * @param $element jQuery object to wich replacement to be taked place |
| 194 | + * @param startPos Starting position of text range to be replaced |
| 195 | + * @param endPos Ending position of text range to be replaced |
| 196 | + * @param peri String to be substituted |
| 197 | + */ |
| 198 | + function replaceString( $element, startPos, endPos, peri ) { |
| 199 | + // Take entire text of the element |
| 200 | + var text = $element.val(); |
| 201 | + var pre = text.substring( 0, startPos ); |
| 202 | + var post = text.substring( endPos, text.length ); |
| 203 | + |
| 204 | + // Then replace |
| 205 | + $element.val( pre + peri + post ); |
| 206 | + } |
| 207 | + |
| 208 | + /** |
| 209 | + * Keydown event handler. Handles shortcut key presses |
| 210 | + * @param e Event object |
| 211 | + */ |
| 212 | + function onkeydown( e ) { |
| 213 | + // If the current scheme uses the alt key, ignore keydown for Alt+? combinations |
| 214 | + if ( enabled && currentScheme.extended_keyboard && e.altKey && !e.ctrlKey ) { |
| 215 | + e.stopPropagation(); |
| 216 | + return false; // Not in original code -- does this belong here? |
| 217 | + } else if ( isShortcutKey( e ) ) { |
| 218 | + that.toggle(); |
| 219 | + changeVisual( $( this ) ); |
| 220 | + e.stopPropagation(); |
| 221 | + return false; |
| 222 | + } |
| 223 | + return true; |
| 224 | + } |
| 225 | + |
| 226 | + /** |
| 227 | + * Keypress event handler. This is where the real work happens |
| 228 | + * @param e Event object |
| 229 | + */ |
| 230 | + function onkeypress( e ) { |
| 231 | + if ( !enabled ) { |
| 232 | + return true; |
| 233 | + } |
| 234 | + |
| 235 | + if ( e.which == 8 ) { // Backspace |
| 236 | + // Blank the keybuffer |
| 237 | + $( this ).data( 'narayamKeyBuffer', '' ); |
| 238 | + return true; |
| 239 | + } |
| 240 | + |
| 241 | + // Leave non-ASCII stuff alone, as well as anything involving |
| 242 | + // Alt (except for extended keymaps), Ctrl and Meta |
| 243 | + if ( e.which < 32 || ( e.altKey && !currentScheme.extended_keyboard ) || e.ctrlKey || e.metaKey ) { |
| 244 | + return true; |
| 245 | + } |
| 246 | + |
| 247 | + var $this = $( this ); |
| 248 | + var c = String.fromCharCode( e.which ); |
| 249 | + // Get the current caret position. The user may have selected text to overwrite, |
| 250 | + // so get both the start and end position of the selection. If there is no selection, |
| 251 | + // startPos and endPos will be equal. |
| 252 | + var pos = $this.textSelection( 'getCaretPosition', { 'startAndEnd': true } ); |
| 253 | + var startPos = pos[0]; |
| 254 | + var endPos = pos[1]; |
| 255 | + // Get the last few characters before the one the user just typed, |
| 256 | + // to provide context for the transliteration regexes. |
| 257 | + // We need to append c because it hasn't been added to $this.val() yet |
| 258 | + var input = lastNChars( $this.val(), startPos, currentScheme.lookbackLength ) + c; |
| 259 | + var keyBuffer = $this.data( 'narayamKeyBuffer' ); |
| 260 | + var replacement = transliterate( input, keyBuffer, e.altKey ); |
| 261 | + |
| 262 | + // Update the key buffer |
| 263 | + keyBuffer += c; |
| 264 | + if ( keyBuffer.length > currentScheme.keyBufferLength ) { |
| 265 | + // The buffer is longer than needed, truncate it at the front |
| 266 | + keyBuffer = keyBuffer.substring( keyBuffer.length - currentScheme.keyBufferLength ); |
| 267 | + } |
| 268 | + $this.data( 'narayamKeyBuffer', keyBuffer ); |
| 269 | + |
| 270 | + // textSelection() magic is expensive, so we avoid it as much as we can |
| 271 | + if ( replacement == input ) { |
| 272 | + return true; |
| 273 | + } |
| 274 | + // Drop a common prefix, if any |
| 275 | + // TODO: Profile this, see if it's any faster |
| 276 | + var divergingPos = firstDivergence( input, replacement ); |
| 277 | + input = input.substring( divergingPos ); |
| 278 | + replacement = replacement.substring( divergingPos ); |
| 279 | + |
| 280 | + $this.textSelection( 'encapsulateSelection', { |
| 281 | + peri: replacement, |
| 282 | + replace: true, |
| 283 | + selectPeri: false, |
| 284 | + selectionStart: startPos - input.length + 1, |
| 285 | + selectionEnd: endPos |
| 286 | + } ); |
| 287 | + |
| 288 | + e.stopPropagation(); |
| 289 | + return false; |
| 290 | + } |
| 291 | + |
| 292 | + /** |
| 293 | + * Focus event handler. |
| 294 | + * @param e Event object |
| 295 | + */ |
| 296 | + function onfocus( e ) { |
| 297 | + if ( !$( this ).data( 'narayamKeyBuffer' ) ) { |
| 298 | + // First-time focus on the input field |
| 299 | + // So, initialise a key buffer for it |
| 300 | + $( this ).data( 'narayamKeyBuffer', '' ); |
| 301 | + } |
| 302 | + changeVisual( $( this ) ); |
| 303 | + } |
| 304 | + |
| 305 | + /** |
| 306 | + * Blur event handler. |
| 307 | + * @param e Event object |
| 308 | + */ |
| 309 | + function onblur( e ) { |
| 310 | + $( this ).removeClass( 'narayam-input' ); |
| 311 | + } |
| 312 | + |
| 313 | + |
| 314 | + /* Public functions */ |
| 315 | + |
| 316 | + /** |
| 317 | + * Add more inputs to apply Narayam to |
| 318 | + * @param inputs A jQuery object holding one or more input or textarea elements, |
| 319 | + * or an array of DOM elements, or a single DOM element, or a selector |
| 320 | + */ |
| 321 | + this.addInputs = function( inputs ) { |
| 322 | + if ( typeof( inputs ) === "string" ) { |
| 323 | + // If a string is passed, it is CSS selector |
| 324 | + // We can use jQuery's .live() instead of .bind() |
| 325 | + // So Narayam can work on elements added later to DOM too |
| 326 | + $( inputs ) |
| 327 | + .live( 'keydown', onkeydown ) |
| 328 | + .live( 'keypress', onkeypress ) |
| 329 | + .live( 'focus', onfocus ) |
| 330 | + .live( 'blur', onblur ); |
| 331 | + } else { |
| 332 | + var $newInputs = $( inputs ); |
| 333 | + $inputs = $inputs.add( $newInputs ); |
| 334 | + $newInputs |
| 335 | + .bind( 'keydown.narayam', onkeydown ) |
| 336 | + .bind( 'keypress.narayam', onkeypress ) |
| 337 | + .bind( 'focus', onfocus ) |
| 338 | + .bind( 'blur', onblur ); |
| 339 | + } |
| 340 | + }; |
| 341 | + |
| 342 | + /** |
| 343 | + * Enable Narayam |
| 344 | + */ |
| 345 | + this.enable = function() { |
| 346 | + if ( !enabled ) { |
| 347 | + $.cookie( 'narayam-enabled', '1', { path: '/', expires: 30 } ); |
| 348 | + $( '#narayam-toggle' ).prop( 'checked', true ); |
| 349 | + $( 'li#pt-narayam' ) |
| 350 | + .removeClass( 'narayam-inactive' ) |
| 351 | + .addClass( 'narayam-active' ); |
| 352 | + enabled = true; |
| 353 | + } |
| 354 | + }; |
| 355 | + |
| 356 | + /** |
| 357 | + * Disable Narayam |
| 358 | + */ |
| 359 | + this.disable = function() { |
| 360 | + if ( enabled ) { |
| 361 | + $.cookie( 'narayam-enabled', '0', { path: '/', expires: 30 } ); |
| 362 | + $( '#narayam-toggle' ).prop( 'checked', false ); |
| 363 | + $( 'li#pt-narayam' ) |
| 364 | + .removeClass( 'narayam-active' ) |
| 365 | + .addClass( 'narayam-inactive' ); |
| 366 | + enabled = false; |
| 367 | + } |
| 368 | + }; |
| 369 | + |
| 370 | + /** |
| 371 | + * Toggle the enabled/disabled state |
| 372 | + */ |
| 373 | + this.toggle = function() { |
| 374 | + if ( enabled ) { |
| 375 | + that.disable(); |
| 376 | + } else { |
| 377 | + that.enable(); |
| 378 | + } |
| 379 | + }; |
| 380 | + |
| 381 | + /** |
| 382 | + * Add a transliteration scheme. Schemes whose name is not in |
| 383 | + * wgNarayamAvailableSchemes will be ignored. |
| 384 | + * |
| 385 | + * A scheme consists of rules used for transliteration. A rule is an |
| 386 | + * array of three strings. The first string is a regex that is matched |
| 387 | + * against the input string (the last few characters before the cursor |
| 388 | + * followed by the character the user entered), the second string is a |
| 389 | + * regex that is matched against the end of the key buffer (the last |
| 390 | + * few keys the user pressed), and the third string is the replacement |
| 391 | + * string (may contain placeholders like $1 for subexpressions). You do |
| 392 | + * not need to add $ to the end of either of the regexes so they match |
| 393 | + * at the end, this is done automagically. |
| 394 | + * |
| 395 | + * The transliteration algorithm processes the rules in the order they |
| 396 | + * are specified, and applies the first rule that matches. For a rule |
| 397 | + * to match, both the first and second regex have to match (the first |
| 398 | + * for the input, the second for the key buffer). Most rules do not use |
| 399 | + * the keybuffer and specify an empty string as the second regex. |
| 400 | + * |
| 401 | + * The scheme data object must have the following keys: |
| 402 | + * namemsg: Message key for the name of the scheme |
| 403 | + * extended_keyboard: Whether this scheme has an extended ruleset (bool) |
| 404 | + * lookbackLength: Number of characters before the cursor to include |
| 405 | + * when matching the first regex of each rule. This is |
| 406 | + * usually the maximum number of characters a rule |
| 407 | + * regex can match minus one. |
| 408 | + * keyBufferLength: Length of the key buffer. May be zero if not needed |
| 409 | + * rules: Array of rules, which themselves are arrays of three strings. |
| 410 | + * rules_x: Extended ruleset. This is used instead of the normal |
| 411 | + * ruleset when Alt is held. This key is only required if |
| 412 | + * extended_keyboard is true |
| 413 | + * |
| 414 | + * NOTE: All keys are REQUIRED (except rules_x when not used). Missing |
| 415 | + * keys may result in JS errors. |
| 416 | + * |
| 417 | + * @param name Name of the scheme, must be unique |
| 418 | + * @param data Object with scheme data. |
| 419 | + * @return True if added, false if not |
| 420 | + */ |
| 421 | + this.addScheme = function( name, data ) { |
| 422 | + schemes[name] = data; |
| 423 | + return true; |
| 424 | + }; |
| 425 | + |
| 426 | + /** |
| 427 | + * Change the current transliteration scheme |
| 428 | + * @param name String |
| 429 | + */ |
| 430 | + this.setScheme = function( name ) { |
| 431 | + var recent = $.cookie( 'narayam-scheme' ) || []; |
| 432 | + if ( typeof recent === "string" ) { |
| 433 | + recent = recent.split( "," ); |
| 434 | + }; |
| 435 | + recent = $.grep( recent, function( value ) { |
| 436 | + return value != name; |
| 437 | + } ); |
| 438 | + recent.unshift( name ); |
| 439 | + recent = recent.slice( 0, recentItemsLength ); |
| 440 | + recent = recent.join( "," ); |
| 441 | + $.cookie( 'narayam-scheme', recent, { path: '/', expires: 30 } ); |
| 442 | + if ( name in schemes ) { |
| 443 | + currentScheme = schemes[name]; |
| 444 | + } else { |
| 445 | + // load the rules dynamically. |
| 446 | + mw.loader.using( "ext.narayam.rules." + name, function() { |
| 447 | + currentScheme = schemes[name]; |
| 448 | + } ); |
| 449 | + } |
| 450 | + return true; |
| 451 | + }; |
| 452 | + |
| 453 | + /** |
| 454 | + * Set up Narayam. This adds the scheme dropdown, binds the handlers |
| 455 | + * and initializes the enabled/disabled state and selected scheme |
| 456 | + * from a cookie or wgNarayamEnableByDefault |
| 457 | + */ |
| 458 | + this.setup = function() { |
| 459 | + that.buildMenu(); |
| 460 | + // Restore state from cookies |
| 461 | + var recentSchemes = $.cookie( 'narayam-scheme' ); |
| 462 | + var lastScheme = null; |
| 463 | + if ( typeof recent === "string" ) { |
| 464 | + lastScheme = recent.split( "," )[0]; |
| 465 | + } |
| 466 | + if ( lastScheme ) { |
| 467 | + that.setScheme( lastScheme ); |
| 468 | + $( '#narayam-' + lastScheme ).prop( 'checked', true ); |
| 469 | + } else { |
| 470 | + //if no saved input scheme, select the first. |
| 471 | + var $firstScheme = $( 'input.narayam-scheme:first' ); |
| 472 | + that.setScheme( $firstScheme.val() ); |
| 473 | + $firstScheme.prop( 'checked', true ); |
| 474 | + |
| 475 | + } |
| 476 | + var enabledCookie = $.cookie( 'narayam-enabled' ); |
| 477 | + if ( enabledCookie == '1' || ( mw.config.get( 'wgNarayamEnabledByDefault' ) && enabledCookie !== '0' ) ) { |
| 478 | + that.enable(); |
| 479 | + } else { |
| 480 | + $( 'li#pt-narayam' ).addClass( 'narayam-inactive' ); |
| 481 | + } |
| 482 | + // Renew the narayam-enabled cookie. narayam-scheme is renewed by setScheme() |
| 483 | + if ( enabledCookie ) { |
| 484 | + $.cookie( 'narayam-enabled', enabledCookie, { path: '/', expires: 30 } ); |
| 485 | + } |
| 486 | + |
| 487 | + }; |
| 488 | + /** |
| 489 | + * Construct the menu item, for the given scheme name. |
| 490 | + */ |
| 491 | + this.buildMenuItem = function( scheme ) { |
| 492 | + var $input = $( '<input type="radio" name="narayam-input-method" class="narayam-scheme" />' ); |
| 493 | + $input.attr( 'id', 'narayam-' + scheme ).val( scheme ); |
| 494 | + |
| 495 | + var $narayamMenuItemLabel = $( '<label>' ) |
| 496 | + .attr( 'for' ,'narayam-' + scheme ) |
| 497 | + .append( $input ) |
| 498 | + .append( mw.message( "narayam-"+ scheme ).escaped() ); |
| 499 | + |
| 500 | + var $narayamMenuItem = $( '<li>' ) |
| 501 | + .append( $input ) |
| 502 | + .append( $narayamMenuItemLabel ); |
| 503 | + return $narayamMenuItem; |
| 504 | + }; |
| 505 | + |
| 506 | + /** |
| 507 | + * prepare the menu list for all the input methods. |
| 508 | + * @return The div containing the constructed menu. |
| 509 | + */ |
| 510 | + this.buildMenuItems = function(){ |
| 511 | + var haveSchemes = false; |
| 512 | + // Build schemes option list |
| 513 | + var $narayamMenuItems = $( '<ul>' ); |
| 514 | + var count = 1; |
| 515 | + var seen = []; |
| 516 | + |
| 517 | + var recent = $.cookie( "narayam-scheme" ) || []; |
| 518 | + if ( typeof recent === "string" ) { |
| 519 | + recent = recent.split( "," ); |
| 520 | + } |
| 521 | + // Prepare the recent inputmethods menu items |
| 522 | + for ( var i = 0; i < recent.length; i++ ) { |
| 523 | + var scheme = recent[i]; |
| 524 | + if ( $.inArray( scheme, seen ) > -1 ) { continue; } |
| 525 | + seen.push( scheme ); |
| 526 | + if ( count++ > recentItemsLength ) { break; } |
| 527 | + $narayamMenuItem = that.buildMenuItem( scheme ); |
| 528 | + $narayamMenuItem.addClass( 'narayam-recent-menu-item' ); |
| 529 | + $narayamMenuItems.append( $narayamMenuItem ); |
| 530 | + } |
| 531 | + // menu items for the language of wiki. |
| 532 | + var requested = [mw.config.get( 'wgUserVariant' ), mw.config.get( 'wgContentLanguage' ), mw.config.get( 'wgUserLanguage' )]; |
| 533 | + $( 'textarea[lang]' ).each( function( index ) { |
| 534 | + requested.push( this.lang ); |
| 535 | + }); |
| 536 | + for ( var i = 0; i < requested.length; i++ ) { |
| 537 | + var lang = requested[i]; |
| 538 | + var langschemes = allImes[lang]; |
| 539 | + if ( !langschemes ) continue; |
| 540 | + for ( var scheme in langschemes ) { |
| 541 | + haveSchemes = true; |
| 542 | + if ( $.inArray( scheme, seen ) !== -1 ) { continue; } |
| 543 | + seen.push( scheme ); |
| 544 | + $narayamMenuItem = that.buildMenuItem( scheme ); |
| 545 | + $narayamMenuItems.append( $narayamMenuItem ); |
| 546 | + } |
| 547 | + } |
| 548 | + |
| 549 | + if ( !haveSchemes ) { |
| 550 | + // No schemes available, don't show the tool |
| 551 | + return false; |
| 552 | + } |
| 553 | + |
| 554 | + // Event listener for scheme selection. |
| 555 | + $( '.narayam-scheme', $( '#narayam-menu-items > ul')[0] ).live( 'click', function() { |
| 556 | + that.setScheme( $( this ).val() ); |
| 557 | + } ); |
| 558 | + |
| 559 | + // Build enable/disable checkbox and label |
| 560 | + var $checkbox = $( '<input type="checkbox" id="narayam-toggle" />' ); |
| 561 | + $checkbox |
| 562 | + .attr( 'title', mw.msg( 'narayam-checkbox-tooltip' ) ) |
| 563 | + .click( that.toggle ); |
| 564 | + |
| 565 | + var $label = $( '<label>' ).attr( 'for', 'narayam-toggle' ); |
| 566 | + $label |
| 567 | + .text( mw.msg( 'narayam-toggle-ime', shortcutText() ) ) |
| 568 | + .prepend( $checkbox ) |
| 569 | + .prop( 'title', mw.msg( 'narayam-checkbox-tooltip' ) ); |
| 570 | + |
| 571 | + var $moreLink = $( '<a>' ) |
| 572 | + .text( mw.msg( 'narayam-more-imes' ) ) |
| 573 | + .click( function() { |
| 574 | + $('.narayam-scheme-dynamic-item').toggle( 'fast' ); |
| 575 | + if ( $('li.narayam-more-imes-link').hasClass( 'open' ) ) { |
| 576 | + $('li.narayam-more-imes-link').removeClass( 'open' ); |
| 577 | + } else { |
| 578 | + $('li.narayam-more-imes-link').addClass( 'open' ); |
| 579 | + } |
| 580 | + } ); |
| 581 | + |
| 582 | + $narayamMenuItems.append( $( '<li>' ) |
| 583 | + .addClass( 'narayam-more-imes-link' ) |
| 584 | + .append( $moreLink ) |
| 585 | + ); |
| 586 | + |
| 587 | + for ( var lang in allImes ) { |
| 588 | + var langschemes = allImes[lang]; |
| 589 | + for ( var langscheme in langschemes ) { |
| 590 | + // Donot repeat the input methods in more input methods section. |
| 591 | + // If already shown on recent items. |
| 592 | + if ( $.inArray( langscheme, seen ) > -1 ) { continue; } |
| 593 | + $narayamMenuItem = that.buildMenuItem( langscheme ); |
| 594 | + $narayamMenuItem.addClass( 'narayam-scheme-dynamic-item' ); |
| 595 | + $narayamMenuItems.append( $narayamMenuItem ); |
| 596 | + |
| 597 | + } |
| 598 | + } |
| 599 | + |
| 600 | + // Event listener for scheme selection - dynamic loading of rules. |
| 601 | + $( '.narayam-scheme', $('.narayam-scheme-dynamic-item') ).live( 'click', function() { |
| 602 | + that.setScheme( $( this ).val() ); |
| 603 | + // rebuild the menu items with recent items. |
| 604 | + $( '#narayam-menu-items' ).html( $.narayam.buildMenuItems() ); |
| 605 | + $( '#narayam-' + $( this ).val() ).prop( 'checked', true ); |
| 606 | + if ( enabled ) { |
| 607 | + $( '#narayam-toggle' ).prop( 'checked', true ); |
| 608 | + } |
| 609 | + } ); |
| 610 | + |
| 611 | + var helppage = mw.config.get( 'wgNarayamHelpPage' ); |
| 612 | + if ( helppage ) { |
| 613 | + var $link = $( '<a>' ) |
| 614 | + .text( mw.msg( 'narayam-help' ) ) |
| 615 | + .prop( 'href', mw.util.wikiGetlink( helppage ) ); |
| 616 | + var $li = $( '<li>' ).addClass( 'narayam-help-link' ); |
| 617 | + $narayamMenuItems.append( $li.append( $link ) ); |
| 618 | + } |
| 619 | + |
| 620 | + $narayamMenuItems.prepend( $( '<li>' ).append( $label ) ); |
| 621 | + return $( '<div>' ) |
| 622 | + .attr( 'id', 'narayam-menu-items' ) |
| 623 | + .addClass( 'menu-items' ) |
| 624 | + .append( $narayamMenuItems ); |
| 625 | + } |
| 626 | + |
| 627 | + |
| 628 | + /** |
| 629 | + * Construct the menu for Narayam |
| 630 | + */ |
| 631 | + this.buildMenu = function() { |
| 632 | + var $menuItemsDiv = that.buildMenuItems(); |
| 633 | + var $menu = $( '<div>' ) |
| 634 | + .attr( 'id', 'narayam-menu' ) |
| 635 | + .addClass( 'narayam-menu' ); |
| 636 | + var $link = $( '<a>' ) |
| 637 | + .prop( 'href', '#' ) |
| 638 | + .text( mw.msg( 'narayam-menu' ) ) |
| 639 | + .attr( 'title', mw.msg( 'narayam-menu-tooltip' ) ); |
| 640 | + |
| 641 | + $menu.append( $link ).append( $menuItemsDiv ); |
| 642 | + var $li = $( '<li>' ).attr( 'id', 'pt-narayam' ).append( $menu ); |
| 643 | + |
| 644 | + // If rtl, add to the right of top personal links. Else, to the left |
| 645 | + var fn = $( 'body' ).hasClass( 'rtl' ) ? "append" : "prepend"; |
| 646 | + $( '#p-personal ul:first' )[fn]( $li ); |
| 647 | + // Workaround for IE bug - activex components like input fields |
| 648 | + // coming on top of everything. |
| 649 | + // TODO: is there a better solution other than hiding it on hover? |
| 650 | + if ( $.browser.msie ) { |
| 651 | + $( '#narayam-menu' ).hover( function() { |
| 652 | + $( '#searchform' ).css( 'visibility', 'hidden' ); |
| 653 | + }, function() { |
| 654 | + $( '#searchform' ).css( 'visibility', 'visible' ); |
| 655 | + }); |
| 656 | + } |
| 657 | + $('.narayam-scheme-dynamic-item').hide(); |
| 658 | + // Narayam controls setup complete, returns true |
| 659 | + return true; |
| 660 | + }; |
| 661 | +} )(); |
| 662 | + |
| 663 | +} )( jQuery ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.core.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 664 | + native |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.kn-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 118 | + native |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.ml-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 90 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.ta-bamini.js |
— | — | @@ -0,0 +1,85 @@ |
| 2 | +/** |
| 3 | + * Regular expression rules table for Tamil Bamini Keyboard layout. |
| 4 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 5 | + * @date 2011-10-13 |
| 6 | + * @credits http://help.keymandesktop.com/keyboards/keyboard_ekwbamuni.php |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + |
| 10 | +var rules = [ |
| 11 | +['`', '', 'ஹ'], |
| 12 | +['q', '', 'ங'], |
| 13 | +['w', '', 'ற'], |
| 14 | +['e', '', 'ந'], |
| 15 | +['r', '', 'ச'], |
| 16 | +['t', '', 'வ'], |
| 17 | +['y', '', 'ல'], |
| 18 | +['u', '', 'ர'], |
| 19 | +//['i', '', ''], |
| 20 | +['o', '', 'ழ'], |
| 21 | +['p', '', 'ி'], |
| 22 | +['\\[', '', 'ஜ'], |
| 23 | +['\\]', '', 'ஸ'], |
| 24 | +['\\\\', '', 'ஷ'], |
| 25 | +['a', '', 'ய'], |
| 26 | +['s', '', 'ள'], |
| 27 | +['d', '', 'ன'], |
| 28 | +['f', '', 'க'], |
| 29 | +['g', '', 'ப'], |
| 30 | +['h', '', 'ா'], |
| 31 | +['j', '', 'த'], |
| 32 | +['k', '', 'ம'], |
| 33 | +['l', '', 'ட'], |
| 34 | +[';', '', '்'], |
| 35 | +['z', '', 'ண'], |
| 36 | +['x', '', 'ஒ'], |
| 37 | +['c', '', 'உ'], |
| 38 | +['v', '', 'எ'], |
| 39 | +['b', '', 'டி'], |
| 40 | +['m', '', 'அ'], |
| 41 | +[',', '', 'இ'], |
| 42 | +['/', '', 'ஃ'], |
| 43 | + |
| 44 | +['@', '', ';'], |
| 45 | +['#', '', 'சூ'], |
| 46 | +['\\$', '', 'கூ'], |
| 47 | +['%', '', 'மூ'], |
| 48 | +['\\^', '', 'டூ'], |
| 49 | +['&', '', 'ரூ'], |
| 50 | +['Q', '', 'ஞ'], |
| 51 | +['W', '', 'று'], |
| 52 | +['E', '', 'நு'], |
| 53 | +['R', '', 'சு'], |
| 54 | +['T', '', 'வு'], |
| 55 | +['Y', '', 'லு'], |
| 56 | +['U', '', 'ரு'], |
| 57 | +['I', '', 'ஐ'], |
| 58 | +['O', '', 'ழு'], |
| 59 | +['P', '', 'ீ'], |
| 60 | +['\\|', '', "'"], |
| 61 | +['A', '', 'யு'], |
| 62 | +['S', '', 'ளு'], |
| 63 | +['D', '', 'னு'], |
| 64 | +['F', '', 'கு'], |
| 65 | +['G', '', 'பு'], |
| 66 | +['H', '', 'ர்'], |
| 67 | +['J', '', 'து'], |
| 68 | +['K', '', 'மு'], |
| 69 | +['L', '', 'டு'], |
| 70 | +['Z', '', 'ணு'], |
| 71 | +['X', '', 'ஓ'], |
| 72 | +['C', '', 'ஊ'], |
| 73 | +['V', '', 'ஏ'], |
| 74 | +['B', '', 'டீ'], |
| 75 | +['M', '', 'ஆ'], |
| 76 | +['\\<', '', 'ஈ'], |
| 77 | +['\\>', '', ','] |
| 78 | +]; |
| 79 | + |
| 80 | +jQuery.narayam.addScheme( 'ta-bamini', { |
| 81 | + 'namemsg': 'narayam-ta-bamini', |
| 82 | + 'extended_keyboard': false, |
| 83 | + 'lookbackLength': 0, |
| 84 | + 'keyBufferLength': 0, |
| 85 | + 'rules': rules |
| 86 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.ta-bamini.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 87 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.ta-99.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( 'ta-99', { |
| 187 | + 'namemsg': 'narayam-ta-99', |
| 188 | + 'extended_keyboard': false, |
| 189 | + 'lookbackLength': 4, |
| 190 | + 'keyBufferLength': 1, |
| 191 | + 'rules': rules |
| 192 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.ta-99.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 193 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.gu-inscript.js |
— | — | @@ -0,0 +1,117 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Gujarat |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 6 | + * @date 2011-11-20 |
| 7 | + * License: GPLv3 |
| 8 | + */ |
| 9 | + |
| 10 | + // Normal rules |
| 11 | +var rules = [ |
| 12 | +['X', '', '\u0A81'], |
| 13 | +['x', '', '\u0A82'], |
| 14 | +['_', '', '\u0A83'], |
| 15 | +['D', '', '\u0A85'], |
| 16 | +['E', '', '\u0A86'], |
| 17 | +['F', '', '\u0A87'], |
| 18 | +['R', '', '\u0A88'], |
| 19 | +['G', '', '\u0A89'], |
| 20 | +['T', '', '\u0A8A'], |
| 21 | +['\\+', '', '\u0A8B'], |
| 22 | +['!', '', '\u0A8D'], |
| 23 | +['S', '', '\u0A8F'], |
| 24 | +['W', '', '\u0A90'], |
| 25 | +['\\|', '', '\u0A91'], |
| 26 | +['A', '', '\u0A93'], |
| 27 | +['Q', '', '\u0A94'], |
| 28 | +['k', '', '\u0A95'], |
| 29 | +['K', '', '\u0A96'], |
| 30 | +['i', '', '\u0A97'], |
| 31 | +['I', '', '\u0A98'], |
| 32 | +['U', '', '\u0A99'], |
| 33 | +[';', '', '\u0A9A'], |
| 34 | +['\\:', '', '\u0A9B'], |
| 35 | +['p', '', '\u0A9C'], |
| 36 | +['P', '', '\u0A9D'], |
| 37 | +['\\}', '', '\u0A9E'], |
| 38 | +["'", '', '\u0A9F'], |
| 39 | +['"', '', '\u0AA0'], |
| 40 | +['\\[', '', '\u0AA1'], |
| 41 | +['\\{', '', '\u0AA2'], |
| 42 | +['C', '', '\u0AA3'], |
| 43 | +['l', '', '\u0AA4'], |
| 44 | +['L', '', '\u0AA5'], |
| 45 | +['o', '', '\u0AA6'], |
| 46 | +['O', '', '\u0AA7'], |
| 47 | +['v', '', '\u0AA8'], |
| 48 | +['h', '', '\u0AAA'], |
| 49 | +['H', '', '\u0AAB'], |
| 50 | +['y', '', '\u0AAC'], |
| 51 | +['Y', '', '\u0AAD'], |
| 52 | +['c', '', '\u0AAE'], |
| 53 | +['/', '', '\u0AAF'], |
| 54 | +['j', '', '\u0AB0'], |
| 55 | +['n', '', '\u0AB2'], |
| 56 | +['N', '', '\u0AB3'], |
| 57 | +['b', '', '\u0AB5'], |
| 58 | +['M', '', '\u0AB6'], |
| 59 | +['\\<', '', '\u0AB7'], |
| 60 | +['m', '', '\u0AB8'], |
| 61 | +['u', '', '\u0AB9'], |
| 62 | +['\\}', '', '\u0ABC'], |
| 63 | +['e', '', '\u0ABE'], |
| 64 | +['f', '', '\u0ABF'], |
| 65 | +['r', '', '\u0AC0'], |
| 66 | +['g', '', '\u0AC1'], |
| 67 | +['t', '', '\u0AC2'], |
| 68 | +['\\=', '', '\u0AC3'], |
| 69 | +['\\@', '', '\u0AC5'], |
| 70 | +['s', '', '\u0AC7'], |
| 71 | +['w', '', '\u0AC8'], |
| 72 | +['\\\\', '', '\u0AC9'], |
| 73 | +['a', '', '\u0ACB'], |
| 74 | +['q', '', '\u0ACC'], |
| 75 | +['d', '', '\u0ACD'], |
| 76 | +['\\>', '', '\u0AE4'], |
| 77 | +['0', '', '\u0AE6'], |
| 78 | +['1', '', '\u0AE7'], |
| 79 | +['2', '', '\u0AE8'], |
| 80 | +['3', '', '\u0AE9'], |
| 81 | +['4', '', '\u0AEA'], |
| 82 | +['5', '', '\u0AEB'], |
| 83 | +['6', '', '\u0AEC'], |
| 84 | +['7', '', '\u0AED'], |
| 85 | +['8', '', '\u0AEE'], |
| 86 | +['9', '', '\u0AEF'], |
| 87 | +['\\#', '', '\u0ACD\u0AB0'], |
| 88 | +['\\$', '', '\u0AB0\u0ACD'], |
| 89 | +['\\%', '', '\u0A9C\u0ACD\u0A9E'], |
| 90 | +['\\^', '', '\u0AA4\u0ACD\u0AB0'], |
| 91 | +['\\&', '', '\u0A95\u0ACD\u0AB7'], |
| 92 | +['\\*', '', '\u0AB6\u0ACD\u0AB0'], |
| 93 | +['\\(', '', '\u200D'], |
| 94 | +['\\)', '', '\u200C'] |
| 95 | +]; |
| 96 | + |
| 97 | +var rules_x = [ |
| 98 | +['F', '', '\u0A8C'], |
| 99 | +['\\>', '', '\u0ABD'], |
| 100 | +['\\=', '', '\u0AC4'], |
| 101 | +['X', '', '\u0AD0'], |
| 102 | +['\\+', '', '\u0AE0'], |
| 103 | +['R', '', '\u0AE1'], |
| 104 | +['f', '', '\u0AE2'], |
| 105 | +['r', '', '\u0AE3'], |
| 106 | +['\\.', '', '\u0AE5'], |
| 107 | +['\\<', '', '\u0AF1'], |
| 108 | +['$', '', '\u20B9'] |
| 109 | +]; |
| 110 | + |
| 111 | +jQuery.narayam.addScheme( 'gu-inscript', { |
| 112 | + 'namemsg': 'narayam-gu-inscript', |
| 113 | + 'extended_keyboard': true, |
| 114 | + 'lookbackLength': 0, |
| 115 | + 'keyBufferLength': 0, |
| 116 | + 'rules': rules, |
| 117 | + 'rules_x': rules_x |
| 118 | +} ); |
\ No newline at end of file |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.bn-avro.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 199 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.mr-inscript.js |
— | — | @@ -0,0 +1,121 @@ |
| 2 | +/** |
| 3 | + * InScript regular expression rules table for Devanagari script for Marathi |
| 4 | + * According to CDAC's "Enhanced InScript Keyboard Layout 5.2" |
| 5 | + * @author Junaid P V ([[user:Junaidpv]]) |
| 6 | + * @date 2011-11-20 |
| 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 | +['J', '', '\u0931'], |
| 56 | +['n', '', '\u0932'], |
| 57 | +['N', '', '\u0933'], |
| 58 | +['b', '', '\u0935'], |
| 59 | +['M', '', '\u0936'], |
| 60 | +['\\<', '', '\u0937'], |
| 61 | +['m', '', '\u0938'], |
| 62 | +['u', '', '\u0939'], |
| 63 | +['\\]', '', '\u093C'], |
| 64 | +['e', '', '\u093E'], |
| 65 | +['f', '', '\u093F'], |
| 66 | +['r', '', '\u0940'], |
| 67 | +['g', '', '\u0941'], |
| 68 | +['t', '', '\u0942'], |
| 69 | +['\\=', '', '\u0943'], |
| 70 | +['\\@', '', '\u0945'], |
| 71 | +['s', '', '\u0947'], |
| 72 | +['w', '', '\u0948'], |
| 73 | +['\\\\', '', '\u0949'], |
| 74 | +['a', '', '\u094B'], |
| 75 | +['q', '', '\u094C'], |
| 76 | +['d', '', '\u094D'], |
| 77 | +['\\>', '', '\u0964'], |
| 78 | +['0', '', '\u0966'], |
| 79 | +['1', '', '\u0967'], |
| 80 | +['2', '', '\u0968'], |
| 81 | +['3', '', '\u0969'], |
| 82 | +['4', '', '\u096A'], |
| 83 | +['5', '', '\u096B'], |
| 84 | +['6', '', '\u096C'], |
| 85 | +['7', '', '\u096D'], |
| 86 | +['8', '', '\u096E'], |
| 87 | +['9', '', '\u096F'], |
| 88 | +['\\!', '', '\u0972'], |
| 89 | +['\\#', '', '\u094D\u0930'], |
| 90 | +['\\$', '', '\u0930\u094D'], |
| 91 | +['\\%', '', '\u091C\u094D\u091E'], |
| 92 | +['\\^', '', '\u0924\u094D\u0930'], |
| 93 | +['\\&', '', '\u0915\u094D\u0937'], |
| 94 | +['\\*', '', '\u0936\u094D\u0930'], |
| 95 | +['\\(', '', '\u200D'], |
| 96 | +['\\)', '', '\u200C'] |
| 97 | +]; |
| 98 | + |
| 99 | +var rules_x = [ |
| 100 | +['F', '', '\u090C'], |
| 101 | +['\\>', '', '\u093D'], |
| 102 | +['\\=', '', '\u0944'], |
| 103 | +['X', '', '\u0950'], |
| 104 | +['e', '', '\u0951'], |
| 105 | +['d', '', '\u0952'], |
| 106 | +['\\+', '', '\u0960'], |
| 107 | +['R', '', '\u0961'], |
| 108 | +['f', '', '\u0962'], |
| 109 | +['r', '', '\u0963'], |
| 110 | +['\\.', '', '\u0965'], |
| 111 | +[',', '', '\u0970'], |
| 112 | +['\\$', '', '\u20B9'] |
| 113 | +]; |
| 114 | + |
| 115 | +jQuery.narayam.addScheme( 'mr-inscript', { |
| 116 | + 'namemsg': 'narayam-mr-inscript', |
| 117 | + 'extended_keyboard': true, |
| 118 | + 'lookbackLength': 0, |
| 119 | + 'keyBufferLength': 0, |
| 120 | + 'rules': rules, |
| 121 | + 'rules_x': rules_x |
| 122 | +} ); |
\ No newline at end of file |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.ml.js |
— | — | @@ -0,0 +1,336 @@ |
| 2 | +/** |
| 3 | + * Transliteration 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: trunk/extensions/Narayam/resources/ext.narayam.rules.ml.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 338 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.kn.js |
— | — | @@ -0,0 +1,149 @@ |
| 2 | +/** |
| 3 | + * Transliteration 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: trunk/extensions/Narayam/resources/ext.narayam.rules.kn.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 151 | + native |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.rules.or-inscript.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 111 | + native |
Index: trunk/extensions/Narayam/resources/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: trunk/extensions/Narayam/resources/ext.narayam.core-vector.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 8 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.mr.js |
— | — | @@ -0,0 +1,151 @@ |
| 2 | +/** |
| 3 | + * Transliteration regular expression rules table for Marathi |
| 4 | + * @author Pathak A B ([[user:Pathak.ab]]) |
| 5 | + * @date 2011-11-19 |
| 6 | + * @credits With help from Amir E Aharani |
| 7 | + * License: GPLv3, CC-BY-SA 3.0 |
| 8 | + */ |
| 9 | + |
| 10 | + // Normal rules |
| 11 | +var rules = [ |
| 12 | +['च्h','c','च्'], // ch |
| 13 | +['च्h', 'ch','छ्'], // chh |
| 14 | + |
| 15 | +['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'], |
| 16 | + |
| 17 | +['([क-ह]़?)्a', '','$1'], |
| 18 | +['([क-ह]़?)्A', '','$1ा'], |
| 19 | +['([क-ह]़?)a', '','$1ा'], |
| 20 | +['([क-ह]़?)्i', '','$1ि'], |
| 21 | +['([क-ह]़?)(्I|िi|ेe)', '','$1ी'], |
| 22 | +['([क-ह]़?)्u', '','$1ु'], |
| 23 | +['([क-ह]़?)(ुu|्U|ोo)', '','$1ू'], |
| 24 | +['([क-ह]़?)्R', '','$1ृ'], |
| 25 | +['([क-ह]़?)ृR', '','$1ॄ'], |
| 26 | +['([क-ह]़?)्ळ्l', '','$1ॢ'], |
| 27 | +['([क-ह]़?)ॢl', '','$1ॣ'], |
| 28 | +['([क-ह]़?)े\\^', '','$1ॅ'], |
| 29 | +['([क-ह]़?)्e', '','$1े'], |
| 30 | +['([क-ह]़?)्E', '','$1ॅ'], |
| 31 | +['([क-ह]़?)ो\\^', '','$1ॉ'], |
| 32 | +['([क-ह]़?)i', '','$1ै'], |
| 33 | +['([क-ह]़?)्o', '','$1ो'], |
| 34 | +['([क-ह]़?)्O', '','$1ॉ'], |
| 35 | +['([क-ह]़?)u', '','$1ौ'], |
| 36 | +['([क-ह])्\\`', '','$1़्'], |
| 37 | + |
| 38 | +['आऊm', '', 'ॐ'], // AUm |
| 39 | + |
| 40 | +['(ग्ग्y|ज्ज्n)', '', 'ज्ञ्'], // Gy or Jy |
| 41 | + |
| 42 | +['र्र्y', '', 'ऱ्य्'], // rry |
| 43 | +['र्र्h', '', 'ऱ्ह्'], // rry |
| 44 | + |
| 45 | +['अa', '','आ'], |
| 46 | +['(ऒo|उu)', '','ऊ'], |
| 47 | +['ए\\^', '','ऍ'], |
| 48 | +['अi', '','ऐ'], |
| 49 | +['(अ\\^|E)', '','ॲ'], |
| 50 | +['(इi|एe)', '','ई'], |
| 51 | +['ऒ\\^', '','ऑ'], |
| 52 | +['अu', '','औ'], |
| 53 | +['ऋR', '','ॠ'], |
| 54 | +['ळ्l', '','ऌ'], |
| 55 | +['ऌl', '','ॡ'], |
| 56 | +['ंM', '','ँ'], |
| 57 | +['ओM', '','ॐ'], |
| 58 | + |
| 59 | +['र्Y', '','ऱ्य्'], |
| 60 | + |
| 61 | +['क्h', '','ख्'],//kh |
| 62 | +['ग्h', '','घ्'], |
| 63 | +['न्g', '','ङ्'], |
| 64 | +['ज्h', '','झ्'], |
| 65 | +['न्j', '','ञ्'], |
| 66 | +['ट्h', '','ठ्'], |
| 67 | +['ड्h', '','ढ्'], |
| 68 | +['त्h', '','थ्'], |
| 69 | +['द्h', '','ध्'], |
| 70 | +['(f|प्h)', '','फ्'], |
| 71 | +['ब्h', '','भ्'], |
| 72 | +['ऋi', '', 'ॠ'], // Ri |
| 73 | +['ऋl', '', 'ॡ'], // Rl |
| 74 | + |
| 75 | +['स्h', '','श्'], |
| 76 | +['श्h', '', 'ष्'], |
| 77 | +['क़्h', '','ख़्'], |
| 78 | +['ज़्h', '','ऴ्'], |
| 79 | +['।\\\\', '','॥'], |
| 80 | + |
| 81 | +['a', '','अ'], |
| 82 | +['b', '','ब्'], |
| 83 | +['c', '','च्'], |
| 84 | +['d', '','द्'], |
| 85 | +['e', '','ए'], |
| 86 | +['g', '','ग्'], |
| 87 | +['h', '','ह्'], |
| 88 | +['i', '','इ'], |
| 89 | +['j', '','ज्'], |
| 90 | +['k', '','क्'], |
| 91 | +['l', '','ल्'], |
| 92 | +['m', '','म्'], |
| 93 | +['n', '','न्'], |
| 94 | +['o', '','ओ'], |
| 95 | +['p', '','प्'], |
| 96 | +['q', '','क़्'], |
| 97 | +['r', '','र्'], |
| 98 | +['s', '','स्'], |
| 99 | +['t', '','त्'], |
| 100 | +['u', '','उ'], |
| 101 | +['(v|w)', '','व्'], |
| 102 | +['x', '','क्ष्'], |
| 103 | +['y', '','य्'], |
| 104 | +['(z|Z)', '','झ्'], |
| 105 | +['A', '','आ'], |
| 106 | +['B', '','ब्ब्'], |
| 107 | +['C', '','क्क्'], |
| 108 | +['D', '','ड्'], |
| 109 | +//'F', '','फ्'], |
| 110 | +['G', '','ग्ग्'], |
| 111 | +['H', '','ः'], |
| 112 | +['I', '','ई'], |
| 113 | +['J', '','ज्ज्'], |
| 114 | +['K', '','क्क्'], |
| 115 | +['L', '','ळ्'], |
| 116 | +['M', '','ं'], |
| 117 | +['N', '','ण्'], |
| 118 | +['O', '','ऑ'], |
| 119 | +['P', '','प्प्'], |
| 120 | +//'Q', '','अ'], |
| 121 | +['R', '','ऋ'], |
| 122 | +['S', '','श्'], |
| 123 | +['T', '','ट्'], |
| 124 | +['U', '','ऊ'], |
| 125 | +['(V|W)', '','व्व्'], |
| 126 | +['X', '','क्ष्'], |
| 127 | +['Y', '','य्य्'], |
| 128 | +//'z', '','अ' |
| 129 | +['0', '','०'], |
| 130 | +['1', '','१'], |
| 131 | +['2', '','२'], |
| 132 | +['3', '','३'], |
| 133 | +['4', '','४'], |
| 134 | +['5', '','५'], |
| 135 | +['6', '','६'], |
| 136 | +['7', '','७'], |
| 137 | +['8', '','८'], |
| 138 | +['9', '','९'], |
| 139 | +['~', '','्'], |
| 140 | +['.\\\\', '','।'], |
| 141 | +['//', '','ऽ'], |
| 142 | +['\\`', '','़'], |
| 143 | +['(\u200C)*_', '', '\u200c'] |
| 144 | +]; |
| 145 | + |
| 146 | +jQuery.narayam.addScheme( 'mr', { |
| 147 | + 'namemsg': 'narayam-mr', |
| 148 | + 'extended_keyboard': false, |
| 149 | + 'lookbackLength': 4, |
| 150 | + 'keyBufferLength': 2, |
| 151 | + 'rules': rules |
| 152 | +} ); |
Property changes on: trunk/extensions/Narayam/resources/ext.narayam.rules.mr.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 153 | + native |
Index: trunk/extensions/Narayam/resources/ext.narayam.rules.or.js |
— | — | @@ -0,0 +1,145 @@ |
| 2 | +/** |
| 3 | + * Transliteration 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: trunk/extensions/Narayam/resources/ext.narayam.rules.or.js |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 147 | + native |
Index: trunk/extensions/Narayam/Narayam.php |
— | — | @@ -146,16 +146,16 @@ |
147 | 147 | 'remoteExtPath' => 'Narayam', |
148 | 148 | ); |
149 | 149 | $wgResourceModules['ext.narayam'] = $narayamTpl + array( |
150 | | - 'scripts' => 'js/ext.narayam.js', |
| 150 | + 'scripts' => 'resources/ext.narayam.js', |
151 | 151 | 'dependencies' => 'ext.narayam.core', |
152 | 152 | ); |
153 | 153 | $wgResourceModules['ext.narayam.core'] = $narayamTpl + array( |
154 | | - 'scripts' => 'js/ext.narayam.core.js', |
155 | | - 'styles' => 'css/ext.narayam.core.css', |
| 154 | + 'scripts' => 'resources/ext.narayam.core.js', |
| 155 | + 'styles' => 'resources/ext.narayam.core.css', |
156 | 156 | 'skinStyles' => array( |
157 | | - 'monobook' => 'css/ext.narayam.core-monobook.css', |
158 | | - 'vector' => 'css/ext.narayam.core-vector.css', |
159 | | - 'modern' => 'css/ext.narayam.core-modern.css', |
| 157 | + 'monobook' => 'resources/ext.narayam.core-monobook.css', |
| 158 | + 'vector' => 'resources/ext.narayam.core-vector.css', |
| 159 | + 'modern' => 'resources/ext.narayam.core-modern.css', |
160 | 160 | ), |
161 | 161 | 'messages' => array( |
162 | 162 | 'narayam-checkbox-tooltip', |
— | — | @@ -209,150 +209,150 @@ |
210 | 210 | ), |
211 | 211 | ); |
212 | 212 | $wgResourceModules['ext.narayam.rules.am'] = $narayamTpl + array( |
213 | | - 'scripts' => 'js/ext.narayam.rules.am.js', |
| 213 | + 'scripts' => 'resources/ext.narayam.rules.am.js', |
214 | 214 | 'dependencies' => 'ext.narayam.core', |
215 | 215 | ); |
216 | 216 | $wgResourceModules['ext.narayam.rules.as'] = $narayamTpl + array( |
217 | | - 'scripts' => 'js/ext.narayam.rules.as.js', |
| 217 | + 'scripts' => 'resources/ext.narayam.rules.as.js', |
218 | 218 | 'dependencies' => 'ext.narayam.core', |
219 | 219 | ); |
220 | 220 | $wgResourceModules['ext.narayam.rules.as-avro'] = $narayamTpl + array( |
221 | | - 'scripts' => 'js/ext.narayam.rules.as-avro.js', |
| 221 | + 'scripts' => 'resources/ext.narayam.rules.as-avro.js', |
222 | 222 | 'dependencies' => 'ext.narayam.core', |
223 | 223 | ); |
224 | 224 | $wgResourceModules['ext.narayam.rules.as-bornona'] = $narayamTpl + array( |
225 | | - 'scripts' => 'js/ext.narayam.rules.as-bornona.js', |
| 225 | + 'scripts' => 'resources/ext.narayam.rules.as-bornona.js', |
226 | 226 | 'dependencies' => 'ext.narayam.core', |
227 | 227 | ); |
228 | 228 | $wgResourceModules['ext.narayam.rules.as-inscript'] = $narayamTpl + array( |
229 | | - 'scripts' => 'js/ext.narayam.rules.as-inscript.js', |
| 229 | + 'scripts' => 'resources/ext.narayam.rules.as-inscript.js', |
230 | 230 | 'dependencies' => 'ext.narayam.core', |
231 | 231 | ); |
232 | 232 | $wgResourceModules['ext.narayam.rules.bn-avro'] = $narayamTpl + array( |
233 | | - 'scripts' => 'js/ext.narayam.rules.bn-avro.js', |
| 233 | + 'scripts' => 'resources/ext.narayam.rules.bn-avro.js', |
234 | 234 | 'dependencies' => 'ext.narayam.core', |
235 | 235 | ); |
236 | 236 | $wgResourceModules['ext.narayam.rules.bn-inscript'] = $narayamTpl + array( |
237 | | - 'scripts' => 'js/ext.narayam.rules.bn-inscript.js', |
| 237 | + 'scripts' => 'resources/ext.narayam.rules.bn-inscript.js', |
238 | 238 | 'dependencies' => 'ext.narayam.core', |
239 | 239 | ); |
240 | 240 | $wgResourceModules['ext.narayam.rules.bn-nkb'] = $narayamTpl + array( |
241 | | - 'scripts' => 'js/ext.narayam.rules.bn-nkb.js', |
| 241 | + 'scripts' => 'resources/ext.narayam.rules.bn-nkb.js', |
242 | 242 | 'dependencies' => 'ext.narayam.core', |
243 | 243 | ); |
244 | 244 | $wgResourceModules['ext.narayam.rules.de'] = $narayamTpl + array( |
245 | | - 'scripts' => 'js/ext.narayam.rules.de.js', |
| 245 | + 'scripts' => 'resources/ext.narayam.rules.de.js', |
246 | 246 | 'dependencies' => 'ext.narayam.core', |
247 | 247 | ); |
248 | 248 | $wgResourceModules['ext.narayam.rules.brx-inscript'] = $narayamTpl + array( |
249 | | - 'scripts' => 'js/ext.narayam.rules.brx-inscript.js', |
| 249 | + 'scripts' => 'resources/ext.narayam.rules.brx-inscript.js', |
250 | 250 | 'dependencies' => 'ext.narayam.core', |
251 | 251 | ); |
252 | 252 | $wgResourceModules['ext.narayam.rules.eo'] = $narayamTpl + array( |
253 | | - 'scripts' => 'js/ext.narayam.rules.eo.js', |
| 253 | + 'scripts' => 'resources/ext.narayam.rules.eo.js', |
254 | 254 | 'dependencies' => 'ext.narayam.core', |
255 | 255 | ); |
256 | 256 | $wgResourceModules['ext.narayam.rules.hi'] = $narayamTpl + array( |
257 | | - 'scripts' => 'js/ext.narayam.rules.hi.js', |
| 257 | + 'scripts' => 'resources/ext.narayam.rules.hi.js', |
258 | 258 | 'dependencies' => 'ext.narayam.core', |
259 | 259 | ); |
260 | 260 | $wgResourceModules['ext.narayam.rules.hi-inscript'] = $narayamTpl + array( |
261 | | - 'scripts' => 'js/ext.narayam.rules.hi-inscript.js', |
| 261 | + 'scripts' => 'resources/ext.narayam.rules.hi-inscript.js', |
262 | 262 | 'dependencies' => 'ext.narayam.core', |
263 | 263 | ); |
264 | 264 | $wgResourceModules['ext.narayam.rules.kn'] = $narayamTpl + array( |
265 | | - 'scripts' => 'js/ext.narayam.rules.kn.js', |
| 265 | + 'scripts' => 'resources/ext.narayam.rules.kn.js', |
266 | 266 | 'dependencies' => 'ext.narayam.core', |
267 | 267 | ); |
268 | 268 | $wgResourceModules['ext.narayam.rules.kn-inscript'] = $narayamTpl + array( |
269 | | - 'scripts' => 'js/ext.narayam.rules.kn-inscript.js', |
| 269 | + 'scripts' => 'resources/ext.narayam.rules.kn-inscript.js', |
270 | 270 | 'dependencies' => 'ext.narayam.core', |
271 | 271 | ); |
272 | 272 | $wgResourceModules['ext.narayam.rules.ml'] = $narayamTpl + array( |
273 | | - 'scripts' => 'js/ext.narayam.rules.ml.js', |
| 273 | + 'scripts' => 'resources/ext.narayam.rules.ml.js', |
274 | 274 | 'dependencies' => 'ext.narayam.core', |
275 | 275 | ); |
276 | 276 | $wgResourceModules['ext.narayam.rules.mr'] = $narayamTpl + array( |
277 | | - 'scripts' => 'js/ext.narayam.rules.mr.js', |
| 277 | + 'scripts' => 'resources/ext.narayam.rules.mr.js', |
278 | 278 | 'dependencies' => 'ext.narayam.core', |
279 | 279 | ); |
280 | 280 | $wgResourceModules['ext.narayam.rules.mr-inscript'] = $narayamTpl + array( |
281 | | - 'scripts' => 'js/ext.narayam.rules.mr-inscript.js', |
| 281 | + 'scripts' => 'resources/ext.narayam.rules.mr-inscript.js', |
282 | 282 | 'dependencies' => 'ext.narayam.core', |
283 | 283 | ); |
284 | 284 | $wgResourceModules['ext.narayam.rules.ml-inscript'] = $narayamTpl + array( |
285 | | - 'scripts' => 'js/ext.narayam.rules.ml-inscript.js', |
| 285 | + 'scripts' => 'resources/ext.narayam.rules.ml-inscript.js', |
286 | 286 | 'dependencies' => 'ext.narayam.core', |
287 | 287 | ); |
288 | 288 | $wgResourceModules['ext.narayam.rules.ne'] = $narayamTpl + array( |
289 | | - 'scripts' => 'js/ext.narayam.rules.ne.js', |
| 289 | + 'scripts' => 'resources/ext.narayam.rules.ne.js', |
290 | 290 | 'dependencies' => 'ext.narayam.core', |
291 | 291 | ); |
292 | 292 | $wgResourceModules['ext.narayam.rules.ne-inscript'] = $narayamTpl + array( |
293 | | - 'scripts' => 'js/ext.narayam.rules.ne-inscript.js', |
| 293 | + 'scripts' => 'resources/ext.narayam.rules.ne-inscript.js', |
294 | 294 | 'dependencies' => 'ext.narayam.core', |
295 | 295 | ); |
296 | 296 | $wgResourceModules['ext.narayam.rules.or'] = $narayamTpl + array( |
297 | | - 'scripts' => 'js/ext.narayam.rules.or.js', |
| 297 | + 'scripts' => 'resources/ext.narayam.rules.or.js', |
298 | 298 | 'dependencies' => 'ext.narayam.core', |
299 | 299 | ); |
300 | 300 | $wgResourceModules['ext.narayam.rules.or-lekhani'] = $narayamTpl + array( |
301 | | - 'scripts' => 'js/ext.narayam.rules.or-lekhani.js', |
| 301 | + 'scripts' => 'resources/ext.narayam.rules.or-lekhani.js', |
302 | 302 | 'dependencies' => 'ext.narayam.core', |
303 | 303 | ); |
304 | 304 | $wgResourceModules['ext.narayam.rules.or-inscript'] = $narayamTpl + array( |
305 | | - 'scripts' => 'js/ext.narayam.rules.or-inscript.js', |
| 305 | + 'scripts' => 'resources/ext.narayam.rules.or-inscript.js', |
306 | 306 | 'dependencies' => 'ext.narayam.core', |
307 | 307 | ); |
308 | 308 | $wgResourceModules['ext.narayam.rules.pa-inscript'] = $narayamTpl + array( |
309 | | - 'scripts' => 'js/ext.narayam.rules.pa-inscript.js', |
| 309 | + 'scripts' => 'resources/ext.narayam.rules.pa-inscript.js', |
310 | 310 | 'dependencies' => 'ext.narayam.core', |
311 | 311 | ); |
312 | 312 | $wgResourceModules['ext.narayam.rules.pa-phonetic'] = $narayamTpl + array( |
313 | | - 'scripts' => 'js/ext.narayam.rules.pa-phonetic.js', |
| 313 | + 'scripts' => 'resources/ext.narayam.rules.pa-phonetic.js', |
314 | 314 | 'dependencies' => 'ext.narayam.core', |
315 | 315 | ); |
316 | 316 | $wgResourceModules['ext.narayam.rules.sa'] = $narayamTpl + array( |
317 | | - 'scripts' => 'js/ext.narayam.rules.sa.js', |
| 317 | + 'scripts' => 'resources/ext.narayam.rules.sa.js', |
318 | 318 | 'dependencies' => 'ext.narayam.core', |
319 | 319 | ); |
320 | 320 | $wgResourceModules['ext.narayam.rules.sa-inscript'] = $narayamTpl + array( |
321 | | - 'scripts' => 'js/ext.narayam.rules.sa-inscript.js', |
| 321 | + 'scripts' => 'resources/ext.narayam.rules.sa-inscript.js', |
322 | 322 | 'dependencies' => 'ext.narayam.core', |
323 | 323 | ); |
324 | 324 | $wgResourceModules['ext.narayam.rules.si-singlish'] = $narayamTpl + array( |
325 | | - 'scripts' => 'js/ext.narayam.rules.si-singlish.js', |
| 325 | + 'scripts' => 'resources/ext.narayam.rules.si-singlish.js', |
326 | 326 | 'dependencies' => 'ext.narayam.core', |
327 | 327 | ); |
328 | 328 | $wgResourceModules['ext.narayam.rules.si-wijesekara'] = $narayamTpl + array( |
329 | | - 'scripts' => 'js/ext.narayam.rules.si-wijesekara.js', |
| 329 | + 'scripts' => 'resources/ext.narayam.rules.si-wijesekara.js', |
330 | 330 | 'dependencies' => 'ext.narayam.core', |
331 | 331 | ); |
332 | 332 | $wgResourceModules['ext.narayam.rules.ta'] = $narayamTpl + array( |
333 | | - 'scripts' => 'js/ext.narayam.rules.ta.js', |
| 333 | + 'scripts' => 'resources/ext.narayam.rules.ta.js', |
334 | 334 | 'dependencies' => 'ext.narayam.core', |
335 | 335 | ); |
336 | 336 | $wgResourceModules['ext.narayam.rules.ta-99'] = $narayamTpl + array( |
337 | | - 'scripts' => 'js/ext.narayam.rules.ta-99.js', |
| 337 | + 'scripts' => 'resources/ext.narayam.rules.ta-99.js', |
338 | 338 | 'dependencies' => 'ext.narayam.core', |
339 | 339 | ); |
340 | 340 | $wgResourceModules['ext.narayam.rules.ta-bamini'] = $narayamTpl + array( |
341 | | - 'scripts' => 'js/ext.narayam.rules.ta-bamini.js', |
| 341 | + 'scripts' => 'resources/ext.narayam.rules.ta-bamini.js', |
342 | 342 | 'dependencies' => 'ext.narayam.core', |
343 | 343 | ); |
344 | 344 | $wgResourceModules['ext.narayam.rules.te-inscript'] = $narayamTpl + array( |
345 | | - 'scripts' => 'js/ext.narayam.rules.te-inscript.js', |
| 345 | + 'scripts' => 'resources/ext.narayam.rules.te-inscript.js', |
346 | 346 | 'dependencies' => 'ext.narayam.core', |
347 | 347 | ); |
348 | 348 | $wgResourceModules['ext.narayam.rules.ur'] = $narayamTpl + array( |
349 | | - 'scripts' => 'js/ext.narayam.rules.ur.js', |
| 349 | + 'scripts' => 'resources/ext.narayam.rules.ur.js', |
350 | 350 | 'dependencies' => 'ext.narayam.core', |
351 | 351 | ); |
352 | 352 | $wgResourceModules['ext.narayam.rules.gu'] = $narayamTpl + array( |
353 | | - 'scripts' => 'js/ext.narayam.rules.gu.js', |
| 353 | + 'scripts' => 'resources/ext.narayam.rules.gu.js', |
354 | 354 | 'dependencies' => 'ext.narayam.core', |
355 | 355 | ); |
356 | 356 | $wgResourceModules['ext.narayam.rules.gu-inscript'] = $narayamTpl + array( |
357 | | - 'scripts' => 'js/ext.narayam.rules.gu-inscript.js', |
| 357 | + 'scripts' => 'resources/ext.narayam.rules.gu-inscript.js', |
358 | 358 | 'dependencies' => 'ext.narayam.core', |
359 | 359 | ); |
\ No newline at end of file |