View | Details | Raw Unified | Return to bug 12815
Collapse All | Expand All

(-)a/installer/data/mysql/sysprefs.sql (+2 lines)
Lines 425-430 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
425
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
425
('UseCourseReserves','0',NULL,'Enable the course reserves feature.','YesNo'),
426
('useDaysMode','Calendar','Calendar|Days|Datedue','Choose the method for calculating due date: select Calendar to use the holidays module, and Days to ignore the holidays module','Choice'),
426
('useDaysMode','Calendar','Calendar|Days|Datedue','Choose the method for calculating due date: select Calendar to use the holidays module, and Days to ignore the holidays module','Choice'),
427
('UseICU','0','1','Tell Koha if ICU indexing is in use for Zebra or not.','YesNo'),
427
('UseICU','0','1','Tell Koha if ICU indexing is in use for Zebra or not.','YesNo'),
428
('UsejQueryIMEonOPAC','0','','If ON, enables browser based, multi-lingual jQuery.ime based input methods on the OPAC','YesNo'),
429
('UsejQueryIMEonStaff','0','','If ON, enables browser based, multi-lingual jQuery.ime based input methods on the staff client','YesNo'),
428
('UseKohaPlugins','0','','Enable or disable the ability to use Koha Plugins.','YesNo'),
430
('UseKohaPlugins','0','','Enable or disable the ability to use Koha Plugins.','YesNo'),
429
('UseQueryParser','0',NULL,'If enabled, try to use QueryParser for queries.','YesNo'),
431
('UseQueryParser','0',NULL,'If enabled, try to use QueryParser for queries.','YesNo'),
430
('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'),
432
('UseTransportCostMatrix','0','','Use Transport Cost Matrix when filling holds','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (+9 lines)
Lines 8613-8618 if ( CheckVersion($DBversion) ) { Link Here
8613
    SetVersion($DBversion);
8613
    SetVersion($DBversion);
8614
}
8614
}
8615
8615
8616
$DBversion = "3.17.00.XXX";
8617
if ( CheckVersion($DBversion) ) {
8618
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('UsejQueryIMEonOPAC','0','','If ON, enables browser based, multi-lingual jQuery.ime based input methods on the OPAC','YesNo')");
8619
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('UsejQueryIMEonStaff','0','','If ON, enables browser based, multi-lingual jQuery.ime based input methods on the staff client','YesNo')");
8620
    print "Upgrade to $DBversion done (Bug 12815 - Adding support of jquery.ime to Koha)\n";
8621
    SetVersion ($DBversion);
8622
}
8623
8624
8616
=head1 FUNCTIONS
8625
=head1 FUNCTIONS
8617
8626
8618
=head2 TableExists($table)
8627
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/css/jquery.ime.css (+220 lines)
Line 0 Link Here
1
.imeselector {
2
	position: absolute;
3
	/* @embed */
4
	background: url('../images/ime-active.png') no-repeat left center;
5
	/* @embed */
6
	background-image: -webkit-linear-gradient(transparent, transparent), url('../images/ime-active.svg');
7
	/* @embed */
8
	background-image: linear-gradient(transparent, transparent), url('../images/ime-active.svg');
9
	background-color: rgba(255,255,255,0.75);
10
	background-position: left 3px center;
11
	background-position-x: 3px;
12
	height: 15px;
13
	font-size: small;
14
	padding: 2px 2px 1px 20px;
15
	box-shadow: 0 1px 3px 0 #777;
16
	margin-top: 0;
17
	text-align: left;
18
	font-family: sans-serif;
19
	white-space: nowrap;
20
	z-index: 1000;
21
}
22
23
.imeselector:hover {
24
	box-shadow: 0 1px 3px 0 #565656;
25
	border-top: none;
26
	background-color: rgba(255,255,255,0.85);
27
}
28
29
.imeselector a,
30
.ime-disable {
31
	cursor: pointer;
32
	text-decoration: none;
33
	outline: none;
34
	color: #222222;
35
	line-height: 1em;
36
	padding-top: 4px;
37
	padding-bottom: 4px;
38
}
39
40
.ime-setting-caret {
41
	margin-left: 2px;
42
	margin-top: 8px;
43
	border-left: 4px solid transparent;
44
	border-right: 4px solid transparent;
45
	border-top: 4px solid #565656;
46
	content: "";
47
	display: inline-block;
48
	height: 0;
49
	vertical-align: top;
50
	width: 0;
51
52
}
53
54
span.ime-disable-link {
55
	padding-left: 20px;
56
	white-space: nowrap;
57
}
58
59
span.ime-disable-shortcut {
60
	text-align: right;
61
	margin-left: 10px;
62
	color: #888;
63
	font-size: smaller;
64
	padding-right: 4px;
65
}
66
67
.ime-list-title,
68
.ime-lang-title {
69
	color: #39d;
70
	border-bottom: solid 1px #39d;
71
	text-align: left;
72
	font-size: larger;
73
	font-weight: normal;
74
	padding-bottom: 5px;
75
	padding-left: 20px;
76
	padding-top: 9px;
77
	margin: 0 0 1px;
78
}
79
80
.ime-language-list-wrapper {
81
	position: relative;
82
	padding: 0;
83
	display: block;
84
	overflow-y: auto;
85
	max-height: 150px;
86
}
87
88
.imeselector-menu {
89
	position: absolute;
90
	top: 14px;
91
	right: 0;
92
	z-index: 1000;
93
	display: none;
94
	float: left;
95
	margin-top: 13px;
96
	min-width: 160px;
97
	padding: 0;
98
	border: 1px solid #888;
99
	background-color: #FFFFFF;
100
	border-radius: 5px;
101
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
102
	-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
103
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
104
	-webkit-background-clip: padding-box;
105
	-moz-background-clip: padding;
106
	background-clip: padding-box;
107
	text-align: left;
108
}
109
110
.imeselector-menu.ime-right {
111
	right: auto;
112
}
113
114
.imeselector-menu ul {
115
	width: 100%;
116
	padding: 0;
117
	margin: 0;
118
	list-style: none;
119
}
120
121
/* The triangle shaped callout */
122
.imeselector-menu:before {
123
	border-bottom: 7px solid #888;
124
	border-left: 7px solid transparent;
125
	border-right: 7px solid transparent;
126
	content: "";
127
	display: inline-block;
128
	right: 9px;
129
	position: absolute;
130
	top: -7px;
131
}
132
133
.imeselector-menu.ime-right:before {
134
	right: auto;
135
	left: 9px;
136
}
137
138
.imeselector-menu:after {
139
	border-bottom: 6px solid #FFFFFF;
140
	border-left: 6px solid transparent;
141
	border-right: 6px solid transparent;
142
	content: "";
143
	display: inline-block;
144
	right: 10px;
145
	position: absolute;
146
	top: -6px;
147
}
148
149
150
.imeselector-menu.ime-right:after {
151
	right: auto;
152
	left: 10px;
153
}
154
155
.imeselector-menu.ime-position-top:before {
156
	border-bottom: 0 none;
157
	border-top: 7px solid #888;
158
	top: auto;
159
	bottom: -7px;
160
}
161
162
.imeselector-menu.ime-position-top:after {
163
	border-bottom: 0 none;
164
	border-top: 6px solid #FFFFFF;
165
	top: auto;
166
	bottom: -6px;
167
}
168
169
.imeselector-menu .ime-checked {
170
	/* @embed */
171
	background: url(../images/tick.png) no-repeat left center;
172
	/* @embed */
173
	background-image: -webkit-linear-gradient(transparent, transparent), url('../images/tick.svg');
174
	/* @embed */
175
	background-image: linear-gradient(transparent, transparent), url('../images/tick.svg');
176
	background-position: left 4px center;
177
	background-position-x: 4px;
178
}
179
180
.imeselector-menu .ime-help-link {
181
	background-color: #f0f0f0;
182
	border-radius: 0 0 5px 5px;
183
	border-top: 1px solid #ddd;
184
	margin-top: 6px;
185
	padding: 2px 0;
186
	color: #444;
187
}
188
189
.imeselector-menu .ime-help-link > a:hover {
190
	background-color: #f0f0f0;
191
	color: #000;
192
}
193
194
.imeselector-menu .selectable-row-item {
195
	display: block;
196
	padding-left: 20px;
197
	padding-right: 20px;
198
	font-weight: normal;
199
	color: #333333;
200
	outline: none;
201
	white-space: nowrap;
202
	position: relative;
203
}
204
205
.imeselector-menu .selectable-row {
206
	cursor: pointer;
207
}
208
209
.imeselector-menu .selectable-row:hover {
210
	background-color: #f0f0f0;
211
}
212
213
.ime-open {
214
	*z-index: 1000;
215
	display: block;
216
}
217
218
.imeselector-menu li {
219
	position: relative;
220
}
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/ime-active.svg (+1 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="15" height="11"><path d="M9 1.281c-.124.259-.185.599-.5.688-.55.081-1.133.018-1.688 0-.866-.032-1.733-.148-2.594 0-.588.157-.953.727-1.188 1.25-.178.416-.271.836-.344 1.281h-2.688v11.5h20v-11.5h-16.344c.109-.52.203-1.057.563-1.469.222-.231.587-.17.875-.188 1.212.003 2.415.179 3.625.063.463-.058.812-.455.969-.875l.188-.438-.875-.313zm-7.125 5.844h1.563c.094 0 .188.093.188.188v1.531c0 .094-.093.188-.188.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188h-1.563c-.094 0-.188-.093-.188-.188v-1.531c0-.094.093-.188.188-.188zm2.813 0h1.563c.094 0 .188.093.188.188v1.531c0 .094-.093.188-.188.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.531c.094 0 .188.093.188.188v1.531c0 .094-.093.188-.188.188h-1.531c-.094 0-.188-.093-.188-.188v-1.531c0-.094.093-.188.188-.188zm-12.844 3h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm2.906 0h1.563c.094 0 .188.093.188.188v1.563c0 .094-.093.156-.188.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm2.938 0h1.531c.094 0 .188.093.188.188v1.563c0 .094-.093.156-.188.156h-1.531c-.094 0-.188-.062-.188-.156v-1.563c0-.094.093-.188.188-.188zm2.906 0h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.188-.062-.188-.156v-1.563c0-.094.093-.188.188-.188zm2.906 0h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm-10.875 3.563h12c.088 0 .156.068.156.156v.844c0 .088-.068.156-.156.156h-12c-.088 0-.156-.068-.156-.156v-.844c0-.088.068-.156.156-.156z" fill="#565656" transform="scale(.75) translate(0 -1.3)"/></svg>
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/tick.svg (+1 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="12" height="9"><path d="M11.226.257l-6.718 6.453-2.699-2.575-1.292 1.302c1.33 1.273 2.65 2.557 3.99 3.821 2.654-2.591 5.337-5.153 8.01-7.726z" fill="#222"/></svg>
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/jquery.ime.min.js (+6 lines)
Line 0 Link Here
1
/*! jquery.ime - v0.1.0+20140825
2
* https://github.com/wikimedia/jquery.ime
3
* Copyright (c) 2014 Santhosh Thottingal; Licensed GPL, MIT */
4
(function(e){"use strict";function t(t,n){this.$element=e(t),e.ime.defaults.languages=d(e.ime.languages),this.options=e.extend({},e.ime.defaults,n),this.active=!1,this.shifted=!1,this.inputmethod=null,this.language=null,this.context="",this.selector=this.$element.imeselector(this.options),this.listen()}function n(e){window.console&&window.console.log&&window.console.log(e)}function i(e){var t,n,i,r,s,a,u=e.get(0),c=0,l=0;return e.is("[contenteditable]")?o(u):("number"==typeof u.selectionStart&&"number"==typeof u.selectionEnd?(c=u.selectionStart,l=u.selectionEnd):(n=document.selection.createRange(),n&&n.parentElement()===u&&(r=u.value.length,t=u.value.replace(/\r\n/g,"\n"),s=t.match(/\n/g),i=u.createTextRange(),i.moveToBookmark(n.getBookmark()),a=u.createTextRange(),a.collapse(!1),i.compareEndPoints("StartToEnd",a)>-1?c=l=s?r-s.length:r:(c=-i.moveStart("character",-r),l=i.compareEndPoints("EndToEnd",a)>-1?r:-i.moveEnd("character",-r)))),[c,l])}function r(e){var t;return"input"===e.nodeName.toLowerCase()?t=e.createTextRange():(t=document.body.createTextRange(),t.moveToElementText(e)),t}function s(e,t,n,i){var s,o,u,c,l,d,h,m=e.get(0);return e.is("[contenteditable]")?(d=a(e,{start:n,end:i}),s=rangy.getSelection(),l=s.getRangeAt(0),d[0]>0&&(t=(""+s).substring(0,d[0])+t),h=document.createTextNode(t),l.deleteContents(),l.insertNode(h),l.commonAncestorContainer.normalize(),n=i=n+t.length-d[0],a(e,{start:n,end:i}),void 0):("number"==typeof m.selectionStart&&"number"==typeof m.selectionEnd?(c=m.scrollTop,m.value=m.value.substring(0,n)+t+m.value.substring(i,m.value.length),m.scrollTop=c,m.selectionStart=m.selectionEnd=n+t.length):(s=r(m),o=m.value.length,u=m.value.match(/\n/g),u&&(o-=u.length),s.moveStart("character",n),s.moveEnd("character",i-o),s.text=t,s.collapse(!1),s.select()),void 0)}function o(e){function t(e,a){var u,c;if(e.nodeType===Node.TEXT_NODE)s||e!==a.startContainer||(i=n+a.startOffset,s=!0),s&&e===a.endContainer&&(r=n+a.endOffset,o=!0),n+=e.length;else for(c=e.childNodes.length,u=0;c>u&&(t(e.childNodes[u],a),!o);++u);}var n=0,i=0,r=0,s=!1,o=!1,a=rangy.getSelection();return a.rangeCount&&t(e,a.getRangeAt(0)),[i,r]}function a(e,t){var n,i=0,r=0,s=e[0];for(u(s,t),n=o(s);t.start!==n[0]&&(t.start-=1,!(0>t.start));)u(s,t),n=o(s),i+=1;for(;t.end!==n[1]&&(t.end+=1,u(s,t),n=o(s),r+=1,!(r>10)););return[i,r]}function u(e,t){function n(e){var u,c;if(3===e.nodeType)i=r+e.length,!o&&t.start>=r&&i>=t.start&&(s.setStart(e,t.start-r),o=!0),o&&t.end>=r&&i>=t.end&&(s.setEnd(e,t.end-r),a=!0),r=i;else for(u=0,c=e.childNodes.length;c>u;++u)if(n(e.childNodes[u]),a){rangy.getSelection().setSingleRange(s);break}}var i,r=0,s=rangy.createRange(),o=!1,a=!1;s.collapseToPoint(e,0),n(e)}function c(e,t){var n,i;for(n=e.length<t.length?e.length:t.length,i=0;n>i;i++)if(e.charCodeAt(i)!==t.charCodeAt(i))return i;return-1}function l(e,t,n){return 0===n?"":n>=t?e.substr(0,t):e.substr(t-n,n)}function d(t){return e.map(t,function(e,t){return t})}t.prototype={constructor:t,listen:function(){this.$element.on("keypress.ime",e.proxy(this.keypress,this)),this.$element.on("keyup.ime",e.proxy(this.keyup,this)),this.$element.on("keydown.ime",e.proxy(this.keydown,this)),this.$element.on("destroy.ime",e.proxy(this.destroy,this)),this.$element.on("enable.ime",e.proxy(this.enable,this)),this.$element.on("disable.ime",e.proxy(this.disable,this))},transliterate:function(t,n,i){var r,s,o,a,u,c;if(r=i?this.inputmethod.patterns_x||[]:this.inputmethod.patterns||[],this.shifted&&(r=(this.inputmethod.patterns_shift||[]).concat(r)),e.isFunction(r))return c=r.call(this,t,n),"string"==typeof c?{noop:t===c,output:c}:c;for(u=0;r.length>u;u++)if(o=r[u],s=RegExp(o[0]+"$"),a=o.slice(-1)[0],s.test(t)){if(3!==o.length)return{noop:!1,output:t.replace(s,a)};if(RegExp(o[1]+"$").test(n))return{noop:!1,output:t.replace(s,a)}}return{noop:!0,output:t}},keyup:function(e){16===e.which&&(this.shifted=!1)},keydown:function(e){16===e.which&&(this.shifted=!0)},keypress:function(e){var t,n,i,r,o,a,u,c=!1;return this.active?this.inputmethod?8===e.which?(this.context="",!0):((e.altKey||e.altGraphKey)&&(c=!0),32>e.which&&13!==e.which&&!c||e.ctrlKey||e.metaKey?(this.context="",!0):(t=String.fromCharCode(e.which),i=this.getCaretPosition(this.$element),n=i[0],r=i[1],a=this.lastNChars(this.$element.val()||this.$element.text(),n,this.inputmethod.maxKeyLength),a+=t,u=this.transliterate(a,this.context,c),this.context+=t,this.context.length>this.inputmethod.contextLength&&(this.context=this.context.substring(this.context.length-this.inputmethod.contextLength)),u.noop?!0:(o=this.firstDivergence(a,u.output),a=a.substring(o),u.output=u.output.substring(o),s(this.$element,u.output,n-a.length+1,r),e.stopPropagation(),!1))):!0:!0},isActive:function(){return this.active},disable:function(){this.active=!1,e.ime.preferences.setIM("system")},enable:function(){this.active=!0},toggle:function(){this.active=!this.active},destroy:function(){e("body").off(".ime"),this.$element.off(".ime").removeData("ime").removeData("imeselector")},getIM:function(){return this.inputmethod},setIM:function(t){this.inputmethod=e.ime.inputmethods[t],e.ime.preferences.setIM(t)},setLanguage:function(t){return e.ime.languages[t]?(this.language=t,e.ime.preferences.setLanguage(t),!0):(n("Language "+t+" is not known to jquery.ime."),!1)},getLanguage:function(){return this.language},load:function(t){var i,r=this,s=e.Deferred();return e.ime.inputmethods[t]?s.resolve():e.ime.sources[t]?(i=e.ime.sources[t].depends,i&&!e.ime.inputmethods[i]?(r.load(i).done(function(){r.load(t).done(function(){s.resolve()})}),s):(n("Loading "+t),s=e.ajax({url:r.options.imePath+e.ime.sources[t].source,dataType:"script",cache:!0}).done(function(){n(t+" loaded")}).fail(function(e,i,r){n("Error in loading inputmethod "+t+" Exception: "+r)}),s.promise())):s.reject()},getCaretPosition:function(e){return i(e)},setCaretPosition:function(e,t){return a(e,t)},firstDivergence:function(e,t){return c(e,t)},lastNChars:function(e,t,n){return l(e,t,n)}},e.fn.ime=function(n){return this.each(function(){var i,r=e(this),s="object"==typeof n&&n;r.prop("readonly")||r.prop("disabled")||r.hasClass("noime")||(i=r.data("ime"),i||(i=new t(this,s),r.data("ime",i)),"string"==typeof n&&i[n]())})},e.ime={},e.ime.inputmethods={},e.ime.sources={},e.ime.preferences={},e.ime.languages={};var h={contextLength:0,maxKeyLength:1};e.ime.register=function(t){e.ime.inputmethods[t.id]=e.extend({},h,t)},e.ime.defaults={imePath:"/intranet-tmpl/lib/jquery.ime/",languages:[],helpHandler:null}})(jQuery),function(e){"use strict";function t(n,i){this.$element=e(n),this.options=e.extend({},t.defaults,i),this.active=!1,this.$imeSetting=null,this.$menu=null,this.inputmethod=null,this.timer=null,this.init(),this.listen()}function n(){return e("<h3>").addClass("ime-lang-title").attr("data-i18n","jquery-ime-other-languages").text("Other languages")}function i(){return e("<ul>").addClass("ime-list")}function r(){return e("<h3>").addClass("ime-list-title autonym")}function s(){return e('<div class="ime-disable selectable-row">').append(e("<span>").attr({"class":"ime-disable-link","data-i18n":"jquery-ime-disable-text"}).addClass("ime-checked").text("System input method"),e("<span>").addClass("ime-disable-shortcut").text("CTRL+M"))}function o(e){return e.ctrlKey&&!e.altKey&&(77===e.which||13===e.which)}function a(){var e=document.createElement("p"),t=!1;if(e.addEventListener)e.addEventListener("DOMAttrModified",function(){t=!0},!1);else{if(!e.attachEvent)return!1;e.attachEvent("onDOMAttrModified",function(){t=!0})}return e.setAttribute("id","target"),t}var u,c;t.prototype={constructor:t,init:function(){this.prepareSelectorMenu(),this.position(),this.$imeSetting.hide()},prepareSelectorMenu:function(){this.$imeSetting=e(u),this.$menu=e('<div class="imeselector-menu" role="menu">'),this.$menu.append(r(),i(),s(),n()),this.prepareLanguageList(),this.$menu.append(this.helpLink()),e.i18n&&this.$menu.i18n(),this.$imeSetting.append(this.$menu),e("body").append(this.$imeSetting)},stopTimer:function(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.$imeSetting.stop(!0,!0)},resetTimer:function(){var e=this;this.stopTimer(),this.timer=setTimeout(function(){e.$imeSetting.animate({opacity:0,marginTop:"-20px"},500,function(){e.$imeSetting.hide(),e.$imeSetting.css("opacity",1),e.$imeSetting.css("margin-top",0)})},this.options.timeout)},focus:function(){e("div.imeselector").hide(),e("div.imeselector-menu").removeClass("ime-open"),this.$imeSetting.show(),this.resetTimer()},show:function(){return this.$menu.addClass("ime-open"),this.stopTimer(),this.$imeSetting.show(),!1},hide:function(){return this.$menu.removeClass("ime-open"),this.resetTimer(),!1},toggle:function(){this.$menu.hasClass("ime-open")?this.hide():this.show()},listen:function(){var t=this;t.$imeSetting.on("click.ime",function(n){var i=e(n.target);return i.hasClass("imeselector-toggle")&&t.toggle(),!1}),t.$element.on("blur.ime",function(){t.$imeSetting.hasClass("ime-onfocus")||(t.$imeSetting.hide(),t.hide())}),e("html").click(function(){t.hide()}),this.$menu.on("click",function(e){e.stopPropagation()}),t.$imeSetting.mouseenter(function(){t.stopTimer(),t.$imeSetting.addClass("ime-onfocus")}).mouseleave(function(){t.resetTimer(),t.$imeSetting.removeClass("ime-onfocus")}),t.$menu.on("click.ime","li",function(){return t.$element.focus(),!1}),t.$menu.on("click.ime","li.ime-im",function(){return t.selectIM(e(this).data("ime-inputmethod")),t.$element.trigger("setim.ime",e(this).data("ime-inputmethod")),!1}),t.$menu.on("click.ime","li.ime-lang",function(){var n=t.selectLanguage(e(this).attr("lang"));return t.$element.trigger("setim.ime",n),!1}),t.$menu.on("click.ime","div.ime-disable",function(){return t.disableIM(),!1}),t.$menu.on("click.ime",".ime-help-link",function(e){e.stopPropagation()}),t.$element.on("focus.ime",function(e){t.selectLanguage(t.decideLanguage()),t.focus(),e.stopPropagation()}),t.$element.attrchange(function(){t.$element.is(":hidden")&&t.$imeSetting.hide()}),t.$element.on("mouseup.ime",e.proxy(this.position,this)),t.$element.on("keydown.ime",e.proxy(this.keydown,this)),e(window).resize(function(){t.position()})},keydown:function(t){var n,i,r,s=e(t.target).data("ime");return this.focus(),o(t)?(s.isActive()?(this.disableIM(),this.$element.trigger("setim.ime","system")):null!==this.inputmethod?(this.selectIM(this.inputmethod.id),this.$element.trigger("setim.ime",this.inputmethod.id)):(r=this.decideLanguage(),this.selectLanguage(r),!s.isActive()&&e.ime.languages[r]&&(i=e.ime.preferences.getPreviousInputMethods(),i[0]?this.selectIM(i[0]):(n=e.ime.languages[r].inputmethods[0],this.selectIM(n)))),t.preventDefault(),t.stopPropagation(),!1):!0},position:function(){var t,n,i,r,s,o,a,u,c=this,l="rtl"===this.$element.css("direction"),d=e(window);this.focus(),r=this.$element.offset(),s=r.top+this.$element.outerHeight(),o=r.left,l||(o=r.left+this.$element.outerWidth()-this.$imeSetting.outerWidth()),a=d.height()+e(document).scrollTop()-s,this.$imeSetting.outerHeight()>a&&(s=r.top-this.$imeSetting.outerHeight(),n=this.$menu.outerHeight()+this.$imeSetting.outerHeight(),s>n&&this.$menu.addClass("ime-position-top").css("top",-n)),this.$element.parents().each(function(){return"fixed"===e(this).css("position")?(c.$imeSetting.css("position","fixed"),!1):void 0}),this.$imeSetting.css({top:s,left:o}),t=this.$menu.width(),u=o+t>d.width(),(t>o||l&&u)&&(l?u?(this.$menu.addClass("ime-right"),i=this.$imeSetting.outerWidth()-t):i=0:(this.$menu.addClass("ime-right"),i=r.left),this.$menu.css("left",i))},selectLanguage:function(t){var n,i,r;return t=t&&t.toLowerCase(),n=this.$element.data("ime"),i=e.ime.preferences.getIM(t),r=e.ime.languages[t],this.setMenuTitle(this.getAutonym(t)),r?n.getLanguage()===t?(n.inputmethod&&n.inputmethod.id!==i&&this.selectIM(e.ime.preferences.getIM(t)),e.ime.preferences.getIM(t)):(this.$menu.find("li.ime-lang").show(),this.$menu.find("li[lang="+t+"]").hide(),this.prepareInputMethods(t),this.hide(),n.setLanguage(t),this.inputmethod=null,this.selectIM(e.ime.preferences.getIM(t)),e.ime.preferences.getIM(t)):!1},getAutonym:function(t){return e.ime.languages[t]&&e.ime.languages[t].autonym},setMenuTitle:function(e){this.$menu.find(".ime-list-title").text(e)},decideLanguage:function(){return e.ime.preferences.getLanguage()?e.ime.preferences.getLanguage():this.$element.attr("lang")&&e.ime.languages[this.$element.attr("lang")]?this.$element.attr("lang"):e.ime.preferences.getDefaultLanguage()},selectIM:function(t){var n,i=this;if(t)return this.$menu.find(".ime-checked").removeClass("ime-checked"),this.$menu.find("li[data-ime-inputmethod="+t+"]").addClass("ime-checked"),n=this.$element.data("ime"),"system"===t?(this.disableIM(),void 0):(n.load(t).done(function(){i.inputmethod=e.ime.inputmethods[t],i.hide(),n.enable(),n.setIM(t),i.$imeSetting.find("a.ime-name").text(e.ime.sources[t].name),i.position(),e.ime.preferences.save()}),void 0)},disableIM:function(){this.$menu.find(".ime-checked").removeClass("ime-checked"),this.$menu.find("div.ime-disable").addClass("ime-checked"),this.$element.data("ime").disable(),this.$imeSetting.find("a.ime-name").text(""),this.hide(),this.position(),e.ime.preferences.save()},prepareLanguageList:function(){var t,n,i,r,s,o,a,u;n=e('<div class="ime-language-list-wrapper">'),i=e('<ul class="ime-language-list">'),r=e.isFunction(this.options.languages)?this.options.languages():this.options.languages;for(t in r)a=r[t],u=e.ime.languages[a],u&&(s=e("<a>").attr("href","#").text(this.getAutonym(a)).addClass("selectable-row-item autonym"),o=e('<li class="ime-lang selectable-row">').attr("lang",a),o.append(s),i.append(o));n.append(i),this.$menu.append(n),this.options.languageSelector&&this.$menu.append(this.options.languageSelector())},prepareInputMethods:function(t){var n=e.ime.languages[t],i=this.$menu.find(".ime-list"),r=this;i.empty(),e.each(n.inputmethods,function(t,n){var s,o,a,u;a=e.ime.sources[n],a&&(u=a.name,s=e("<a>").attr("href","#").text(u).addClass("selectable-row-item"),o=e("<li>").attr("data-ime-inputmethod",n).addClass("ime-im selectable-row").append('<span class="ime-im-check"></span>',s),r.options.helpHandler&&o.append(r.options.helpHandler.call(r,n)),i.append(o))})},helpLink:function(){return e('<div class="ime-help-link selectable-row">').append(e("<a>").text("Help").addClass("selectable-row-item").attr({href:"http://github.com/wikimedia/jquery.ime",target:"_blank","data-i18n":"jquery-ime-help"}))}},t.defaults={defaultLanguage:"en",timeout:2500},e.fn.imeselector=function(n){return this.each(function(){var i=e(this),r=i.data("imeselector");r||i.data("imeselector",r=new t(this,n)),"string"==typeof n&&r[n].call(i)})},e.fn.imeselector.Constructor=t,u='<div class="imeselector imeselector-toggle"><a class="ime-name imeselector-toggle" href="#"></a><b class="ime-setting-caret imeselector-toggle"></b></div>',c=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,e.fn.attrchange=function(e){if(c){var t;return t=new c(function(t){t.forEach(function(t){e.call(t.target,t.attributeName)})}),this.each(function(){t.observe(this,{subtree:!1,attributes:!0})})}return a()?this.on("DOMAttrModified",function(t){e.call(this,t.originalEvent.attrName)}):"onpropertychange"in document.body?this.on("propertychange",function(){e.call(this,window.event.propertyName)}):void 0}}(jQuery),function(e){"use strict";e.extend(e.ime.preferences,{registry:{isDirty:!1,language:null,previousLanguages:[],previousInputMethods:[],imes:{en:"system"}},setLanguage:function(t){t!==this.registry.language&&(this.registry.language=t,this.registry.isDirty=!0,this.registry.previousLanguages||(this.registry.previousLanguages=[]),-1===e.inArray(t,this.registry.previousLanguages)&&(this.registry.previousLanguages.unshift(t),this.registry.previousLanguages=this.registry.previousLanguages.slice(0,5)))},getLanguage:function(){return this.registry.language},getDefaultLanguage:function(){return"en"},getPreviousLanguages:function(){return this.registry.previousLanguages},getPreviousInputMethods:function(){return this.registry.previousInputMethods},setIM:function(e){this.registry.imes||(this.registry.imes={}),e!==this.registry.imes[this.registry.language]&&(this.registry.imes[this.getLanguage()]=e,this.registry.isDirty=!0,this.registry.previousInputMethods||(this.registry.previousInputMethods=[]),"system"!==e&&(this.registry.previousInputMethods.unshift(e),this.registry.previousInputMethods=this.registry.previousInputMethods.slice(0,5)))},getIM:function(e){return this.registry.imes||(this.registry.imes={}),this.registry.imes[e]||"system"},save:function(){},load:function(){}})}(jQuery),function(e){"use strict";e.extend(e.ime.sources,{"am-transliteration":{name:"ትራንስልተራትዖን",source:"rules/am/am-transliteration.js"},"ar-kbd":{name:"أرابيك",source:"rules/ar/ar-kbd.js"},"as-avro":{name:"অভ্ৰ",source:"rules/as/as-avro.js"},"as-bornona":{name:"বৰ্ণনা",source:"rules/as/as-bornona.js"},"as-inscript":{name:"ইনস্ক্ৰিপ্ট",source:"rules/as/as-inscript.js"},"as-inscript2":{name:"ইনস্ক্ৰিপ্ট ২",source:"rules/as/as-inscript2.js"},"as-phonetic":{name:"ফনেটিক",source:"rules/as/as-phonetic.js"},"as-transliteration":{name:"প্ৰতিৰূপান্তৰণ",source:"rules/as/as-transliteration.js"},"batak-qwerty":{name:"Batak QWERTY",source:"rules/bbc/batak-qwerty.js"},"be-kbd":{name:"Стандартная",source:"rules/be/be-kbd.js"},"be-latin":{name:"Łacinka",source:"rules/be/be-latin.js"},"be-transliteration":{name:"Транслітэрацыя",source:"rules/be/be-transliteration.js"},"ber-tfng":{name:"Tifinagh",source:"rules/ber/ber-tfng.js"},"bn-avro":{name:"অভ্র",source:"rules/bn/bn-avro.js"},"bn-inscript":{name:"ইনস্ক্ৰিপ্ট",source:"rules/bn/bn-inscript.js"},"bn-inscript2":{name:"ইনস্ক্ৰিপ্ট ২",source:"rules/bn/bn-inscript2.js"},"bn-nkb":{name:"ন্যাশনাল কিবোর্ড",source:"rules/bn/bn-nkb.js"},"bn-probhat":{name:"প্রভাত",source:"rules/bn/bn-probhat.js"},"bo-ewts":{name:"Tibetan EWTS",source:"rules/bo/bo-ewts.js"},"brx-inscript":{name:"इनस्क्रिप्ट",source:"rules/brx/brx-inscript.js"},"brx-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/brx/brx-inscript2.js"},"ckb-transliteration-arkbd":{name:"باشووری",source:"rules/ckb/ckb-transliteration-arkbd.js"},"ckb-transliteration-fakbd":{name:"ڕۆژھەڵاتی",source:"rules/ckb/ckb-transliteration-fakbd.js"},"ckb-transliteration-lakbd":{name:"لاتینی",source:"rules/ckb/ckb-transliteration-lakbd.js"},"cv-cyr-altgr":{name:"Чăвашла (AltGr)",source:"rules/cv/cv-cyr-altgr.js"},"cv-lat-altgr":{name:"Căvašla (AltGr)",source:"rules/cv/cv-lat-altgr.js"},"cv-cyr-numbers":{name:"Чăвашла (цифрилисем)",source:"rules/cv/cv-cyr-numbers.js"},"cyrl-palochka":{name:"Palochka",source:"rules/cyrl/cyrl-palochka.js"},"da-normforms":{name:"normalformer",source:"rules/da/da-normforms.js"},"doi-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/doi/doi-inscript2.js"},"eo-transliteration":{name:"transliterigo",source:"rules/eo/eo-transliteration.js"},"eo-h":{name:"Esperanto h",source:"rules/eo/eo-h.js"},"eo-h-f":{name:"Esperanto h fundamente",source:"rules/eo/eo-h-f.js"},"eo-plena":{name:"Esperanto plena",source:"rules/eo/eo-plena.js"},"eo-q":{name:"Esperanto q sistemo",source:"rules/eo/eo-q.js"},"eo-vi":{name:"Esperanto vi sistemo",source:"rules/eo/eo-vi.js"},"eo-x":{name:"Esperanto x sistemo",source:"rules/eo/eo-x.js"},"fa-kbd":{name:"فارسی",source:"rules/fa/fa-kbd.js"},"fo-normforms":{name:"Føroyskt",source:"rules/fo/fo-normforms.js"},"fi-transliteration":{name:"translitterointi",source:"rules/fi/fi-transliteration.js"},"lud-transliteration":{name:"lud",source:"rules/lud/lud-transliteration.js"},"hi-transliteration":{name:"लिप्यंतरण",source:"rules/hi/hi-transliteration.js"},"hi-inscript":{name:"इनस्क्रिप्ट",source:"rules/hi/hi-inscript.js"},"hi-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/hi/hi-inscript2.js"},"hi-phonetic":{name:"फोनेटिक",source:"rules/hi/hi-phonetic.js"},"is-normforms":{name:"Venjuleg eyðublöð",source:"rules/is/is-normforms.js"},"jv-transliteration":{name:"Transliteration",source:"rules/jv/jv-transliteration.js"},"mai-inscript":{name:"इनस्क्रिप्ट",source:"rules/mai/mai-inscript.js",depends:"hi-inscript"},"mai-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/mai/mai-inscript2.js",depends:"hi-inscript2"},"hi-bolnagri":{name:"बोलनागरी",source:"rules/hi/hi-bolnagri.js"},"ml-transliteration":{name:"ലിപ്യന്തരണം",source:"rules/ml/ml-transliteration.js"},"ml-inscript":{name:"ഇൻസ്ക്രിപ്റ്റ്",source:"rules/ml/ml-inscript.js"},"ml-inscript2":{name:"ഇൻസ്ക്രിപ്റ്റ് 2",source:"rules/ml/ml-inscript2.js"},"sv-normforms":{name:"Normal forms",source:"rules/sv/sv-normforms.js"},"ta-inscript":{name:"இன்ஸ்கிரிப்ட்",source:"rules/ta/ta-inscript.js"},"ta-inscript2":{name:"இன்ஸ்கிரிப்ட் 2",source:"rules/ta/ta-inscript2.js"},"ta-transliteration":{name:"எழுத்துப்பெயர்ப்பு",source:"rules/ta/ta-transliteration.js"},"ta-99":{name:"தமிழ்99",source:"rules/ta/ta-99.js"},"ta-bamini":{name:"பாமினி",source:"rules/ta/ta-bamini.js"},"th-kedmanee":{name:"เกษมณี",source:"rules/th/th-kedmanee.js"},"th-pattachote":{name:"ปัตตะโชติ",source:"rules/th/th-pattachote.js"},"de-transliteration":{name:"Deutsch Tilde",source:"rules/de/de-transliteration.js"},"el-kbd":{name:"Τυπική πληκτρολόγιο",source:"rules/el/el-kbd.js"},"he-standard-2012":{name:"עברית עם ניקוד על בסיס אנגלית",source:"rules/he/he-standard-2012.js"},"he-standard-2012-extonly":{name:"עברית עם ניקוד",source:"rules/he/he-standard-2012-extonly.js"},"hr-kbd":{name:"Croatian kbd",source:"rules/hr/hr-kbd.js"},"hy-ephonetic":{name:"Հնչյունային դասավորություն",source:"rules/hy/hy-ephonetic.js"},"hy-typewriter":{name:"Գրամեքենայի դասավորություն",source:"rules/hy/hy-typewriter.js"},"hy-ephoneticalt":{name:"Հնչյունային նոր (R→Ր, F→Թ)",source:"rules/hy/hy-ephoneticalt.js"},"hy-emslegacy":{name:"Մայքրոսոֆթի հին արևելահայերեն",source:"rules/hy/hy-emslegacy.js"},"hy-wmslegacy":{name:"Մայքրոսոֆթի հին արևմտահայերեն",source:"rules/hy/hy-wmslegacy.js"},"gu-inscript":{name:"ઇનસ્ક્રિપ્ટ",source:"rules/gu/gu-inscript.js"},"gu-inscript2":{name:"ઇનસ્ક્રિપ્ટ ૨",source:"rules/gu/gu-inscript2.js"},"gu-phonetic":{name:"ફોનૅટિક",source:"rules/gu/gu-phonetic.js"},"gu-transliteration":{name:"લિપ્યાંતરણ",source:"rules/gu/gu-transliteration.js"},"ka-transliteration":{name:"ტრანსლიტერაცია",source:"rules/ka/ka-transliteration.js"},"ka-kbd":{name:"სტანდარტული კლავიატურის",source:"rules/ka/ka-kbd.js"},"kk-arabic":{name:"Kazakh Arabic transliteration",source:"rules/kk/kk-arabic.js"},"kk-kbd":{name:"Кирил",source:"rules/kk/kk-kbd.js"},"kn-inscript":{name:"ಇನ್ಸ್ಕ್ರಿಪ್ಟ್",source:"rules/kn/kn-inscript.js"},"kn-inscript2":{name:"ಇನ್‌ಸ್ಕ್ರಿಪ್ಟ್ ೨",source:"rules/kn/kn-inscript2.js"},"kn-transliteration":{name:"ಲಿಪ್ಯಂತರಣ",source:"rules/kn/kn-transliteration.js"},"kn-kgp":{name:"KGP/Nudi/KP Rao",source:"rules/kn/kn-kgp.js"},"ky-cyrl-alt":{name:"Кыргыз Alt",source:"rules/ky/ky-cyrl-alt.js"},"gom-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/gom/gom-inscript2.js"},"ks-inscript":{name:"इनस्क्रिप्ट",source:"rules/ks/ks-inscript.js"},"ks-kbd":{name:"Kashmiri Arabic",source:"rules/ks/ks-kbd.js"},"ku-h":{name:"Kurdî-h",source:"rules/ku/ku-h.js"},"ku-tr":{name:"Kurdî-tr",source:"rules/ku/ku-tr.js"},"lo-kbd":{name:"າຶກ",source:"rules/lo/lo-kbd.js"},mh:{name:"Kajin M̧ajeļ",source:"rules/mh/mh.js"},"mn-cyrl":{name:"Кирилл",source:"rules/mn/mn-cyrl.js"},"mni-inscript2":{name:"ইনস্ক্ৰিপ্ট ২",source:"rules/mni/mni-inscript2.js"},"mr-inscript":{name:"मराठी लिपी",source:"rules/mr/mr-inscript.js"},"mr-inscript2":{name:"मराठी इनस्क्रिप्ट २",source:"rules/mr/mr-inscript2.js"},"mr-transliteration":{name:"अक्षरांतरण",source:"rules/mr/mr-transliteration.js"},"mr-phonetic":{name:"फोनेटिक",source:"rules/mr/mr-phonetic.js"},"my-xkb":{name:"မြန်မာဘာသာ xkb",source:"rules/my/my-xkb.js"},"ne-inscript":{name:"इनस्क्रिप्ट",source:"rules/ne/ne-inscript.js"},"ne-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/ne/ne-inscript2.js"},"ne-transliteration":{name:"ट्रांस्लितेरेशन",source:"rules/ne/ne-transliteration.js"},"ne-rom":{name:"Romanized",source:"rules/ne/ne-rom.js"},"ne-trad":{name:"Traditional",source:"rules/ne/ne-trad.js"},"nb-normforms":{name:"Normal transliterasjon",source:"rules/nb/nb-normforms.js"},"nb-tildeforms":{name:"Tildemerket transliterasjon",source:"rules/nb/nb-tildeforms.js"},"nn-tildeforms":{name:"Tildemerkt transliterasjon",source:"rules/nb/nb-tildeforms.js"},"or-transliteration":{name:"ଟ୍ରାନ୍ସଲିଟରେସନ",source:"rules/or/or-transliteration.js"},"or-inscript":{name:"ଇନସ୍କ୍ରିପ୍ଟ",source:"rules/or/or-inscript.js"},"or-inscript2":{name:"ଇନସ୍କ୍ରିପ୍ଟ2",source:"rules/or/or-inscript2.js"},"or-lekhani":{name:"ଲେଖନୀ",source:"rules/or/or-lekhani.js"},"or-phonetic":{name:"ଫୋନେଟିକ",source:"rules/or/or-phonetic.js"},"sd-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/sd/sd-inscript2.js"},"se-normforms":{name:"Normal forms",source:"rules/se/se-normforms.js"},"sk-kbd":{name:"Štandardná",source:"rules/sk/sk-kbd.js"},"sr-kbd":{name:"Стандардна",source:"rules/sr/sr-kbd.js"},"te-inscript":{name:"ఇన్‍స్క్రిప్ట్",source:"rules/te/te-inscript.js"},"te-inscript2":{name:"ఇన్‍స్క్రిప్ట్ 2",source:"rules/te/te-inscript2.js"},"te-transliteration":{name:"లిప్యంతరీకరణ",source:"rules/te/te-transliteration.js"},"pa-inscript":{name:"ਇਨਸ੍ਕ੍ਰਿਪ੍ਟ",source:"rules/pa/pa-inscript.js"},"pa-inscript2":{name:"ਇਨਸ੍ਕ੍ਰਿਪ੍ਟ2",source:"rules/pa/pa-inscript2.js"},"pa-jhelum":{name:"ਜੇਹਲਮ",source:"rules/pa/pa-jhelum.js"},"pa-transliteration":{name:"ਤ੍ਰਾਨ੍ਸ੍ਲਿਤੇਰਾਤਿਓਂ",source:"rules/pa/pa-transliteration.js"},"pa-phonetic":{name:"ਫੋਨੇਟਿਕ",source:"rules/pa/pa-phonetic.js"},"ru-jcuken":{name:"ЙЦУКЕН",source:"rules/ru/ru-jcuken.js"},"ru-kbd":{name:"кбд",source:"rules/ru/ru-kbd.js"},"ru-phonetic":{name:"фонетический",source:"rules/ru/ru-phonetic.js"},"ru-yawerty":{name:"yawerty",source:"rules/ru/ru-yawerty.js"},"sa-iast":{name:"Romanized",source:"rules/sa/sa-iast.js"},"sa-inscript":{name:"इनस्क्रिप्ट",source:"rules/sa/sa-inscript.js"},"sa-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/sa/sa-inscript2.js"},"sa-transliteration":{name:"ट्रन्स्लितेरतिओन्",source:"rules/sa/sa-transliteration.js"},"sah-transliteration":{name:"Transliteration",source:"rules/sah/sah-transliteration.js"},"sat-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/sat/sat-inscript2.js"},"si-singlish":{name:"සිංග්ලිෂ්",source:"rules/si/si-singlish.js"},"si-wijesekara":{name:"විජේසේකර",source:"rules/si/si-wijesekara.js"},"ur-phonetic":{name:"صوتی",source:"rules/ur/ur-phonetic.js"},"ur-transliteration":{name:"ٹرانسلٹریشن",source:"rules/ur/ur-transliteration.js"},"ipa-sil":{name:"International Phonetic Alphabet - SIL",source:"rules/fonipa/ipa-sil.js"},"ipa-x-sampa":{name:"International Phonetic Alphabet - X-SAMPA",source:"rules/fonipa/ipa-x-sampa.js"},"udm-alt":{name:"Удмурт ALT",source:"rules/udm/udm-alt.js"},"uk-kbd":{name:"кбд",source:"rules/uk/uk-kbd.js"},"ug-kbd":{name:"Uyghur kbd",source:"rules/ug/ug-kbd.js"},"uz-kbd":{name:"Uzbek kbd",source:"rules/uz/uz-kbd.js"},"vec-GVU":{name:"Venetian",source:"rules/vec/vec-GVU.js"}}),e.extend(e.ime.languages,{ady:{autonym:"адыгэбзэ",inputmethods:["cyrl-palochka"]},ahr:{autonym:"अहिराणी",inputmethods:["mr-transliteration","mr-inscript"]},am:{autonym:"አማርኛ",inputmethods:["am-transliteration"]},ar:{autonym:"العربية",inputmethods:["ar-kbd"]},as:{autonym:"অসমীয়া",inputmethods:["as-transliteration","as-avro","as-bornona","as-inscript","as-phonetic","as-inscript2"]},av:{autonym:"авар",inputmethods:["cyrl-palochka"]},bbc:{autonym:"Batak",inputmethods:["batak-qwerty"]},be:{autonym:"беларуская",inputmethods:["be-transliteration","be-latin","be-kbd"]},"be-tarask":{autonym:"беларуская (тарашкевіца)",inputmethods:["be-transliteration","be-latin"]},bh:{autonym:"भोजपुरी",inputmethods:["hi-transliteration"]},bho:{autonym:"भोजपुरी",inputmethods:["hi-transliteration"]},bn:{autonym:"বাংলা",inputmethods:["bn-avro","bn-inscript","bn-nkb","bn-probhat","bn-inscript2"]},bo:{autonym:"བོད་ཡིག།",inputmethods:["bo-ewts"]},brx:{autonym:"बोड़ो",inputmethods:["brx-inscript","brx-inscript2"]},ckb:{autonym:"کوردی",inputmethods:["ckb-transliteration-arkbd","ckb-transliteration-fakbd","ckb-transliteration-lakbd"]},ce:{autonym:"нохчийн",inputmethods:["cyrl-palochka"]},cv:{autonym:"Чăвашла",inputmethods:["cv-cyr-altgr","cv-lat-altgr","cv-cyr-numbers"]},da:{autonym:"Dansk",inputmethods:["da-normforms"]},de:{autonym:"Deutsch",inputmethods:["de-transliteration"]},diq:{autonym:"Kirdkî",inputmethods:["ku-h","ku-tr"]},doi:{autonym:"डोगरी",inputmethods:["doi-inscript2"]},en:{autonym:"English",inputmethods:["ipa-sil","ipa-x-sampa"]},el:{autonym:"Ελληνικά",inputmethods:["el-kbd"]},eo:{autonym:"Esperanto",inputmethods:["eo-transliteration","eo-h","eo-h-f","eo-plena","eo-q","eo-vi","eo-x"]},fa:{autonym:"فارسی",inputmethods:["fa-kbd"]},fo:{autonym:"Føroyskt",inputmethods:["fo-normforms"]},fi:{autonym:"Suomi",inputmethods:["fi-transliteration"]},lud:{autonym:"lüüdi",inputmethods:["lud-transliteration"]},gom:{autonym:"कोंकणी",inputmethods:["hi-transliteration","hi-inscript","gom-inscript2"]},gu:{autonym:"ગુજરાતી",inputmethods:["gu-transliteration","gu-inscript","gu-inscript2","gu-phonetic"]},he:{autonym:"עברית",inputmethods:["he-standard-2012-extonly","he-standard-2012"]},hi:{autonym:"हिन्दी",inputmethods:["hi-transliteration","hi-inscript","hi-bolnagri","hi-phonetic","hi-inscript2"]},hr:{autonym:"Hrvatski",inputmethods:["hr-kbd"]},hy:{autonym:"հայերեն",inputmethods:["hy-ephonetic","hy-typewriter","hy-ephoneticalt","hy-emslegacy","hy-wmslegacy"]},hne:{autonym:"छत्तीसगढ़ी",inputmethods:["hi-transliteration"]},is:{autonym:"Íslenska",inputmethods:["is-normforms"]},fonipa:{autonym:"International Phonetic Alphabet",inputmethods:["ipa-sil","ipa-x-sampa"]},jv:{autonym:"ꦧꦱꦗꦮ",inputmethods:["jv-transliteration"]},ka:{autonym:"ქართული ენა",inputmethods:["ka-transliteration","ka-kbd"]},kbd:{autonym:"адыгэбзэ (къэбэрдеибзэ)",inputmethods:["cyrl-palochka"]},kk:{autonym:"Қазақша",inputmethods:["kk-kbd","kk-arabic"]},kn:{autonym:"ಕನ್ನಡ",inputmethods:["kn-transliteration","kn-inscript","kn-kgp","kn-inscript2"]},ks:{autonym:"कॉशुर / کٲشُر",inputmethods:["ks-inscript","ks-kbd"]},ky:{autonym:"Кыргыз",inputmethods:["ky-cyrl-alt"]},kab:{autonym:"ⵜⴰⵇⴱⴰⵢⵍⵉⵜ",inputmethods:["ber-tfng"]},ku:{autonym:"Kurdî",inputmethods:["ku-h","ku-tr"]},lbe:{autonym:"лакку",inputmethods:["cyrl-palochka"]},lez:{autonym:"лезги",inputmethods:["cyrl-palochka"]},lo:{autonym:"ລາວ",inputmethods:["lo-kbd"]},mai:{autonym:"मैथिली",inputmethods:["mai-inscript","mai-inscript2"]},mh:{autonym:"Kajin M̧ajeļ",inputmethods:["mh"]},ml:{autonym:"മലയാളം",inputmethods:["ml-transliteration","ml-inscript","ml-inscript2"]},mn:{autonym:"Монгол",inputmethods:["mn-cyrl"]},mni:{autonym:"Manipuri",inputmethods:["mni-inscript2"]},mr:{autonym:"मराठी",inputmethods:["mr-transliteration","mr-inscript2","mr-inscript","mr-phonetic"]},my:{autonym:"မြန်မာ",inputmethods:["my-xkb"]},ne:{autonym:"नेपाली",inputmethods:["ne-transliteration","ne-inscript2","ne-inscript","ne-rom","ne-trad"]},"new":{autonym:"नेपाल भाषा",inputmethods:["hi-transliteration","hi-inscript"]},nb:{autonym:"Norsk (bokmål)",inputmethods:["nb-normforms","nb-tildeforms"]},nn:{autonym:"Norsk (nynorsk)",inputmethods:["nb-normforms","nn-tildeforms"]},or:{autonym:"ଓଡ଼ିଆ",inputmethods:["or-phonetic","or-transliteration","or-inscript","or-inscript2","or-lekhani"]},pa:{autonym:"ਪੰਜਾਬੀ",inputmethods:["pa-transliteration","pa-inscript","pa-phonetic","pa-inscript2","pa-jhelum"]},rif:{autonym:"ⵜⴰⵔⵉⴼⵉⵜ",inputmethods:["ber-tfng"]},ru:{autonym:"русский",inputmethods:["ru-jcuken","ru-kbd","ru-phonetic","ru-yawerty"]},sah:{autonym:"саха тыла",inputmethods:["sah-transliteration"]},sa:{autonym:"संस्कृत",inputmethods:["sa-transliteration","sa-inscript2","sa-inscript","sa-iast"]},sat:{autonym:"संताली",inputmethods:["sat-inscript2"]},sd:{autonym:"सिंधी",inputmethods:["sd-inscript2"]},se:{autonym:"Davvisámegiella",inputmethods:["se-normforms"]},shi:{autonym:"ⵜⴰⵛⵍⵃⵉⵜ",inputmethods:["ber-tfng"]},si:{autonym:"සිංහල",inputmethods:["si-singlish","si-wijesekara"]},sk:{autonym:"Slovenčina",inputmethods:["sk-kbd"]},sr:{autonym:"Српски / srpski",inputmethods:["sr-kbd"]},sv:{autonym:"Svenska",inputmethods:["sv-normforms"]},ta:{autonym:"தமிழ்",inputmethods:["ta-transliteration","ta-99","ta-inscript","ta-bamini","ta-inscript2"]},tcy:{autonym:"ತುಳು",inputmethods:["kn-transliteration"]},te:{autonym:"తెలుగు",inputmethods:["te-transliteration","te-inscript","te-inscript2"]},th:{autonym:"ไทย",inputmethods:["th-kedmanee","th-pattachote"]},tkr:{autonym:"цӀаӀхна миз",inputmethods:["cyrl-palochka"]},tzm:{autonym:"ⵜⴰⵎⴰⵣⵉⵖⵜ",inputmethods:["ber-tfng"]},udm:{autonym:"удмурт",inputmethods:["udm-alt"]},uk:{autonym:"Українська",inputmethods:["uk-kbd"]},ug:{autonym:"ئۇيغۇرچە / Uyghurche",inputmethods:["ug-kbd"]},ur:{autonym:"اردو",inputmethods:["ur-transliteration","ur-phonetic"]},uz:{autonym:"Oʻzbekcha",inputmethods:["uz-kbd"]},vec:{autonym:"Venetian",inputmethods:["vec-GVU"]}})
5
}(jQuery),function(e){function t(e,t){var n=typeof e[t];return n==C||!(n!=R||!e[t])||"unknown"==n}function n(e,t){return!(typeof e[t]!=R||!e[t])}function i(e,t){return typeof e[t]!=b}function r(e){return function(t,n){for(var i=n.length;i--;)if(!e(t,n[i]))return!1;return!0}}function s(e){return e&&S(e,w)&&O(e,E)}function o(e){return n(e,"body")?e.body:e.getElementsByTagName("body")[0]}function a(e){n(window,"console")&&t(window.console,"log")&&window.console.log(e)}function u(e,t){t?window.alert(e):a(e)}function c(e){x.initialized=!0,x.supported=!1,u("Rangy is not supported on this page in your browser. Reason: "+e,x.config.alertOnFail)}function l(e){u("Rangy warning: "+e,x.config.alertOnWarn)}function d(e){return e.message||e.description||e+""}function h(){if(!x.initialized){var e,n=!1,i=!1;t(document,"createRange")&&(e=document.createRange(),S(e,k)&&O(e,N)&&(n=!0),e.detach());var r=o(document);if(!r||"body"!=r.nodeName.toLowerCase())return c("No body element found"),void 0;if(r&&t(r,"createTextRange")&&(e=r.createTextRange(),s(e)&&(i=!0)),!n&&!i)return c("Neither Range nor TextRange are available"),void 0;x.initialized=!0,x.features={implementsDomRange:n,implementsTextRange:i};var u,l;for(var h in j)(u=j[h])instanceof f&&u.init(u,x);for(var m=0,p=D.length;p>m;++m)try{D[m](x)}catch(g){l="Rangy init listener threw an exception. Continuing. Detail: "+d(g),a(l)}}}function m(e){e=e||window,h();for(var t=0,n=A.length;n>t;++t)A[t](e)}function f(e,t,n){this.name=e,this.dependencies=t,this.initialized=!1,this.supported=!1,this.initializer=n}function p(e,t,n,i){var r=new f(t,n,function(e){if(!e.initialized){e.initialized=!0;try{i(x,e),e.supported=!0}catch(n){var r="Module '"+t+"' failed to load: "+d(n);a(r)}}});j[t]=r}function g(){}function v(){}var y="function"==typeof e.define&&e.define.amd,R="object",C="function",b="undefined",N=["startContainer","startOffset","endContainer","endOffset","collapsed","commonAncestorContainer"],k=["setStart","setStartBefore","setStartAfter","setEnd","setEndBefore","setEndAfter","collapse","selectNode","selectNodeContents","compareBoundaryPoints","deleteContents","extractContents","cloneContents","insertNode","surroundContents","cloneRange","toString","detach"],E=["boundingHeight","boundingLeft","boundingTop","boundingWidth","htmlText","text"],w=["collapse","compareEndPoints","duplicate","moveToElementText","parentElement","select","setEndPoint","getBoundingClientRect"],S=r(t),T=r(n),O=r(i),j={},x={version:"1.3alpha.804",initialized:!1,supported:!0,util:{isHostMethod:t,isHostObject:n,isHostProperty:i,areHostMethods:S,areHostObjects:T,areHostProperties:O,isTextRange:s,getBody:o},features:{},modules:j,config:{alertOnFail:!0,alertOnWarn:!1,preferTextRange:!1}};x.fail=c,x.warn=l,{}.hasOwnProperty?x.util.extend=function(e,t,n){var i,r;for(var s in t)t.hasOwnProperty(s)&&(i=e[s],r=t[s],n&&null!==i&&"object"==typeof i&&null!==r&&"object"==typeof r&&x.util.extend(i,r,!0),e[s]=r);return e}:c("hasOwnProperty not supported"),function(){var e=document.createElement("div");e.appendChild(document.createElement("span"));var t,n=[].slice;try{1==n.call(e.childNodes,0)[0].nodeType&&(t=function(e){return n.call(e,0)})}catch(i){}t||(t=function(e){for(var t=[],n=0,i=e.length;i>n;++n)t[n]=e[n];return t}),x.util.toArray=t}();var _;t(document,"addEventListener")?_=function(e,t,n){e.addEventListener(t,n,!1)}:t(document,"attachEvent")?_=function(e,t,n){e.attachEvent("on"+t,n)}:c("Document does not have required addEventListener or attachEvent method"),x.util.addListener=_;var D=[];x.init=h,x.addInitListener=function(e){x.initialized?e(x):D.push(e)};var A=[];x.addCreateMissingNativeApiListener=function(e){A.push(e)},x.createMissingNativeApi=m,f.prototype={init:function(){for(var e,t,n=this.dependencies||[],i=0,r=n.length;r>i;++i){if(t=n[i],e=j[t],!(e&&e instanceof f))throw Error("required module '"+t+"' not found");if(e.init(),!e.supported)throw Error("required module '"+t+"' not supported")}this.initializer(this)},fail:function(e){throw this.initialized=!0,this.supported=!1,Error("Module '"+this.name+"' failed to load: "+e)},warn:function(e){x.warn("Module "+this.name+": "+e)},deprecationNotice:function(e,t){x.warn("DEPRECATED: "+e+" in module "+this.name+"is deprecated. Please use "+t+" instead")},createError:function(e){return Error("Error in Rangy "+this.name+" module: "+e)}},x.createModule=function(e){var t,n;2==arguments.length?(t=arguments[1],n=[]):(t=arguments[2],n=arguments[1]),p(!1,e,n,t)},x.createCoreModule=function(e,t,n){p(!0,e,t,n)},x.RangePrototype=g,x.rangePrototype=new g,x.selectionPrototype=new v;var I=!1,M=function(){I||(I=!0,x.initialized||h())};return typeof window==b?(c("No window found"),void 0):typeof document==b?(c("No document found"),void 0):(t(document,"addEventListener")&&document.addEventListener("DOMContentLoaded",M,!1),_(window,"load",M),y&&e.define(function(){return x.amd=!0,x}),e.rangy=x,void 0)}(this),rangy.createCoreModule("DomUtil",[],function(e,t){function n(e){var t;return typeof e.namespaceURI==j||null===(t=e.namespaceURI)||"http://www.w3.org/1999/xhtml"==t}function i(e){var t=e.parentNode;return 1==t.nodeType?t:null}function r(e){for(var t=0;e=e.previousSibling;)++t;return t}function s(e){switch(e.nodeType){case 7:case 10:return 0;case 3:case 8:return e.length;default:return e.childNodes.length}}function o(e,t){var n,i=[];for(n=e;n;n=n.parentNode)i.push(n);for(n=t;n;n=n.parentNode)if(A(i,n))return n;return null}function a(e,t,n){for(var i=n?t:t.parentNode;i;){if(i===e)return!0;i=i.parentNode}return!1}function u(e,t){return a(e,t,!0)}function c(e,t,n){for(var i,r=n?e:e.parentNode;r;){if(i=r.parentNode,i===t)return r;r=i}return null}function l(e){var t=e.nodeType;return 3==t||4==t||8==t}function d(e){if(!e)return!1;var t=e.nodeType;return 3==t||8==t}function h(e,t){var n=t.nextSibling,i=t.parentNode;return n?i.insertBefore(e,n):i.appendChild(e),e}function m(e,t,n){var i=e.cloneNode(!1);if(i.deleteData(0,t),e.deleteData(t,e.length-t),h(i,e),n)for(var s,o=0;s=n[o++];)s.node==e&&s.offset>t?(s.node=i,s.offset-=t):s.node==e.parentNode&&s.offset>r(e)&&++s.offset;return i}function f(e){if(9==e.nodeType)return e;if(typeof e.ownerDocument!=j)return e.ownerDocument;if(typeof e.document!=j)return e.document;if(e.parentNode)return f(e.parentNode);throw t.createError("getDocument: no document found for node")}function p(e){var n=f(e);if(typeof n.defaultView!=j)return n.defaultView;if(typeof n.parentWindow!=j)return n.parentWindow;throw t.createError("Cannot get a window object for node")}function g(e){if(typeof e.contentDocument!=j)return e.contentDocument;if(typeof e.contentWindow!=j)return e.contentWindow.document;throw t.createError("getIframeDocument: No Document object found for iframe element")}function v(e){if(typeof e.contentWindow!=j)return e.contentWindow;if(typeof e.contentDocument!=j)return e.contentDocument.defaultView;throw t.createError("getIframeWindow: No Window object found for iframe element")}function y(e){return e&&x.isHostMethod(e,"setTimeout")&&x.isHostObject(e,"document")}function R(e,t,n){var i;if(e?x.isHostProperty(e,"nodeType")?i=1==e.nodeType&&"iframe"==e.tagName.toLowerCase()?g(e):f(e):y(e)&&(i=e.document):i=document,!i)throw t.createError(n+"(): Parameter must be a Window object or DOM node");return i}function C(e){for(var t;t=e.parentNode;)e=t;return e}function b(e,n,i,s){var a,u,l,d,h;if(e==i)return n===s?0:s>n?-1:1;if(a=c(i,e,!0))return r(a)>=n?-1:1;if(a=c(e,i,!0))return s>r(a)?-1:1;if(u=o(e,i),!u)throw Error("comparePoints error: nodes have no common ancestor");if(l=e===u?u:c(e,u,!0),d=i===u?u:c(i,u,!0),l===d)throw t.createError("comparePoints got to case 4 and childA and childB are the same!");for(h=u.firstChild;h;){if(h===l)return-1;if(h===d)return 1;h=h.nextSibling}}function N(e){try{return e.parentNode,!1}catch(t){return!0}}function k(e){if(!e)return"[No node]";if(I&&N(e))return"[Broken node]";if(l(e))return'"'+e.data+'"';if(1==e.nodeType){var t=e.id?' id="'+e.id+'"':"";return"<"+e.nodeName+t+">["+r(e)+"]["+e.childNodes.length+"]["+(e.innerHTML||"[innerHTML not supported]").slice(0,25)+"]"}return e.nodeName}function E(e){for(var t,n=f(e).createDocumentFragment();t=e.firstChild;)n.appendChild(t);return n}function w(e){this.root=e,this._next=e}function S(e){return new w(e)}function T(e,t){this.node=e,this.offset=t}function O(e){this.code=this[e],this.codeName=e,this.message="DOMException: "+this.codeName}var j="undefined",x=e.util;x.areHostMethods(document,["createDocumentFragment","createElement","createTextNode"])||t.fail("document missing a Node creation method"),x.isHostMethod(document,"getElementsByTagName")||t.fail("document missing getElementsByTagName method");var _=document.createElement("div");x.areHostMethods(_,["insertBefore","appendChild","cloneNode"]||!x.areHostObjects(_,["previousSibling","nextSibling","childNodes","parentNode"]))||t.fail("Incomplete Element implementation"),x.isHostProperty(_,"innerHTML")||t.fail("Element is missing innerHTML property");var D=document.createTextNode("test");x.areHostMethods(D,["splitText","deleteData","insertData","appendData","cloneNode"]||!x.areHostObjects(_,["previousSibling","nextSibling","childNodes","parentNode"])||!x.areHostProperties(D,["data"]))||t.fail("Incomplete Text Node implementation");var A=function(e,t){for(var n=e.length;n--;)if(e[n]===t)return!0;return!1},I=!1;(function(){var t=document.createElement("b");t.innerHTML="1";var n=t.firstChild;t.innerHTML="<br>",I=N(n),e.features.crashyTextNodes=I})();var M;typeof window.getComputedStyle!=j?M=function(e,t){return p(e).getComputedStyle(e,null)[t]}:typeof document.documentElement.currentStyle!=j?M=function(e,t){return e.currentStyle[t]}:t.fail("No means of obtaining computed style properties found"),w.prototype={_current:null,hasNext:function(){return!!this._next},next:function(){var e,t,n=this._current=this._next;if(this._current)if(e=n.firstChild)this._next=e;else{for(t=null;n!==this.root&&!(t=n.nextSibling);)n=n.parentNode;this._next=t}return this._current},detach:function(){this._current=this._next=this.root=null}},T.prototype={equals:function(e){return!!e&&this.node===e.node&&this.offset==e.offset},inspect:function(){return"[DomPosition("+k(this.node)+":"+this.offset+")]"},toString:function(){return this.inspect()}},O.prototype={INDEX_SIZE_ERR:1,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INVALID_STATE_ERR:11},O.prototype.toString=function(){return this.message},e.dom={arrayContains:A,isHtmlNamespace:n,parentElement:i,getNodeIndex:r,getNodeLength:s,getCommonAncestor:o,isAncestorOf:a,isOrIsAncestorOf:u,getClosestAncestorIn:c,isCharacterDataNode:l,isTextOrCommentNode:d,insertAfter:h,splitDataNode:m,getDocument:f,getWindow:p,getIframeWindow:v,getIframeDocument:g,getBody:x.getBody,isWindow:y,getContentDocument:R,getRootContainer:C,comparePoints:b,isBrokenNode:N,inspectNode:k,getComputedStyleProperty:M,fragmentFromNodeChildren:E,createIterator:S,DomPosition:T},e.DOMException=O}),rangy.createCoreModule("DomRange",["DomUtil"],function(e){function t(e,t){return 3!=e.nodeType&&(F(e,t.startContainer)||F(e,t.endContainer))}function n(e){return e.document||z(e.startContainer)}function i(e){return new L(e.parentNode,W(e))}function r(e){return new L(e.parentNode,W(e)+1)}function s(e,t,n){var i=11==e.nodeType?e.firstChild:e;return B(t)?n==t.length?P.insertAfter(e,t):t.parentNode.insertBefore(e,0==n?t:q(t,n)):n>=t.childNodes.length?t.appendChild(e):t.insertBefore(e,t.childNodes[n]),i}function o(e,t,i){if(S(e),S(t),n(t)!=n(e))throw new H("WRONG_DOCUMENT_ERR");var r=U(e.startContainer,e.startOffset,t.endContainer,t.endOffset),s=U(e.endContainer,e.endOffset,t.startContainer,t.startOffset);return i?0>=r&&s>=0:0>r&&s>0}function a(e){for(var t,i,r,s=n(e.range).createDocumentFragment();i=e.next();){if(t=e.isPartiallySelectedSubtree(),i=i.cloneNode(!t),t&&(r=e.getSubtreeIterator(),i.appendChild(a(r)),r.detach(!0)),10==i.nodeType)throw new H("HIERARCHY_REQUEST_ERR");s.appendChild(i)}return s}function u(e,t,n){var i,r;n=n||{stop:!1};for(var s,o;s=e.next();)if(e.isPartiallySelectedSubtree()){if(t(s)===!1)return n.stop=!0,void 0;if(o=e.getSubtreeIterator(),u(o,t,n),o.detach(!0),n.stop)return}else for(i=P.createIterator(s);r=i.next();)if(t(r)===!1)return n.stop=!0,void 0}function c(e){for(var t;e.next();)e.isPartiallySelectedSubtree()?(t=e.getSubtreeIterator(),c(t),t.detach(!0)):e.remove()}function l(e){for(var t,i,r=n(e.range).createDocumentFragment();t=e.next();){if(e.isPartiallySelectedSubtree()?(t=t.cloneNode(!1),i=e.getSubtreeIterator(),t.appendChild(l(i)),i.detach(!0)):e.remove(),10==t.nodeType)throw new H("HIERARCHY_REQUEST_ERR");r.appendChild(t)}return r}function d(e,t,n){var i,r=!(!t||!t.length),s=!!n;r&&(i=RegExp("^("+t.join("|")+")$"));var o=[];return u(new m(e,!1),function(t){if(!(r&&!i.test(t.nodeType)||s&&!n(t))){var a=e.startContainer;if(t!=a||!B(a)||e.startOffset!=a.length){var u=e.endContainer;t==u&&B(u)&&0==e.endOffset||o.push(t)}}}),o}function h(e){var t=e.getName===void 0?"Range":e.getName();return"["+t+"("+P.inspectNode(e.startContainer)+":"+e.startOffset+", "+P.inspectNode(e.endContainer)+":"+e.endOffset+")]"}function m(e,t){if(this.range=e,this.clonePartiallySelectedTextNodes=t,!e.collapsed){this.sc=e.startContainer,this.so=e.startOffset,this.ec=e.endContainer,this.eo=e.endOffset;var n=e.commonAncestorContainer;this.sc===this.ec&&B(this.sc)?(this.isSingleCharacterDataNode=!0,this._first=this._last=this._next=this.sc):(this._first=this._next=this.sc!==n||B(this.sc)?V(this.sc,n,!0):this.sc.childNodes[this.so],this._last=this.ec!==n||B(this.ec)?V(this.ec,n,!0):this.ec.childNodes[this.eo-1])}}function f(e){this.code=this[e],this.codeName=e,this.message="RangeException: "+this.codeName}function p(e){return function(t,n){for(var i,r=n?t:t.parentNode;r;){if(i=r.nodeType,G(e,i))return r;r=r.parentNode}return null}}function g(e,t){if(rt(e,t))throw new f("INVALID_NODE_TYPE_ERR")}function v(e){if(!e.startContainer)throw new H("INVALID_STATE_ERR")}function y(e,t){if(!G(t,e.nodeType))throw new f("INVALID_NODE_TYPE_ERR")}function R(e,t){if(0>t||t>(B(e)?e.length:e.childNodes.length))throw new H("INDEX_SIZE_ERR")}function C(e,t){if(nt(e,!0)!==nt(t,!0))throw new H("WRONG_DOCUMENT_ERR")}function b(e){if(it(e,!0))throw new H("NO_MODIFICATION_ALLOWED_ERR")}function N(e,t){if(!e)throw new H(t)}function k(e){return Q&&P.isBrokenNode(e)||!G(Z,e.nodeType)&&!nt(e,!0)}function E(e,t){return(B(e)?e.length:e.childNodes.length)>=t}function w(e){return!!e.startContainer&&!!e.endContainer&&!k(e.startContainer)&&!k(e.endContainer)&&E(e.startContainer,e.startOffset)&&E(e.endContainer,e.endOffset)}function S(e){if(v(e),!w(e))throw Error("Range error: Range is no longer valid after DOM mutation ("+e.inspect()+")")}function T(e,t){S(e);var n=e.startContainer,i=e.startOffset,r=e.endContainer,s=e.endOffset,o=n===r;B(r)&&s>0&&r.length>s&&q(r,s,t),B(n)&&i>0&&n.length>i&&(n=q(n,i,t),o?(s-=i,r=n):r==n.parentNode&&s>=W(n)&&s++,i=0),e.setStartAndEnd(n,i,r,s)}function O(e){e.START_TO_START=lt,e.START_TO_END=dt,e.END_TO_END=ht,e.END_TO_START=mt,e.NODE_BEFORE=ft,e.NODE_AFTER=pt,e.NODE_BEFORE_AND_AFTER=gt,e.NODE_INSIDE=vt}function j(e){O(e),O(e.prototype)}function x(e,t){return function(){S(this);var n,i,s=this.startContainer,o=this.startOffset,a=this.commonAncestorContainer,c=new m(this,!0);s!==a&&(n=V(s,a,!0),i=r(n),s=i.node,o=i.offset),u(c,b),c.reset();var l=e(c);return c.detach(),t(this,s,o,s,o),l}}function _(n,s,o){function a(e,t){return function(n){v(this),y(n,X),y(Y(n),Z);var s=(e?i:r)(n);(t?u:d)(this,s.node,s.offset)}}function u(e,t,n){var i=e.endContainer,r=e.endOffset;(t!==e.startContainer||n!==e.startOffset)&&((Y(t)!=Y(i)||1==U(t,n,i,r))&&(i=t,r=n),s(e,t,n,i,r))}function d(e,t,n){var i=e.startContainer,r=e.startOffset;(t!==e.endContainer||n!==e.endOffset)&&((Y(t)!=Y(i)||-1==U(t,n,i,r))&&(i=t,r=n),s(e,i,r,t,n))}var h=function(){};h.prototype=e.rangePrototype,n.prototype=new h,$.extend(n.prototype,{setStart:function(e,t){v(this),g(e,!0),R(e,t),u(this,e,t)},setEnd:function(e,t){v(this),g(e,!0),R(e,t),d(this,e,t)},setStartAndEnd:function(){v(this);var e=arguments,t=e[0],n=e[1],i=t,r=n;switch(e.length){case 3:r=e[2];break;case 4:i=e[2],r=e[3]}s(this,t,n,i,r)},setBoundary:function(e,t,n){this["set"+(n?"Start":"End")](e,t)},setStartBefore:a(!0,!0),setStartAfter:a(!1,!0),setEndBefore:a(!0,!1),setEndAfter:a(!1,!1),collapse:function(e){S(this),e?s(this,this.startContainer,this.startOffset,this.startContainer,this.startOffset):s(this,this.endContainer,this.endOffset,this.endContainer,this.endOffset)},selectNodeContents:function(e){v(this),g(e,!0),s(this,e,0,e,K(e))},selectNode:function(e){v(this),g(e,!1),y(e,X);var t=i(e),n=r(e);s(this,t.node,t.offset,n.node,n.offset)},extractContents:x(l,s),deleteContents:x(c,s),canSurroundContents:function(){S(this),b(this.startContainer),b(this.endContainer);var e=new m(this,!0),n=e._first&&t(e._first,this)||e._last&&t(e._last,this);return e.detach(),!n},detach:function(){o(this)},splitBoundaries:function(){T(this)},splitBoundariesPreservingPositions:function(e){T(this,e)},normalizeBoundaries:function(){S(this);var e=this.startContainer,t=this.startOffset,n=this.endContainer,i=this.endOffset,r=function(e){var t=e.nextSibling;t&&t.nodeType==e.nodeType&&(n=e,i=e.length,e.appendData(t.data),t.parentNode.removeChild(t))},o=function(r){var s=r.previousSibling;if(s&&s.nodeType==r.nodeType){e=r;var o=r.length;if(t=s.length,r.insertData(0,s.data),s.parentNode.removeChild(s),e==n)i+=t,n=e;else if(n==r.parentNode){var a=W(r);i==a?(n=r,i=o):i>a&&i--}}},a=!0;if(B(n))n.length==i&&r(n);else{if(i>0){var u=n.childNodes[i-1];u&&B(u)&&r(u)}a=!this.collapsed}if(a){if(B(e))0==t&&o(e);else if(e.childNodes.length>t){var c=e.childNodes[t];c&&B(c)&&o(c)}}else e=n,t=i;s(this,e,t,n,i)},collapseToPoint:function(e,t){v(this),g(e,!0),R(e,t),this.setStartAndEnd(e,t)}}),j(n)}function D(e){e.collapsed=e.startContainer===e.endContainer&&e.startOffset===e.endOffset,e.commonAncestorContainer=e.collapsed?e.startContainer:P.getCommonAncestor(e.startContainer,e.endContainer)}function A(e,t,n,i,r){e.startContainer=t,e.startOffset=n,e.endContainer=i,e.endOffset=r,e.document=P.getDocument(t),D(e)}function I(e){v(e),e.startContainer=e.startOffset=e.endContainer=e.endOffset=e.document=null,e.collapsed=e.commonAncestorContainer=null}function M(e){this.startContainer=e,this.startOffset=0,this.endContainer=e,this.endOffset=0,this.document=e,D(this)}var P=e.dom,$=e.util,L=P.DomPosition,H=e.DOMException,B=P.isCharacterDataNode,W=P.getNodeIndex,F=P.isOrIsAncestorOf,z=P.getDocument,U=P.comparePoints,q=P.splitDataNode,V=P.getClosestAncestorIn,K=P.getNodeLength,G=P.arrayContains,Y=P.getRootContainer,Q=e.features.crashyTextNodes;m.prototype={_current:null,_next:null,_first:null,_last:null,isSingleCharacterDataNode:!1,reset:function(){this._current=null,this._next=this._first},hasNext:function(){return!!this._next},next:function(){var e=this._current=this._next;return e&&(this._next=e!==this._last?e.nextSibling:null,B(e)&&this.clonePartiallySelectedTextNodes&&(e===this.ec&&(e=e.cloneNode(!0)).deleteData(this.eo,e.length-this.eo),this._current===this.sc&&(e=e.cloneNode(!0)).deleteData(0,this.so))),e},remove:function(){var e,t,n=this._current;!B(n)||n!==this.sc&&n!==this.ec?n.parentNode&&n.parentNode.removeChild(n):(e=n===this.sc?this.so:0,t=n===this.ec?this.eo:n.length,e!=t&&n.deleteData(e,t-e))},isPartiallySelectedSubtree:function(){var e=this._current;return t(e,this.range)},getSubtreeIterator:function(){var e;if(this.isSingleCharacterDataNode)e=this.range.cloneRange(),e.collapse(!1);else{e=new M(n(this.range));var t=this._current,i=t,r=0,s=t,o=K(t);F(t,this.sc)&&(i=this.sc,r=this.so),F(t,this.ec)&&(s=this.ec,o=this.eo),A(e,i,r,s,o)}return new m(e,this.clonePartiallySelectedTextNodes)},detach:function(e){e&&this.range.detach(),this.range=this._current=this._next=this._first=this._last=this.sc=this.so=this.ec=this.eo=null}},f.prototype={BAD_BOUNDARYPOINTS_ERR:1,INVALID_NODE_TYPE_ERR:2},f.prototype.toString=function(){return this.message};var X=[1,3,4,5,7,8,10],Z=[2,9,11],J=[5,6,10,12],et=[1,3,4,5,7,8,10,11],tt=[1,3,4,5,7,8],nt=p([9,11]),it=p(J),rt=p([6,10,12]),st=document.createElement("style"),ot=!1;try{st.innerHTML="<b>x</b>",ot=3==st.firstChild.nodeType}catch(at){}e.features.htmlParsingConforms=ot;var ut=ot?function(e){var t=this.startContainer,n=z(t);if(!t)throw new H("INVALID_STATE_ERR");var i=null;return 1==t.nodeType?i=t:B(t)&&(i=P.parentElement(t)),i=null===i||"HTML"==i.nodeName&&P.isHtmlNamespace(z(i).documentElement)&&P.isHtmlNamespace(i)?n.createElement("body"):i.cloneNode(!1),i.innerHTML=e,P.fragmentFromNodeChildren(i)}:function(e){v(this);var t=n(this),i=t.createElement("body");return i.innerHTML=e,P.fragmentFromNodeChildren(i)},ct=["startContainer","startOffset","endContainer","endOffset","collapsed","commonAncestorContainer"],lt=0,dt=1,ht=2,mt=3,ft=0,pt=1,gt=2,vt=3;$.extend(e.rangePrototype,{compareBoundaryPoints:function(e,t){S(this),C(this.startContainer,t.startContainer);var n,i,r,s,o=e==mt||e==lt?"start":"end",a=e==dt||e==lt?"start":"end";return n=this[o+"Container"],i=this[o+"Offset"],r=t[a+"Container"],s=t[a+"Offset"],U(n,i,r,s)},insertNode:function(e){if(S(this),y(e,et),b(this.startContainer),F(e,this.startContainer))throw new H("HIERARCHY_REQUEST_ERR");var t=s(e,this.startContainer,this.startOffset);this.setStartBefore(t)},cloneContents:function(){S(this);var e,t;if(this.collapsed)return n(this).createDocumentFragment();if(this.startContainer===this.endContainer&&B(this.startContainer))return e=this.startContainer.cloneNode(!0),e.data=e.data.slice(this.startOffset,this.endOffset),t=n(this).createDocumentFragment(),t.appendChild(e),t;var i=new m(this,!0);return e=a(i),i.detach(),e},canSurroundContents:function(){S(this),b(this.startContainer),b(this.endContainer);var e=new m(this,!0),n=e._first&&t(e._first,this)||e._last&&t(e._last,this);return e.detach(),!n},surroundContents:function(e){if(y(e,tt),!this.canSurroundContents())throw new f("BAD_BOUNDARYPOINTS_ERR");var t=this.extractContents();if(e.hasChildNodes())for(;e.lastChild;)e.removeChild(e.lastChild);s(e,this.startContainer,this.startOffset),e.appendChild(t),this.selectNode(e)},cloneRange:function(){S(this);for(var e,t=new M(n(this)),i=ct.length;i--;)e=ct[i],t[e]=this[e];return t},toString:function(){S(this);var e=this.startContainer;if(e===this.endContainer&&B(e))return 3==e.nodeType||4==e.nodeType?e.data.slice(this.startOffset,this.endOffset):"";var t=[],n=new m(this,!0);return u(n,function(e){(3==e.nodeType||4==e.nodeType)&&t.push(e.data)}),n.detach(),t.join("")},compareNode:function(e){S(this);var t=e.parentNode,n=W(e);if(!t)throw new H("NOT_FOUND_ERR");var i=this.comparePoint(t,n),r=this.comparePoint(t,n+1);return 0>i?r>0?gt:ft:r>0?pt:vt},comparePoint:function(e,t){return S(this),N(e,"HIERARCHY_REQUEST_ERR"),C(e,this.startContainer),0>U(e,t,this.startContainer,this.startOffset)?-1:U(e,t,this.endContainer,this.endOffset)>0?1:0},createContextualFragment:ut,toHtml:function(){S(this);var e=this.commonAncestorContainer.parentNode.cloneNode(!1);return e.appendChild(this.cloneContents()),e.innerHTML},intersectsNode:function(e,t){if(S(this),N(e,"NOT_FOUND_ERR"),z(e)!==n(this))return!1;var i=e.parentNode,r=W(e);N(i,"NOT_FOUND_ERR");var s=U(i,r,this.endContainer,this.endOffset),o=U(i,r+1,this.startContainer,this.startOffset);return t?0>=s&&o>=0:0>s&&o>0},isPointInRange:function(e,t){return S(this),N(e,"HIERARCHY_REQUEST_ERR"),C(e,this.startContainer),U(e,t,this.startContainer,this.startOffset)>=0&&0>=U(e,t,this.endContainer,this.endOffset)},intersectsRange:function(e){return o(this,e,!1)},intersectsOrTouchesRange:function(e){return o(this,e,!0)},intersection:function(e){if(this.intersectsRange(e)){var t=U(this.startContainer,this.startOffset,e.startContainer,e.startOffset),n=U(this.endContainer,this.endOffset,e.endContainer,e.endOffset),i=this.cloneRange();return-1==t&&i.setStart(e.startContainer,e.startOffset),1==n&&i.setEnd(e.endContainer,e.endOffset),i}return null},union:function(e){if(this.intersectsOrTouchesRange(e)){var t=this.cloneRange();return-1==U(e.startContainer,e.startOffset,this.startContainer,this.startOffset)&&t.setStart(e.startContainer,e.startOffset),1==U(e.endContainer,e.endOffset,this.endContainer,this.endOffset)&&t.setEnd(e.endContainer,e.endOffset),t}throw new f("Ranges do not intersect")},containsNode:function(e,t){return t?this.intersectsNode(e,!1):this.compareNode(e)==vt},containsNodeContents:function(e){return this.comparePoint(e,0)>=0&&0>=this.comparePoint(e,K(e))},containsRange:function(e){var t=this.intersection(e);return null!==t&&e.equals(t)},containsNodeText:function(e){var t=this.cloneRange();t.selectNode(e);var n=t.getNodes([3]);if(n.length>0){t.setStart(n[0],0);var i=n.pop();t.setEnd(i,i.length);var r=this.containsRange(t);return t.detach(),r}return this.containsNodeContents(e)},getNodes:function(e,t){return S(this),d(this,e,t)},getDocument:function(){return n(this)},collapseBefore:function(e){v(this),this.setEndBefore(e),this.collapse(!1)},collapseAfter:function(e){v(this),this.setStartAfter(e),this.collapse(!0)},getBookmark:function(t){var i=n(this),r=e.createRange(i);t=t||P.getBody(i),r.selectNodeContents(t);var s=this.intersection(r),o=0,a=0;return s&&(r.setEnd(s.startContainer,s.startOffset),o=(""+r).length,a=o+(""+s).length,r.detach()),{start:o,end:a,containerNode:t}},moveToBookmark:function(e){var t=e.containerNode,n=0;this.setStart(t,0),this.collapse(!0);for(var i,r,s,o,a=[t],u=!1,c=!1;!c&&(i=a.pop());)if(3==i.nodeType)r=n+i.length,!u&&e.start>=n&&r>=e.start&&(this.setStart(i,e.start-n),u=!0),u&&e.end>=n&&r>=e.end&&(this.setEnd(i,e.end-n),c=!0),n=r;else for(o=i.childNodes,s=o.length;s--;)a.push(o[s])},getName:function(){return"DomRange"},equals:function(e){return M.rangesEqual(this,e)},isValid:function(){return w(this)},inspect:function(){return h(this)}}),_(M,A,I),$.extend(M,{rangeProperties:ct,RangeIterator:m,copyComparisonConstants:j,createPrototypeRange:_,inspect:h,getRangeDocument:n,rangesEqual:function(e,t){return e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset}}),e.DomRange=M,e.RangeException=f}),rangy.createCoreModule("WrappedRange",["DomRange"],function(e,t){var n,i,r=e.dom,s=e.util,o=r.DomPosition,a=e.DomRange,u=r.getBody,c=r.getContentDocument,l=r.isCharacterDataNode;if(e.features.implementsDomRange&&function(){function i(e){for(var t,n=m.length;n--;)t=m[n],e[t]=e.nativeRange[t];e.collapsed=e.startContainer===e.endContainer&&e.startOffset===e.endOffset}function o(e,t,n,i,r){var s=e.startContainer!==t||e.startOffset!=n,o=e.endContainer!==i||e.endOffset!=r,a=!e.equals(e.nativeRange);(s||o||a)&&(e.setEnd(i,r),e.setStart(t,n))}function l(e){e.nativeRange.detach(),e.detached=!0;for(var t=m.length;t--;)e[m[t]]=null}var d,h,m=a.rangeProperties;n=function(e){if(!e)throw t.createError("WrappedRange: Range must be specified");this.nativeRange=e,i(this)},a.createPrototypeRange(n,o,l),d=n.prototype,d.selectNode=function(e){this.nativeRange.selectNode(e),i(this)},d.cloneContents=function(){return this.nativeRange.cloneContents()},d.surroundContents=function(e){this.nativeRange.surroundContents(e),i(this)},d.collapse=function(e){this.nativeRange.collapse(e),i(this)},d.cloneRange=function(){return new n(this.nativeRange.cloneRange())},d.refresh=function(){i(this)},d.toString=function(){return""+this.nativeRange};var f=document.createTextNode("test");u(document).appendChild(f);var p=document.createRange();p.setStart(f,0),p.setEnd(f,0);try{p.setStart(f,1),d.setStart=function(e,t){this.nativeRange.setStart(e,t),i(this)},d.setEnd=function(e,t){this.nativeRange.setEnd(e,t),i(this)},h=function(e){return function(t){this.nativeRange[e](t),i(this)}}}catch(g){d.setStart=function(e,t){try{this.nativeRange.setStart(e,t)}catch(n){this.nativeRange.setEnd(e,t),this.nativeRange.setStart(e,t)}i(this)},d.setEnd=function(e,t){try{this.nativeRange.setEnd(e,t)}catch(n){this.nativeRange.setStart(e,t),this.nativeRange.setEnd(e,t)}i(this)},h=function(e,t){return function(n){try{this.nativeRange[e](n)}catch(r){this.nativeRange[t](n),this.nativeRange[e](n)}i(this)}}}d.setStartBefore=h("setStartBefore","setEndBefore"),d.setStartAfter=h("setStartAfter","setEndAfter"),d.setEndBefore=h("setEndBefore","setStartBefore"),d.setEndAfter=h("setEndAfter","setStartAfter"),d.selectNodeContents=function(e){this.setStartAndEnd(e,0,r.getNodeLength(e))},p.selectNodeContents(f),p.setEnd(f,3);var v=document.createRange();v.selectNodeContents(f),v.setEnd(f,4),v.setStart(f,2),d.compareBoundaryPoints=-1==p.compareBoundaryPoints(p.START_TO_END,v)&&1==p.compareBoundaryPoints(p.END_TO_START,v)?function(e,t){return t=t.nativeRange||t,e==t.START_TO_END?e=t.END_TO_START:e==t.END_TO_START&&(e=t.START_TO_END),this.nativeRange.compareBoundaryPoints(e,t)}:function(e,t){return this.nativeRange.compareBoundaryPoints(e,t.nativeRange||t)};var y=document.createElement("div");y.innerHTML="123";var R=y.firstChild,C=u(document);C.appendChild(y),p.setStart(R,1),p.setEnd(R,2),p.deleteContents(),"13"==R.data&&(d.deleteContents=function(){this.nativeRange.deleteContents(),i(this)},d.extractContents=function(){var e=this.nativeRange.extractContents();return i(this),e}),C.removeChild(y),C=null,s.isHostMethod(p,"createContextualFragment")&&(d.createContextualFragment=function(e){return this.nativeRange.createContextualFragment(e)}),u(document).removeChild(f),p.detach(),v.detach(),d.getName=function(){return"WrappedRange"},e.WrappedRange=n,e.createNativeRange=function(e){return e=c(e,t,"createNativeRange"),e.createRange()}}(),e.features.implementsTextRange){var d=function(e){var t=e.parentElement(),n=e.duplicate();n.collapse(!0);var i=n.parentElement();n=e.duplicate(),n.collapse(!1);var s=n.parentElement(),o=i==s?i:r.getCommonAncestor(i,s);return o==t?o:r.getCommonAncestor(t,o)},h=function(e){return 0==e.compareEndPoints("StartToEnd",e)},m=function(e,t,n,i,s){var a=e.duplicate();a.collapse(n);var u=a.parentElement();if(r.isOrIsAncestorOf(t,u)||(u=t),!u.canHaveHTML){var c=new o(u.parentNode,r.getNodeIndex(u));return{boundaryPosition:c,nodeInfo:{nodeIndex:c.offset,containerElement:c.node}}}var d=r.getDocument(u).createElement("span");d.parentNode&&d.parentNode.removeChild(d);for(var h,m,f,p,g,v=n?"StartToStart":"StartToEnd",y=s&&s.containerElement==u?s.nodeIndex:0,R=u.childNodes.length,C=R,b=C;;){if(b==R?u.appendChild(d):u.insertBefore(d,u.childNodes[b]),a.moveToElementText(d),h=a.compareEndPoints(v,e),0==h||y==C)break;if(-1==h){if(C==y+1)break;y=b}else C=C==y+1?y:b;b=Math.floor((y+C)/2),u.removeChild(d)}if(g=d.nextSibling,-1==h&&g&&l(g)){a.setEndPoint(n?"EndToStart":"EndToEnd",e);var N;if(/[\r\n]/.test(g.data)){var k=a.duplicate(),E=k.text.replace(/\r\n/g,"\r").length;for(N=k.moveStart("character",E);-1==(h=k.compareEndPoints("StartToEnd",k));)N++,k.moveStart("character",1)}else N=a.text.length;p=new o(g,N)}else m=(i||!n)&&d.previousSibling,f=(i||n)&&d.nextSibling,p=f&&l(f)?new o(f,0):m&&l(m)?new o(m,m.data.length):new o(u,r.getNodeIndex(d));return d.parentNode.removeChild(d),{boundaryPosition:p,nodeInfo:{nodeIndex:b,containerElement:u}}},f=function(e,t){var n,i,s,o,a=e.offset,c=r.getDocument(e.node),d=u(c).createTextRange(),h=l(e.node);return h?(n=e.node,i=n.parentNode):(o=e.node.childNodes,n=o.length>a?o[a]:null,i=e.node),s=c.createElement("span"),s.innerHTML="&#feff;",n?i.insertBefore(s,n):i.appendChild(s),d.moveToElementText(s),d.collapse(!t),i.removeChild(s),h&&d[t?"moveStart":"moveEnd"]("character",a),d};if(i=function(e){this.textRange=e,this.refresh()},i.prototype=new a(document),i.prototype.refresh=function(){var e,t,n,i=d(this.textRange);h(this.textRange)?t=e=m(this.textRange,i,!0,!0).boundaryPosition:(n=m(this.textRange,i,!0,!1),e=n.boundaryPosition,t=m(this.textRange,i,!1,!1,n.nodeInfo).boundaryPosition),this.setStart(e.node,e.offset),this.setEnd(t.node,t.offset)},i.prototype.getName=function(){return"WrappedTextRange"
6
},a.copyComparisonConstants(i),i.rangeToTextRange=function(e){if(e.collapsed)return f(new o(e.startContainer,e.startOffset),!0);var t=f(new o(e.startContainer,e.startOffset),!0),n=f(new o(e.endContainer,e.endOffset),!1),i=u(a.getRangeDocument(e)).createTextRange();return i.setEndPoint("StartToStart",t),i.setEndPoint("EndToEnd",n),i},e.WrappedTextRange=i,!e.features.implementsDomRange||e.config.preferTextRange){var p=function(){return this}();p.Range===void 0&&(p.Range=i),e.createNativeRange=function(e){return e=c(e,t,"createNativeRange"),u(e).createTextRange()},e.WrappedRange=i}}e.createRange=function(n){return n=c(n,t,"createRange"),new e.WrappedRange(e.createNativeRange(n))},e.createRangyRange=function(e){return e=c(e,t,"createRangyRange"),new a(e)},e.createIframeRange=function(n){return t.deprecationNotice("createIframeRange()","createRange(iframeEl)"),e.createRange(n)},e.createIframeRangyRange=function(n){return t.deprecationNotice("createIframeRangyRange()","createRangyRange(iframeEl)"),e.createRangyRange(n)},e.addCreateMissingNativeApiListener(function(t){var n=t.document;n.createRange===void 0&&(n.createRange=function(){return e.createRange(n)}),n=t=null})}),rangy.createCoreModule("WrappedSelection",["DomRange","WrappedRange"],function(e,t){function n(e){return"string"==typeof e?/^backward(s)?$/i.test(e):!!e}function i(e,n){if(e){if(O.isWindow(e))return e;if(e instanceof v)return e.win;var i=O.getContentDocument(e,t,n);return O.getWindow(i)}return window}function r(e){return i(e,"getWinSelection").getSelection()}function s(e){return i(e,"getDocSelection").document.selection}function o(e){var t=!1;return e.anchorNode&&(t=1==O.comparePoints(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset)),t}function a(e,t,n){var i=n?"end":"start",r=n?"start":"end";e.anchorNode=t[i+"Container"],e.anchorOffset=t[i+"Offset"],e.focusNode=t[r+"Container"],e.focusOffset=t[r+"Offset"]}function u(e){var t=e.nativeSelection;e.anchorNode=t.anchorNode,e.anchorOffset=t.anchorOffset,e.focusNode=t.focusNode,e.focusOffset=t.focusOffset}function c(e){e.anchorNode=e.focusNode=null,e.anchorOffset=e.focusOffset=0,e.rangeCount=0,e.isCollapsed=!0,e._ranges.length=0}function l(t){var n;return t instanceof _?(n=e.createNativeRange(t.getDocument()),n.setEnd(t.endContainer,t.endOffset),n.setStart(t.startContainer,t.startOffset)):t instanceof D?n=t.nativeRange:M.implementsDomRange&&t instanceof O.getWindow(t.startContainer).Range&&(n=t),n}function d(e){if(!e.length||1!=e[0].nodeType)return!1;for(var t=1,n=e.length;n>t;++t)if(!O.isAncestorOf(e[0],e[t]))return!1;return!0}function h(e){var n=e.getNodes();if(!d(n))throw t.createError("getSingleElementFromRange: range "+e.inspect()+" did not consist of a single element");return n[0]}function m(e){return!!e&&e.text!==void 0}function f(e,t){var n=new D(t);e._ranges=[n],a(e,n,!1),e.rangeCount=1,e.isCollapsed=n.collapsed}function p(t){if(t._ranges.length=0,"None"==t.docSelection.type)c(t);else{var n=t.docSelection.createRange();if(m(n))f(t,n);else{t.rangeCount=n.length;for(var i,r=$(n.item(0)),s=0;t.rangeCount>s;++s)i=e.createRange(r),i.selectNode(n.item(s)),t._ranges.push(i);t.isCollapsed=1==t.rangeCount&&t._ranges[0].collapsed,a(t,t._ranges[t.rangeCount-1],!1)}}}function g(e,n){for(var i=e.docSelection.createRange(),r=h(n),s=$(i.item(0)),o=L(s).createControlRange(),a=0,u=i.length;u>a;++a)o.add(i.item(a));try{o.add(r)}catch(c){throw t.createError("addRange(): Element within the specified Range could not be added to control selection (does it have layout?)")}o.select(),p(e)}function v(e,t,n){this.nativeSelection=e,this.docSelection=t,this._ranges=[],this.win=n,this.refresh()}function y(e){e.win=e.anchorNode=e.focusNode=e._ranges=null,e.rangeCount=e.anchorOffset=e.focusOffset=0,e.detached=!0}function R(e,t){for(var n,i,r=tt.length;r--;)if(n=tt[r],i=n.selection,"deleteAll"==t)y(i);else if(n.win==e)return"delete"==t?(tt.splice(r,1),!0):i;return"deleteAll"==t&&(tt.length=0),null}function C(e,n){for(var i,r=$(n[0].startContainer),s=L(r).createControlRange(),o=0,a=n.length;a>o;++o){i=h(n[o]);try{s.add(i)}catch(u){throw t.createError("setRanges(): Element within one of the specified Ranges could not be added to control selection (does it have layout?)")}}s.select(),p(e)}function b(e,t){if(e.win.document!=$(t))throw new A("WRONG_DOCUMENT_ERR")}function N(t){return function(n,i){var r;this.rangeCount?(r=this.getRangeAt(0),r["set"+(t?"Start":"End")](n,i)):(r=e.createRange(this.win.document),r.setStartAndEnd(n,i)),this.setSingleRange(r,this.isBackward())}}function k(e){var t=[],n=new I(e.anchorNode,e.anchorOffset),i=new I(e.focusNode,e.focusOffset),r="function"==typeof e.getName?e.getName():"Selection";if(e.rangeCount!==void 0)for(var s=0,o=e.rangeCount;o>s;++s)t[s]=_.inspect(e.getRangeAt(s));return"["+r+"(Ranges: "+t.join(", ")+")(anchor: "+n.inspect()+", focus: "+i.inspect()+"]"}e.config.checkSelectionRanges=!0;var E,w,S="boolean",T="number",O=e.dom,j=e.util,x=j.isHostMethod,_=e.DomRange,D=e.WrappedRange,A=e.DOMException,I=O.DomPosition,M=e.features,P="Control",$=O.getDocument,L=O.getBody,H=_.rangesEqual,B=x(window,"getSelection"),W=j.isHostObject(document,"selection");M.implementsWinGetSelection=B,M.implementsDocSelection=W;var F=W&&(!B||e.config.preferTextRange);F?(E=s,e.isSelectionValid=function(e){var t=i(e,"isSelectionValid").document,n=t.selection;return"None"!=n.type||$(n.createRange().parentElement())==t}):B?(E=r,e.isSelectionValid=function(){return!0}):t.fail("Neither document.selection or window.getSelection() detected."),e.getNativeSelection=E;var z=E(),U=e.createNativeRange(document),q=L(document),V=j.areHostProperties(z,["anchorNode","focusNode","anchorOffset","focusOffset"]);M.selectionHasAnchorAndFocus=V;var K=x(z,"extend");M.selectionHasExtend=K;var G=typeof z.rangeCount==T;M.selectionHasRangeCount=G;var Y=!1,Q=!0,X=K?function(t,n){var i=_.getRangeDocument(n),r=e.createRange(i);r.collapseToPoint(n.endContainer,n.endOffset),t.addRange(l(r)),t.extend(n.startContainer,n.startOffset)}:null;j.areHostMethods(z,["addRange","getRangeAt","removeAllRanges"])&&typeof z.rangeCount==T&&M.implementsDomRange&&function(){var t=window.getSelection();if(t){for(var n=t.rangeCount,i=n>1,r=[],s=o(t),a=0;n>a;++a)r[a]=t.getRangeAt(a);var u=L(document),c=u.appendChild(document.createElement("div"));c.contentEditable="false";var l=c.appendChild(document.createTextNode("   ")),d=document.createRange();if(d.setStart(l,1),d.collapse(!0),t.addRange(d),Q=1==t.rangeCount,t.removeAllRanges(),!i){var h=d.cloneRange();d.setStart(l,0),h.setEnd(l,3),h.setStart(l,2),t.addRange(d),t.addRange(h),Y=2==t.rangeCount,h.detach()}for(u.removeChild(c),t.removeAllRanges(),d.detach(),a=0;n>a;++a)0==a&&s?X?X(t,r[a]):(e.warn("Rangy initialization: original selection was backwards but selection has been restored forwards because browser does not support Selection.extend"),t.addRange(r[a])):t.addRange(r[a])}}(),M.selectionSupportsMultipleRanges=Y,M.collapsedNonEditableSelectionsSupported=Q;var Z,J=!1;q&&x(q,"createControlRange")&&(Z=q.createControlRange(),j.areHostProperties(Z,["item","add"])&&(J=!0)),M.implementsControlRange=J,w=V?function(e){return e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset}:function(e){return e.rangeCount?e.getRangeAt(e.rangeCount-1).collapsed:!1};var et;x(z,"getRangeAt")?et=function(e,t){try{return e.getRangeAt(t)}catch(n){return null}}:V&&(et=function(t){var n=$(t.anchorNode),i=e.createRange(n);return i.setStartAndEnd(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),i.collapsed!==this.isCollapsed&&i.setStartAndEnd(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset),i}),v.prototype=e.selectionPrototype;var tt=[],nt=function(e){if(e&&e instanceof v)return e.refresh(),e;e=i(e,"getNativeSelection");var t=R(e),n=E(e),r=W?s(e):null;return t?(t.nativeSelection=n,t.docSelection=r,t.refresh()):(t=new v(n,r,e),tt.push({win:e,selection:t})),t};e.getSelection=nt,e.getIframeSelection=function(n){return t.deprecationNotice("getIframeSelection()","getSelection(iframeEl)"),e.getSelection(O.getIframeWindow(n))};var it=v.prototype;if(!F&&V&&j.areHostMethods(z,["removeAllRanges","addRange"])){it.removeAllRanges=function(){this.nativeSelection.removeAllRanges(),c(this)};var rt=function(e,t){X(e.nativeSelection,t),e.refresh()};it.addRange=G?function(t,i){if(J&&W&&this.docSelection.type==P)g(this,t);else if(n(i)&&K)rt(this,t);else{var r;if(Y?r=this.rangeCount:(this.removeAllRanges(),r=0),this.nativeSelection.addRange(l(t).cloneRange()),this.rangeCount=this.nativeSelection.rangeCount,this.rangeCount==r+1){if(e.config.checkSelectionRanges){var s=et(this.nativeSelection,this.rangeCount-1);s&&!H(s,t)&&(t=new D(s))}this._ranges[this.rangeCount-1]=t,a(this,t,at(this.nativeSelection)),this.isCollapsed=w(this)}else this.refresh()}}:function(e,t){n(t)&&K?rt(this,e):(this.nativeSelection.addRange(l(e)),this.refresh())},it.setRanges=function(e){if(J&&e.length>1)C(this,e);else{this.removeAllRanges();for(var t=0,n=e.length;n>t;++t)this.addRange(e[t])}}}else{if(!(x(z,"empty")&&x(U,"select")&&J&&F))return t.fail("No means of selecting a Range or TextRange was found"),!1;it.removeAllRanges=function(){try{if(this.docSelection.empty(),"None"!=this.docSelection.type){var e;if(this.anchorNode)e=$(this.anchorNode);else if(this.docSelection.type==P){var t=this.docSelection.createRange();t.length&&(e=$(t.item(0)))}if(e){var n=L(e).createTextRange();n.select(),this.docSelection.empty()}}}catch(i){}c(this)},it.addRange=function(t){this.docSelection.type==P?g(this,t):(e.WrappedTextRange.rangeToTextRange(t).select(),this._ranges[0]=t,this.rangeCount=1,this.isCollapsed=this._ranges[0].collapsed,a(this,t,!1))},it.setRanges=function(e){this.removeAllRanges();var t=e.length;t>1?C(this,e):t&&this.addRange(e[0])}}it.getRangeAt=function(e){if(0>e||e>=this.rangeCount)throw new A("INDEX_SIZE_ERR");return this._ranges[e].cloneRange()};var st;if(F)st=function(t){var n;e.isSelectionValid(t.win)?n=t.docSelection.createRange():(n=L(t.win.document).createTextRange(),n.collapse(!0)),t.docSelection.type==P?p(t):m(n)?f(t,n):c(t)};else if(x(z,"getRangeAt")&&typeof z.rangeCount==T)st=function(t){if(J&&W&&t.docSelection.type==P)p(t);else if(t._ranges.length=t.rangeCount=t.nativeSelection.rangeCount,t.rangeCount){for(var n=0,i=t.rangeCount;i>n;++n)t._ranges[n]=new e.WrappedRange(t.nativeSelection.getRangeAt(n));a(t,t._ranges[t.rangeCount-1],at(t.nativeSelection)),t.isCollapsed=w(t)}else c(t)};else{if(!V||typeof z.isCollapsed!=S||typeof U.collapsed!=S||!M.implementsDomRange)return t.fail("No means of obtaining a Range or TextRange from the user's selection was found"),!1;st=function(e){var t,n=e.nativeSelection;n.anchorNode?(t=et(n,0),e._ranges=[t],e.rangeCount=1,u(e),e.isCollapsed=w(e)):c(e)}}it.refresh=function(e){var t=e?this._ranges.slice(0):null,n=this.anchorNode,i=this.anchorOffset;if(st(this),e){var r=t.length;if(r!=this._ranges.length)return!0;if(this.anchorNode!=n||this.anchorOffset!=i)return!0;for(;r--;)if(!H(t[r],this._ranges[r]))return!0;return!1}};var ot=function(e,t){var n=e.getAllRanges();e.removeAllRanges();for(var i=0,r=n.length;r>i;++i)H(t,n[i])||e.addRange(n[i]);e.rangeCount||c(e)};it.removeRange=J?function(e){if(this.docSelection.type==P){for(var t,n=this.docSelection.createRange(),i=h(e),r=$(n.item(0)),s=L(r).createControlRange(),o=!1,a=0,u=n.length;u>a;++a)t=n.item(a),t!==i||o?s.add(n.item(a)):o=!0;s.select(),p(this)}else ot(this,e)}:function(e){ot(this,e)};var at;!F&&V&&M.implementsDomRange?(at=o,it.isBackward=function(){return at(this)}):at=it.isBackward=function(){return!1},it.isBackwards=it.isBackward,it.toString=function(){for(var e=[],t=0,n=this.rangeCount;n>t;++t)e[t]=""+this._ranges[t];return e.join("")},it.collapse=function(t,n){b(this,t);var i=e.createRange(t);i.collapseToPoint(t,n),this.setSingleRange(i),this.isCollapsed=!0},it.collapseToStart=function(){if(!this.rangeCount)throw new A("INVALID_STATE_ERR");var e=this._ranges[0];this.collapse(e.startContainer,e.startOffset)},it.collapseToEnd=function(){if(!this.rangeCount)throw new A("INVALID_STATE_ERR");var e=this._ranges[this.rangeCount-1];this.collapse(e.endContainer,e.endOffset)},it.selectAllChildren=function(t){b(this,t);var n=e.createRange(t);n.selectNodeContents(t),this.setSingleRange(n)},it.deleteFromDocument=function(){if(J&&W&&this.docSelection.type==P){for(var e,t=this.docSelection.createRange();t.length;)e=t.item(0),t.remove(e),e.parentNode.removeChild(e);this.refresh()}else if(this.rangeCount){var n=this.getAllRanges();if(n.length){this.removeAllRanges();for(var i=0,r=n.length;r>i;++i)n[i].deleteContents();this.addRange(n[r-1])}}},it.eachRange=function(e,t){for(var n=0,i=this._ranges.length;i>n;++n)if(e(this.getRangeAt(n)))return t},it.getAllRanges=function(){var e=[];return this.eachRange(function(t){e.push(t)}),e},it.setSingleRange=function(e,t){this.removeAllRanges(),this.addRange(e,t)},it.callMethodOnEachRange=function(e,t){var n=[];return this.eachRange(function(i){n.push(i[e].apply(i,t))}),n},it.setStart=N(!0),it.setEnd=N(!1),e.rangePrototype.select=function(e){nt(this.getDocument()).setSingleRange(this,e)},it.changeEachRange=function(e){var t=[],n=this.isBackward();this.eachRange(function(n){e(n),t.push(n)}),this.removeAllRanges(),n&&1==t.length?this.addRange(t[0],"backward"):this.setRanges(t)},it.containsNode=function(e,t){return this.eachRange(function(n){return n.containsNode(e,t)},!0)},it.getBookmark=function(e){return{backward:this.isBackward(),rangeBookmarks:this.callMethodOnEachRange("getBookmark",[e])}},it.moveToBookmark=function(t){for(var n,i,r=[],s=0;n=t.rangeBookmarks[s++];)i=e.createRange(this.win),i.moveToBookmark(n),r.push(i);t.backward?this.setSingleRange(r[0],"backward"):this.setRanges(r)},it.toHtml=function(){return this.callMethodOnEachRange("toHtml").join("")},it.getName=function(){return"WrappedSelection"},it.inspect=function(){return k(this)},it.detach=function(){R(this.win,"delete"),y(this)},v.detachAll=function(){R(null,"deleteAll")},v.inspect=k,v.isDirectionBackward=n,e.Selection=v,e.selectionPrototype=it,e.addCreateMissingNativeApiListener(function(e){e.getSelection===void 0&&(e.getSelection=function(){return nt(e)}),e=null})});
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/README.md (+107 lines)
Line 0 Link Here
1
jQuery.ime Input method specification
2
=====================================
3
4
Input methods are defined in javascript files. An input method is a javascript
5
object and it is passed to $.ime.register() method to register with jquery.ime
6
7
eg: $.ime.register( hebrewStandardKeyboard );
8
9
Metadata fields
10
---------------
11
12
id: A mandatory unique identifier that represents the input method.
13
eg: "hindi-inscript"
14
15
name: A mandatory short name for the input method. eg: Hindi InScript
16
17
description: An optional short description about the input method.
18
eg: "keyboard layout as per inscript standard"
19
20
date: An optional string to represent when this input method was written.
21
Format should be: yyyy-mm-dd
22
23
author: An optional string containing the authors name. Can contain email
24
address as well. eg: "Santhosh Thottingal, <santhosh.thottingal@gmail.com>"
25
26
URL: A mandatory string containing URL for source where keyboard is defined,
27
information about trademark restrictions if any, layout and help.
28
29
license: An optional string containing licence information. Eg: "CC-BY-SA" or
30
"GPLv3".
31
32
version: An optional string containing version information.
33
34
Input method definition
35
-----------------------
36
37
patterns: A regular expression table that maps the original inputs to the
38
target language.
39
40
eg:
41
patterns: [
42
		[ 'q', '/' ],
43
		[ 'w', '\'' ],
44
		[ 'e', 'ק' ],
45
		[ 'r', 'ר' ],
46
		[ 't', 'א' ],
47
		[ 'y', 'ט' ],
48
		[ 'u', 'ו' ],
49
		[ 'i', 'ן' ],
50
		[ 'o', 'ם' ],
51
		[ 'p', 'פ' ]
52
		...
53
		// These characters are mirrored in RTL languages
54
		[ '\\(', ')' ],
55
		[ '\\)', '(' ],
56
		[ '\\[', ']' ],
57
		[ '\\]', '[' ]
58
	]
59
60
Any valid regular expression is possible as first element of each array item.
61
More examples
62
	[ '([ക-ഹ])a', '$1ാ' ]
63
	[ '(([ൺ-ൿം])\u200c+)?I', '$2ഐ' ]
64
65
In the above example, $1, $1 etc are according to the normal regular expression
66
replace syntax.
67
68
The second member of pattern can be a function as well. For eg:
69
70
patterns: [ [ '[a-z]', function ( $1 ) {
71
			return $1.toUpperCase();
72
		} ] ]
73
74
This rule replace all key strokes to its upper case character.
75
76
contextLength: Length of the context to remember. jquery.ime can replace the
77
text based on the previously typed characters. eg:
78
79
	[ 'ൿh', 'c', 'ച്' ]
80
81
Note that this pattern definition has 3 members, the middle one is the context.
82
This rule is interpreted as 
83
84
The current key is h, previous key is c. For the previous key press c, we have
85
a transliteration ൿ. But if it is followed by h and ൿ is indeed from key press
86
c, replace ൿh with ച്
87
88
To make this work, we need to remember the previous key strokes. How many of
89
them we need to remember? contextLength should have that value.
90
91
This is optional field with default value 0. ie, we don't remember previous key
92
strokes by default.
93
94
maxKeyLength: While trying to find possible matches, we need to know how many
95
characters from the current typing location(cursor) should be used before
96
giving up.
97
98
maxKeyLength defines it. Normally it is the length of largest regex sequence in
99
the patterns.
100
101
This field is optional and default value is 1.
102
103
Examples
104
--------
105
106
For complete examples, please refer the existing input method definitions.
107
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/am/am-transliteration.js (+432 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var amTransliteration = {
5
		id: 'am-transliteration',
6
		name: 'Amharic Transliteration',
7
		description: 'Amharic Transliteration',
8
		date: '2012-09-09',
9
		URL: 'http://am.wikipedia.org/wiki/%E1%8A%A5%E1%88%AD%E1%8B%B3%E1%89%B3:%E1%8A%A2%E1%89%B5%E1%8B%AE%E1%8D%92%E1%8A%AD_%E1%88%B4%E1%88%AB',
10
		author: 'Elfalem [[User:Elfalem]])',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 2,
15
		patterns: [
16
			[ '\\\\([A-Za-z\\>\\<_~ ])', '\\\\', '$1' ], // include space also
17
18
			[ '፼0', '፲፼' ], // 10000 and 0 becomes 10 10000
19
			[ '፲፻0', '፼' ], // 10x100 and 0 becomes 10000
20
			[ '፻0', '፲፻' ], // NUM_100 and 0 becomes 10 100
21
22
			[ '፻0', '፲፻' ], // 1000
23
24
			[ '፳0', '፪፻' ], // 200
25
			[ '፴0', '፫፻' ], // 300
26
			[ '፵0', '፬፻' ], // 400
27
			[ '፶0', '፭፻' ], // 500
28
			[ '፷0', '፮፻' ], // 600
29
			[ '፸0', '፯፻' ], // 700
30
			[ '፹0', '፰፻' ], // 800
31
			[ '፺0', '፱፻' ], // 900
32
33
			[ '፩0', '፲' ], // 10
34
			[ '፪0', '፳' ], // 20
35
			[ '፫0', '፴' ], // 30
36
			[ '፬0', '፵' ], // 40
37
			[ '፭0', '፶' ], // 50
38
			[ '፮0', '፷' ], // 60
39
			[ '፯0', '፸' ], // 70
40
			[ '፰0', '፹' ], // 80
41
			[ '፱0', '፺' ], // 90
42
			[ '፲0', '፻' ], // 100
43
44
			[ '1', '፩' ],
45
			[ '2', '፪' ],
46
			[ '3', '፫' ],
47
			[ '4', '፬' ],
48
			[ '5', '፭' ],
49
			[ '6', '፮' ],
50
			[ '7', '፯' ],
51
			[ '8', '፰' ],
52
			[ '9', '፱' ],
53
54
			[ 'ህe', 'ሀ' ],
55
			[ 'ህu', 'ሁ' ],
56
			[ 'ህi', 'ሂ' ],
57
			[ 'ህa', 'ሃ' ],
58
			[ '(ሀe|ህE)', 'ሄ' ],
59
			[ 'ህo', 'ሆ' ],
60
			[ 'ህW', 'ኋ' ],
61
62
			[ 'ልe', 'ለ' ],
63
			[ 'ልu', 'ሉ' ],
64
			[ 'ልi', 'ሊ' ],
65
			[ 'ልa', 'ላ' ],
66
			[ '(ለe|ልE)', 'ሌ' ],
67
			[ 'ልo', 'ሎ' ],
68
			[ 'ልW', 'ሏ' ],
69
70
			[ 'ሕe', 'ሐ' ],
71
			[ 'ሕu', 'ሑ' ],
72
			[ 'ሕi', 'ሒ' ],
73
			[ 'ሕa', 'ሓ' ],
74
			[ '(ሐe|ሕE)', 'ሔ' ],
75
			[ 'ሕo', 'ሖ' ],
76
			[ 'ሕW', 'ሗ' ],
77
78
			[ 'ምe', 'መ' ],
79
			[ 'ምu', 'ሙ' ],
80
			[ 'ምi', 'ሚ' ],
81
			[ 'ምa', 'ማ' ],
82
			[ '(መe|ምE)', 'ሜ' ],
83
			[ 'ምo', 'ሞ' ],
84
			[ 'ምW', 'ሟ' ],
85
86
			[ 'ርe', 'ረ' ],
87
			[ 'ርu', 'ሩ' ],
88
			[ 'ርi', 'ሪ' ],
89
			[ 'ርa', 'ራ' ],
90
			[ '(ረe|ርE)', 'ሬ' ],
91
			[ 'ርo', 'ሮ' ],
92
			[ 'ርW', 'ሯ' ],
93
94
			[ 'ስe', 'ሰ' ],
95
			[ 'ስu', 'ሱ' ],
96
			[ 'ስi', 'ሲ' ],
97
			[ 'ስa', 'ሳ' ],
98
			[ '(ሰe|ስE)', 'ሴ' ],
99
			[ 'ስo', 'ሶ' ],
100
			[ 'ስW', 'ሷ' ],
101
102
			[ 'ሥe', 'ሠ' ],
103
			[ 'ሥu', 'ሡ' ],
104
			[ 'ሥi', 'ሢ' ],
105
			[ 'ሥa', 'ሣ' ],
106
			[ '(ሠe|ሥE)', 'ሤ' ],
107
			[ 'ሥo', 'ሦ' ],
108
			[ 'ሥW', 'ሧ' ],
109
110
			[ 'ሽe', 'ሸ' ],
111
			[ 'ሽu', 'ሹ' ],
112
			[ 'ሽi', 'ሺ' ],
113
			[ 'ሽa', 'ሻ' ],
114
			[ '(ሸe|ሽE)', 'ሼ' ],
115
			[ 'ሽo', 'ሾ' ],
116
			[ 'ሽW', 'ሿ' ],
117
118
			[ 'ቅe', 'ቀ' ],
119
			[ 'ቅu', 'ቁ' ],
120
			[ 'ቅi', 'ቂ' ],
121
			[ 'ቅa', 'ቃ' ],
122
			[ '(ቀe|ቅE)', 'ቄ' ],
123
			[ 'ቅo', 'ቆ' ],
124
125
			[ 'ቋe', 'ቈ' ],
126
			[ '(ቋu|ቋW)', 'ቍ' ],
127
			[ 'ቋi', 'ቊ' ],
128
			[ 'ቋa', 'ቋ' ],
129
			[ 'ቋo', 'ቌ' ],
130
131
			[ 'ቕe', 'ቐ' ],
132
			[ 'ቕu', 'ቑ' ],
133
			[ 'ቕi', 'ቒ' ],
134
			[ 'ቕa', 'ቓ' ],
135
			[ '(ቐe|ቕE)', 'ቔ' ],
136
			[ 'ቕo', 'ቖ' ],
137
			[ 'ቕW', 'ቛ' ],
138
139
			[ '(ቛe|ቛee)', 'ቜ' ], // the second pattern probably won't be invoked in any case
140
			[ 'ቛu', 'ቘ' ],
141
			[ 'ቛi', 'ቚ' ],
142
			[ 'ቛa', 'ቝ' ],
143
144
			[ 'ብe', 'በ' ],
145
			[ 'ብu', 'ቡ' ],
146
			[ 'ብi', 'ቢ' ],
147
			[ 'ብa', 'ባ' ],
148
			[ '(በe|ብE)', 'ቤ' ],
149
			[ 'ብo', 'ቦ' ],
150
			[ 'ብW', 'ቧ' ],
151
152
			[ 'ቭe', 'ቨ' ],
153
			[ 'ቭu', 'ቩ' ],
154
			[ 'ቭi', 'ቪ' ],
155
			[ 'ቭa', 'ቫ' ],
156
			[ '(ቨe|ቭE)', 'ቬ' ],
157
			[ 'ቭo', 'ቮ' ],
158
			[ 'ቭW', 'ቯ' ],
159
160
			[ 'ትe', 'ተ' ],
161
			[ 'ትu', 'ቱ' ],
162
			[ 'ትi', 'ቲ' ],
163
			[ 'ትa', 'ታ' ],
164
			[ '(ተe|ትE)', 'ቴ' ],
165
			[ 'ትo', 'ቶ' ],
166
			[ 'ትW', 'ቷ' ],
167
168
			[ 'ችe', 'ቸ' ],
169
			[ 'ችu', 'ቹ' ],
170
			[ 'ችi', 'ቺ' ],
171
			[ 'ችa', 'ቻ' ],
172
			[ '(ቸe|ችE)', 'ቼ' ],
173
			[ 'ችo', 'ቾ' ],
174
			[ 'ችW', 'ቿ' ],
175
176
			[ 'ንe', 'ነ' ],
177
			[ 'ንu', 'ኑ' ],
178
			[ 'ንi', 'ኒ' ],
179
			[ 'ንa', 'ና' ],
180
			[ '(ነe|ንE)', 'ኔ' ],
181
			[ 'ንo', 'ኖ' ],
182
			[ 'ንW', 'ኗ' ],
183
184
			[ 'ኝe', 'ኘ' ],
185
			[ 'ኝu', 'ኙ' ],
186
			[ 'ኝi', 'ኚ' ],
187
			[ 'ኝa', 'ኛ' ],
188
			[ '(ኘe|ኝE)', 'ኜ' ],
189
			[ 'ኝo', 'ኞ' ],
190
			[ 'ኝW', 'ኟ' ],
191
192
			[ 'ክe', 'ከ' ],
193
			[ 'ክu', 'ኩ' ],
194
			[ 'ክi', 'ኪ' ],
195
			[ 'ክa', 'ካ' ],
196
			[ '(ከe|ክE)', 'ኬ' ],
197
			[ 'ክo', 'ኮ' ],
198
			[ 'ክW', 'ኳ' ],
199
200
			[ 'ኳe', 'ኰ' ],
201
			[ '(ኳu|ኳ\')', 'ኵ' ],
202
			[ 'ኳi', 'ኲ' ],
203
			[ '(ኰe|ኳE)', 'ኴ' ],
204
205
			[ 'ኽe', 'ኸ' ],
206
			[ 'ኽu', 'ኹ' ],
207
			[ 'ኽi', 'ኺ' ],
208
			[ 'ኽa', 'ኻ' ],
209
			[ '(ኸe|ኽE)', 'ኼ' ],
210
			[ 'ኽo', 'ኾ' ],
211
			[ 'ኽW', 'ዃ' ],
212
213
			[ 'ዃe', 'ዀ' ],
214
			[ '(ዃu|ዃ\')', 'ዅ' ],
215
			[ 'ዃi', 'ዂ' ],
216
			[ 'ዃE', 'ዄ' ],
217
218
			[ 'ውe', 'ወ' ],
219
			[ 'ውu', 'ዉ' ],
220
			[ 'ውi', 'ዊ' ],
221
			[ 'ውa', 'ዋ' ],
222
			[ '(ወe|ውE)', 'ዌ' ],
223
			[ 'ውo', 'ዎ' ],
224
225
			[ 'ዝe', 'ዘ' ],
226
			[ 'ዝu', 'ዙ' ],
227
			[ 'ዝi', 'ዚ' ],
228
			[ 'ዝa', 'ዛ' ],
229
			[ '(ዘe|ዝE)', 'ዜ' ],
230
			[ 'ዝo', 'ዞ' ],
231
			[ 'ዝW', 'ዟ' ],
232
233
			[ 'ዥe', 'ዠ' ],
234
			[ 'ዥu', 'ዡ' ],
235
			[ 'ዥi', 'ዢ' ],
236
			[ 'ዥa', 'ዣ' ],
237
			[ '(ዠe|ዥE)', 'ዤ' ],
238
			[ 'ዥo', 'ዦ' ],
239
			[ 'ዥW', 'ዧ' ],
240
241
			[ 'ይe', 'የ' ],
242
			[ 'ይu', 'ዩ' ],
243
			[ 'ይi', 'ዪ' ],
244
			[ 'ይa', 'ያ' ],
245
			[ '(የe|ይE)', 'ዬ' ],
246
			[ 'ይo', 'ዮ' ],
247
248
			[ 'ድe', 'ደ' ],
249
			[ 'ድu', 'ዱ' ],
250
			[ 'ድi', 'ዲ' ],
251
			[ 'ድa', 'ዳ' ],
252
			[ '(ደe|ድE)', 'ዴ' ],
253
			[ 'ድo', 'ዶ' ],
254
			[ 'ድW', 'ዷ' ],
255
256
			[ 'ዽe', 'ዸ' ],
257
			[ 'ዽu', 'ዹ' ],
258
			[ 'ዽi', 'ዺ' ],
259
			[ 'ዽa', 'ዻ' ],
260
			[ '(ዸe|ዽE)', 'ዼ' ],
261
			[ 'ዽo', 'ዾ' ],
262
			[ 'ዽW', 'ዿ' ],
263
264
			[ 'ጅe', 'ጀ' ],
265
			[ 'ጅu', 'ጁ' ],
266
			[ 'ጅi', 'ጂ' ],
267
			[ 'ጅa', 'ጃ' ],
268
			[ '(ጀe|ጅE)', 'ጄ' ],
269
			[ 'ጅo', 'ጆ' ],
270
			[ 'ጅW', 'ጇ' ],
271
272
			[ 'ግe', 'ገ' ],
273
			[ 'ግu', 'ጉ' ],
274
			[ 'ግi', 'ጊ' ],
275
			[ 'ግa', 'ጋ' ],
276
			[ '(ገe|ግE)', 'ጌ' ],
277
			[ 'ግo', 'ጎ' ],
278
279
			[ 'ጓe', 'ጐ' ],
280
			[ '(ጓu|ጓ\')', 'ጕ' ],
281
			[ 'ጓi', 'ጒ' ],
282
			[ '(ጐe|ጓE)', 'ጔ' ],
283
284
			[ 'ጝe', 'ጘ' ],
285
			[ 'ጝu', 'ጙ' ],
286
			[ 'ጝi', 'ጚ' ],
287
			[ 'ጝa', 'ጛ' ],
288
			[ '(ጘe|ጝE)', 'ጜ' ],
289
			[ 'ጝo', 'ጞ' ],
290
291
			[ 'ጥe', 'ጠ' ],
292
			[ 'ጥu', 'ጡ' ],
293
			[ 'ጥi', 'ጢ' ],
294
			[ 'ጥa', 'ጣ' ],
295
			[ '(ጠe|ጥE)', 'ጤ' ],
296
			[ 'ጥo', 'ጦ' ],
297
			[ 'ጥW', 'ጧ' ],
298
299
			[ 'ጭe', 'ጨ' ],
300
			[ 'ጭu', 'ጩ' ],
301
			[ 'ጭi', 'ጪ' ],
302
			[ 'ጭa', 'ጫ' ],
303
			[ '(ጨe|ጭE)', 'ጬ' ],
304
			[ 'ጭo', 'ጮ' ],
305
			[ 'ጭW', 'ጯ' ],
306
307
			[ 'ጵe', 'ጰ' ],
308
			[ 'ጵu', 'ጱ' ],
309
			[ 'ጵi', 'ጲ' ],
310
			[ 'ጵa', 'ጳ' ],
311
			[ '(ጰe|ጵE)', 'ጴ' ],
312
			[ 'ጵo', 'ጶ' ],
313
			[ 'ጵW', 'ጷ' ],
314
315
			[ 'ጽe', 'ጸ' ],
316
			[ 'ጽu', 'ጹ' ],
317
			[ 'ጽi', 'ጺ' ],
318
			[ 'ጽa', 'ጻ' ],
319
			[ '(ጸe|ጽE)', 'ጼ' ],
320
			[ 'ጽo', 'ጾ' ],
321
			[ 'ጽW', 'ጿ' ],
322
323
			[ 'ፅe', 'ፀ' ],
324
			[ 'ፅu', 'ፁ' ],
325
			[ 'ፅi', 'ፂ' ],
326
			[ 'ፅa', 'ፃ' ],
327
			[ '(ፀe|ፅE)', 'ፄ' ],
328
			[ 'ፅo', 'ፆ' ],
329
330
			[ 'ፍe', 'ፈ' ],
331
			[ 'ፍu', 'ፉ' ],
332
			[ 'ፍi', 'ፊ' ],
333
			[ 'ፍa', 'ፋ' ],
334
			[ '(ፈe|ፍE)', 'ፌ' ],
335
			[ 'ፍo', 'ፎ' ],
336
			[ 'ፍW', 'ፏ' ],
337
			[ 'ፍY', 'ፚ' ],
338
339
			[ 'ፕe', 'ፐ' ],
340
			[ 'ፕu', 'ፑ' ],
341
			[ 'ፕi', 'ፒ' ],
342
			[ 'ፕa', 'ፓ' ],
343
			[ '(ፐe|ፕE)', 'ፔ' ],
344
			[ 'ፕo', 'ፖ' ],
345
			[ 'ፕW', 'ፗ' ],
346
347
			// the following mappings are not documented in Ethiopic sera
348
			[ 'ኅu', 'ኁ' ],
349
			[ 'ኅi', 'ኂ' ],
350
			[ 'ኅa', 'ኃ' ],
351
			[ 'ኅE', 'ኄ' ],
352
			[ 'ኅo', 'ኆ' ],
353
			[ 'ኅW', 'ኋ' ],
354
			//end
355
356
			[ 'ህh', 'ኅ' ],
357
			[ 'h', 'ህ' ],
358
			[ '(l|L)', 'ል' ],
359
			[ 'H', 'ሕ' ],
360
			[ '(m|M)', 'ም' ],
361
			[ '(r|R)', 'ር' ],
362
			[ 'ስs', 'ሥ' ],
363
			[ 's', 'ስ' ],
364
			[ '(x|X)', 'ሽ' ],
365
			[ 'q', 'ቅ' ],
366
			[ 'ቅW', 'ቋ' ],
367
			[ 'Q', 'ቕ' ],
368
			[ 'ቕW', 'ቛ' ],
369
			[ '(b|B)', 'ብ' ],
370
			[ '(v|V)', 'ቭ' ],
371
			[ 't', 'ት' ],
372
			[ 'c', 'ች' ],
373
			[ 'n', 'ን' ],
374
			[ 'N', 'ኝ' ],
375
			[ 'k', 'ክ' ],
376
			[ '(ክW|ኳa)', 'ኳ' ],
377
			[ 'K', 'ኽ' ],
378
			[ '(ኽW|ዃa)', 'ዃ' ],
379
			[ 'z', 'ዝ' ],
380
			[ 'Z', 'ዥ' ],
381
			[ '(y|Y)', 'ይ' ],
382
			[ 'd', 'ድ' ],
383
			[ 'D', 'ዽ' ],
384
			[ '(j|J)', 'ጅ' ],
385
			[ 'g', 'ግ' ],
386
			[ '(ግW|ጓa)', 'ጓ' ],
387
			[ 'G', 'ጝ' ],
388
			[ 'T', 'ጥ' ],
389
			[ 'C', 'ጭ' ],
390
			[ 'P', 'ጵ' ],
391
			[ 'ጽS', 'ፅ' ],
392
			[ 'S', 'ጽ' ],
393
			[ '(f|F)', 'ፍ' ],
394
			[ 'p', 'ፕ' ],
395
			[ '(w|W)', 'ው' ],
396
397
			// vowels
398
			// the following mappings are not documented in Ethiopic sera
399
			[ 'አa', 'ዓ' ],
400
			[ 'A', 'ኣ' ],
401
			[ 'አe', 'ዐ' ],
402
			[ 'ኡu', 'ዑ' ],
403
			[ 'ኢi', 'ዒ' ],
404
			[ 'ኤE', 'ዔ' ],
405
			[ 'እe', 'ዕ' ],
406
			[ 'ኦo', 'ዖ' ],
407
			//end undocumented
408
409
			[ 'እa', 'ኧ' ],
410
			[ 'e', 'እ' ],
411
			[ 'u', 'ኡ' ],
412
			[ 'i', 'ኢ' ],
413
			[ 'a', 'አ' ],
414
			[ 'E', 'ኤ' ],
415
			[ 'o', 'ኦ' ],
416
			//end vowels
417
418
			[ '\\<\\<', '«' ],
419
			[ '\\>\\>', '»' ],
420
			[ '\\?\\?', '፧' ],
421
			[ '\\*\\*', '፨' ],
422
			[ '\\;', '፤' ],
423
			[ '፡\\:', '።' ],
424
			[ ',', '፣' ],
425
			[ '፡-', '፦' ],
426
			[ '\\:', '፡' ]
427
428
		]
429
	};
430
431
	$.ime.register( amTransliteration );
432
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ar/ar-kbd.js (+115 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var arKbd = {
5
		id: 'ar-kbd',
6
		name: 'kbd',
7
		description: 'Arabic keyboard layout',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['1', '١'],
15
			['2', '٢'],
16
			['3', '٣'],
17
			['4', '٤'],
18
			['5', '٥'],
19
			['6', '٦'],
20
			['7', '٧'],
21
			['8', '٨'],
22
			['9', '٩'],
23
			['0', '٠'],
24
			['`', 'ذ'],
25
26
			['q', 'ض'],
27
			['w', 'ص'],
28
			['e', 'ث'],
29
			['r', 'ق'],
30
			['t', 'ف'],
31
			['y', 'غ'],
32
			['u', 'ع'],
33
			['i', 'ه'],
34
			['o', 'خ'],
35
			['p', 'ح'],
36
			['\\[', 'ج'],
37
			['\\]', 'د'],
38
39
			['a', 'ش'],
40
			['s', 'س'],
41
			['d', 'ي'],
42
			['f', 'ب'],
43
			['g', 'ل'],
44
			['h', 'ا'],
45
			['j', 'ت'],
46
			['k', 'ن'],
47
			['l', 'م'],
48
			[';', 'ك'],
49
			['\'', 'ط'],
50
51
			['z', 'ئ'],
52
			['x', 'ء'],
53
			['c', 'ؤ'],
54
			['v', 'ر'],
55
			['b', 'لا'],
56
			['n', 'ى'],
57
			['m', 'ة'],
58
			[',', 'و'],
59
			['\\.', 'ز'],
60
			['/', 'ظ'],
61
62
			['\\(', ')'],
63
			['\\)', '('],
64
			['\\~', 'ّ'],
65
66
			['Q', 'َ'],
67
			['W', 'ً'],
68
			['E', 'ُ'],
69
			['R', 'ٌ'],
70
			['T', 'لإ'],
71
			['Y', 'إ'],
72
			['U', '`'],
73
			['I', '÷'],
74
			['O', '×'],
75
			['P', '؛'],
76
			['\\{', '>'],
77
			['\\}', '<'],
78
79
			['A', 'ِ'],
80
			['S', 'ٍ'],
81
			['D', ']'],
82
			['F', '['],
83
			['G', 'لأ'],
84
			['H', 'أ'],
85
			['J', 'ـ'],
86
			['K', '،'],
87
			['L', '/'],
88
89
			['Z', '~'],
90
			['X', 'ْ'],
91
			['C', '}'],
92
			['V', '{'],
93
			['B', 'لآ'],
94
			['N', 'آ'],
95
			['M', '\''],
96
			['\\<', ','],
97
			['\\>', '.'],
98
			['\\?', '؟']
99
		],
100
		patterns_x: [
101
			[',', '>'],
102
			['\\.', '<'],
103
			['\\[', ']'],
104
			['\\]', '['],
105
			['J', '\u200d'],
106
			['L', '\u200e'],
107
			['N', '\u200c'],
108
			['R', '\u200f'],
109
			['\\{', '}'],
110
			['\\}', '{']
111
		]
112
	};
113
114
	$.ime.register( arKbd );
115
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-avro.js (+168 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asAvro = {
5
		id: 'as-avro',
6
		name: 'অভ্ৰ',
7
		description: 'Assamese Avro layout based on Bengali Avro input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['([ক-হড়ঢ়য়ৰ])্?ৰৰi', '[^o`]', '$1ৃ'],
17
			['ৰৰi', '[^o`]', 'ঋ'],
18
19
			['(([ক-হড়ঢ়য়ৰ])|য়)o', '[^o`]', '$1'], // য় cannot be included in the range, why? everywhere else it is OK!
20
			['([ক-হড়ঢ়য়ৰ])a', '[^o`]', '$1া'],
21
			['([ক-হড়ঢ়য়ৰ])i', '[^o`]', '$1ি'],
22
			['([ক-হড়ঢ়য়ৰ])I', '[^o`]', '$1ী'],
23
			['([ক-হড়ঢ়য়ৰ])u', '[^o`]', '$1ু'],
24
			['([ক-হড়ঢ়য়ৰ])U', '[^o`]', '$1ূ'],
25
			['([ক-হড়ঢ়য়ৰ])o', '[o`]', '$1ু'],
26
			['([ক-হড়ঢ়য়ৰ])e', '[^o`]', '$1ে'],
27
			['([ক-হড়ঢ়য়ৰ])োI', '[^o`]', '$1ৈ'],
28
			['([ক-হড়ঢ়য়ৰ])O', '[^o`]', '$1ো'],
29
			['([ক-হড়ঢ়য়ৰ])োU', '[^o`]', '$1ৌ'],
30
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
			['([বমল])b', '[^o`]', '$1্ব'],
47
			['([দম])(v|V)', '[^o`]', '$1্ভ'],
48
			['([কগঙটণতদধনমলশষসহ])m', '[^o`]', '$1্ম'],
49
			['([ক-ঘচ-ঝট-যলশ-হড়ঢ়য়])r', '[^o`]', '$1্ৰ'],
50
			['([কগপ-বমলশসহ])l', '[^o`]', '$1্ল'],
51
			['([কনপ])s', '[^o`]', '$1্স'],
52
			['([ক-হড়ঢ়য়ৰ])w', '[^o`]', '$1্ব'],
53
			['([ক-হড়ঢ়য়ৰ])y', '[^o`]', '$1্য'],
54
			['নc', '[^o`]', 'ঞ্চ'],
55
56
			['ত`', '`', 'ৎ'],
57
58
			['ক্ক(h|H)', '[^o`]', 'ক্ষ'],
59
			['কশ(h|H)', '[^o`]', 'ক্ষ'],
60
			//'([অ-ঔা-ৌ])ৰৰk', '[^o]', '$1র্ক'],
61
62
			['ৰৰk', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ক'],
63
			['ৰৰg', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্গ'],
64
			['ৰৰc', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্চ'],
65
			['ৰৰj', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্জ'],
66
			['ৰৰT', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ট'],
67
			['ৰৰD', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ড'],
68
			['ৰৰN', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ণ'],
69
			['ৰৰt', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ত'],
70
			['ৰৰd', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্দ'],
71
			['ৰৰn', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ন'],
72
			['ৰৰp', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্প'],
73
			['ৰৰf', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ফ'],
74
			['ৰৰb', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ব'],
75
			['ৰৰv', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ভ'],
76
			['ৰৰm', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ম'],
77
			['ৰৰz', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্য'],
78
			['ৰৰl', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ল'],
79
			['ৰৰS', '(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
			['ৰৰh', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্হ'],
82
			['ৰৰR', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ড়'],
83
			['ৰৰ(y|Y)', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্য়'],
84
85
			['শ(h|H)', 'S', 'ষ'],
86
87
			['অo', '[^`]', 'উ'],
88
			['এe', '[^o`]', 'ঈ'],
89
90
			['কh', '[^o`]', 'খ'],
91
			['গh', '[^o`]', 'ঘ'],
92
			['ণg', '[^o`]', 'ঙ'],
93
			['চh', '[^o`]', 'ছ'],
94
			['জh', '[^o`]', 'ঝ'],
95
			['ণG', '[^o`]', 'ঞ'],
96
			['টh', '[^o`]', 'ঠ'],
97
			['ডh', '[^o`]', 'ঢ'],
98
			['তh', '[^o`]', 'থ'],
99
			['দh', '[^o`]', 'ধ'],
100
			['পh', '[^o`]', 'ফ'],
101
			['বh', '[^o`]', 'ভ'],
102
			['(সh)', '[^o`]', 'শ'],
103
			['ড়h', '[^o`]', 'ঢ়'],
104
			['ত্`', '[^o`]', 'ৎ'],
105
			['নg', '[^o`]', 'ং'],
106
			['ঃ`', '[^o`]', ':'],
107
			['ৰৰi', '[^o`]', 'ঋ'],
108
			['ওI', '[^o`]', 'ঐ'],
109
			['ওU', '[^o`]', 'ঔ'],
110
			['(k|K)', 'ক'],
111
			['(g|G)', 'গ'],
112
			['(c|C)', 'চ'],
113
			['j', 'জ'],
114
			['T', 'ট'],
115
			['D', 'ড'],
116
			['N', 'ণ'],
117
			['t', 'ত'],
118
			['d', 'দ'],
119
			['n', 'ন'],
120
			['(p|P)', 'প'],
121
			['f', 'ফ'],
122
			['(b|B)', 'ব'],
123
			['(v|V)', 'ভ'],
124
			['(m|M)', 'ম'],
125
			['z', 'য'],
126
			['r', 'ৰ'],
127
			['(l|L)', 'ল'],
128
			['S', 'শ'],
129
			['s', 'স'],
130
			['(h|H)', 'হ'],
131
			['R', 'ড়'],
132
			['(y|Y)', 'য়'],
133
134
			['Z','্য'],
135
136
			['o', 'অ'],
137
			['(a|A)', 'আ'],
138
			['i', 'ই'],
139
			['I', 'ঈ'],
140
			['u', 'উ'],
141
			['U', 'ঊ'],
142
			['e', 'এ'],
143
			['O', 'ও'],
144
145
			['0', '০'],
146
			['1', '১'],
147
			['2', '২'],
148
			['3', '৩'],
149
			['4', '৪'],
150
			['5', '৫'],
151
			['6', '৬'],
152
			['7', '৭'],
153
			['8', '৮'],
154
			['9', '৯'],
155
156
			['\\\\\\.', '.'],
157
158
			[',,','্'],
159
			['\\:','ঃ'],
160
			['\\^','ঁ'],
161
			['\\.', '।'],
162
			['\\$', '৳'],
163
			['ঃ`', ':'],
164
			['`', '']]
165
	};
166
167
	$.ime.register( asAvro );
168
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-bornona.js (+84 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asBornona = {
5
		id: 'as-bornona',
6
		name: 'বৰ্ণনা',
7
		description: 'Bornona input method for Assamese',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['q', 'ং'],
17
			['Q', 'ঙ'],
18
			['w', 'ঢ'],
19
			['W', 'ঠ'],
20
			['e', 'ে'],
21
			['E', 'ৈ'],
22
			['r', 'ৰ'],
23
			['R', 'ৃ'],
24
			['t', 'ত'],
25
			['T', 'ট'],
26
			['y', 'ধ'],
27
			['Y', 'থ'],
28
			['u', 'ু'],
29
			['U', 'ূ'],
30
			['i', 'ি'],
31
			['I', 'ী'],
32
			['o', 'ো'],
33
			['O', 'ৌ'],
34
			['p', 'প'],
35
			['P', '্ৰ'],
36
			['\\|', 'র'],
37
			['\\\\', 'ৱ'],
38
			['a', 'া'],
39
			['A', 'অ'],
40
			['s', 'স'],
41
			['S', 'শ'],
42
			['d', 'দ'],
43
			['D', 'ড'],
44
			['f', 'ফ'],
45
			['F', 'ৰ্ফ'],
46
			['g', 'গ'],
47
			['G', 'ঘ'],
48
			['h', '্'],
49
			['H', 'হ'],
50
			['j', 'জ'],
51
			['J', 'ঝ'],
52
			['k', 'ক'],
53
			['K', 'খ'],
54
			['l', 'ল'],
55
			['L', '।'],
56
			['z', 'য'],
57
			['Z', 'ড়'],
58
			['x', 'ষ'],
59
			['X', 'ঢ়'],
60
			['c', 'চ'],
61
			['C', 'ছ'],
62
			['v', 'ভ'],
63
			['V', '্য'],
64
			['b', 'ব'],
65
			['B', 'য়'],
66
			['n', 'ন'],
67
			['N', 'ণ'],
68
			['m', 'ম'],
69
			['M', 'ঞ'],
70
			['0', '০'],
71
			['1', '১'],
72
			['2', '২'],
73
			['3', '৩'],
74
			['4', '৪'],
75
			['5', '৫'],
76
			['6', '৬'],
77
			['7', '৭'],
78
			['8', '৮'],
79
			['9', '৯'],
80
			['\\`', '\u200C']]
81
	};
82
83
	$.ime.register( asBornona );
84
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-inscript.js (+124 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asInScript = {
5
		id: 'as-inscript',
6
		name: 'ইনস্ক্ৰিপ্ট',
7
		description: 'InScript input method for Assamese according to CDAC\'s Enhanced InScript Keyboard Layout 5.2',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['X', 'ঁ'],
17
			['x', 'ং'],
18
			['_', 'ঃ'],
19
			['D', 'অ'],
20
			['E', 'আ'],
21
			['F', 'ই'],
22
			['R', 'ঈ'],
23
			['G', 'উ'],
24
			['T', 'ঊ'],
25
			['\\+', 'ঋ'],
26
			['S', 'এ'],
27
			['W', 'ঐ'],
28
			['A', 'ও'],
29
			['Q', 'ঔ'],
30
			['k', 'ক'],
31
			['K', 'খ'],
32
			['i', 'গ'],
33
			['I', 'ঘ'],
34
			['U', 'ঙ'],
35
			[';', 'চ'],
36
			['\\:', 'ছ'],
37
			['p', 'জ'],
38
			['P', 'ঝ'],
39
			['\\}', 'ঞ'],
40
			['\'', 'ট'],
41
			['\"', 'ঠ'],
42
			['\\[', 'ড'],
43
			['\\{', 'ঢ'],
44
			['C', 'ণ'],
45
			['l', 'ত'],
46
			['L', 'থ'],
47
			['o', 'দ'],
48
			['O', 'ধ'],
49
			['v', 'ন'],
50
			['h', 'প'],
51
			['H', 'ফ'],
52
			['y', 'ব'],
53
			['Y', 'ভ'],
54
			['c', 'ম'],
55
			['\\?', 'য'],
56
			['j', '\u09F0'],
57
			['J', 'ৎ'],
58
			['n', 'ল'],
59
			['M', 'শ'],
60
			['\\<', 'ষ'],
61
			['m', 'স'],
62
			['u', 'হ'],
63
			['\\]', '়'],
64
			['e', 'া'],
65
			['f', 'ি'],
66
			['r', 'ী'],
67
			['g', 'ু'],
68
			['t', 'ূ'],
69
			['\\=', 'ৃ'],
70
			['s', 'ে'],
71
			['w', 'ৈ'],
72
			['a', 'ো'],
73
			['q', 'ৌ'],
74
			['d', '্'],
75
			['/', 'য়'],
76
			['\\>', '৤'],
77
			['0', '০'],
78
			['1', '১'],
79
			['2', '২'],
80
			['3', '৩'],
81
			['4', '৪'],
82
			['5', '৫'],
83
			['6', '৬'],
84
			['7', '৭'],
85
			['8', '৮'],
86
			['9', '৯'],
87
			['z', 'ʼ'],
88
			['\\!', 'অ্যা'],
89
			['\\#', '্\u09F0'],
90
			['\\$', '\u09F0্'],
91
			['\\%', 'জ্ঞ'],
92
			['\\^', 'ত্র'],
93
			['\\&', 'ক্ষ'],
94
			['\\*', 'শ্র'],
95
			['\\(', '\u200D'],
96
			['\\)', '\u200C']],
97
		patterns_x: [
98
			['F', 'ঌ'],
99
			['\\>', 'ঽ'],
100
			['\\=', 'ৠ'],
101
			['l', 'ৎ'],
102
			['\\[', 'ড়'],
103
			['\\{', 'ঢ়'],
104
			['\\+', 'ৠ'],
105
			['R', 'ৡ'],
106
			['f', 'ৢ'],
107
			['r', 'ৣ'],
108
			['\\.', '৥'],
109
			['x', '৺'],
110
			['\\<', '৲'],
111
			[',', '৳'],
112
			['\\!', '৴'],
113
			['\\@', '৵'],
114
			['\\#', '৶'],
115
			['\\$', '৷'],
116
			['\\%', '৸'],
117
			['\\^', '৹'],
118
			['\\?', '৻'],
119
			['4', '₹']]
120
121
	};
122
123
	$.ime.register( asInScript );
124
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-inscript2.js (+128 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asInScript2 = {
5
		id: 'as-inscript2',
6
		name: 'ইনস্ক্ৰিপ্ট ২',
7
		description: 'Enhanced InScript keyboard for Assamese language',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\!', 'অ্যা'],
15
			['1', '১'],
16
			['2', '২'],
17
			['\\#', '্ৰ'],
18
			['3', '৩'],
19
			['\\$', 'ৰ্'],
20
			['4', '৪'],
21
			['\\%', 'জ্ঞ'],
22
			['5', '৫'],
23
			['\\^', 'ত্র'],
24
			['6', '৬'],
25
			['\\&', 'ক্ষ'],
26
			['7', '৭'],
27
			['\\*', 'শ্র'],
28
			['8', '৮'],
29
			['9', '৯'],
30
			['\\(', '('],
31
			['\\)', ')'],
32
			['0', '০'],
33
			['\"', 'ঠ'],
34
			['\'', 'ট'],
35
			[',', ','],
36
			['-', '-'],
37
			['\\.', '.'],
38
			['/', 'য়'],
39
			[':', 'ছ'],
40
			[';', 'চ'],
41
			['\\<', 'ষ'],
42
			['\\=', 'ৃ'],
43
			['\\+', 'ঋ'],
44
			['\\>', '।'],
45
			['\\?', 'য'],
46
			['A', 'ও'],
47
			['C', 'ণ'],
48
			['D', 'অ'],
49
			['E', 'আ'],
50
			['F', 'ই'],
51
			['G', 'উ'],
52
			['H', 'ফ'],
53
			['I', 'ঘ'],
54
			['K', 'খ'],
55
			['L', 'থ'],
56
			['M', 'শ'],
57
			['O', 'ধ'],
58
			['P', 'ঝ'],
59
			['Q', 'ঔ'],
60
			['R', 'ঈ'],
61
			['S', 'এ'],
62
			['T', 'ঊ'],
63
			['U', 'ঙ'],
64
			['W', 'ঐ'],
65
			['X', 'ঁ'],
66
			['Y', 'ভ'],
67
			['\\{', 'ঢ'],
68
			['\\[', 'ড'],
69
			['\\}', 'ঞ'],
70
			['\\]', '়'],
71
			['\\_', 'ঃ'],
72
			['a', 'ো'],
73
			['b', 'ৱ'],
74
			['c', 'ম'],
75
			['d', '্'],
76
			['e', 'া'],
77
			['f', 'ি'],
78
			['g', 'ু'],
79
			['h', 'প'],
80
			['i', 'গ'],
81
			['j', 'ৰ'],
82
			['k', 'ক'],
83
			['l', 'ত'],
84
			['m', 'স'],
85
			['n', 'ল'],
86
			['o', 'দ'],
87
			['p', 'জ'],
88
			['q', 'ৌ'],
89
			['r', 'ী'],
90
			['s', 'ে'],
91
			['t', 'ূ'],
92
			['u', 'হ'],
93
			['v', 'ন'],
94
			['w', 'ৈ'],
95
			['x', 'ং'],
96
			['y', 'ব'],
97
			['z', 'ʼ']
98
		],
99
		patterns_x: [
100
			['\\!', '৴'],
101
			['1', '\u200d'],
102
			['\\@', '৵'],
103
			['2', '\u200c'],
104
			['\\#', '৶'],
105
			['\\$', '৷'],
106
			['4', '₹'],
107
			['\\%', '৸'],
108
			['\\^', '৹'],
109
			[',', '৳'],
110
			['\\.', '॥'],
111
			['/', '্য'],
112
			['\\<', '৲'],
113
			['\\=', 'ৄ'],
114
			['\\+', 'ৠ'],
115
			['\\>', 'ঽ'],
116
			['F', 'ঌ'],
117
			['R', 'ৡ'],
118
			['\\{', 'ঢ়'],
119
			['\\[', 'ড়'],
120
			['f', 'ৢ'],
121
			['l', 'ৎ'],
122
			['r', 'ৣ'],
123
			['x', '৺']
124
		]
125
	};
126
127
	$.ime.register( asInScript2 );
128
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-phonetic.js (+112 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asPhonetic = {
5
		id: 'as-phonetic',
6
		name: 'phonetic',
7
		description: 'Phonetic keyboard for Assamese script',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\!', '!'],
15
			['1', '১'],
16
			['\\@', '@'],
17
			['2', '২'],
18
			['\\#', '#'],
19
			['3', '৩'],
20
			['\\$', 'ৎ'],
21
			['4', '৪'],
22
			['\\%', '%'],
23
			['5', '৫'],
24
			['\\^', 'ঞ'],
25
			['6', '৬'],
26
			['\\&', '&'],
27
			['7', '৭'],
28
			['\\*', '*'],
29
			['8', '৮'],
30
			['\\(', '('],
31
			['9', '৯'],
32
			['\\)', ')'],
33
			['0', '০'],
34
			['\\_', '_'],
35
			['\\-', '-'],
36
			['\\+', '+'],
37
			['\\=', '='],
38
			['Q', 'ধ'],
39
			['q', 'দ'],
40
			['W', 'ঊ'],
41
			['w', 'ূ'],
42
			['E', 'ঈ'],
43
			['e', 'ী'],
44
			['R', 'ড়'],
45
			['r', 'ৰ'],
46
			['T', 'ঠ'],
47
			['t', 'ট'],
48
			['Y', 'ঐ'],
49
			['y', 'এ'],
50
			['U', 'উ'],
51
			['u', 'ু'],
52
			['I', 'ই'],
53
			['i', 'ি'],
54
			['O', 'ঔ'],
55
			['o', 'ও'],
56
			['P', 'ফ'],
57
			['p', 'প'],
58
			['\\{', 'ৈ'],
59
			['\\[', 'ে'],
60
			['\\}', 'ৌ'],
61
			['\\]', 'ো'],
62
			['A', 'অ'],
63
			['a', 'া'],
64
			['S', 'ষ'],
65
			['s', 'স'],
66
			['D', 'ঢ'],
67
			['d', 'ড'],
68
			['F', 'থ'],
69
			['f', 'ত'],
70
			['G', 'ঘ'],
71
			['g', 'গ'],
72
			['H', 'ঃ'],
73
			['h', 'হ'],
74
			['J', 'ঝ'],
75
			['j', 'জ'],
76
			['K', 'খ'],
77
			['k', 'ক'],
78
			['L', 'ং'],
79
			['l', 'ল'],
80
			[':', ':'],
81
			[';', ';'],
82
			['"', '"'],
83
			['\'', '\''],
84
			['\\|', '৺'],
85
			['\\\\', 'ৱ'],
86
			['\\~', '\u200c'],
87
			['\\`', '\u200d'],
88
			['Z', 'য'],
89
			['z', 'য়'],
90
			['X', 'ঢ়'],
91
			['x', 'শ'],
92
			['C', 'ছ'],
93
			['c', 'চ'],
94
			['V', 'ঋ'],
95
			['v', 'আ'],
96
			['B', 'ভ'],
97
			['b', 'ব'],
98
			['N', 'ণ'],
99
			['n', 'ন'],
100
			['M', 'ঙ'],
101
			['m', 'ম'],
102
			['\\<', 'ৃ'],
103
			[',', ','],
104
			['\\>', 'ঁ'],
105
			['\\.', '।'],
106
			['\\?', '?'],
107
			['/', '্']
108
		]
109
	};
110
111
	$.ime.register( asPhonetic );
112
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-transliteration.js (+114 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asTransliteration = {
5
		id: 'as-transliteration',
6
		name: 'প্ৰতিৰূপান্তৰণ',
7
		description: 'Assamese Transliteration input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 8,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['([ক-হড়-য়ৰৱ])(্ড়্ড়্i|্q)', '$1ৃ'], // <consonant>RRi or <consonant>q
17
18
			['(ড়্ড়্i|q)', 'ঋ'], // RRi or q
19
20
			['([ক-হড়-য়ৰৱ])্o', '$1'], // <consonant>o
21
			['([ক-হড়-য়ৰৱ])্a', '$1া'], // <consonant>a
22
			['([ক-হড়-য়ৰৱ])্i', '$1ি'], // <consonant>i
23
			['([ক-হড়-য়ৰৱ])(িi|্I)', '$1ী'], // <consonant>ii or <consonant>I
24
			['([ক-হড়-য়ৰৱ])্u', '$1ু'], // <consonant>u
25
			['([ক-হড়-য়ৰৱ])(ুu|্U)', '$1ূ'], // <consonant>uu or <consonant>U
26
27
			['([ক-হড়-য়ৰৱ])্e', '$1ে'], // <consonant>e
28
			['([ক-হড়-য়ৰৱ])i', '$1ৈ'], // <consonant>oi
29
			['([ক-হড়-য়ৰৱ])্O', '$1ো'], // <consonant>O
30
			['([ক-হড়-য়ৰৱ])u', '$1ৌ'], // <consonant>ou
31
32
			['(খ্y|c)', 'ক্ষ্'], // khy or c
33
34
			['ইi', 'ঈ'], // ii
35
			['উu', 'ঊ'], // uu
36
			['অi', 'ঐ'], // oi
37
			['অu', 'ঔ'], // ou
38
			['ত্~', 'ৎ'], // t~
39
40
			['ক্h', 'খ্'], // kh
41
			['গ্h', 'ঘ্'], // gh
42
			['ন্g', 'ঙ্'], // ng
43
			['জ্h', 'ঝ্'], // jh
44
			['(ন্~|Y)', 'ঞ্'], // n~ or Y
45
			['ট্h', 'ঠ্'], // Th
46
			['ড্h', 'ঢ্'], // Dh
47
			['ত্h', 'থ্'], // th
48
			['দ্h', 'ধ্'], // dh
49
			['(প্h|f)', 'ফ্'], // ph or f
50
			['(ব্h|v)', 'ভ্'], // bh or v
51
			['শ্h', 'ষ্'], // Xh
52
			['ড়্h', 'ঢ়্'], // Rh
53
54
			['(M|ন্G)', 'ং'], // M or nG
55
56
			['o', 'অ'],
57
			['a', 'আ'],
58
			['i', 'ই'],
59
			['I', 'ঈ'],
60
			['u', 'উ'],
61
			['U', 'ঊ'],
62
			['e', 'এ'],
63
			['O', 'ও'],
64
65
			['H', 'ঃ'],
66
			['\\^', 'ঁ'],
67
			['ণ্~', 'ঁ'], // N~
68
			['C', '৺'],
69
70
			['k', 'ক্'],
71
			['g', 'গ্'],
72
			['s', 'চ্'],
73
			['S', 'ছ্'],
74
			['j', 'জ্'],
75
			['T', 'ট্'],
76
			['D', 'ড্'],
77
			['N', 'ণ্'],
78
			['t', 'ত্'],
79
			['d', 'দ্'],
80
			['n', 'ন্'],
81
			['p', 'প্'],
82
			['b', 'ব্'],
83
			['m', 'ম্'],
84
			['z', 'য্'],
85
			['r', 'ৰ্'],
86
			['l', 'ল্'],
87
			['w', 'ৱ্'],
88
			['X', 'শ্'],
89
			['x', 'স্'],
90
			['h', 'হ্'],
91
			['R', 'ড়্'],
92
			['y', 'য়্'],
93
94
			['\\\\\\.', '.'],
95
			['।\\.', '॥'],
96
			['\\.', '।'],
97
98
			['0', '০'],
99
			['1', '১'],
100
			['2', '২'],
101
			['3', '৩'],
102
			['4', '৪'],
103
			['5', '৫'],
104
			['6', '৬'],
105
			['7', '৭'],
106
			['8', '৮'],
107
			['9', '৯'],
108
109
			['(\u200C)*_', '\u200C'],
110
			['(\u200D)*`', '\u200D']]
111
	};
112
113
	$.ime.register( asTransliteration );
114
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bbc/batak-qwerty.js (+89 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var batakQwertyKbd = {
5
		id: 'batak-qwerty',
6
		name: 'Batak QWERTY',
7
		description: 'QWERTY-based Batak keyboard',
8
		date: '2014-04-20',
9
		URL: 'http://evertype.com/fonts/batak/',
10
		author: 'design by Michael Everson, implementation by Amir E. Aharoni',
11
		version: '1.0',
12
		patterns: [
13
			[ 'q', 'ᯥ' ],
14
			[ 'w', 'ᯋ' ],
15
			[ 'e', 'ᯧ' ],
16
			[ 'r', 'ᯒ' ],
17
			[ 't', 'ᯖ' ],
18
			[ 'y', 'ᯛ' ],
19
			[ 'u', 'ᯮ' ],
20
			[ 'i', 'ᯪ' ],
21
			[ 'o', 'ᯬ' ],
22
			[ 'p', 'ᯇ' ],
23
24
			[ 'a', 'ᯀ' ],
25
			[ 's', 'ᯘ' ],
26
			[ 'd', 'ᯑ' ],
27
			[ 'f', '᯲' ],
28
			[ 'g', 'ᯎ' ],
29
			[ 'h', 'ᯂ' ],
30
			[ 'j', 'ᯐ' ],
31
			[ 'k', 'ᯤ' ],
32
			[ 'l', 'ᯞ' ],
33
34
			[ 'z', 'ᯝ' ],
35
			[ 'x', 'ᯢ' ],
36
			[ 'c', 'ᯡ' ],
37
			[ 'v', 'ᯣ' ],
38
			[ 'b', 'ᯅ' ],
39
			[ 'n', 'ᯉ' ],
40
			[ 'm', 'ᯔ' ],
41
42
			[ 'Q', 'ᯍ' ],
43
			[ 'W', 'ᯌ' ],
44
			[ 'E', 'ᯨ' ],
45
			[ 'R', 'ᯓ' ],
46
			[ 'T', 'ᯗ' ],
47
			[ 'Y', 'ᯜ' ],
48
			[ 'U', 'ᯯ' ],
49
			[ 'I', 'ᯫ' ],
50
			[ 'O', 'ᯭ' ],
51
			[ 'P', 'ᯈ' ],
52
53
			[ 'A', 'ᯁ' ],
54
			[ 'S', 'ᯙ' ],
55
56
			[ 'F', '᯳' ],
57
			[ 'G', 'ᯏ' ],
58
			[ 'H', 'ᯃ' ],
59
			[ 'J', 'ᯄ' ],
60
61
			[ 'L', 'ᯟ' ],
62
63
			[ 'Z', 'ᯚ' ],
64
65
			[ 'B', 'ᯆ' ],
66
			[ 'N', 'ᯊ' ],
67
			[ 'M', 'ᯕ' ],
68
69
			[ '`', 'ᯠ' ],
70
			[ '=', 'ᯱ' ],
71
			[ '\\+', '᯦' ],
72
			[ '-', '' ],
73
			[ '_', 'ᯩ' ],
74
75
			[ 'B', 'ᯆ' ]
76
		],
77
		patterns_x: [
78
			[ '4', '᯼' ],
79
			[ '5', '᯽' ],
80
			[ '6', '᯾' ],
81
			[ '7', '᯿' ],
82
83
			[ 'w', 'ᯍ' ],
84
			[ '`', '`' ]
85
		]
86
	};
87
88
	$.ime.register( batakQwertyKbd );
89
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/be/be-kbd.js (+101 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var beKbd = {
5
		id: 'be-kbd',
6
		name: 'Belarusian kbd',
7
		description: 'Belarusian keyboard layout',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
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
			['\\\\', '\\'],
39
			['z', 'я'],
40
			['x', 'ч'],
41
			['c', 'с'],
42
			['v', 'м'],
43
			['b', 'і'],
44
			['n', 'т'],
45
			['m', 'ь'],
46
			[',', 'б'],
47
			['\\.', 'ю'],
48
			['/', '.'],
49
			['\\!', '!'],
50
			['\\@', '\"'],
51
			['\\#', '№'],
52
			['\\$', ';'],
53
			['\\%', '%'],
54
			['\\^', ':'],
55
			['\\&', '?'],
56
			['\\*', '*'],
57
			['\\(', '('],
58
			['\\)', ')'],
59
			['\\_', '_'],
60
			['\\+', '+'],
61
			['\\~', 'Ё'],
62
			['Q', 'Й'],
63
			['W', 'Ц'],
64
			['E', 'У'],
65
			['R', 'К'],
66
			['T', 'Е'],
67
			['Y', 'Н'],
68
			['U', 'Г'],
69
			['I', 'Ш'],
70
			['O', 'Ў'],
71
			['P', 'З'],
72
			['\\{', 'Х'],
73
			['\\}', '\''],
74
			['A', 'Ф'],
75
			['S', 'Ы'],
76
			['D', 'В'],
77
			['F', 'А'],
78
			['G', 'П'],
79
			['H', 'Р'],
80
			['J', 'О'],
81
			['K', 'Л'],
82
			['L', 'Д'],
83
			[':', 'Ж'],
84
			['\"', 'Э'],
85
			['\\|', '|'],
86
			['Z', 'Я'],
87
			['X', 'Ч'],
88
			['C', 'С'],
89
			['V', 'М'],
90
			['B', 'І'],
91
			['N', 'Т'],
92
			['M', 'Ь'],
93
			['\\<', 'Б'],
94
			['\\>', 'Ю'],
95
			['\\?', ',']
96
		]
97
98
	};
99
	$.ime.register( beKbd );
100
101
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/be/be-latin.js (+38 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var beLatin = {
5
		id: 'be-latin',
6
		name: 'Belarusian Łacinka',
7
		description: 'Belarusian Latin alphabet input method',
8
		date: '2012-11-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Pavel Selitskas',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 1,
15
		patterns: [
16
			[ '=S', 'Š' ],
17
			[ '=U', 'Ŭ' ],
18
			[ '-S', 'Ś' ],
19
			[ '-L', 'Ł' ],
20
			[ '-Z', 'Ź' ],
21
			[ '=Z', 'Ž' ],
22
			[ '-C', 'Ć' ],
23
			[ '=C', 'Č' ],
24
			[ '-N', 'Ń' ],
25
			[ '=s', 'š' ],
26
			[ '=u', 'ŭ' ],
27
			[ '-s', 'ś' ],
28
			[ '-l', 'ł' ],
29
			[ '-z', 'ź' ],
30
			[ '=z', 'ž' ],
31
			[ '-c', 'ć' ],
32
			[ '=c', 'č' ],
33
			[ '-n', 'ń' ]
34
		]
35
	};
36
37
	$.ime.register( beLatin );
38
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/be/be-transliteration.js (+94 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var beTransliteration = {
5
		id: 'be-transliteration',
6
		name: 'Belarusian Transliteration',
7
		description: 'Belarusian transliteration per Belarusian winkeys',
8
		date: '2012-11-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Pavel Selitskas',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
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
49
			['`', 'ё'],
50
			['q', 'й'],
51
			['w', 'ц'],
52
			['e', 'у'],
53
			['r', 'к'],
54
			['t', 'е'],
55
			['y', 'н'],
56
			['u', 'г'],
57
			['i', 'ш'],
58
			['o', 'ў'],
59
			['p', 'з'],
60
			['\\[', 'х'],
61
			['\\]', '\''],
62
			['a', 'ф'],
63
			['s', 'ы'],
64
			['d', 'в'],
65
			['f', 'а'],
66
			['g', 'п'],
67
			['h', 'р'],
68
			['j', 'о'],
69
			['k', 'л'],
70
			['l', 'д'],
71
			[';', 'ж'],
72
			['\'', 'э'],
73
			['z', 'я'],
74
			['x', 'ч'],
75
			['c', 'с'],
76
			['v', 'м'],
77
			['b', 'і'],
78
			['n', 'т'],
79
			['m', 'ь'],
80
			[',', 'б'],
81
			['\\.', 'ю'],
82
			['/', '.'],
83
84
			['@', '"'], // 2
85
			['#', '№'], // 3
86
			['\\$', ';'], // 4
87
			// '%' is the same // 5
88
			['^', ':'], // 6
89
			['&', '?']] // 7
90
			// '*', '(' and ')' are the same    // 8, 9, 0
91
	};
92
93
	$.ime.register( beTransliteration );
94
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ber/ber-tfng.js (+54 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var berTfng = {
5
		id: 'ber-tfng',
6
		name: 'Tifinagh Transliteration',
7
		description: 'Transliteration input method for Tifinagh script',
8
		date: '2012-10-10',
9
		URL: 'http://www.ircam.ma/fr/index.php?soc=telec&rd=2',
10
		author: '',
11
		license: '',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['a', 'ⴰ'],
17
			['b', 'ⴱ'],
18
			['c', 'ⵛ'],
19
			['d', 'ⴷ'],
20
			['D', 'ⴹ'],
21
			['e', 'ⴻ'],
22
			['f', 'ⴼ'],
23
			['F', 'ⴼⵯ'],
24
			['g', 'ⴳ'],
25
			['G', 'ⴳⵯ'],
26
			['h', 'ⵀ'],
27
			['i', 'ⵉ'],
28
			['j', 'ⵊ'],
29
			['k', 'ⴽ'],
30
			['K', 'ⴽⵯ'],
31
			['l', 'ⵍ'],
32
			['m', 'ⵎ'],
33
			['n', 'ⵏ'],
34
			['o', 'ⵄ'],
35
			['p', 'ⵃ'],
36
			['q', 'ⵇ'],
37
			['Q', 'ⵈ'],
38
			['r', 'ⵔ'],
39
			['R', 'ⵕ'],
40
			['s', 'ⵙ'],
41
			['S', 'ⵚ'],
42
			['t', 'ⵜ'],
43
			['T', 'ⵟ'],
44
			['v', 'ⵖ'],
45
			['u', 'ⵓ'],
46
			['w', 'ⵡ'],
47
			['y', 'ⵢ'],
48
			['x', 'ⵅ'],
49
			['z', 'ⵣ'],
50
			['Z', 'ⵥ']]
51
		};
52
	$.ime.register( berTfng );
53
54
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bn/bn-avro.js (+194 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var bnAvro = {
5
		id: 'bn-avro',
6
		name: 'অভ্র',
7
		description: 'Bengali Avro input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 5,
15
		patterns: [
16
			['([ক-হড়ঢ়য়])্?ররi','[^o`]', '$1ৃ'],
17
			['ররi','[^o`]', 'ঋ'],
18
			['ঙহo', 'ঙ্ঘ'],
19
			['([ক-হড়ঢ়য়])াZ', '[^o`]', '$1্যা'],
20
			['(([ক-হড়ঢ়য়])|য়)o','[^o`]', '$1'], // য় cannot be included in the range, why? everywhere else it is OK!
21
			['([ক-হড়ঢ়য়])a','[^o`]', '$1া'],
22
			['([ক-হড়ঢ়য়])i','[^o`]', '$1ি'],
23
			['([ক-হড়ঢ়য়])(I|েe)','[^o`]', '$1ী'],
24
			['([ক-হড়ঢ়য়])u','[^o`]', '$1ু'],
25
			['([ক-হড়ঢ়য়])U','[^o`]', '$1ূ'],
26
			['([ক-হড়ঢ়য়])o','[o`]', '$1ু'],
27
			['([ক-হড়ঢ়য়])e','[^o`]', '$1ে'],
28
			['([ক-হড়ঢ়য়])োI','[^o`]', '$1ৈ'],
29
			['([ক-হড়ঢ়য়])O','[^o`]', '$1ো'],
30
			['([ক-হড়ঢ়য়])োU','[^o`]', '$1ৌ'],
31
32
			['([ক-হড়ঢ়য়][িুেো]|[এইওউ])a','[^o`]', '$1য়া'],
33
			['([ক-হড়ঢ়য়][াে]|[আএ])o', '[^o`]', '$1ও'],
34
35
			['([কঙলষস])(k|K)','[^o`]','$1্ক'],
36
			['([ঙদল])(g|G)','[^o`]','$1্গ'],
37
			['গg','[^o`]','জ্ঞ'],
38
			['([চশ])c','[^o`]','$1্চ'],
39
			['([জঞব])j','[^o`]','$1্জ'],
40
			['নj','[^o`]','ঞ্জ'],
41
			['([কটণনপলষস])T','[^o`]','$1্ট'],
42
			['([ডণনল])D','[^o`]','$1্ড'],
43
			['([গষহ])N','[^o`]','$1্ণ'],
44
			['([কতনপশসহ])t','[^o`]','$1্ত'],
45
			['([দনব])d','[^o`]','$1্দ'],
46
			['([গঘণতধনপমশসহ])n','[^o`]','$1্ন'],
47
			['([পমলষস])p','[^o`]','$1্প'],
48
			['([স])f', '[^o`]', '$1্ফ'],
49
			['([বমল])b','[^o`]','$1্ব'],
50
			['([দম])(v|V)','[^o`]','$1্ভ'],
51
			['([কগঙটণতদধনমলশষসহ])m','[^o`]','$1্ম'],
52
			['([ক-ঘচ-ঝট-যলশ-হড়ঢ়য়])r','[^o`]','$1্র'],
53
			['([কগপ-বমলশসহ])l','[^o`]','$1্ল'],
54
			['([কনপ])s','[^o`]','$1্স'],
55
			['([ক-হড়ঢ়য়])w','[^o`]','$1্ব'],
56
			['([ক-হড়ঢ়য়])y','[^o`]','$1্য'],
57
			['নc','[^o`]','ঞ্চ'],
58
59
			['ত`','`', 'ৎ'],
60
61
			['ক্ক(h|H)','[^o`]','ক্ষ'],
62
			['কশ(h|H)','[^o`]','ক্ষ'],
63
64
			['ররk','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ক'],
65
			['ররg','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্গ'],
66
			['ররc','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্চ'],
67
			['ররj','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্জ'],
68
			['ররT','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ট'],
69
			['ররD','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড'],
70
			['ররN','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ণ'],
71
			['ররt','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ত'],
72
			['ররd','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্দ'],
73
			['ররn','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ন'],
74
			['ররp','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্প'],
75
			['ররf','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ফ'],
76
			['ররb','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ব'],
77
			['ররv','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ভ'],
78
			['ররm','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ম'],
79
			['ররz','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য'],
80
			['ররl','(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
			['ররs','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্স'],
83
			['ররh','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্হ'],
84
			['ররR','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড়'],
85
			['রর(y|Y)','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য়'],
86
87
			['ংo', 'ঙ্গ'],
88
			['ংi', 'ঙ্গি'],
89
			['ংI', 'ঙ্গী'],
90
			['(ংu|ঙ্গo)', 'ঙ্গু'],
91
			['ংU', 'ঙ্গূ'],
92
			['ং', 'ঙ্গি'],
93
			['ং', 'ঙ্গি'],
94
95
			['শ(h|H)','S', 'ষ'],
96
97
			['অo','[^`]', 'উ'],
98
			['এe','[^o`]', 'ঈ'],
99
100
			['ক(h|H)','[^o`]', 'খ'],
101
			['গ(h|H)','[^o`]', 'ঘ'],
102
			['ণg','[^o`]', 'ঙ'],
103
			['চ(h|H)','[^o`]', 'ছ'],
104
			['জ(h|H)','[^o`]', 'ঝ'],
105
			['ণG','[^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
			['ড়(h|H)','[^o`]', 'ঢ়'],
114
			['ত্`','[^o`]', 'ৎ'],
115
			['নg','[^o`]', 'ং'],
116
			['ঃ`','[^o`]', ':'],
117
			['ররi','[^o`]', 'ঋ'],
118
			['ওI','[^o`]', 'ঐ'],
119
			['ওU','[^o`]', 'ঔ'],
120
121
			['আ`', 'া'],
122
			['ই`', 'ি'],
123
			['ঈ`', 'ী'],
124
			['উ`', 'ু'],
125
			['ঊ`', 'ূ'],
126
			['এ`', 'ে'],
127
			['আ`', 'া'],
128
			['আ`', 'া'],
129
			['আ`', 'া'],
130
			['আ`', 'া'],
131
			['আ`', 'া'],
132
			['আ`', 'া'],
133
134
			['([kKqQ])', 'ক'],
135
			['(g|G)', 'গ'],
136
			['(c|C)', 'চ'],
137
			['(j|J)', 'জ'],
138
			['T', 'ট'],
139
			['D', 'ড'],
140
			['N', 'ণ'],
141
			['t', 'ত'],
142
			['d', 'দ'],
143
			['n', 'ন'],
144
			['(p|P)', 'প'],
145
			['f', 'ফ'],
146
			['(b|B)', 'ব'],
147
			['(v|V)', 'ভ'],
148
			['(m|M)', 'ম'],
149
			['z', 'য'],
150
			['r', 'র'],
151
			['(l|L)', 'ল'],
152
			['S', 'শ'],
153
			['s', 'স'],
154
			['(h|H)', 'হ'],
155
			['R', 'ড়'],
156
			['w', 'ও'],
157
			['x', 'ক্স'],
158
			['(y|Y)', 'য়'],
159
160
			['Z', '্য'],
161
162
			['o', 'অ'],
163
			['(a|A)', 'আ'],
164
			['i', 'ই'],
165
			['I', 'ঈ'],
166
			['u', 'উ'],
167
			['U', 'ঊ'],
168
			['(e|E)', 'এ'],
169
			['O', 'ও'],
170
171
			['0', '০'],
172
			['1', '১'],
173
			['2', '২'],
174
			['3', '৩'],
175
			['4', '৪'],
176
			['5', '৫'],
177
			['6', '৬'],
178
			['7', '৭'],
179
			['8', '৮'],
180
			['9', '৯'],
181
182
			['\\\\\\.', '.'],
183
184
			[',,', '্'],
185
			['\\:', 'ঃ'],
186
			['\\^', 'ঁ'],
187
			['\\.', '।'],
188
			['\\$', '৳'],
189
			['ঃ`', ':'],
190
			['`', '']]
191
	};
192
193
	$.ime.register( bnAvro );
194
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bn/bn-inscript.js (+123 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var bnInScript = {
5
		id: 'bn-inscript',
6
		name: 'ইনস্ক্ৰিপ্ট',
7
		description: 'Bengali InScript input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['X', 'ঁ'],
17
			['x', 'ং'],
18
			['_', 'ঃ'],
19
			['D', 'অ'],
20
			['E', 'আ'],
21
			['F', 'ই'],
22
			['R', 'ঈ'],
23
			['G', 'উ'],
24
			['T', 'ঊ'],
25
			['\\+', 'ঋ'],
26
			['S', 'এ'],
27
			['W', 'ঐ'],
28
			['A', 'ও'],
29
			['Q', 'ঔ'],
30
			['k', 'ক'],
31
			['K', 'খ'],
32
			['i', 'গ'],
33
			['I', 'ঘ'],
34
			['U', 'ঙ'],
35
			[';', 'চ'],
36
			['\\:', 'ছ'],
37
			['p', 'জ'],
38
			['P', 'ঝ'],
39
			['\\}', 'ঞ'],
40
			['\'', 'ট'],
41
			['\"', 'ঠ'],
42
			['\\[', 'ড'],
43
			['\\{', 'ঢ'],
44
			['C', 'ণ'],
45
			['l', 'ত'],
46
			['L', 'থ'],
47
			['o', 'দ'],
48
			['O', 'ধ'],
49
			['v', 'ন'],
50
			['h', 'প'],
51
			['H', 'ফ'],
52
			['y', 'ব'],
53
			['Y', 'ভ'],
54
			['c', 'ম'],
55
			['\\?', 'য'],
56
			['j', 'র'],
57
			['J', 'ৎ'],
58
			['n', 'ল'],
59
			['M', 'শ'],
60
			['\\<', 'ষ'],
61
			['m', 'স'],
62
			['u', 'হ'],
63
			['\\]', '়'],
64
			['e', 'া'],
65
			['f', 'ি'],
66
			['r', 'ী'],
67
			['g', 'ু'],
68
			['t', 'ূ'],
69
			['\\=', 'ৃ'],
70
			['s', 'ে'],
71
			['w', 'ৈ'],
72
			['a', 'ো'],
73
			['q', 'ৌ'],
74
			['d', '্'],
75
			['/', 'য়'],
76
			['\\>', '৤'],
77
			['0', '০'],
78
			['1', '১'],
79
			['2', '২'],
80
			['3', '৩'],
81
			['4', '৪'],
82
			['5', '৫'],
83
			['6', '৬'],
84
			['7', '৭'],
85
			['8', '৮'],
86
			['9', '৯'],
87
			['z', 'ʼ'],
88
			['\\!', 'অ্যা'],
89
			['\\#', '্র'],
90
			['\\$', 'র্'],
91
			['\\%', 'জ্ঞ'],
92
			['\\^', 'ত্র'],
93
			['\\&', 'ক্ষ'],
94
			['\\*', 'শ্র'],
95
			['\\(', '\u200D'],
96
			['\\)', '\u200C']],
97
		patterns_x: [
98
			['F', 'ঌ'],
99
			['\\>', 'ঽ'],
100
			['\\=', 'ৠ'],
101
			['l', 'ৎ'],
102
			['\\[', 'ড়'],
103
			['\\{', 'ঢ়'],
104
			['\\+', 'ৠ'],
105
			['R', 'ৡ'],
106
			['f', 'ৢ'],
107
			['r', 'ৣ'],
108
			['\\.', '৥'],
109
			['x', '৺'],
110
			['\\<', '৲'],
111
			[',', '৳'],
112
			['\\!', '৴'],
113
			['\\@', '৵'],
114
			['\\#', '৶'],
115
			['\\$', '৷'],
116
			['\\%', '৸'],
117
			['\\^', '৹'],
118
			['\\?', '৻'],
119
			['4', '₹']]
120
	};
121
122
	$.ime.register( bnInScript );
123
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bn/bn-inscript2.js (+128 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var bnInScript2 = {
5
		id: 'bn-inscript2',
6
		name: 'ইনস্ক্ৰিপ্ট ২',
7
		description: 'Enhanced InScript keyboard for Bengali language',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\!', 'অ্যা'],
15
			['1', '১'],
16
			['2', '২'],
17
			['\\#', '্র'],
18
			['3', '৩'],
19
			['\\$', 'র্'],
20
			['4', '৪'],
21
			['\\%', 'জ্ঞ'],
22
			['5', '৫'],
23
			['\\^', 'ত্র'],
24
			['6', '৬'],
25
			['\\&', 'ক্ষ'],
26
			['7', '৭'],
27
			['\\*', 'শ্র'],
28
			['8', '৮'],
29
			['9', '৯'],
30
			['\\(', '('],
31
			['\\)', ')'],
32
			['0', '০'],
33
			['\"', 'ঠ'],
34
			['\'', 'ট'],
35
			[',', ','],
36
			['-', '-'],
37
			['\\.', '.'],
38
			['/', 'য়'],
39
			[':', 'ছ'],
40
			[';', 'চ'],
41
			['\\<', 'ষ'],
42
			['\\=', 'ৃ'],
43
			['\\+', 'ঋ'],
44
			['\\>', '।'],
45
			['\\?', 'য'],
46
			['A', 'ও'],
47
			['C', 'ণ'],
48
			['D', 'অ'],
49
			['E', 'আ'],
50
			['F', 'ই'],
51
			['G', 'উ'],
52
			['H', 'ফ'],
53
			['I', 'ঘ'],
54
			['K', 'খ'],
55
			['L', 'থ'],
56
			['M', 'শ'],
57
			['O', 'ধ'],
58
			['P', 'ঝ'],
59
			['Q', 'ঔ'],
60
			['R', 'ঈ'],
61
			['S', 'এ'],
62
			['T', 'ঊ'],
63
			['U', 'ঙ'],
64
			['W', 'ঐ'],
65
			['X', 'ঁ'],
66
			['Y', 'ভ'],
67
			['\\{', 'ঢ'],
68
			['\\[', 'ড'],
69
			['\\}', 'ঞ'],
70
			['\\]', '়'],
71
			['\\_', 'ঃ'],
72
			['a', 'ো'],
73
			['c', 'ম'],
74
			['d', '্'],
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', 'ন'],
93
			['w', 'ৈ'],
94
			['x', 'ং'],
95
			['y', 'ব'],
96
			['z', 'ʼ']
97
		],
98
		patterns_x: [
99
			['\\!', '৴'],
100
			['1', '\u200d'],
101
			['\\@', '৵'],
102
			['2', '\u200c'],
103
			['\\#', '৶'],
104
			['\\$', '৷'],
105
			['4', '₹'],
106
			['\\%', '৸'],
107
			['\\^', '৹'],
108
			[',', '৳'],
109
			['\\.', '॥'],
110
			['/', '্য'],
111
			['\\<', '৲'],
112
			['\\=', 'ৄ'],
113
			['\\+', 'ৠ'],
114
			['\\>', 'ঽ'],
115
			['\\?', '৻'],
116
			['F', 'ঌ'],
117
			['R', 'ৡ'],
118
			['\\{', 'ঢ়'],
119
			['\\[', 'ড়'],
120
			['f', 'ৢ'],
121
			['l', 'ৎ'],
122
			['r', 'ৣ'],
123
			['x', '৺']
124
		]
125
	};
126
127
	$.ime.register( bnInScript2 );
128
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bn/bn-nkb.js (+133 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var bnNkb = {
5
		id: 'bn-nkb',
6
		name: 'National Keyboard',
7
		description: 'Bengali National Keyboard input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['1', '১'],
17
			['2', '২'],
18
			['3', '৩'],
19
			['4', '৪'],
20
			['5', '৫'],
21
			['6', '৬'],
22
			['7', '৭'],
23
			['8', '৮'],
24
			['9', '৯'],
25
			['0', '০'],
26
27
			['q', 'ঙ'],
28
			['w', 'য'],
29
			['e', 'ড'],
30
			['r', 'প'],
31
			['t', 'ট'],
32
			['y', 'চ'],
33
			['u', 'জ'],
34
			['i', 'হ'],
35
			['o', 'গ'],
36
			['p', 'ড়'],
37
38
			['a', 'ৃ'],
39
			['s', 'ু'],
40
			['d', 'ি'],
41
			['f', 'ব'],
42
			['g', '্'],
43
			['h', 'া'],
44
			['j', 'ক'],
45
			['k', 'ত'],
46
			['l', 'দ'],
47
48
			['z', 'ঁ'],
49
			['x', 'ো'],
50
			['c', 'ে'],
51
			['v', 'র'],
52
			['b', 'ন'],
53
			['n', 'স'],
54
			['m', 'ম'],
55
56
			['Q', 'ং'],
57
			['W', 'য়'],
58
			['E', 'ঢ'],
59
			['R', 'ফ'],
60
			['T', 'ঠ'],
61
			['Y', 'ছ'],
62
			['U', 'ঝ'],
63
			['I', 'ঞ'],
64
			['O', 'ঘ'],
65
			['P', 'ঢ়'],
66
67
			['A', 'ৗ'],
68
			['S', 'ূ'],
69
			['D', 'ী'],
70
			['F', 'ভ'],
71
			['G', '।'],
72
			['H', 'অ'],
73
			['J', 'খ'],
74
			['K', 'থ'],
75
			['L', 'ধ'],
76
77
			['Z', 'ঃ'],
78
			['X', 'ৌ'],
79
			['C', 'ৈ'],
80
			['V', 'ল'],
81
			['B', 'ণ'],
82
			['N', 'ষ'],
83
			['M', 'শ']],
84
		patterns_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
	$.ime.register( bnNkb );
133
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bn/bn-probhat.js (+102 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var bnProbhat = {
5
		id: 'bn-probhat',
6
		name: 'Bengali Probhat',
7
		description: 'Bengali Probhat input method for Bengali',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Nasir Khan Saikat',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['1', '১'],
17
			['2', '২'],
18
			['3', '৩'],
19
			['4', '৪'],
20
			['5', '৫'],
21
			['6', '৬'],
22
			['7', '৭'],
23
			['8', '৮'],
24
			['9', '৯'],
25
			['0', '০'],
26
27
			['q', 'দ'],
28
			['w', 'ূ'],
29
			['e', 'ী'],
30
			['r', 'র'],
31
			['t', 'ট'],
32
			['y', 'এ'],
33
			['u', 'ু'],
34
			['i', 'ি'],
35
			['o', 'ও'],
36
			['p', 'প'],
37
38
			['a', 'া'],
39
			['s', 'স'],
40
			['d', 'ড'],
41
			['f', 'ত'],
42
			['g', 'গ'],
43
			['h', 'হ'],
44
			['j', 'জ'],
45
			['k', 'ক'],
46
			['l', 'ল'],
47
48
			['z', 'য়'],
49
			['x', 'শ'],
50
			['c', 'চ'],
51
			['v', 'আ'],
52
			['b', 'ব'],
53
			['n', 'ন'],
54
			['m', 'ম'],
55
56
			['Q', 'ধ'],
57
			['W', 'ঊ'],
58
			['E', 'ঈ'],
59
			['R', 'ড়'],
60
			['T', 'ঠ'],
61
			['Y', 'ঐ'],
62
			['U', 'উ'],
63
			['I', 'ই'],
64
			['O', 'ঔ'],
65
			['P', 'ফ'],
66
67
			['A', 'অ'],
68
			['S', 'ষ'],
69
			['D', 'ঢ'],
70
			['F', 'থ'],
71
			['G', 'ঘ'],
72
			['H', 'ঃ'],
73
			['J', 'ঝ'],
74
			['K', 'খ'],
75
			['L', 'ং'],
76
77
			['Z', 'য'],
78
			['X', 'ঢ়'],
79
			['C', 'ছ'],
80
			['V', 'ঋ'],
81
			['B', 'ভ'],
82
			['N', 'ণ'],
83
			['M', 'ঙ'],
84
85
			['`', '\u200D'],
86
			['\\$', '৳'],
87
			['\\&', 'ঞ'],
88
			['\\*', 'ৎ'],
89
			['\\[', 'ে'],
90
			['\\]', 'ো'],
91
			['\\{', 'ৈ'],
92
			['\\}', 'ৌ'],
93
			['\\|', '॥'],
94
			['\\.', '।'],
95
			['/', '্'],
96
			['<', 'ৃ'],
97
			['>', 'ঁ'],
98
			['\\\\', '\u200C']]
99
	};
100
101
	$.ime.register( bnProbhat );
102
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bo/bo-ewts.js (+284 lines)
Line 0 Link Here
1
( function ( $ ) {
2
    'use strict';
3
    
4
    var boEWTS = {
5
        id: 'bo-ewts',
6
        name: 'Tibetan EWTS transliteration',
7
        description: 'Tibetan Extended Wylie Transliteration, based on the work of thdl.',
8
        date: '2014-07-09',
9
        URL: 'http://www.thlib.org/reference/transliteration/#!essay=/thl/ewts',
10
        author: 'Elie Roux <elie.roux@telecom-bretagne.eu>',
11
        license: 'GPLv3',
12
        version: '1.1',
13
        contextLength: 2,
14
        maxKeyLength: 5,
15
        patterns: [
16
            // ambiguous cases with b as prefix
17
            ['བྲk', 'r', 'བརྐ'],
18
            ['བྲg', 'r', 'བརྒ'],
19
            ['བྲl', 'r', 'བརླ'],
20
            ['བྲj', 'r', 'བརྗ'],
21
            ['བྲt', 'r', 'བརྟ'],
22
            ['བྲd', 'r', 'བརྡ'],
23
            ['བྲn', 'r', 'བརྣ '],
24
            ['བླt', 'l', 'བལྟ'],
25
            ['བླd', 'l', 'བལྡ'],
26
            // Standard Tibetan Stacks listed at <http://www.thlib.org/reference/transliteration/tibstacks.php>
27
            // some are handled magically and don't need to appear here.
28
            ['རྐy', 'k', 'རྐྱ'],
29
            ['རྒy', 'g', 'རྒྱ'],
30
            ['རྨy', 'm', 'རྨྱ'],
31
            ['རྒw', 'g', 'རྒྭ'],
32
            ['རྩw', 's', 'རྩྭ'],
33
            ['སྐy', 'k', 'སྐྱ'],
34
            ['སྒy', 'g', 'སྒྱ'],
35
            ['སྤy', 'p', 'སྤྱ'],
36
            ['སྦy', 'b', 'སྦྱ'],
37
            ['སྨy', 'm', 'སྨྱ'],
38
            ['སྐr', 'k', 'སྐྲ'],
39
            ['སྒr', 'g', 'སྒྲ'],
40
            ['སྣr', 'n', 'སྣྲ'],
41
            ['སྤr', 'p', 'སྤྲ'],
42
            ['སྦr', 'b', 'སྦྲ'],
43
            ['སྨr', 'm', 'སྨྲ'],
44
            ['གྲw', 'r', 'གྲྭ'],
45
            ['དྲw', 'r', 'དྲྭ'],
46
            ['ཕྱw', 'y', 'ཕྱྭ'],
47
            ['རk', 'r', 'རྐ'],
48
            ['རg', 'r', 'རྒ'],
49
            ['རj', 'r', 'རྗ'],
50
            ['རt', 'r', 'རྟ'],
51
            ['རd', 'r', 'རྡ'],
52
            ['རn', 'r', 'རྣ '],
53
            ['རb', 'r', 'རྦ'],
54
            ['རm', 'r', 'རྨ'],
55
            ['ལk', 'l', 'ལྐ'],
56
            ['ལg', 'l', 'ལྒ'],
57
            ['ལc', 'l', 'ལྕ'],
58
            ['ལj', 'l', 'ལྗ'],
59
            ['ལt', 'l', 'ལྟ'],
60
            ['ལd', 'l', 'སྡ'],
61
            ['ལp', 'l', 'ལྤ'],
62
            ['ལb', 'l', 'ལྦ'],
63
            ['ལh', 'l', 'ལྷ'],
64
            ['སk', 's', 'སྐ'],
65
            ['སg', 's', 'སྒ'],
66
            ['སt', 's', 'སྟ'],
67
            ['སd', 's', 'སྡ'],
68
            ['སn', 's', 'སྣ'],
69
            ['སp', 's', 'སྤ'],
70
            ['སb', 's', 'སྦ'],
71
            ['སm', 's', 'སྨ'],
72
            ['སྟs', 't', 'སྩ'],
73
            ['ཀw', 'k', 'ཀྭ'],
74
            ['ཁw', 'h', 'ཁྭ'],
75
            ['གw', 'g', 'གྭ'],
76
            ['ཅw', 'c', 'ཅྭ'],
77
            ['ཉw', 'y', 'ཉྭ'],
78
            ['ཏw', 't', 'ཏྭ'],
79
            ['དw', 'd', 'དྭ'],
80
            ['ཙw', 's', 'ཙྭ'],
81
            ['ཚw', 'h', 'ཚྭ'],
82
            ['ཞw', 'h', 'ཞྭ'],
83
            ['ཟw', 'z', 'ཟྭ'],
84
            ['རw', 'r', 'རྭ'],
85
            ['ཤw', 'h', 'ཤྭ'],
86
            ['སw', 's', 'སྭ'],
87
            ['ཧw', 'h', 'ཧྭ'],
88
            ['ཀy', 'k', 'ཀྱ'],
89
            ['ཁy', 'h', 'ཁྱ'],
90
            ['གy', 'g', 'གྱ'],
91
            ['པy', 'p', 'པྱ'],
92
            ['ཕy', 'h', 'ཕྱ'],
93
            ['བy', 'b', 'བྱ'],
94
            ['མy', 'm', 'མྱ'],
95
            ['ཀr', 'k', 'ཀྲ'],
96
            ['ཁr', 'h', 'ཁྲ'],
97
            ['གr', 'g', 'གྲ'],
98
            ['ཏr', 't', 'ཏྲ'],
99
            ['ཐr', 'h', 'ཐྲ'],
100
            ['དr', 'd', 'དྲ'],
101
            ['པr', 'p', 'པྲ'],
102
            ['ཕr', 'h', 'ཕྲ'],
103
            ['བr', 'b', 'བྲ'],
104
            ['མr', 'm', 'མྲ'],
105
            ['ཤr', 'h', 'ཤྲ'],
106
            ['སr', 's', 'སྲ'],
107
            ['ཧr', 'h', 'ཧྲ'],
108
            ['ཀl', 'k', 'ཀླ'],
109
            ['གl', 'g', 'གླ'],
110
            ['བl', 'b', 'བླ'],
111
            ['ཟl', 'z', 'ཟླ'],
112
            ['རl', 'r', 'རླ'],
113
            ['སl', 's', 'སླ'],
114
            ['ཨོM', 'o', 'ༀ'],
115
            ['\\.', ''],
116
            ['\\+', ''],
117
            ['-', ''],
118
            ['S', ''],
119
            // subjoined letters:
120
            ['k', '\\+', 'ྐ'],
121
            ['g', '\\+', 'ྒ'],
122
            ['ྣg', 'ྔ'],
123
            ['c', '\\+', 'ྕ'],
124
            ['ྕh', 'ྖ'],
125
            ['j', '\\+', 'ྗ'],
126
            ['ྣy', 'ྙ'],
127
            ['T', '\\+', 'ྚ'],
128
            ['ྚh', 'ྛ'],
129
            ['D', '\\+', 'ྜ'],
130
            ['N', '\\+', 'ྞ'],
131
            ['t', '\\+', 'ྟ'],
132
            ['ྟh', 'ྠ'],
133
            ['d', '\\+', 'ྡ'],
134
            ['n', '\\+', 'ྣ'],
135
            ['p', '\\+', 'ྤ'],
136
            ['ྤh', 'ྥ'],
137
            ['b', '\\+', 'ྦ'],
138
            ['m', '\\+', 'ྨ'],
139
            ['ྟs', 'ྩ'],
140
            ['ྩh', 'ྪ'],
141
            ['ྡz', 'ྫ'],
142
            ['w', '\\+', 'ྭ'],
143
            ['ྯh', 'ྮ'],
144
            ['z', '\\+', 'ྯ'],
145
            ['\'', '\\+', 'ྰ'],
146
            ['y', '\\+', 'ྱ'],
147
            ['r', '\\+', 'ྲ'],
148
            ['l', '\\+', 'ླ'],
149
            ['ྶh', 'ྴ'],
150
            ['ཀh', '\\+S', 'ཀྵ'],
151
            ['ྐh', '\\+S', 'ྐྵ'],
152
            ['ྐh', 'ྑ'],
153
            ['h', '\\+S', 'ྵ'],
154
            ['s', '\\+', 'ྶ'],
155
            ['གh', '\\+', 'གྷ'],
156
            ['ཌh', '\\+', 'ཌྷ'],
157
            ['དh', '\\+', 'དྷ'],
158
            ['བh', '\\+', 'བྷ'],
159
            ['ཛh', '\\+', 'ཛྷ'],
160
            ['ྒh', '\\+', 'ྒྷ'],
161
            ['ྜh', '\\+', 'ྜྷ'],
162
            ['ྡh', '\\+', 'ྡྷ'],
163
            ['ྦh', '\\+', 'ྦྷ'],
164
            ['ྫh', '\\+', 'ྫྷ'],
165
            ['h', '\\+', 'ྷ'],
166
            ['v', '\\+', 'ྦ༹'],
167
            ['f', '\\+', 'ྥ༹'],
168
            ['W', '\\+', 'ྺ'],
169
            ['Y', '\\+', 'ྻ'],
170
            ['R', '\\+', 'ྼ'],
171
            ['Z', '\\+', '༹'],
172
            // consonants
173
            ['k', 'ཀ'],
174
            ['ཀh', 'k', 'ཁ'],
175
            ['g', 'ག'],
176
            ['ནg', 'n', 'ང'],
177
            ['c', 'ཅ'],
178
            ['ཅh', 'c', 'ཆ'],
179
            ['j', 'ཇ'],
180
            ['ནy', 'n', 'ཉ'],
181
            ['T', 'ཊ'],
182
            ['ཊh', 'T', 'ཋ'],
183
            ['D', 'ཌ'],
184
            ['N', 'ཎ'],
185
            ['t', 'ཏ'],
186
            ['ཏh', 't', 'ཐ'],
187
            ['d', 'ད'],
188
            ['n', 'ན'],
189
            ['p', 'པ'],
190
            ['པh', 'p', 'ཕ'],
191
            ['b', 'བ'],
192
            ['m', 'མ'],
193
            ['ཏs', 't', 'ཙ'],
194
            ['ཙh', 's', 'ཚ'],
195
            ['དz', 'd', 'ཛ'],
196
            ['w', 'ཝ'],
197
            ['ཟh', 'z', 'ཞ'],
198
            ['z', 'ཟ'],
199
            ['\'', 'འ'],
200
            ['y', 'ཡ'],
201
            ['r', 'ར'],
202
            ['l', 'ལ'],
203
            ['སh', 's', 'ཤ'],
204
            ['h', 'S', 'ཥ'],
205
            ['s', 'ས'],
206
            ['h', 'ཧ'],
207
            ['f', 'ཕ༹'],
208
            ['v', 'བ༹'],
209
            ['R', 'ཪ'],
210
            // vowels after consonnants or vowels
211
            ['([ཀ-ྼ])i', 'a', '$1ཻ'],
212
            ['([ཀ-ྼ])u', 'a', '$1ཽ'],
213
            ['ྲi', '-', 'ྲྀ'],
214
            ['ླi', '-', 'ླྀ'],
215
            ['([ཀ-ྼ])i', '-', '$1ྀ'],
216
            ['([ཀ-ྼ])རI', 'r-', '$1ྲཱྀ'],
217
            ['([ཀ-ྼ])ལI', 'l-', '$1ླཱྀ'],
218
            ['རI', 'r-', 'ཨྲཱྀ'],
219
            ['ལI', 'l-', 'ཨླཱྀ'],
220
            ['([ཀ-ྼ])I', '-', '$1ཱྀ'],
221
            ['([ཀ-ྼ])a', '$1'],
222
            ['([ཀ-ྼ])i', '$1ི'],
223
            ['([ཀ-ྼ])u', '$1ུ'],
224
            ['([ཀ-ྼ])e', '$1ེ'],
225
            ['([ཀ-ྼ])o', '$1ོ'],
226
            ['([ཀ-ྼ])A', '$1ཱ'],
227
            ['([ཀ-ྼ])I', '$1ཱི'],
228
            ['([ཀ-ྼ])U', '$1ཱུ'],
229
            // vowels after something else
230
            ['a', 'ཨ'],
231
            ['i', '-', 'ཨྀ'],
232
            ['A', 'ཨཱ'],
233
            ['I', '-', 'ཨཱྀ'],
234
            ['I', 'ཨཱི'],
235
            ['U', 'ཨཱུ'],
236
            ['i', 'ཨི'],
237
            ['u', 'ཨུ'],
238
            ['e', 'ཨེ'],
239
            ['o', 'ཨོ'],
240
            // numbers
241
            ['0', '༠'],
242
            ['1', '༡'],
243
            ['2', '༢'],
244
            ['3', '༣'],
245
            ['4', '༤'],
246
            ['5', '༥'],
247
            ['6', '༦'],
248
            ['7', '༧'],
249
            ['8', '༨'],
250
            ['9', '༩'],
251
            // sanskrit marks
252
            ['H', 'ཿ'],
253
            ['M', 'ཾ'],
254
            ['~M', 'ྃ'],
255
            ['~M`', 'ྂ'],
256
            ['\\?', '྄'],
257
            ['&', '྅'],
258
            // punctuation
259
            [' ', '་'],
260
            ['\\*', '༌'],
261
            ['\\/', '།'],
262
            ['\\/\\/', '༎'],
263
            [';', '༏'],
264
            ['\\|', '༑'],
265
            ['\\!', '༈'],
266
            ['\\:', '༔'],
267
            ['_', ' '],
268
            ['\\=', '༴'],
269
            ['@', '༄'],
270
            ['#', '༅'],
271
            ['\\$', '༆'],
272
            ['%', '༇'],
273
            ['<', '༺'],
274
            ['>', '༻'],
275
            ['\\(', '༼'],
276
            ['\\)', '༽'],
277
            ['~X', '༵'],
278
            ['X', '༷'],
279
            ['\\^', '༹']
280
            ]
281
        };
282
283
	$.ime.register( boEWTS );
284
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/brx/brx-inscript.js (+112 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var brxInscript = {
5
		id: 'brx-inscript',
6
		name: 'Bodo Inscript',
7
		description: 'Bodo Inscript input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['X', '\u0901'],
17
			['x', '\u0902'],
18
			['_', '\u0903'],
19
			['D', '\u0905'],
20
			['E', '\u0906'],
21
			['F', '\u0907'],
22
			['R', '\u0908'],
23
			['G', '\u0909'],
24
			['T', '\u090A'],
25
			['\\+', '\u090B'],
26
			['S', '\u090F'],
27
			['W', '\u0910'],
28
			['A', '\u0913'],
29
			['Q', '\u0914'],
30
			['k', '\u0915'],
31
			['K', '\u0916'],
32
			['i', '\u0917'],
33
			['I', '\u0918'],
34
			['U', '\u0919'],
35
			[';', '\u091A'],
36
			['\\:', '\u091B'],
37
			['p', '\u091C'],
38
			['P', '\u091D'],
39
			['\\}', '\u091E'],
40
			['\'',  '\u091F'],
41
			['"', '\u0920'],
42
			['\\[', '\u0921'],
43
			['\\{', '\u0922'],
44
			['C', '\u0923'],
45
			['l', '\u0924'],
46
			['L', '\u0925'],
47
			['o', '\u0926'],
48
			['O', '\u0927'],
49
			['v', '\u0928'],
50
			['h', '\u092A'],
51
			['H', '\u092B'],
52
			['y', '\u092C'],
53
			['Y', '\u092D'],
54
			['c', '\u092E'],
55
			['/', '\u092F'],
56
			['j', '\u0930'],
57
			['n', '\u0932'],
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
			['s', '\u0947'],
71
			['w', '\u0948'],
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
		patterns_x: [
95
			['F', '\u090C'],
96
			['N', '\u0933'],
97
			['\\>', '\u093D'],
98
			['\\=', '\u0944'],
99
			['X', '\u0950'],
100
			['e', '\u0951'],
101
			['d', '\u0952'],
102
			['\\+', '\u0960'],
103
			['R', '\u0961'],
104
			['f', '\u0962'],
105
			['r', '\u0963'],
106
			['\\.', '\u0965'],
107
			[',', '\u0970'],
108
			['\\$', '\u20B9']]
109
	};
110
111
	$.ime.register( brxInscript );
112
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/brx/brx-inscript2.js (+117 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var brxInScript2 = {
5
		id: 'brx-inscript2',
6
		name: 'बोडो इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Bodo language',
8
		date: '2013-20-13',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['2', '२'],
15
			['\\#", "्र'],
16
			['3', '३'],
17
			['\\$', 'र्'],
18
			['4', '४'],
19
			['5', '५'],
20
			['6', '६'],
21
			['7', '७'],
22
			['8', '८'],
23
			['\\(', '('],
24
			['9', '९'],
25
			['\\]', ']'],
26
			['0', '०'],
27
			['\\_", "ः'],
28
			['\\-', '-'],
29
			['\\+', 'ऋ'],
30
			['\\=', 'ृ'],
31
			['Q', 'औ'],
32
			['q', 'ौ'],
33
			['W', 'ऐ'],
34
			['w', 'ै'],
35
			['E', 'आ'],
36
			['e', 'ा'],
37
			['R', 'ई'],
38
			['r', 'ी'],
39
			['T', 'ऊ'],
40
			['t', 'ू'],
41
			['Y', 'भ'],
42
			['y', 'ब'],
43
			['U', 'ङ'],
44
			['u', 'ह'],
45
			['I', 'घ'],
46
			['i', 'ग'],
47
			['O', 'ध'],
48
			['o', 'द'],
49
			['P', 'झ'],
50
			['p', 'ज'],
51
			['\\{', 'ढ'],
52
			['\\[', 'ड'],
53
			['\\}', 'ञ'],
54
			['\\]', '़'],
55
			['A', 'ओ'],
56
			['a', 'ो'],
57
			['S', 'ए'],
58
			['s', 'े'],
59
			['D', 'अ'],
60
			['d', '्'],
61
			['F', 'इ'],
62
			['f', 'ि'],
63
			['G', 'उ'],
64
			['g', 'ु'],
65
			['H', 'फ'],
66
			['h', 'प'],
67
			['j', 'र'],
68
			['K', 'ख'],
69
			['k', 'क'],
70
			['L', 'थ'],
71
			['l', 'त'],
72
			[':', 'छ'],
73
			[';', 'च'],
74
			['\"', 'ठ'],
75
			['\'', 'ट'],
76
			['z', 'ʼ'],
77
			['X', 'ँ'],
78
			['x', 'ं'],
79
			['C', 'ण'],
80
			['c', 'म'],
81
			['v', 'न'],
82
			['b', 'व'],
83
			['n', 'ल'],
84
			['M', 'श'],
85
			['m', 'स'],
86
			['\\<', 'ष'],
87
			[',', ','],
88
			['\\>', '।'],
89
			['\\.', '.'],
90
			['/', 'य'],
91
			['\\%', 'ज्ञ'],
92
			['\\^', 'त्र'],
93
			['\\&', 'क्ष'],
94
			['\\*', 'श्र']
95
		],
96
		patterns_x: [
97
			['1', '\u200d'],
98
			['2', '\u200c'],
99
			['4', '₹'],
100
			['\\+', 'ॠ'],
101
			['\\=', 'ॄ'],
102
			['e', '॑'],
103
			['i', 'ग़'],
104
			['R', 'ॡ'],
105
			['r', 'ॣ'],
106
			['d', '॒'],
107
			['F', 'ऌ'],
108
			['f', 'ॢ'],
109
			['X', 'ॐ'],
110
			['N', 'ळ'],
111
			[',', '॰'],
112
			['\\>', 'ऽ'],
113
			['\\.', '॥']]
114
	};
115
116
	$.ime.register( brxInScript2 );
117
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-arkbd.js (+103 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ckbTransliterationArkbd = {
5
		id: 'ckb-transliteration-arkbd',
6
		name: 'باشووری',
7
		description: 'Central Kurdish keyboard based on Arabic keyboard',
8
		date: '2013-07-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Çalak',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['`', 'ژ'],
15
			['1', '١'],
16
			['2', '٢'],
17
			['3', '٣'],
18
			['4', '٤'],
19
			['5', '٥'],
20
			['6', '٦'],
21
			['7', '٧'],
22
			['8', '٨'],
23
			['9', '٩'],
24
			['0', '٠'],
25
26
			['q', 'چ'],
27
			['w', 'ص'],
28
			['e', 'پ'],
29
			['r', 'ق'],
30
			['t', 'ف'],
31
			['y', 'غ'],
32
			['u', 'ع'],
33
			['i', 'ھ'],
34
			['o', 'خ'],
35
			['p', 'ح'],
36
			['\\[', 'ج'],
37
			['\\]', 'د'],
38
39
			['a', 'ش'],
40
			['s', 'س'],
41
			['d', 'ی'],
42
			['f', 'ب'],
43
			['g', 'ل'],
44
			['h', 'ا'],
45
			['j', 'ت'],
46
			['k', 'ن'],
47
			['l', 'م'],
48
			['\\;', 'ک'],
49
			['\'', 'گ'],
50
51
			['z', 'ئ'],
52
			['x', 'ء'],
53
			['c', 'ۆ'],
54
			['v', 'ر'],
55
			['b', 'لا'],
56
			['n', 'ى'],
57
			['m', 'ە'],
58
			['\\,', 'و'],
59
			['\\.', 'ز'],
60
61
			['\\%', '٪'],
62
			['\\(', ')'],
63
			['\\)', '('],
64
65
			['Q', 'ض'],
66
			['W', '}'],
67
			['E', 'ث'],
68
			['R', '{'],
69
			['T', 'ڤ'],
70
			['Y', 'إ'],
71
			['U', 'ۊ'],
72
			['I', '\''],
73
			['O', '\"'],
74
			['P', '؛'],
75
			['\\{', '>'],
76
			['\\}', '<'],
77
78
			['A', '['],
79
			['S', ']'],
80
			['D', 'ێ'],
81
			['F', ''],
82
			['G', 'ڵ'],
83
			['H', 'أ'],
84
			['J', 'ـ'],
85
			['K', '،'],
86
			['L', '\\'],
87
			['\"', 'ط'],
88
89
			['Z', 'ڎ'],
90
			['X', 'وو'],
91
			['C', 'ؤ'],
92
			['V', 'ڕ'],
93
			['B', 'ڵا'],
94
			['N', 'آ'],
95
			['M', 'ة'],
96
			['\\<', '٫'],
97
			['\\>', '.'],
98
			['\\?', '؟']
99
		]
100
	};
101
102
	$.ime.register( ckbTransliterationArkbd );
103
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-fakbd.js (+104 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ckbTransliterationFakbd = {
5
		id: 'ckb-transliteration-fakbd',
6
		name: 'ڕۆژھەڵاتی',
7
		description: 'Central Kurdish keyboard based on Persian keyboard',
8
		date: '2013-07-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Çalak',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['`', 'پ'],
15
			['1', '١'],
16
			['2', '٢'],
17
			['3', '٣'],
18
			['4', '٤'],
19
			['5', '٥'],
20
			['6', '٦'],
21
			['7', '٧'],
22
			['8', '٨'],
23
			['9', '٩'],
24
			['0', '٠'],
25
26
			['q', 'ڵ'],
27
			['w', 'ۆ'],
28
			['e', 'ێ'],
29
			['r', 'ق'],
30
			['t', 'ف'],
31
			['y', 'غ'],
32
			['u', 'ع'],
33
			['i', 'ە'],
34
			['o', 'خ'],
35
			['p', 'ح'],
36
			['\\[', 'ج'],
37
			['\\]', 'چ'],
38
			['\\\\', 'ژ'],
39
40
			['a', 'ش'],
41
			['s', 'س'],
42
			['d', 'ی'],
43
			['f', 'ب'],
44
			['g', 'ل'],
45
			['h', 'ا'],
46
			['j', 'ت'],
47
			['k', 'ن'],
48
			['l', 'م'],
49
			['\\;', 'ک'],
50
			['\'', 'گ'],
51
52
			['z', 'ڤ'],
53
			['x', 'ھ'],
54
			['c', 'ز'],
55
			['v', 'ر'],
56
			['b', 'ڕ'],
57
			['n', 'د'],
58
			['m', 'ئ'],
59
			['\\,', 'و'],
60
			['\\.', '.'],
61
			['/', '/'],
62
63
			['\\%', '٪'],
64
			['\\(', ')'],
65
			['\\)', '('],
66
67
			['Q', 'ض'],
68
			['W', 'ص'],
69
			['E', 'ث'],
70
			['R', 'ك'],
71
			['T', '،'],
72
			['Y', '؛'],
73
			['U', '\\'],
74
			['I', ']'],
75
			['O', '['],
76
			['P', '\''],
77
			['\\{', '}'],
78
			['\\}', '{'],
79
80
			['A', 'ڎ'],
81
			['S', 'إ'],
82
			['D', 'ي'],
83
			['F', 'ة'],
84
			['G', 'ۀ'],
85
			['H', 'آ'],
86
			['J', 'ـ'],
87
			['K', '»'],
88
			['L', '«'],
89
90
			['Z', 'ظ'],
91
			['X', 'ط'],
92
			['C', 'ژ'],
93
			['V', 'ؤ'],
94
			['B', 'ذ'],
95
			['N', '\u200cأ'],
96
			['M', 'ء'],
97
			['\\<', '>'],
98
			['\\>', '<'],
99
			['\\?', '؟']
100
		]
101
	};
102
103
	$.ime.register( ckbTransliterationFakbd );
104
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-lakbd.js (+100 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ckbTransliterationLakbd = {
5
		id: 'ckb-transliteration-lakbd',
6
		name: 'لاتینی',
7
		description: 'Central Kurdish keyboard based on Latin keyboard',
8
		date: '2013-07-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Çalak',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['1', '١'],
15
			['2', '٢'],
16
			['3', '٣'],
17
			['4', '٤'],
18
			['5', '٥'],
19
			['6', '٦'],
20
			['7', '٧'],
21
			['8', '٨'],
22
			['9', '٩'],
23
			['0', '٠'],
24
25
			['q', 'ق'],
26
			['w', 'و'],
27
			['e', 'ە'],
28
			['r', 'ر'],
29
			['t', 'ت'],
30
			['y', 'ی'],
31
			['u', 'ئ'],
32
			['i', 'ح'],
33
			['o', 'ۆ'],
34
			['p', 'پ'],
35
			['\\[', ']'],
36
			['\\]', '['],
37
38
			['a', 'ا'],
39
			['s', 'س'],
40
			['d', 'د'],
41
			['f', 'ف'],
42
			['g', 'گ'],
43
			['h', 'ھ'],
44
			['j', 'ژ'],
45
			['k', 'ک'],
46
			['l', 'ل'],
47
			['\\;', '؛'],
48
49
			['z', 'ز'],
50
			['x', 'خ'],
51
			['c', 'ج'],
52
			['v', 'ڤ'],
53
			['b', 'ب'],
54
			['n', 'ن'],
55
			['m', 'م'],
56
			['\\,', '،'],
57
			['\\.', '.'],
58
59
			['\\%', '٪'],
60
			['\\(', ')'],
61
			['\\)', '('],
62
63
			['Q', 'ڎ'],
64
			['W', 'وو'],
65
			['E', 'ێ'],
66
			['R', 'ڕ'],
67
			['T', 'ط'],
68
			['Y', 'ي'],
69
			['U', 'ء'],
70
			['I', 'ع'],
71
			['O', 'ؤ'],
72
			['P', 'ث'],
73
			['\\{', '}'],
74
			['\\}', '{'],
75
76
			['A', 'آ'],
77
			['S', 'ش'],
78
			['D', 'ذ'],
79
			['F', 'إ'],
80
			['G', 'غ'],
81
			['H', 'ه'],
82
			['J', 'أ'],
83
			['K', 'ك'],
84
			['L', 'ڵ'],
85
86
			['Z', 'ض'],
87
			['X', 'ص'],
88
			['C', 'چ'],
89
			['V', 'ظ'],
90
			['B', 'ى'],
91
			['N', 'ة'],
92
			['M', 'ـ'],
93
			['\\<', '>'],
94
			['\\>', '<'],
95
			['\\?', '؟']
96
		]
97
	};
98
99
	$.ime.register( ckbTransliterationLakbd );
100
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/cv/README.md (+26 lines)
Line 0 Link Here
1
Chuvash keyboard layouts
2
========================
3
4
This directory contains different Chuvash keyboard layouts.
5
6
The Chuvash alphabet contains all the 33 letters from the Russian alphabet and
7
four additional letters: ӑ ӗ ҫ ӳ
8
9
10
Chuvash AltGr — Чăвашла AltGr
11
-----------------------------
12
The default keyboard layout in [chuvash.org](http://chuvash.org) which uses
13
the standard Russian keyboard layouts plus additional four Chuvash letters.
14
They are typed using the AltGr button.
15
16
Unfortunately only in firefox AltGr combinations work well.
17
18
Chuvash Mercen — Căvašla Mercen
19
-------------------------------
20
This keyboard layout is based on [Mercen](https://sites.google.com/site/mercen77/)
21
and comes from CVLat movement.
22
23
"Chuvash Cyrillic"
24
-----------------
25
This keyboard layout is designed by Ikăruk and uses the number row buttons for
26
adding the additional letters. No AltGr is needed.
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/cv/cv-cyr-altgr.js (+120 lines)
Line 0 Link Here
1
// This Chuvash keyboard layout is the "official" layout
2
// in chuvash.org
3
// This implementation is based on ru-jcuken ime rule
4
// which supports both transliteration mode and the native jcuken
5
// Along them there are four Chuvash letters ă ĕ ç ÿ
6
// The keyboard layout is an agreement
7
// of the Chuvash Language  Committee 2009-03-12
8
// http://comissi.chv.su/node/23
9
// This layout differs from the agreement in that matter
10
// that all letters are from the Cyrillic subset of Unicode
11
12
( function ( $ ) {
13
	'use strict';
14
15
	var cv = {
16
		id: 'cv-cyr-altgr',
17
		name: 'Чăвашла (AltGr)',
18
		description: 'AltGr пускăчлă чăваш сарăмĕ',
19
		date: '2013-03-24',
20
		URL: 'http://comissi.chv.su/',
21
		author: 'Anatoly Mironov, @mirontoli',
22
		license: 'MIT',
23
		version: '1.0',
24
		patterns: [
25
			['Q', 'Й'],
26
			['W', 'Ц'],
27
			['E', 'У'],
28
			['R', 'К'],
29
			['T', 'Е'],
30
			['Y', 'Н'],
31
			['U', 'Г'],
32
			['I', 'Ш'],
33
			['O', 'Щ'],
34
			['P', 'З'],
35
			['{', 'Х'],
36
			['}', 'Ъ'],
37
			['A', 'Ф'],
38
			['S', 'Ы'],
39
			['D', 'В'],
40
			['F', 'А'],
41
			['G', 'П'],
42
			['H', 'Р'],
43
			['J', 'О'],
44
			['K', 'Л'],
45
			['L', 'Д'],
46
			[':', 'Ж'],
47
			['"', 'Э'],
48
			['Z', 'Я'],
49
			['X', 'Ч'],
50
			['C', 'С'],
51
			['V', 'М'],
52
			['B', 'И'],
53
			['N', 'Т'],
54
			['M', 'Ь'],
55
			['<', 'Б'],
56
			['>', 'Ю'],
57
			['\\?', ','],
58
59
			['q', 'й'],
60
			['w', 'ц'],
61
			['e', 'у'],
62
			['r', 'к'],
63
			['t', 'е'],
64
			['y', 'н'],
65
			['u', 'г'],
66
			['i', 'ш'],
67
			['o', 'щ'],
68
			['p', 'з'],
69
			['\\[', 'х'],
70
			['\\]', 'ъ'],
71
			['a', 'ф'],
72
			['s', 'ы'],
73
			['d', 'в'],
74
			['f', 'а'],
75
			['g', 'п'],
76
			['h', 'р'],
77
			['j', 'о'],
78
			['k', 'л'],
79
			['l', 'д'],
80
			[';', 'ж'],
81
			['\'', 'э'],
82
			['z', 'я'],
83
			['x', 'ч'],
84
			['c', 'с'],
85
			['v', 'м'],
86
			['b', 'и'],
87
			['n', 'т'],
88
			['m', 'ь'],
89
			[',', 'б'],
90
			['\\.', 'ю'],
91
			['/', '.'],
92
93
			['`', 'ё'],
94
			['~', 'Ё'],
95
96
			// ! is the same // 1
97
			['@', '"'], // 2
98
			['#', '№'], // 3
99
			['\\$', ';'], // 4
100
			// '%' is the same // 5
101
			['^', ':'], // 6
102
			['&', '?'] // 7
103
			// '*', '(' and ')' are the same    // 8, 9, 0
104
			],
105
			//support both qwerty and jcuken keyboards
106
			patterns_x: [
107
				['f|а', 'ӑ'],
108
				['F|А', 'Ӑ'],
109
				['t|е', 'ӗ'],
110
				['T|Е', 'Ӗ'],
111
				['c|с', 'ҫ'],
112
				['C|С', 'Ҫ'],
113
				['e|у', 'ӳ'],
114
				['E|У', 'Ӳ']
115
			]
116
	};
117
118
	$.ime.register( cv );
119
120
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/cv/cv-cyr-numbers.js (+112 lines)
Line 0 Link Here
1
// This Chuvash keyboard layout is designed by Ikăruk
2
// http://ru.wikipedia.org/wiki/Чувашские_раскладки_клавиатуры#Раскладка_«Chuvash_Cyrillic»
3
// This uses the number row of the keyboard
4
// as it is in Sakha keyboard layout, in Bashkir, Slovak and many more
5
// Some other keys are added which are often used in wikipedia editing
6
// all letters are from the Cyrillic subset of Unicode
7
8
( function ( $ ) {
9
	'use strict';
10
11
	var cv = {
12
		id: 'cv-cyr-numbers',
13
		name: 'Чăвашла (Цифрили)',
14
		description: 'Икăрук туса хунă, цифрисене усă куракан сарăм',
15
		date: '2013-03-24',
16
		URL: 'http://comissi.chv.su/',
17
		author: 'Anatoly Mironov, @mirontoli',
18
		license: 'MIT',
19
		version: '1.0',
20
		patterns: [
21
			['Q', 'Й'],
22
			['W', 'Ц'],
23
			['E', 'У'],
24
			['R', 'К'],
25
			['T', 'Е'],
26
			['Y', 'Н'],
27
			['U', 'Г'],
28
			['I', 'Ш'],
29
			['O', 'Щ'],
30
			['P', 'З'],
31
			['{', 'Х'],
32
			['}', 'Ъ'],
33
			['A', 'Ф'],
34
			['S', 'Ы'],
35
			['D', 'В'],
36
			['F', 'А'],
37
			['G', 'П'],
38
			['H', 'Р'],
39
			['J', 'О'],
40
			['K', 'Л'],
41
			['L', 'Д'],
42
			[':', 'Ж'],
43
			['"', 'Э'],
44
			['Z', 'Я'],
45
			['X', 'Ч'],
46
			['C', 'С'],
47
			['V', 'М'],
48
			['B', 'И'],
49
			['N', 'Т'],
50
			['M', 'Ь'],
51
			['<', 'Б'],
52
			['>', 'Ю'],
53
			['\\?', ','],
54
55
			['q', 'й'],
56
			['w', 'ц'],
57
			['e', 'у'],
58
			['r', 'к'],
59
			['t', 'е'],
60
			['y', 'н'],
61
			['u', 'г'],
62
			['i', 'ш'],
63
			['o', 'щ'],
64
			['p', 'з'],
65
			['\\[', 'х'],
66
			['\\]', 'ъ'],
67
			['a', 'ф'],
68
			['s', 'ы'],
69
			['d', 'в'],
70
			['f', 'а'],
71
			['g', 'п'],
72
			['h', 'р'],
73
			['j', 'о'],
74
			['k', 'л'],
75
			['l', 'д'],
76
			[';', 'ж'],
77
			['\'', 'э'],
78
			['z', 'я'],
79
			['x', 'ч'],
80
			['c', 'с'],
81
			['v', 'м'],
82
			['b', 'и'],
83
			['n', 'т'],
84
			['m', 'ь'],
85
			[',', 'б'],
86
			['\\.', 'ю'],
87
			['/', '.'],
88
89
			['`', 'ё'],
90
			['~', 'Ё'],
91
			['1', '?'], // 1
92
			['2', '\''], // 2
93
			['@', '"'], // 2
94
			['3', 'ҫ'], // 3
95
			['#|№', 'Ҫ'], // 3
96
			['4', '|'], // 4
97
			['\\$', ';'], // 4
98
			['5', 'ӳ'], // 5
99
			['%', 'Ӳ'], // 5
100
			['6', '—'], // 6
101
			['\\^', ':'], // 6
102
			['7', 'ӗ'], // 7
103
			['&|\\?', 'Ӗ'], // 7
104
			['8', 'ӑ'], // 8
105
			['\\*', 'Ӑ'], // 8
106
			['9', '['], // 9
107
			['0', ']'] // 0
108
		]
109
	};
110
111
	$.ime.register( cv );
112
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/cv/cv-lat-altgr.js (+33 lines)
Line 0 Link Here
1
// This Chuvash keyboard is a stripped version of latin Mercen
2
// https://sites.google.com/site/mercen77/
3
// http://cvlat.blogspot.com
4
// only Chuvash diacritics are used, no additional letters for Turkish or dead keys implemented (for now?)
5
6
( function ( $ ) {
7
	'use strict';
8
9
	var cv = {
10
		id: 'cv-lat-altgr',
11
		name: 'Căvašla - Mercen',
12
		description: 'CVLat usă kurakan Mercen',
13
		date: '2013-03-21',
14
		URL: 'https://sites.google.com/site/mercen77/',
15
		author: 'Anatoly Mironov, @mirontoli',
16
		license: 'MIT',
17
		version: '1.0',
18
		patterns_x: [
19
			['a', 'ă'],
20
			['A', 'Ă'],
21
			['e', 'ĕ'],
22
			['E', 'Ĕ'],
23
			['s', 'ş'],
24
			['S', 'Ş'],
25
			['d|h', 'š'],
26
			['D|H', 'Š'],
27
			['w|u', 'ü'],
28
			['W|U', 'Ü']
29
		]
30
	};
31
32
	$.ime.register( cv );
33
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/cyrl/cyrl-palochka.js (+43 lines)
Line 0 Link Here
1
/**
2
 * An input method for the Cyrillic alphabet with palochka, which is used by many languages in the
3
 * North Caucasus region. Most keyboard layouts don't support this letter, so people frequently type
4
 * other similarly looking characters instead, but this causes various problems, for example when
5
 * automatically converting from uppercase to lowercase and vice-versa.
6
 *
7
 * This layout assumes that the standard Russian keyboard layout is used. All the rules produce the
8
 * same character palochka, and the characters used are the same that are often used by the speakers
9
 * of these languages online: 1. Latin small 'l'. 2. Latin capital 'I'. 3. Ukrainian capital 'І'. 4.
10
 * Alt-1 (the digit one). 5. Alt-д (Cyrillic small 'de', on the same key as Latin 'l'). 6. Alt-ш
11
 * (Cyrillic small 'sha', on the same key as Latin 'i'). 7. Alt-Ш (Cyrillic capital 'sha', on the
12
 * same key as Latin 'I').
13
 */
14
15
( function ( $ ) {
16
	'use strict';
17
	// All the characters are very similar in appearance,
18
	// so it's better to give them names to avoid confusion.
19
	var cyrlPalochka;
20
21
	cyrlPalochka = {
22
		id: 'cyrl-palochka',
23
		name: 'Cyrillic Palochka',
24
		description: 'Palochka input method for Cyrillic',
25
		date: '2012-10-10',
26
		URL: 'http://github.com/wikimedia/jquery.ime',
27
		author: 'Amir E. Aharoni',
28
		license: 'GPLv3',
29
		version: '1.0',
30
		patterns: [
31
			[ 'l', 'Ӏ' ],
32
			[ 'I', 'Ӏ' ],
33
			[ 'І', 'Ӏ' ] ],
34
		patterns_x: [
35
			[ '1', 'Ӏ' ],
36
			[ 'д', 'Ӏ' ],
37
			[ 'ш', 'Ӏ' ],
38
			[ 'Ш', 'Ӏ' ] ]
39
	};
40
41
	$.ime.register( cyrlPalochka );
42
43
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/da/da-normforms.js (+49 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'da-normforms',
6
		name: 'Dansk',
7
		description: 'Danish input method with most common form transliterated',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/danish.pdf',
10
		author: 'John Erling Blad',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 3,
15
		patterns: [
16
			// The most common transliterations
17
			[ 'aa', 'å' ],
18
			[ 'AA', 'Å' ],
19
			[ 'Aa', 'Å' ],
20
			[ 'ae', 'æ' ],
21
			[ 'AE', 'Æ' ],
22
			[ 'Ae', 'Æ' ],
23
			[ 'oe', 'ø' ],
24
			[ 'OE', 'Ø' ],
25
			[ 'Oe', 'Ø' ],
26
			// The previous as negated transliterations, mostly for names
27
			[ 'åa', 'a', 'aa' ],
28
			[ 'ÅA', 'A', 'AA' ],
29
			[ 'Åa', 'A', 'Aa' ],
30
			[ 'åA', 'a', 'aA' ],
31
			[ 'æe', 'e', 'ae' ],
32
			[ 'ÆE', 'E', 'AE' ],
33
			[ 'Æe', 'E', 'Ae' ],
34
			[ 'æE', 'e', 'aE' ],
35
			[ 'øe', 'e', 'oe' ],
36
			[ 'ØE', 'E', 'OE' ],
37
			[ 'Øe', 'E', 'Oe' ], // this fails for some names like "Øen"
38
			[ 'øE', 'e', 'oE' ]
39
			// historically similar forms
40
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
41
			// it is not generally acceptable to use this transliteration. To
42
			// handle those situations we need some oposite forms.
43
			// There is a similar character "Å" for the length unit Angstrom,
44
			// but this is not the upper case letter Å.
45
		]
46
	};
47
48
	$.ime.register( defs );
49
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/de/de-transliteration.js (+27 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var de = {
5
		id: 'de-transliteration',
6
		name: 'Deutsch Tilde',
7
		description: 'German input method',
8
		date: '2012-11-20',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Erik Moeller',
11
		license: 'Public domain',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 1,
15
		patterns: [
16
			[ '~A', 'Ä' ],
17
			[ '~O', 'Ö' ],
18
			[ '~U', 'Ü' ],
19
			[ '~a', 'ä' ],
20
			[ '~o', 'ö' ],
21
			[ '~u', 'ü' ],
22
			[ '~s', 'ß' ],
23
			[ '~S', 'ß' ] ]
24
	};
25
26
	$.ime.register( de );
27
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/doi/doi-inscript2.js (+119 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var doiInScript2 = {
5
		id: 'doi-inscript2',
6
		name: 'डोगरी इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Dogri language',
8
		date: '2013-02-13',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['2', '२'],
15
			['\\#', '्र'],
16
			['3', '३'],
17
			['\\$', 'र्'],
18
			['4', '४'],
19
			['5', '५'],
20
			['6', '६'],
21
			['7', '७'],
22
			['8', '८'],
23
			['\\(', '('],
24
			['9', '९'],
25
			['\\]', ']'],
26
			['0', '०'],
27
			['\\_', 'ः'],
28
			['\\-', '-'],
29
			['\\+', 'ऋ'],
30
			['\\=', 'ृ'],
31
			['Q', 'औ'],
32
			['q", "ौ'],
33
			['W', 'ऐ'],
34
			['w', 'ै'],
35
			['E', 'आ'],
36
			['e', 'ा'],
37
			['R', 'ई'],
38
			['r', 'ी'],
39
			['T', 'ऊ'],
40
			['t', 'ू'],
41
			['Y', 'भ'],
42
			['y', 'ब'],
43
			['U', 'ङ'],
44
			['u', 'ह'],
45
			['I', 'घ'],
46
			['i', 'ग'],
47
			['O', 'ध'],
48
			['o', 'द'],
49
			['P', 'झ'],
50
			['p', 'ज'],
51
			['\\{', 'ढ'],
52
			['\\[', 'ड'],
53
			['\\}', 'ञ'],
54
			['\\]', '़'],
55
			['A', 'ओ'],
56
			['a', 'ो'],
57
			['S', 'ए'],
58
			['s', 'े'],
59
			['D', 'अ'],
60
			['d', '्'],
61
			['F', 'इ'],
62
			['f', 'ि'],
63
			['G', 'उ'],
64
			['g', 'ु'],
65
			['H', 'फ'],
66
			['h', 'प'],
67
			['j', 'र'],
68
			['K', 'ख'],
69
			['k', 'क'],
70
			['L', 'थ'],
71
			['l', 'त'],
72
			[':', 'छ'],
73
			[';', 'च'],
74
			['\"', 'ठ'],
75
			['\'', 'ट'],
76
			['z', 'ʼ'],
77
			['X', 'ँ'],
78
			['C', 'ण'],
79
			['c', 'म'],
80
			['v', 'न'],
81
			['b', 'व'],
82
			['n', 'ल'],
83
			['M', 'श'],
84
			['m', 'स'],
85
			['\\<', 'ष'],
86
			[',', ','],
87
			['\\>', '।'],
88
			['\\.', '.'],
89
			['/', 'य'],
90
			['\\%', 'ज्ञ'],
91
			['\\^', 'त्र'],
92
			['\\&', 'क्ष'],
93
			['\\*', 'श्र']
94
		],
95
		patterns_x: [
96
			['1', '\u200d'],
97
			['2', '\u200c'],
98
			['4', '₹'],
99
			['\\+', 'ॠ'],
100
			['\\=', 'ृ'],
101
			['e', '॑'],
102
			['i', 'ग़'],
103
			['R', 'ॡ'],
104
			['r', 'ॣ'],
105
			['p', 'ज़'],
106
			['\\{', 'ढ़'],
107
			['\\[', 'ड़'],
108
			['d', '॒'],
109
			['F', 'ऌ'],
110
			['f', 'ॢ'],
111
			['H', 'फ़'],
112
			['X', 'ॐ'],
113
			['N', 'ळ'],
114
			['\\>', 'ऽ'],
115
			['\\.', '॥']]
116
	};
117
118
	$.ime.register( doiInScript2 );
119
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/el/el-kbd.js (+95 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var elKbd = {
5
		id: 'el-kbd',
6
		name: 'Greek kbd',
7
		description: 'Greek kbd keyboard layout',
8
		date: '2013-02-11',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['΄¨i', 'ΐ'],
15
			['¨΄i', 'ΐ'],
16
			['΄¨y', 'ΰ'],
17
			['¨΄y', 'ΰ'],
18
			['¨i', 'ϊ'],
19
			['¨y', 'ϋ'],
20
			['¨I', 'Ϊ'],
21
			['¨Y', 'Ϋ'],
22
			['΄a', 'ά'],
23
			['΄e', 'έ'],
24
			['΄h', 'ή'],
25
			['΄i', 'ί'],
26
			['΄o', 'ό'],
27
			['΄y', 'ύ'],
28
			['΄v', 'ώ'],
29
			['΄A', 'Ά'],
30
			['΄E', 'Έ'],
31
			['΄H', 'Ή'],
32
			['΄I', 'Ί'],
33
			['΄O', 'Ό'],
34
			['΄Y', 'Ύ'],
35
			['΄V', 'Ώ'],
36
			['q', ';'],
37
			['w', 'ς'],
38
			['e', 'ε'],
39
			['r', 'ρ'],
40
			['t', 'τ'],
41
			['y', 'υ'],
42
			['u', 'θ'],
43
			['i', 'ι'],
44
			['o', 'ο'],
45
			['p', 'π'],
46
			['\\[', '['],
47
			['\\]', ']'],
48
			['a', 'α'],
49
			['s', 'σ'],
50
			['d', 'δ'],
51
			['f', 'φ'],
52
			['g', 'γ'],
53
			['h', 'η'],
54
			['j', 'ξ'],
55
			['k', 'κ'],
56
			['l', 'λ'],
57
			[';', '΄'],
58
			['z', 'ζ'],
59
			['x', 'χ'],
60
			['c', 'ψ'],
61
			['v', 'ω'],
62
			['b', 'β'],
63
			['n', 'ν'],
64
			['m', 'μ'],
65
			['Q', ':'],
66
			['W', 'Σ'],
67
			['E', 'Ε'],
68
			['R', 'Ρ'],
69
			['T', 'Τ'],
70
			['Y', 'Υ'],
71
			['U', 'Θ'],
72
			['I', 'Ι'],
73
			['O', 'Ο'],
74
			['P', 'Π'],
75
			['A', 'Α'],
76
			['S', 'Σ'],
77
			['D', 'Δ'],
78
			['F', 'Φ'],
79
			['G', 'Γ'],
80
			['H', 'Η'],
81
			['J', 'Ξ'],
82
			['K', 'Κ'],
83
			['L', 'Λ'],
84
			[':', '¨'],
85
			['Z', 'Ζ'],
86
			['X', 'Χ'],
87
			['C', 'Ψ'],
88
			['V', 'Ω'],
89
			['B', 'Β'],
90
			['N', 'Ν'],
91
			['M', 'Μ']]
92
	};
93
94
	$.ime.register( elKbd );
95
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-h-f.js (+59 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoHF = {
5
		id: 'eo-h-f',
6
		name: 'Espernto h-f',
7
		description: 'writing Esperanto-letters using Zamenhof\'s fundamental system.',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉh', 'ch'],
15
			['ĝh', 'gh'],
16
			['ĥh', 'hh'],
17
			['ĵh', 'jh'],
18
			['ŝh', 'sh'],
19
			['aŭu', 'au'],
20
			['eŭu', 'eu'],
21
			['Ĉh', 'Ch'],
22
			['Ĝh', 'Gh'],
23
			['Ĥh', 'Hh'],
24
			['Ĵh', 'Jh'],
25
			['Ŝh', 'Sh'],
26
			['Aŭu', 'Au'],
27
			['Eŭu', 'Eu'],
28
			['ĈH', 'CH'],
29
			['ĜH', 'GH'],
30
			['ĤH', 'HH'],
31
			['ĴH', 'JH'],
32
			['ŜH', 'SH'],
33
			['AŬU', 'AU'],
34
			['EŬU', 'EU'],
35
			['ch', 'ĉ'],
36
			['gh', 'ĝ'],
37
			['hh', 'ĥ'],
38
			['jh', 'ĵ'],
39
			['sh', 'ŝ'],
40
			['au', 'aŭ'],
41
			['eu', 'eŭ'],
42
			['Ch', 'Ĉ'],
43
			['Gh', 'Ĝ'],
44
			['Hh', 'Ĥ'],
45
			['Jh', 'Ĵ'],
46
			['Sh', 'Ŝ'],
47
			['Au', 'Aŭ'],
48
			['Eu', 'Eŭ'],
49
			['CH', 'Ĉ'],
50
			['GH', 'Ĝ'],
51
			['HH', 'Ĥ'],
52
			['JH', 'Ĵ'],
53
			['SH', 'Ŝ'],
54
			['AU', 'AŬ'],
55
			['EU', 'EŬ']]
56
	};
57
58
	$.ime.register( eoHF );
59
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-h.js (+54 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoH = {
5
		id: 'eo-h',
6
		name: 'Esperanto h',
7
		description: 'writing Esperanto-letters adding h\'s.',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉh', 'ch'],
15
			['ĝh', 'gh'],
16
			['ĥh', 'hh'],
17
			['ĵh', 'jh'],
18
			['ŝh', 'sh'],
19
			['ŭh', 'uh'],
20
			['Ĉh', 'Ch'],
21
			['Ĝh', 'Gh'],
22
			['Ĥh', 'Hh'],
23
			['Ĵh', 'Jh'],
24
			['Ŝh', 'Sh'],
25
			['Ŭh', 'Uh'],
26
			['ĈH', 'CH'],
27
			['ĜH', 'GH'],
28
			['ĤH', 'HH'],
29
			['ĴH', 'JH'],
30
			['ŜH', 'SH'],
31
			['ŬH', 'UH'],
32
33
			['ch', 'ĉ'],
34
			['gh', 'ĝ'],
35
			['hh', 'ĥ'],
36
			['jh', 'ĵ'],
37
			['sh', 'ŝ'],
38
			['uh', 'ŭ'],
39
			['Ch', 'Ĉ'],
40
			['Gh', 'Ĝ'],
41
			['Hh', 'Ĥ'],
42
			['Jh', 'Ĵ'],
43
			['Sh', 'Ŝ'],
44
			['Uh', 'Ŭ'],
45
			['CH', 'Ĉ'],
46
			['GH', 'Ĝ'],
47
			['HH', 'Ĥ'],
48
			['JH', 'Ĵ'],
49
			['SH', 'Ŝ'],
50
			['UH', 'Ŭ']]
51
	};
52
53
	$.ime.register( eoH );
54
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-plena.js (+99 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoPlena = {
5
		id: 'eo-plena',
6
		name: 'Esperanto plena',
7
		description: 'writing Esperanto-letters with the fundamental system and the X-system, like the default of EK.',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉx', 'cx'],
15
			['ĝx', 'gx'],
16
			['ĥx', 'hx'],
17
			['ĵx', 'jx'],
18
			['ŝx', 'sx'],
19
			['ŭx', 'ux'],
20
			['Ĉx', 'Cx'],
21
			['Ĝx', 'Gx'],
22
			['Ĥx', 'Hx'],
23
			['Ĵx', 'Jx'],
24
			['Ŝx', 'Sx'],
25
			['Ŭx', 'Ux'],
26
			['ĈX', 'CX'],
27
			['ĜX', 'GX'],
28
			['ĤX', 'HX'],
29
			['ĴX', 'JX'],
30
			['ŜX', 'SX'],
31
			['ŬX', 'UX'],
32
33
			['ĉh', 'ch'],
34
			['ĝh', 'gh'],
35
			['ĥh', 'hh'],
36
			['ĵh', 'jh'],
37
			['ŝh', 'sh'],
38
			['aŭu', 'au'],
39
			['eŭu', 'eu'],
40
			['Ĉh', 'Ch'],
41
			['Ĝh', 'Gh'],
42
			['Ĥh', 'Hh'],
43
			['Ĵh', 'Jh'],
44
			['Ŝh', 'Sh'],
45
			['Aŭu', 'Au'],
46
			['Eŭu', 'Eu'],
47
			['ĈH', 'CH'],
48
			['ĜH', 'GH'],
49
			['ĤH', 'HH'],
50
			['ĴH', 'JH'],
51
			['ŜH', 'SH'],
52
			['AŬU', 'AU'],
53
			['EŬU', 'EU'],
54
55
			['cx', 'ĉ'],
56
			['gx', 'ĝ'],
57
			['hx', 'ĥ'],
58
			['jx', 'ĵ'],
59
			['sx', 'ŝ'],
60
			['ux', 'ŭ'],
61
			['Cx', 'Ĉ'],
62
			['Gx', 'Ĝ'],
63
			['Hx', 'Ĥ'],
64
			['Jx', 'Ĵ'],
65
			['Sx', 'Ŝ'],
66
			['Ux', 'Ŭ'],
67
			['CX', 'Ĉ'],
68
			['GX', 'Ĝ'],
69
			['HX', 'Ĥ'],
70
			['JX', 'Ĵ'],
71
			['SX', 'Ŝ'],
72
			['UX', 'Ŭ'],
73
74
			['ch', 'ĉ'],
75
			['gh', 'ĝ'],
76
			['hh', 'ĥ'],
77
			['jh', 'ĵ'],
78
			['sh', 'ŝ'],
79
			['au', 'aŭ'],
80
			['eu', 'eŭ'],
81
			['Ch', 'Ĉ'],
82
			['Gh', 'Ĝ'],
83
			['Hh', 'Ĥ'],
84
			['Jh', 'Ĵ'],
85
			['Sh', 'Ŝ'],
86
			['Au', 'Aŭ'],
87
			['Eu', 'Eŭ'],
88
			['CH', 'Ĉ'],
89
			['GH', 'Ĝ'],
90
			['HH', 'Ĥ'],
91
			['JH', 'Ĵ'],
92
			['SH', 'Ŝ'],
93
			['AU', 'AŬ'],
94
			['EU', 'EŬ']
95
		]
96
	};
97
98
	$.ime.register( eoPlena );
99
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-q.js (+55 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoQ = {
5
		id: 'eo-q',
6
		name: 'Espernto q',
7
		description: 'writing Esperanto-letters adding q\'s.',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉq', 'cq'],
15
			['ĝq', 'gq'],
16
			['ĥq', 'hq'],
17
			['ĵq', 'jq'],
18
			['ŝq', 'sq'],
19
			['ŭq', 'uq'],
20
			['Ĉq', 'Cq'],
21
			['Ĝq', 'Gq'],
22
			['Ĥq', 'Hq'],
23
			['Ĵq', 'Jq'],
24
			['Ŝq', 'Sq'],
25
			['Ŭq', 'Uq'],
26
			['ĈQ', 'CQ'],
27
			['ĜQ', 'GQ'],
28
			['ĤQ', 'HQ'],
29
			['ĴQ', 'JQ'],
30
			['ŜQ', 'SQ'],
31
			['ŬQ', 'UQ'],
32
33
			['cq', 'ĉ'],
34
			['gq', 'ĝ'],
35
			['hq', 'ĥ'],
36
			['jq', 'ĵ'],
37
			['sq', 'ŝ'],
38
			['uq', 'ŭ'],
39
			['Cq', 'Ĉ'],
40
			['Gq', 'Ĝ'],
41
			['Hq', 'Ĥ'],
42
			['Jq', 'Ĵ'],
43
			['Sq', 'Ŝ'],
44
			['Uq', 'Ŭ'],
45
			['CQ', 'Ĉ'],
46
			['GQ', 'Ĝ'],
47
			['HQ', 'Ĥ'],
48
			['JQ', 'Ĵ'],
49
			['SQ', 'Ŝ'],
50
			['UQ', 'Ŭ']]
51
52
	};
53
54
	$.ime.register( eoQ);
55
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-transliteration.js (+45 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	function prepareRules () {
5
		var rules = [], chars;
6
7
		chars = {
8
			C: 'Ĉ',
9
			G: 'Ĝ',
10
			H: 'Ĥ',
11
			J: 'Ĵ',
12
			S: 'Ŝ',
13
			U: 'Ŭ',
14
			c: 'ĉ',
15
			g: 'ĝ',
16
			h: 'ĥ',
17
			j: 'ĵ',
18
			s: 'ŝ',
19
			u: 'ŭ'
20
		};
21
22
		$.each( chars, function ( ascii, accented ) {
23
			rules.push( [ ascii + '[Xx]', ascii, accented ] );
24
			rules.push( [ accented + '([Xx])', '[Xx]', ascii + '$1' ] );
25
		} );
26
27
		return rules;
28
	}
29
30
	var eoTransliteration = {
31
		id: 'eo-transliteration',
32
		name: 'Esperanto Transliteration',
33
		description: 'Esperanto x-code transliteration',
34
		date: '2012-10-10',
35
		URL: 'http://github.com/wikimedia/jquery.ime',
36
		author: 'Brion Vibber',
37
		license: 'GPLv3',
38
		version: '1.0',
39
		contextLength: 1,
40
		maxKeyLength: 1,
41
		patterns: prepareRules()
42
	};
43
44
	$.ime.register( eoTransliteration );
45
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-vi.js (+65 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoVi = {
5
		id: 'eo-vi',
6
		name: 'Esperanto vi',
7
		description: 'writing Esperanto-letters using double key press (the X-system).',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉc', 'cc'],
15
			['ĝg', 'gg'],
16
			['ĥh', 'hh'],
17
			['ĵj', 'jj'],
18
			['ŝs', 'ss'],
19
			['ŭu', 'uu'],
20
			['Ĉc', 'Cc'],
21
			['Ĝg', 'Gg'],
22
			['Ĥh', 'Hh'],
23
			['Ĵj', 'Jj'],
24
			['Ŝs', 'Ss'],
25
			['Ŭu', 'Uu'],
26
			['aŭu', 'au'],
27
			['eŭu', 'eu'],
28
			['Aŭu', 'Au'],
29
			['Eŭu', 'Eu'],
30
			['AŬU', 'AU'],
31
			['EŬU', 'EU'],
32
			['ĈC', 'CC'],
33
			['ĜG', 'GG'],
34
			['ĤH', 'HH'],
35
			['ĴJ', 'JJ'],
36
			['ŜS', 'SS'],
37
			['ŬU', 'UU'],
38
			['cc', 'ĉ'],
39
			['gg', 'ĝ'],
40
			['hh', 'ĥ'],
41
			['jj', 'ĵ'],
42
			['ss', 'ŝ'],
43
			['uu', 'ŭ'],
44
			['au', 'aŭ'],
45
			['eu', 'eŭ'],
46
			['Cc', 'Ĉ'],
47
			['Gg', 'Ĝ'],
48
			['Hh', 'Ĥ'],
49
			['Jj', 'Ĵ'],
50
			['Ss', 'Ŝ'],
51
			['Uu', 'Ŭ'],
52
			['Au', 'Aŭ'],
53
			['Eu', 'Eŭ'],
54
			['AU', 'AŬ'],
55
			['EU', 'EŬ'],
56
			['CC', 'Ĉ'],
57
			['GG', 'Ĝ'],
58
			['HH', 'Ĥ'],
59
			['JJ', 'Ĵ'],
60
			['SS', 'Ŝ'],
61
			['UU', 'Ŭ']]
62
	};
63
64
	$.ime.register( eoVi );
65
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-x.js (+53 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoX = {
5
		id: 'eo-x',
6
		name: 'Esperanto x',
7
		description: 'writing Esperanto-letters adding x\'s (the X-system).',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉx', 'cx'],
15
			['ĝx', 'gx'],
16
			['ĥx', 'hx'],
17
			['ĵx', 'jx'],
18
			['ŝx', 'sx'],
19
			['ŭx', 'ux'],
20
			['Ĉx', 'Cx'],
21
			['Ĝx', 'Gx'],
22
			['Ĥx', 'Hx'],
23
			['Ĵx', 'Jx'],
24
			['Ŝx', 'Sx'],
25
			['Ŭx', 'Ux'],
26
			['ĈX', 'CX'],
27
			['ĜX', 'GX'],
28
			['ĤX', 'HX'],
29
			['ĴX', 'JX'],
30
			['ŜX', 'SX'],
31
			['ŬX', 'UX'],
32
			['cx', 'ĉ'],
33
			['gx', 'ĝ'],
34
			['hx', 'ĥ'],
35
			['jx', 'ĵ'],
36
			['sx', 'ŝ'],
37
			['ux', 'ŭ'],
38
			['Cx', 'Ĉ'],
39
			['Gx', 'Ĝ'],
40
			['Hx', 'Ĥ'],
41
			['Jx', 'Ĵ'],
42
			['Sx', 'Ŝ'],
43
			['Ux', 'Ŭ'],
44
			['CX', 'Ĉ'],
45
			['GX', 'Ĝ'],
46
			['HX', 'Ĥ'],
47
			['JX', 'Ĵ'],
48
			['SX', 'Ŝ'],
49
			['UX', 'Ŭ']]
50
	};
51
52
	$.ime.register( eoX );
53
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/fa/fa-kbd.js (+167 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var faKbd = {
5
		id: 'fa-kbd',
6
		name: 'kbd',
7
		description: 'Persian standard (ISIRI 9147) keyboard layout',
8
		date: '2013-08-30',
9
		URL: 'http://www.isiri.org/portal/files/std/9147.pdf',
10
		author: 'Ebrahim Byagowi',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['`', '\u200d'],
15
			['1', '۱'],
16
			['2', '۲'],
17
			['3', '۳'],
18
			['4', '۴'],
19
			['5', '۵'],
20
			['6', '۶'],
21
			['7', '۷'],
22
			['8', '۸'],
23
			['9', '۹'],
24
			['0', '۰'],
25
26
			['q', 'ض'],
27
			['w', 'ص'],
28
			['e', 'ث'],
29
			['r', 'ق'],
30
			['t', 'ف'],
31
			['y', 'غ'],
32
			['u', 'ع'],
33
			['i', 'ه'],
34
			['o', 'خ'],
35
			['p', 'ح'],
36
			['\\[', 'ج'],
37
			['\\]', 'چ'],
38
39
			['a', 'ش'],
40
			['s', 'س'],
41
			['d', 'ی'],
42
			['f', 'ب'],
43
			['g', 'ل'],
44
			['h', 'ا'],
45
			['j', 'ت'],
46
			['k', 'ن'],
47
			['l', 'م'],
48
			[';', 'ک'],
49
			['\'', 'گ'],
50
51
			['z', 'ظ'],
52
			['x', 'ط'],
53
			['c', 'ز'],
54
			['v', 'ر'],
55
			['b', 'ذ'],
56
			['n', 'د'],
57
			['m', 'پ'],
58
			[',', 'و'],
59
			['\\.', '.'],
60
			['/', '/'],
61
62
			['~', '÷'],
63
			['\\!', '!'],
64
			['@', '٬'],
65
			['#', '٫'],
66
			['\\$', '﷼'],
67
			['%', '٪'],
68
			['\\^', '×'],
69
			['&', '،'],
70
			['\\*', '*'],
71
			['\\(', ')'],
72
			['\\)', '('],
73
			['_', 'ـ'],
74
75
			['Q', 'ْ'],
76
			['W', 'ٌ'],
77
			['E', 'ٍ'],
78
			['R', 'ً'],
79
			['T', 'ُ'],
80
			['Y', 'ِ'],
81
			['U', 'َ'],
82
			['I', 'ّ'],
83
			['O', ']'],
84
			['P', '['],
85
			['\\{', '}'],
86
			['\\}', '{'],
87
88
			['A', 'ؤ'],
89
			['S', 'ئ'],
90
			['D', 'ي'],
91
			['F', 'إ'],
92
			['G', 'أ'],
93
			['H', 'آ'],
94
			['J', 'ة'],
95
			['K', '»'],
96
			['L', '«'],
97
			['\\:', ':'],
98
			['"', '؛'],
99
100
			['Z', 'ك'],
101
			['X', 'ٓ'],
102
			['C', 'ژ'],
103
			['V', 'ٰ'],
104
			['B', '\u200c'],
105
			['N', 'ٔ'],
106
			['M', 'ء'],
107
			['<', '>'],
108
			['>', '<'],
109
			['\\?', '؟']
110
		],
111
		patterns_x: [
112
			['`', '~'],
113
			['1', '`'],
114
			['2', '@'],
115
			['3', '#'],
116
			['4', '$'],
117
			['5', '%'],
118
			['6', '^'],
119
			['7', '&'],
120
			['8', '•'],
121
			['9', '\u200e'],
122
			['0', '\u200f'],
123
124
			['q', '°'],
125
			['w', ''],
126
			['e', '€'],
127
			['r', ''],
128
			['t', ''],
129
			['y', ''],
130
			['u', ''],
131
			['i', '\u202d'],
132
			['o', '\u202e'],
133
			['p', '\u202c'],
134
			['\\[', '\u202a'],
135
			['\\]', '\u202b'],
136
137
			['a', ''],
138
			['s', ''],
139
			['d', 'ى'],
140
			['f', ''],
141
			['g', ''],
142
			['h', 'ٱ'],
143
			['j', ''],
144
			['k', '﴾'],
145
			['l', '﴿'],
146
			[';', ';'],
147
			['\'', '"'],
148
149
			['z', ''],
150
			['x', ''],
151
			['c', ''],
152
			['v', 'ٖ'],
153
			['b', '\u200d'],
154
			['n', 'ٕ'],
155
			['m', '…'],
156
			[',', ','],
157
			['\\.', '\''],
158
			['/', '?'],
159
			[' ', '\xa0']
160
		],
161
		patterns_shift: [
162
			[' ', '\u200c']
163
		]
164
	};
165
166
	$.ime.register( faKbd );
167
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/fi/fi-transliteration.js (+32 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var fiTransliteration = {
5
		id: 'fi-transliteration',
6
		name: 'translitterointi',
7
		description: 'Finnish transliteration',
8
		date: '2012-11-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Niklas Laxström',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['\\.a', 'å'],
17
			['\\.A', 'Å'],
18
			[':a', 'ä'],
19
			[':A', 'Ä'],
20
			[':o', 'ö'],
21
			[':O', 'Ö'],
22
			['shh', 'š'],
23
			['Shh', 'Š'],
24
			['\\.e', '€']
25
		],
26
		patterns_x: [
27
			['e', '€']
28
		]
29
	};
30
31
	$.ime.register( fiTransliteration );
32
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/fo/fo-normforms.js (+65 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'fo-normforms',
6
		name: 'Føroyskt',
7
		description: 'Faroese input method with most common form transliterated',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/faroese.pdf',
10
		author: 'John Erling Blad',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 3,
15
		patterns: [
16
			// Uses "'" as an accent
17
			[ '\'a', 'á' ],
18
			[ '\'A', 'Á' ],
19
			[ '\'i', 'í' ],
20
			[ '\'I', 'Í' ],
21
			[ '\'o', 'ó' ],
22
			[ '\'O', 'Ó' ],
23
			[ '\'u', 'ú' ],
24
			[ '\'U', 'Ú' ],
25
			[ '\'y', 'ý' ],
26
			[ '\'Y', 'Ý' ],
27
			// Uses "~" as "approximatly similar to"
28
			[ '~d', 'ð' ],
29
			[ '~D', 'Ð' ],
30
			[ '~o', 'ö' ],
31
			[ '~O', 'Ö' ],
32
			// The most common transliterations (also the Danish letters)
33
			[ 'aa', 'å' ],
34
			[ 'AA', 'Å' ],
35
			[ 'Aa', 'Å' ],
36
			[ 'ae', 'æ' ],
37
			[ 'AE', 'Æ' ],
38
			[ 'Ae', 'Æ' ],
39
			[ 'oe', 'ø' ],
40
			[ 'OE', 'Ø' ],
41
			[ 'Oe', 'Ø' ],
42
			// The previous as negated transliterations, mostly for names
43
			[ 'åa', 'a', 'aa' ],
44
			[ 'ÅA', 'A', 'AA' ],
45
			[ 'Åa', 'A', 'Aa' ],
46
			[ 'åA', 'a', 'aA' ],
47
			[ 'æe', 'e', 'ae' ],
48
			[ 'ÆE', 'E', 'AE' ],
49
			[ 'Æe', 'E', 'Ae' ],
50
			[ 'æE', 'e', 'aE' ],
51
			[ 'øe', 'e', 'oe' ],
52
			[ 'ØE', 'E', 'OE' ],
53
			[ 'Øe', 'E', 'Oe' ], // this fails for some names like "Øen"
54
			[ 'øE', 'e', 'oE' ]
55
			// historically similar forms
56
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
57
			// it is not generally acceptable to use this transliteration. To
58
			// handle those situations we need some oposite forms.
59
			// There is a similar character "Å" for the length unit Angstrom,
60
			// but this is not the upper case letter Å.
61
		]
62
	};
63
64
	$.ime.register( defs );
65
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/fonipa/ipa-sil.js (+240 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ipaSil = {
5
		id: 'ipa-sil',
6
		name: 'International Phonetic Alphabet - SIL',
7
		description: 'International Phonetic Alphabet - SIL',
8
		date: '2012-11-23',
9
		URL: 'http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=UniIPAKeyboard',
10
		author: 'mapping by Martin Hosken and Lorna A. Priest; implementation by Amir E. Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['B=', 'ʙ'],
17
			['f=', 'ɸ'],
18
			['b=', 'β'],
19
20
			['m>', 'ɱ'],
21
			['v<', 'ⱱ'],
22
			['v=', 'ʋ'],
23
24
			['t=', 'θ'],
25
			['d=', 'ð'],
26
27
			['r>', 'ɾ'],
28
			['l=', 'ɬ'],
29
			['l>', 'ɮ'],
30
			['r=', 'ɹ'],
31
32
			['s=', 'ʃ'],
33
			['z=', 'ʒ'],
34
35
			['t<', 'ʈ'],
36
			['d<', 'ɖ'],
37
			['n<', 'ɳ'],
38
			['r<', 'ɽ'],
39
			['s<', 'ʂ'],
40
			['z<', 'ʐ'],
41
			['R<', 'ɻ'],
42
			['l<', 'ɭ'],
43
44
			['j=', 'ɟ'],
45
			['n=', 'ɲ'],
46
			['c=', 'ç'],
47
			['j<', 'ʝ'],
48
			['L<', 'ʎ'],
49
50
			['g<', 'ɡ'],
51
			['n>', 'ŋ'],
52
			['g=', 'ɣ'],
53
			['w>', 'ɰ'],
54
			['L=', 'ʟ'],
55
56
			['G=', 'ɢ'],
57
			['N=', 'ɴ'],
58
			['R=', 'ʀ'],
59
			['x=', 'χ'],
60
			['R>', 'ʁ'],
61
62
			['h>', 'ħ'],
63
			['\\?<', 'ʕ'],
64
65
			['\\?=', 'ʔ'],
66
			['h<', 'ɦ'],
67
68
			['p=', 'ʘ'],
69
			['ǃ<', 'ǀ'], // This is not an exclamation mark
70
			['!',  'ǃ'],
71
			['ǃ=', 'ǂ'], // This is not an exclamation mark
72
			['ǃ>', 'ǁ'], // This is not an exclamation mark
73
74
			['b>', 'ɓ'],
75
			['d>', 'ɗ'],
76
			['j>', 'ʄ'],
77
			['g>', 'ɠ'],
78
			['G>', 'ʛ'],
79
80
			['w=', 'ʍ'],
81
			['y<', 'ɥ'],
82
			['h=', 'ɥ'],
83
			['H=', 'ʜ'],
84
			['Q<', 'ʢ'],
85
			['Q=', 'ʡ'],
86
			// TODO non-IPA retroflex hooks
87
88
			['c<', 'ɕ'],
89
			['z>', 'ʑ'],
90
			['L>', 'ɺ'],
91
			['H<', 'ɧ'],
92
93
			['i=', 'ɪ'],
94
			['e<', 'ɛ'],
95
			['a<', 'æ'],
96
97
			['y=', 'ʏ'],
98
			['o>', 'ø'],
99
			['E<', 'œ'],
100
			['E>', 'ɶ'],
101
102
			['I=', 'ɨ'],
103
			['E=', 'ɘ'],
104
			['e=', 'ə'],
105
			['e>', 'ɜ'],
106
			['a>', 'ɐ'],
107
			['U=', 'ʉ'],
108
			['O=', 'ɵ'],
109
			['O<', 'ɞ'],
110
111
			['u=', 'ɯ'],
112
			['O>', 'ɤ'],
113
			['u>', 'ʌ'],
114
			['a=', 'ɑ'],
115
			['u',  'u'],
116
			['u<', 'ʊ'],
117
			['o<', 'ɔ'],
118
			['o=', 'ɒ'],
119
120
			['ˈ}',        'ˌ'], // }}
121
			['}',         'ˈ'],
122
			['ː:',        'ˑ'], // ::
123
			['ˑ:',        'ːː'], // ::: // Not IPA sanctioned
124
			[':',         'ː'],
125
			['\\*\\*\\*', '\u0306'], // Combining breve
126
			['\\.<',      '|'],
127
			['\\.=',      '‖'],
128
			['#=',        '‿'],
129
130
			// Tones
131
			['([˥-˩])4', '$1˥'],
132
			['([˥-˩])3', '$1˦'],
133
			['([˥-˩])2', '$1˧'],
134
			['([˥-˩])1', '$1˨'],
135
			['([˥-˩])0', '$1˩'],
136
			['#4', '˥'],
137
			['#3', '˦'],
138
			['#2', '˧'],
139
			['#1', '˨'],
140
			['#0', '˩'],
141
			['(?:\u0300)3', '\u030C'], // @13  - Combining caron
142
			['(?:\u0301)1', '\u0302'], // @31  - Combining circumflex accent
143
			['(?:\u0304)3', '\u1dc4'], // @23  - Combining macron-acute
144
			['(?:\u0300)2', '\u1dc5'], // @12  - Combining grave-macron
145
			['(?:\u030C)1', '\u1dc8'], // @131 - Combining grave-acute-grave
146
			['(?:\u0304)1', '\u1dc6'], // @21  - Combining macron-grave // Not IPA sanctioned
147
			['(?:\u0301)2', '\u1dc7'], // @32  - Combining acute-macron // Not IPA sanctioned
148
			['(?:\u0302)3', '\u1dc9'], // @313 - Combining acute-grave-acute // Not IPA sanctioned
149
			['(?:\u030a)4', '\u030b'], // Combining double acute accent
150
			['(?:\u030a)3', '\u0301'], // Combining acute accent
151
			['(?:\u030a)2', '\u0304'], // Combining macron
152
			['(?:\u030a)1', '\u0300'], // Combining grave accent
153
			['(?:\u030a)0', '\u030f'], // Combining double grave accent
154
155
			// Tone numbers (non-IPA)
156
			['\\^0', '⁰'], // Not IPA sanctioned
157
			['\\^1', '¹'], // Not IPA sanctioned
158
			['\\^2', '²'], // Not IPA sanctioned
159
			['\\^3', '³'], // Not IPA sanctioned
160
			['\\^4', '⁴'], // Not IPA sanctioned
161
			['\\^5', '⁵'], // Not IPA sanctioned
162
			['\\^6', '⁶'], // Not IPA sanctioned
163
			['\\^7', '⁷'], // Not IPA sanctioned
164
			['\\^8', '⁸'], // Not IPA sanctioned
165
			['\\^9', '⁹'], // Not IPA sanctioned
166
			// This character is called "Superscript hyphen" in the layout document,
167
			// and "Superscript minus" in Unicode
168
			['\\^-', '⁻'], // Not IPA sanctioned
169
170
			['ꜛ>', '↗'], // #>>
171
			['ꜜ<', '↘'], // #<<
172
			['#<', 'ꜜ'],
173
			['#>', 'ꜛ'],
174
175
			// Diacritics and suprasegmentals
176
			['h\\^', 'ʰ'],
177
			['w\\^', 'ʷ'],
178
			['j\\^', 'ʲ'],
179
			['ɣ\\^', 'ˠ'], // g=
180
			['ʕ\\^', 'ˤ'], // ?<
181
			['n\\^', 'ⁿ'],
182
			['l\\^', 'ˡ'],
183
			// TODO non-IPA superscripts
184
185
			['ʽ\\[',          '˞'],      // [[[
186
			['\\[\\[',        'ʽ'],      // [[ // Not IPA sanctioned
187
			['(?:\u031a)\\]', '‘'],      // ]]]] // Not IPA sanctioned
188
			['ʼ\\]',          '\u031a'], // ]]]  // Combining left angle above
189
			['\\]\\]',        'ʼ'],      // ]]
190
191
			['(?:\u032f)\\$', '\u0330'], // $$$ // Combining tilde below
192
			['(?:\u0329)\\$', '\u032f'], // $$  // Combining inverted breve below
193
			['\\$',           '\u0329'], // $   // Combining vertical line below
194
195
			// TODO non-IPA retroflex hooks
196
197
			['(?:\u032c)%',   '\u0324'], // %%% // Combining diaeresis below
198
			['(?:\u0325)%',   '\u032c'], // %%  // Combining caron below
199
			['%', '\u0325'],             // %   // Combining ring below
200
201
			// TODO non-IPA palatal hooks
202
203
			['@', '\u030a'], // Combining ring above
204
205
			['(?:\u033c)\\{',   '\u0323'], // {{{{{ // Combining dot below
206
			['(?:\u033b)\\{',   '\u033c'], // {{{{  // Combining seagull below
207
			['(?:\u033a)\\{',   '\u033b'], // {{{   // Combining square below
208
			['(?:\u032a)\\{',   '\u033a'], // {{    // Combining inverted bridge below
209
			['\\{', '\u032a'],             // {     // Combining bridge below
210
211
			['(?:\u0303)~',   '\u0334'], // ~~    // Combining tilde overlay
212
			['~',             '\u0303'], // ~     // Combining tilde
213
214
			['(?:\u0306)\\*', '\u0307'], // ****  // Combining dot above
215
			['(?:\u033d)\\*', '\u0306'], // ***   // Combining breve
216
			['(?:\u0308)\\*', '\u033d'], // **    // Combining x above
217
			['\\*',           '\u0308'], // *     // Combining diaeresis
218
219
			// TODO Find out what the m with the five asterisks is.
220
221
			['#&',            '\u0361'], //          Combining double inverted breve
222
			['(?:\u030a)&',   '\u035c'], // @&    // Combining double breve below
223
224
			['(?:\u0318)\\+', '\u0339'], // ++++  // Combining right half ring below
225
			['(?:\u0319)_',   '\u031c'], // ____  // Combining left half ring below
226
			['(?:\u031d)\\+', '\u0318'], // +++   // Combining left tack below
227
			['(?:\u031e)_',   '\u0319'], // ___   // Combining right tack below
228
			['(?:\u031f)\\+', '\u031d'], // ++    // Combining up tack below
229
			['(?:\u0320)_',   '\u031e'], // __    // Combining down tack below
230
			['\\+',           '\u031f'], // +     // Combining plus sign below
231
			['_',             '\u0320'], // _     // Combining minus sign below
232
233
			['=>', '→'], // Not IPA sanctioned
234
			['s>', 'σ'], // Not IPA sanctioned
235
			['=<', '\u200d'] // Combining Grapheme Joiner
236
		]
237
	};
238
239
	$.ime.register( ipaSil );
240
} ( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/fonipa/ipa-x-sampa.js (+189 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ipaSil = {
5
		id: 'ipa-x-sampa',
6
		name: 'International Phonetic Alphabet - X-SAMPA',
7
		description: 'International Phonetic Alphabet - X-SAMPA',
8
		date: '2012-11-26',
9
		URL: 'http://www.phon.ucl.ac.uk/home/sampa/x-sampa.htm',
10
		author: 'mapping by John C. Wells; implementation by Amir E. Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 4,
15
		patterns: [
16
			// Tones
17
			['_/',         '\u030C'], // Combining caron
18
			['_\\\\',      '\u0302'], // Combining circumflex accent
19
			['_ɥ_T',       '\u1dc4'], // _H_T - Combining macron-acute
20
			['_β_L',       '\u1dc5'], // _B_L - Combining grave-macron
21
			['_ʁ_F',       '\u1dc8'], // _R_F - Combining grave-acute-grave
22
23
			['β\\\\',      'ʙ'],
24
			['p\\\\',      'ɸ'],
25
			['B',          'β'],
26
27
			['F',          'ɱ'],
28
			// ⱱ is not in X-SAMPA
29
			['P',          'ʋ'],
30
			['v\\\\',      'ʋ'],
31
32
			['T',          'θ'],
33
			['D',          'ð'],
34
35
			['4',          'ɾ'],
36
			['K',          'ɬ'],
37
			['ɬ\\\\',      'ɮ'],
38
			['r\\\\',      'ɹ'],
39
40
			['S',          'ʃ'],
41
			['Z',          'ʒ'],
42
43
			['t`',         'ʈ'],
44
			['d`',         'ɖ'],
45
			['n`',         'ɳ'],
46
			['r`',         'ɽ'],
47
			['s`',         'ʂ'],
48
			['z`',         'ʐ'],
49
			['ɹ`',         'ɻ'],
50
			['l`',         'ɭ'],
51
52
			['ɲ\\\\',      'ɟ'],
53
			['J',          'ɲ'],
54
			['C',          'ç'],
55
			['j\\\\',      'ʝ'],
56
			['L',          'ʎ'],
57
58
			['g',          'ɡ'],
59
			['_N',         '\u033c'], // Combining seagull below
60
			['N',          'ŋ'],
61
			['_G',         'ˠ'],
62
			['G',          'ɣ'],
63
			['ɯ\\\\',      'ɰ'],
64
			['ʎ\\\\',      'ʟ'],
65
66
			['ɣ\\\\',      'ɢ'],
67
			['ŋ\\\\',      'ɴ'],
68
			['ʁ\\\\',      'ʀ'],
69
			['_X',         '\u0306'], // Combining breve
70
			['X',          'χ'],
71
			['R',          'ʁ'],
72
73
			['χ\\\\',      'ħ'],
74
			['_ʔ\\\\',     'ˤ'],
75
			['ʔ\\\\',      'ʕ'],
76
77
			['\\?',        'ʔ'],
78
			['h\\\\',      'ɦ'],
79
80
			['ɔ\\\\',      'ʘ'],
81
			['ǀ\\|\\\\',   'ǁ'],
82
			['\\|\\\\',    'ǀ'],
83
			['ꜜ\\\\',      'ǃ'], // !\ -> Retroflex (postalveolar) click
84
			['_?=',        '\u0329'], // Combining vertical line below
85
			['\u0329\\\\', 'ǂ'],
86
87
			['b_<',        'ɓ'],
88
			['d_<',        'ɗ'],
89
			['ɟ_<',        'ʄ'],
90
			['ɡ_<',        'ɠ'],
91
			['ɢ_<',        'ʛ'],
92
93
			['W',          'ʍ'],
94
			['H',          'ɥ'],
95
			['ɥ\\\\',      'ʜ'],
96
			['<\\\\',      'ʢ'],
97
			['>\\\\',      'ʡ'],
98
99
			['s\\\\',      'ɕ'],
100
			['z\\\\',      'ʑ'],
101
			['l\\\\',      'ɺ'],
102
			['x\\\\',      'ɧ'],
103
104
			['I',          'ɪ'],
105
			['E',          'ɛ'],
106
			['\\{',        'æ'],
107
108
			['Y',          'ʏ'],
109
			['2',          'ø'],
110
			['9',          'œ'],
111
			['&',          'ɶ'],
112
113
			['1',          'ɨ'],
114
			['ə\\\\',      'ɘ'],
115
			['@',          'ə'],
116
			['ɜ\\\\',      'ɞ'],
117
			['3',          'ɜ'],
118
			['6',          'ɐ'],
119
			['_\\}',       '\u031a'],
120
			['\\}',        'ʉ'],
121
			['8',          'ɵ'],
122
123
			['M',          'ɯ'],
124
			['7',          'ɤ'],
125
			['V',          'ʌ'],
126
			['_A',         '\u0318'], // Combining right tack below
127
			['A',          'ɑ'],
128
			['U',          'ʊ'],
129
			['_O',         '\u0339'], // ++++  // Combining right half ring below
130
			['O',          'ɔ'],
131
			['Q',          'ɒ'],
132
133
			['%',          'ˌ'],
134
			['_"',         '\u0308'], // Combining diaeresis
135
			['"',          'ˈ'],
136
			['ː\\\\',      'ˑ'],
137
			[':',          'ː'],
138
			['\\.<',       '|'],
139
			['\\|\\|',     '‖'],
140
			['-\\\\',      '‿'],
141
142
			['<ʁ>',        '↗'], // <R>
143
			['<ɱ>',        '↘'], // <F>
144
			['!',          'ꜜ'],
145
			['_\\^',       '\u032f'], // Combining inverted breve below
146
			['\\^',        'ꜛ'],
147
148
			// Diacritics and suprasegmentals
149
			['_h',         'ʰ'],
150
			['_w',         'ʷ'],
151
			['_j',         'ʲ'],
152
			// see above for ˠ
153
			// see above for ˤ
154
			['_n',         'ⁿ'],
155
			['_l',         'ˡ'],
156
157
			['`',          '˞'],
158
			['_>',         'ʼ'],
159
			// See above for No audible release
160
			// See above for Syllabic
161
			// See above for Non-syllabic
162
			['_k',         '\u0330'], // Combining tilde below
163
164
			['([ɱɮɳɖʐɻɽɭɲɟʝjŋɡɣɰ])_0', '$1\u030a'], // Combining ring above
165
			['(.)_0',      '$1\u0325'], // Combining ring below
166
			['_v',         '\u032c'], // Combining caron below
167
			['_t',         '\u0324'], // Combining diaeresis below
168
			['_d',         '\u032a'], // Combining bridge below
169
			['_a',         '\u033a'], // Combining inverted bridge below
170
			['_m',         '\u033b'], // Combining square below
171
			// See above for linguolabial
172
			['_?~',        '\u0303'], // Combining tilde
173
			['_e',         '\u0334'], // Combining tilde overlay
174
			// See above for centralised
175
			['_x',         '\u033d'], // Combining x above
176
			// See above for extra short
177
			['_\\+',       '\u031f'], // Combining plus sign below
178
			['_-',         '\u0320'], // Combining minus sign below
179
			['_r',         '\u031d'], // Combining up tack below
180
			['_o',         '\u031e'], // Combining down tack below
181
			// See above for advanced tongue root
182
			['_q',         '\u0319'], // Combining left tack below
183
			// See above for more rounded
184
			['_c',         '\u031c']
185
		]
186
	};
187
188
	$.ime.register( ipaSil );
189
} ( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/gom/gom-inscript2.js (+119 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var gomInScript2 = {
5
		id: 'gom-inscript2',
6
		name: 'कोंकणी इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Kokani language',
8
		date: '2012-11-06',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\!', 'ॲ'],
14
			['1', '१'],
15
			['\\@', 'ॅ'],
16
			['2', '२'],
17
			['\\#', '्र'],
18
			['3', '३'],
19
			['\\$', 'र्'],
20
			['4', '४'],
21
			['5', '५'],
22
			['6', '६'],
23
			['7', '७'],
24
			['8', '८'],
25
			['\\(', '('],
26
			['9', '९'],
27
			['\\]', ']'],
28
			['0', '०'],
29
			['\\_', 'ः'],
30
			['\\-', '-'],
31
			['\\+', 'ऋ'],
32
			['\\=', 'ृ'],
33
			['Q', 'औ'],
34
			['q', 'ौ'],
35
			['W', 'ऐ'],
36
			['w', 'ै'],
37
			['E', 'आ'],
38
			['e', 'ा'],
39
			['R', 'ई'],
40
			['r', 'ी'],
41
			['T', 'ऊ'],
42
			['t', 'ू'],
43
			['Y', 'भ'],
44
			['y', 'ब'],
45
			['U', 'ङ'],
46
			['u', 'ह'],
47
			['I', 'घ'],
48
			['i', 'ग'],
49
			['O', 'ध'],
50
			['o', 'द'],
51
			['P', 'झ'],
52
			['p', 'ज'],
53
			['\\{', 'ढ'],
54
			['\\[', 'ड'],
55
			['\\}', 'ञ'],
56
			['\\]', '़'],
57
			['A', 'ओ'],
58
			['a', 'ो'],
59
			['S', 'ए'],
60
			['s', 'े'],
61
			['D', 'अ'],
62
			['d', '्'],
63
			['F', 'इ'],
64
			['f', 'ि'],
65
			['G', 'उ'],
66
			['g', 'ु'],
67
			['H', 'फ'],
68
			['h', 'प'],
69
			['J', 'ऱ'],
70
			['j', 'र'],
71
			['K', 'ख'],
72
			['k', 'क'],
73
			['L', 'थ'],
74
			['l', 'त'],
75
			[':', 'छ'],
76
			[';', 'च'],
77
			['"', 'ठ'],
78
			['\\\'', 'ट'],
79
			['X', 'ँ'],
80
			['x', 'ं'],
81
			['C', 'ण'],
82
			['c', 'म'],
83
			['v', 'न'],
84
			['b', 'व'],
85
			['N', 'ळ'],
86
			['n', 'ल'],
87
			['M', 'श'],
88
			['m', 'स'],
89
			['\\<', 'ष'],
90
			[',', ','],
91
			['\\>', '।'],
92
			['\\.', '.'],
93
			['/', 'य'],
94
			['\\%', 'ज्ञ'],
95
			['\\^', 'त्र'],
96
			['\\&', 'क्ष'],
97
			['\\*', 'श्र']
98
		],
99
		patterns_x: [
100
			['1', '\u200d'],
101
			['2', '\u200c'],
102
			['4', '₹'],
103
			['\\+', 'ॠ'],
104
			['\\=', 'ॄ'],
105
			['e', '॑'],
106
			['R', 'ॡ'],
107
			['r', 'ॣ'],
108
			['d', '॒'],
109
			['F', 'ऌ'],
110
			['f', 'ॢ'],
111
			['X', 'ॐ'],
112
			[',', '॰'],
113
			['\\>', 'ऽ'],
114
			['\\.', '॥']
115
		]
116
	};
117
118
	$.ime.register( gomInScript2 );
119
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/gu/gu-inscript.js (+113 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var guInscript = {
5
		id: 'gu-inscript',
6
		name: 'ઇનસ્ક્રિપ્ટ',
7
		description: 'Inscript keyboard for Gujarati script',
8
		date: '2012-10-14',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['X', '\u0A81'],
14
			['x', '\u0A82'],
15
			['_', '\u0A83'],
16
			['D', '\u0A85'],
17
			['E', '\u0A86'],
18
			['F', '\u0A87'],
19
			['R', '\u0A88'],
20
			['G', '\u0A89'],
21
			['T', '\u0A8A'],
22
			['\\+', '\u0A8B'],
23
			['!', '\u0A8D'],
24
			['S', '\u0A8F'],
25
			['W', '\u0A90'],
26
			['\\|', '\u0A91'],
27
			['A', '\u0A93'],
28
			['Q', '\u0A94'],
29
			['k', '\u0A95'],
30
			['K', '\u0A96'],
31
			['i', '\u0A97'],
32
			['I', '\u0A98'],
33
			['U', '\u0A99'],
34
			[';', '\u0A9A'],
35
			['\\:', '\u0A9B'],
36
			['p', '\u0A9C'],
37
			['P', '\u0A9D'],
38
			['\\}', '\u0A9E'],
39
			['\'', '\u0A9F'],
40
			['"', '\u0AA0'],
41
			['\\[', '\u0AA1'],
42
			['\\{', '\u0AA2'],
43
			['C', '\u0AA3'],
44
			['l', '\u0AA4'],
45
			['L', '\u0AA5'],
46
			['o', '\u0AA6'],
47
			['O', '\u0AA7'],
48
			['v', '\u0AA8'],
49
			['h', '\u0AAA'],
50
			['H', '\u0AAB'],
51
			['y', '\u0AAC'],
52
			['Y', '\u0AAD'],
53
			['c', '\u0AAE'],
54
			['/', '\u0AAF'],
55
			['j', '\u0AB0'],
56
			['n', '\u0AB2'],
57
			['N', '\u0AB3'],
58
			['b', '\u0AB5'],
59
			['M', '\u0AB6'],
60
			['\\<', '\u0AB7'],
61
			['m', '\u0AB8'],
62
			['u', '\u0AB9'],
63
			['\\}', '\u0ABC'],
64
			['e', '\u0ABE'],
65
			['f', '\u0ABF'],
66
			['r', '\u0AC0'],
67
			['g', '\u0AC1'],
68
			['t', '\u0AC2'],
69
			['\\=', '\u0AC3'],
70
			['\\@', '\u0AC5'],
71
			['s', '\u0AC7'],
72
			['w', '\u0AC8'],
73
			['\\\\', '\u0AC9'],
74
			['a', '\u0ACB'],
75
			['q', '\u0ACC'],
76
			['d', '\u0ACD'],
77
			['\\>', '\u0AE4'],
78
			['0', '\u0AE6'],
79
			['1', '\u0AE7'],
80
			['2', '\u0AE8'],
81
			['3', '\u0AE9'],
82
			['4', '\u0AEA'],
83
			['5', '\u0AEB'],
84
			['6', '\u0AEC'],
85
			['7', '\u0AED'],
86
			['8', '\u0AEE'],
87
			['9', '\u0AEF'],
88
			['\\#', '\u0ACD\u0AB0'],
89
			['\\$', '\u0AB0\u0ACD'],
90
			['\\%', '\u0A9C\u0ACD\u0A9E'],
91
			['\\^', '\u0AA4\u0ACD\u0AB0'],
92
			['\\&', '\u0A95\u0ACD\u0AB7'],
93
			['\\*', '\u0AB6\u0ACD\u0AB0'],
94
			['\\(', '\u200D'],
95
			['\\)', '\u200C'] ],
96
97
		patterns_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
112
	$.ime.register( guInscript );
113
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/gu/gu-inscript2.js (+118 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var guInScript2 = {
5
		id: 'gu-inscript2',
6
		name: 'ઇનસ્ક્રિપ્ટ ૨',
7
		description: 'Enhanced InScript keyboard for Gujarati script',
8
		date: '2013-11-15',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['!', 'ઍ'],
14
			['1', '૧'],
15
			['\\@', 'ૅ'],
16
			['2', '૨'],
17
			['\\#', '્ર'],
18
			['3', '૩'],
19
			['\\$', 'ર્'],
20
			['4', '૪'],
21
			['5', '૫'],
22
			['6', '૬'],
23
			['7', '૭'],
24
			['8', '૮'],
25
			['\\(', '('],
26
			['9', '૯'],
27
			['\\)', ')'],
28
			['0', '૦'],
29
			['\\_', 'ઃ'],
30
			['\\-', '-'],
31
			['\\+', 'ઋ'],
32
			['\\=', 'ૃ'],
33
			['Q', 'ઔ'],
34
			['q', 'ૌ'],
35
			['W', 'ઐ'],
36
			['w', 'ૈ'],
37
			['E', 'આ'],
38
			['e', 'ા'],
39
			['R', 'ઈ'],
40
			['r', 'ી'],
41
			['T', 'ઊ'],
42
			['t', 'ૂ'],
43
			['Y', 'ભ'],
44
			['y', 'બ'],
45
			['U', 'ઙ'],
46
			['u', 'હ'],
47
			['I', 'ઘ'],
48
			['i', 'ગ'],
49
			['O', 'ધ'],
50
			['o', 'દ'],
51
			['P', 'ઝ'],
52
			['p', 'જ'],
53
			['\\{', 'ઢ'],
54
			['\\[', 'ડ'],
55
			['\\}', 'ઞ'],
56
			['\\]', '઼'],
57
			['A', 'ઓ'],
58
			['a', 'ો'],
59
			['S', 'એ'],
60
			['s', 'ે'],
61
			['D', 'અ'],
62
			['d', '્'],
63
			['F', 'ઇ'],
64
			['f', 'િ'],
65
			['G', 'ઉ'],
66
			['g', 'ુ'],
67
			['H', 'ફ'],
68
			['h', 'પ'],
69
			['j', 'ર'],
70
			['K', 'ખ'],
71
			['k', 'ક'],
72
			['L', 'થ'],
73
			['l', 'ત'],
74
			[':', 'છ'],
75
			[';', 'ચ'],
76
			['\"', 'ઠ'],
77
			['\\\'', 'ટ'],
78
			['\\|', 'ઑ'],
79
			['\\', 'ૉ'],
80
			['X', 'ઁ'],
81
			['x', 'ં'],
82
			['C', 'ણ'],
83
			['c', 'મ'],
84
			['v', 'ન'],
85
			['b', 'વ'],
86
			['N', 'ળ'],
87
			['n', 'લ'],
88
			['M', 'શ'],
89
			['m', 'સ'],
90
			['\\<', 'ષ'],
91
			[',', ','],
92
			['\\>', '।'],
93
			['\\.', '.'],
94
			['/', 'ય'],
95
			['\\%', 'જ્ઞ'],
96
			['\\^', 'ત્ર'],
97
			['\\&', 'ક્ષ'],
98
			['\\*', 'શ્ર']
99
		],
100
		patterns_x: [
101
			['1', '\u200d'],
102
			['2', '\u200c'],
103
			['4', '₹'],
104
			['\\+', 'ૠ'],
105
			['\\=', 'ૄ'],
106
			['R', 'ૡ'],
107
			['r', 'ૣ'],
108
			['F', 'ઌ'],
109
			['f', 'ૢ'],
110
			['X', 'ૐ'],
111
			[',', '૱'],
112
			['\\>', '૥'],
113
			['\\.', 'ઽ']
114
		]
115
	};
116
117
	$.ime.register( guInScript2 );
118
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/gu/gu-phonetic.js (+110 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var guPhonetic = {
5
		id: 'gu-phonetic',
6
		name: 'ફોનૅટિક',
7
		description: 'Phonetic keyboard for Gujarati script',
8
		date: '2013-11-15',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\~', 'ઍ'],
14
			['\\`', 'ૅ'],
15
			['\\!', '!'],
16
			['1', '૧'],
17
			['\\@', '@'],
18
			['2', '૨'],
19
			['\\#', '#'],
20
			['3', '૩'],
21
			['\\$', '$'],
22
			['4', '૪'],
23
			['\\&', '૱'],
24
			['5', '૫'],
25
			['6', '૬'],
26
			['7', '૭'],
27
			['8', '૮'],
28
			['\\(', '('],
29
			['9', '૯'],
30
			['\\)', ')'],
31
			['0', '૦'],
32
			['\\_', '_'],
33
			['\\-', '-'],
34
			['\\+', '+'],
35
			['\\=', '='],
36
			['Q', 'ઔ'],
37
			['q', 'ઓ'],
38
			['W', 'ઠ'],
39
			['w', 'ટ'],
40
			['E', 'ૈ'],
41
			['e', 'ે'],
42
			['R', 'ૃ'],
43
			['r', 'ર'],
44
			['T', 'થ'],
45
			['t', 'ત'],
46
			['Y', 'ય઼'],
47
			['y', 'ય'],
48
			['U', 'ૂ'],
49
			['u', 'ુ'],
50
			['I', 'ી'],
51
			['i', 'િ'],
52
			['O', 'ૌ'],
53
			['o', 'ો'],
54
			['P', 'ફ'],
55
			['p', 'પ'],
56
			['\\{', 'ઢ'],
57
			['\\[', 'ડ'],
58
			['\\}', 'ર઼'],
59
			['\\]', 'ઋ'],
60
			['A', 'આ'],
61
			['a', 'ા'],
62
			['S', 'શ'],
63
			['s', 'સ'],
64
			['D', 'ધ'],
65
			['d', 'દ'],
66
			['F', 'અ'],
67
			['f', '્'],
68
			['G', 'ઘ'],
69
			['g', 'ગ'],
70
			['H', 'ઃ'],
71
			['h', 'હ'],
72
			['J', 'ઝ'],
73
			['j', 'જ'],
74
			['K', 'ખ'],
75
			['k', 'ક'],
76
			['L', 'ળ'],
77
			['l', 'લ'],
78
			[':', 'ઈ'],
79
			[';', 'ઇ'],
80
			['"', 'ઊ'],
81
			['\\\'', 'ઉ'],
82
			['\\|', 'ઑ'],
83
			['\\\\', 'ૉ'],
84
			['Z', 'ઁ'],
85
			['z', 'ઙ'],
86
			['x', 'ષ'],
87
			['C', 'છ'],
88
			['c', 'ચ'],
89
			['V', 'ઽ'],
90
			['v', 'વ'],
91
			['B', 'ભ'],
92
			['b', 'બ'],
93
			['N', 'ણ'],
94
			['n', 'ન'],
95
			['M', 'ં'],
96
			['m', 'મ'],
97
			['\\<', 'ૐ'],
98
			[',', ','],
99
			['\\>', '઼'],
100
			['\\.', '.'],
101
			['\\?', 'ઐ'],
102
			['/', 'એ'],
103
			['X', 'ક્ષ'],
104
			['\\%', 'જ્ઞ'],
105
			['\\^', 'ત્ર'],
106
			['\\*', 'શ્ર']]
107
	};
108
109
	$.ime.register( guPhonetic );
110
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/gu/gu-transliteration.js (+156 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var guTransliteration = {
5
		id: 'gu-transliteration',
6
		name: 'લિપ્યાંતરણ',
7
		description: 'Gujarati transliteration',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Jaldeep R Vasavada ([[User:JaldeepVasavada]]) / Amir E. Aharoni ([[User:Amire80]])',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 2,
14
		maxKeyLength: 4,
15
		patterns: [
16
			['ક્h', 'c', 'ચ'],
17
			['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
18
19
			['([ક-હ]઼?)્a', '$1'],
20
			['([ક-હ]઼?)્A', '$1ા'],
21
			['([ક-હ]઼?)a', '$1ા'],
22
			['([ક-હ]઼?)્i', '$1િ'],
23
			['([ક-હ]઼?)(્I|િi|ેe)', '$1ી'],
24
			['([ક-હ]઼?)્u', '$1ુ'],
25
			['([ક-હ]઼?)(ુu|્U|ોo)', '$1ૂ'],
26
			['([ક-હ]઼?)્R', '$1ૃ'],
27
			['([ક-હ]઼?)ૃR', '$1ૄ'],
28
			['([ક-હ]઼?)ે\\^', '$1ૅ'],
29
			['([ક-હ]઼?)્e', '$1ે'],
30
			['([ક-હ]઼?)્E', '$1ૅ'],
31
			['([ક-હ]઼?)ો\\^', '$1ૉ'],
32
			['([ક-હ]઼?)i', '$1ૈ'],
33
			['([ક-હ]઼?)્o', '$1ો'],
34
			['([ક-હ]઼?)્O', '$1ૉ'],
35
			['([ક-હ]઼?)u', '$1ૌ'],
36
37
			['([ક-હ]઼?)ૃa', '$1્ર'],
38
			['([ક-હ]઼?)ૃA', '$1્રા'],
39
			['([ક-હ]઼?)ૃi', '$1્રિ'],
40
			['([ક-હ]઼?)ૃI', '$1્રી'],
41
			['([ક-હ]઼?)ૃu', '$1્રુ'],
42
			['([ક-હ]઼?)ૃU', '$1્રૂ'],
43
			['([ક-હ]઼?)ૃ\\^', '$1્રૅ'],
44
			['([ક-હ]઼?)ૃe', '$1્રે'],
45
			['([ક-હ]઼?)ૃE', '$1્રૅ'],
46
			['([ક-હ]઼?)ૃo', '$1્રો'],
47
			['([ક-હ]઼?)ૃO', '$1્રો'],
48
			['([ક-હ]઼?)ૃ\\~', '$1્ર્'],
49
50
			['([ક-હ])્J', '$1઼્'],
51
52
			['અa', 'આ'],
53
			['(ઑo|ઉu)', 'ઊ'],
54
			['ઍ\\^', 'એ'],
55
			['અi', 'ઐ'],
56
			['અ\\^', 'ઍ'],
57
			['(ઇi|ઍe)', 'ઈ'],
58
			['ઑ\\^', 'ઓ'],
59
			['અu', 'ઔ'],
60
			['ઋR', 'ૠ'],
61
			['ળ્l', 'ઌ'],
62
			['ઌl', 'ૡ'],
63
			['ં\\^', 'ઁ'],
64
			['ઑM', 'ૐ'],
65
66
			['રY', 'ર્ય'],
67
68
			['ક્h', 'ખ્'], // kh
69
			['ગ્h', 'ઘ્'], // gh
70
			['ન્g', 'ઙ્'], // ng
71
			['ચ્h', 'છ્'], // chh
72
			['જ્h', 'ઝ્'], // jh
73
			['જ્n', 'જ્ઞ્'], // jn
74
			['ગ્n', 'જ્ઞ્'], //gn
75
			['ન્j', 'ઞ્'], // ny
76
			['ટ્h', 'ઠ્'], // Th
77
			['ડ્h', 'ઢ્'], // Dh
78
			['ત્h', 'થ્'], // th
79
			['દ્h', 'ધ્'], // dh
80
			['પ્h', 'ફ્'], // ph
81
			['બ્h', 'ભ્'], // bh
82
83
			['ઋa', 'ર'],
84
			['ઋA', 'રા'],
85
			['ઋi', 'રિ'],
86
			['ઋI', 'રી'],
87
			['ઋu', 'રુ'],
88
			['ઋU', 'રૂ'],
89
			['ઋ\\^', 'રૅ'],
90
			['ઋe', 'રે'],
91
			['ઋE', 'રૅ'],
92
			['ઋo', 'રો'],
93
			['ઋ\\~', 'ર્'],
94
95
			['સ્h', 'શ્'],
96
			['ક઼્h', 'ખ'],
97
98
			['a', 'અ'],
99
			['b', 'બ્'],
100
			['c', 'ચ્'],
101
			['d', 'દ્'],
102
			['e', 'એ'],
103
			['f', 'ફ્'],
104
			['g', 'ગ્'],
105
			['h', 'હ્'],
106
			['i', 'ઇ'],
107
			['j', 'જ્'],
108
			['k', 'ક્'],
109
			['l', 'લ્'],
110
			['m', 'મ્'],
111
			['n', 'ન્'],
112
			['o', 'ઓ'],
113
			['p', 'પ્'],
114
			['r', 'ર્'],
115
			['s', 'સ્'],
116
			['t', 'ત્'],
117
			['u', 'ઉ'],
118
			['(v|w)', 'વ્'],
119
			['x', 'ક્ષ્'],
120
			['y', 'ય્'],
121
			['(z|Z)', 'ઝ્'],
122
			['A', 'આ'],
123
			['D', 'ડ્'],
124
			['E', 'ઍ'],
125
			['F', 'ફ્'],
126
			['H', 'ઃ'],
127
			['I', 'ઈ'],
128
			['L', 'ળ્'],
129
			['M', 'ં'],
130
			['N', 'ણ્'],
131
			['O', 'ઑ'],
132
			['R', 'ઋ'],
133
			['S', 'ષ્'],
134
			['T', 'ટ્'],
135
			['U', 'ઊ'],
136
			['0', '૦'],
137
			['1', '૧'],
138
			['2', '૨'],
139
			['3', '૩'],
140
			['4', '૪'],
141
			['5', '૫'],
142
			['6', '૬'],
143
			['7', '૭'],
144
			['8', '૮'],
145
			['9', '૯'],
146
147
			// Danda characters are only needed in some text, so '.' is not mapped to it.
148
			['।K', '॥'], // Double danda, must be before danda
149
			['K', '।'], // Danda
150
			['//', 'ઽ'],
151
			['J', '઼'], // Nukta
152
			['(\u200C)*`', '\u200C']] // ZWNJ
153
	};
154
155
	$.ime.register( guTransliteration );
156
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/he/he-standard-2012-extonly.js (+66 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var heStandardExtOnly = {
5
		id: 'he-standard-2012-extonly',
6
		name: 'Hebrew 2012',
7
		description: 'Hebrew keyboard according to Israeli Standard 1452',
8
		date: '2012-10-15',
9
		URL: 'http://www.lingnu.com/he/howto/78-si1452.html',
10
		author: 'Amir E. Aharoni (אָמִיר אֱלִישָׁע אַהֲרוֹנִי, [[User:Amire80]])',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [], //// Empty, because the assumption is that the user is using a Hebrew keyboard already
14
		patterns_x: [
15
			['\u05E9', 'ְ'],       // Sheva, ש
16
17
			['\u05E7', 'ָ'],       // Qamats, ק
18
			['\u05E8', 'ֳ'],       // Hataf qamats, ר
19
			['\u05E4', 'ַ'],       // Patah, פ
20
			['\\]', 'ֲ'],          // Hataf patah, ]
21
22
			['\u05E6', 'ֵ'],       // Tsere, צ
23
			['\u05E1', 'ֶ'],       // Segol, ס
24
			['\u05D1', 'ֱ'],       // Hataf segol, ב
25
26
			['\u05D7', 'ִ'],       // Hiriq, ח
27
28
			['\u05D5', 'ֹ'],       // Holam, ו
29
30
			['\\\\', 'ֻ'],         // Qubuts, \
31
32
			['\u05D3', 'ּ'],       // Dagesh, ד
33
34
			['/', 'ׂ'],            // Sin dot
35
			['\'', 'ׁ'],           // Shin dot
36
37
			['-', '\u05BE'],      // Maqaf
38
			['=', '–'],           // Qav mafrid - en dash
39
			['\\[', 'ֿ'],          // Rafe
40
			['1', 'ֽ'],            // Meteg
41
			['3', '€'],           // Euro sign
42
			['4', '₪'],           // Sheqel sign
43
			['5', '°'],           // Degree
44
			['6', '֫'],           // Ole
45
			['8', '×'],           // Multiplication
46
			['9', '\u200e'],      // LRM
47
			['0', '\u200f'],      // RLM
48
			['\\.', '÷'],         // Division
49
50
			['\u05D8', 'װ'],      // Double vav, ט
51
			['\u05D9', 'ײ'],      // Double yod, י
52
			['\u05E2', 'ױ'],      // Vav-yod, ע
53
54
			// Some source code editors may show the next two lines
55
			// in a weird way because of auto-directionality.
56
			[';', '׳'],      // Geresh, ';'
57
			[',', '״'],      // Gershayim, ','
58
			['\u05E3', '„'],      // Opening double quote, ף
59
			['\u05DA', '”'],      // Closing double quote, ך
60
			['\u05E5', '‚'],      // Opening single quote, ץ
61
			['\u05EA', '’']       // Closing single quote, ת
62
		]
63
	};
64
65
	$.ime.register( heStandardExtOnly );
66
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/he/he-standard-2012.js (+117 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var heStandard = {
5
		id: 'he-standard-2012',
6
		name: 'Hebrew 2012 (from English)',
7
		description: 'Hebrew keyboard according to Israeli Standard 1452',
8
		date: '2012-10-15',
9
		URL: 'http://www.lingnu.com/he/howto/78-si1452.html',
10
		author: 'Amir E. Aharoni (אָמִיר אֱלִישָׁע אַהֲרוֹנִי, [[User:Amire80]])',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			[ 'q', '/' ],
17
			[ 'w', '\'' ],
18
			[ 'e', 'ק' ],
19
			[ 'r', 'ר' ],
20
			[ 't', 'א' ],
21
			[ 'y', 'ט' ],
22
			[ 'u', 'ו' ],
23
			[ 'i', 'ן' ],
24
			[ 'o', 'ם' ],
25
			[ 'p', 'פ' ],
26
27
			[ 'a', 'ש' ],
28
			[ 's', 'ד' ],
29
			[ 'd', 'ג' ],
30
			[ 'f', 'כ' ],
31
			[ 'g', 'ע' ],
32
			[ 'h', 'י' ],
33
			[ 'j', 'ח' ],
34
			[ 'k', 'ל' ],
35
			[ 'l', 'ך' ],
36
			[ ';', 'ף' ],
37
			[ '\'', ',' ],
38
39
			[ 'z', 'ז' ],
40
			[ 'x', 'ס' ],
41
			[ 'c', 'ב' ],
42
			[ 'v', 'ה' ],
43
			[ 'b', 'נ' ],
44
			[ 'n', 'מ' ],
45
			[ 'm', 'צ' ],
46
			[ ',', 'ת' ],
47
			[ '\\.', 'ץ' ],
48
			[ '/', '.' ],
49
50
			[ '`', ';' ],
51
52
			// These characters are mirrored in RTL languages
53
			[ '\\(', ')' ],
54
			[ '\\)', '(' ],
55
			[ '\\[', ']' ],
56
			[ '\\]', '[' ],
57
			[ '{', '}' ],
58
			[ '}', '{' ],
59
			[ '<', '>' ],
60
			[ '>', '<' ]
61
		],
62
63
		// Your text editor may show the resulting characters in
64
		// the next lines as empty. These are diacritics.
65
		patterns_x: [
66
			[ 'a', 'ְ' ], // Sheva
67
68
			[ 'e', 'ָ' ], // Qamats
69
			[ 'r', 'ֳ' ], // Hataf qamats
70
			[ 'p', 'ַ' ], // Patah
71
			[ '\\[', 'ֲ' ], // Hataf patah
72
73
			[ 'm', 'ֵ' ], // Tsere
74
			[ 'x', 'ֶ' ], // Segol
75
			[ 'c', 'ֱ' ], // Hataf segol
76
77
			[ 'j', 'ִ' ], // Hiriq
78
79
			[ 'u', 'ֹ' ], // Holam
80
81
			[ '\\\\', 'ֻ' ], // Qubuts
82
83
			[ 's', 'ּ' ], // Dagesh
84
85
			[ 'q', 'ׂ' ], // Sin dot
86
			[ 'w', 'ׁ' ], // Shin dot
87
88
			[ '-', '־' ], // Maqaf
89
			[ '=', '–' ], // Qav mafrid - en dash
90
			[ '\\]', 'ֿ' ], // Rafe
91
			[ '1', 'ֽ' ], // Meteg
92
			[ '3', '€' ], // Euro sign
93
			[ '4', '₪' ], // Sheqel sign
94
			[ '5', '°' ], // Degree
95
			[ '6', '֫' ], // Ole
96
			[ '8', '×' ], // Multiplication
97
			[ '9', '\u200e' ], // LRM
98
			[ '0', '\u200f' ], // RLM
99
			[ '/', '÷' ], // Division
100
101
			[ 'y', 'װ' ], // Double vav
102
			[ 'h', 'ײ' ], // Double yod
103
			[ 'H', 'ײַ' ], // Yod yod patah
104
			[ 'g', 'ױ' ], // Vav-yod
105
106
			[ '`', '׳' ], // Geresh
107
			[ '\'', '״' ], // Gershayim
108
			[ ';', '„' ], // Opening double quote
109
			[ 'l', '”' ], // Closing double quote
110
			[ '\\.', '‚' ], // Opening single quote
111
			[ ',', '’' ] // Closing single quote
112
		]
113
	};
114
115
	$.ime.register( heStandard );
116
117
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hi/hi-bolnagri.js (+108 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiBolNagri = {
5
		id: 'hi-bolnagri',
6
		name: 'बोलनागरी',
7
		description: 'BolNagri phonetic keymap for Devanagari script',
8
		date: '2012-03-28',
9
		URL: 'http://www.indlinux.org/wiki/index.php/BolNagri',
10
		author: 'G Karunakar',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 1,
15
		patterns: [
16
			[ 'a', 'ा' ],
17
			[ 'b', 'ब' ],
18
			[ 'c', 'च' ],
19
			[ 'd', 'द' ],
20
			[ 'e', 'े' ],
21
			[ 'f', 'ट' ],
22
			[ 'g', 'ग' ],
23
			[ 'h', 'ह' ],
24
			[ 'i', 'ि' ],
25
			[ 'j', 'ज' ],
26
			[ 'k', 'क' ],
27
			[ 'l', 'ल' ],
28
			[ 'm', 'म' ],
29
			[ 'n', 'न' ],
30
			[ 'o', 'ो' ],
31
			[ 'p', 'प' ],
32
			[ 'q', '\u200C' ], // ZWNJ
33
			[ 'r', 'र' ],
34
			[ 's', 'स' ],
35
			[ 't', 'त' ],
36
			[ 'u', 'ु' ],
37
			[ 'v', 'ड' ],
38
			[ 'w', 'व' ],
39
			[ 'x', '्' ], // Halant
40
			[ 'y', 'य' ],
41
			[ 'z', 'श' ],
42
			[ 'A', 'आ' ],
43
			[ 'B', 'भ' ],
44
			[ 'C', 'छ' ],
45
			[ 'D', 'ध' ],
46
			[ 'E', 'ै' ],
47
			[ 'F', 'ठ' ],
48
			[ 'G', 'घ' ],
49
			[ 'H', 'ः' ], // Visarga
50
			[ 'I', 'ी' ],
51
			[ 'J', 'झ' ],
52
			[ 'K', 'ख' ],
53
			[ 'L', 'ळ' ],
54
			[ 'M', 'ऽ' ],
55
			[ 'N', 'ण' ],
56
			[ 'O', 'ौ' ],
57
			[ 'P', 'फ' ],
58
			[ 'Q', '\u200D' ], // ZWJ
59
			[ 'R', 'ृ' ],
60
			[ 'S', 'ष' ],
61
			[ 'T', 'थ' ],
62
			[ 'U', 'ू' ],
63
			[ 'V', 'ढ' ],
64
			[ 'W', 'ॐ' ],
65
			[ 'X', 'ॉ' ],
66
			[ 'Y', 'ञ' ],
67
			[ 'Z', 'ॅ' ],
68
			[ '\\$', '₹' ],
69
			[ '\\`', 'ं' ],
70
			[ '\\~', 'ँ' ],
71
			[ '\\\\', '।' ], // Danda
72
			[ '\\|', '॥' ],
73
			[ '\\.', '़' ],
74
			[ '\\<', '॰' ] ],
75
76
		patterns_x: [
77
			[ 'a', 'अ' ],
78
			[ 'A', 'आ' ],
79
			[ 'i', 'इ' ],
80
			[ 'I', 'ई' ],
81
			[ 'u', 'उ' ],
82
			[ 'U', 'ऊ' ], // altgr+U triggers file upload!
83
			[ 'e', 'ए' ],
84
			[ 'E', 'ऐ' ],
85
			[ 'o', 'ओ' ],
86
			[ 'O', 'औ' ],
87
			[ 'r', 'ऱ' ],
88
			[ 'R', 'ऋ' ],
89
			[ 'Z', 'ऍ' ],
90
			[ 'X', 'ऑ' ],
91
			[ 'l', 'ॢ' ],
92
			[ 'L', 'ऌ' ],
93
			// Dev digits
94
			[ '0', '०' ],
95
			[ '1', '१' ],
96
			[ '2', '२' ],
97
			[ '3', '३' ],
98
			[ '4', '४' ],
99
			[ '5', '५' ],
100
			[ '6', '६' ],
101
			[ '7', '७' ],
102
			[ '8', '८' ],
103
			[ '9', '९' ] ]
104
105
	};
106
107
	$.ime.register( hiBolNagri );
108
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hi/hi-inscript.js (+122 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiInScript = {
5
		id: 'hi-inscript',
6
		name: 'इनस्क्रिप्ट',
7
		description: 'InScript keyboard for Devanagari script',
8
		date: '2011-02-26',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		contextLength: 0,
13
		maxKeyLength: 1,
14
		patterns: [
15
			[ 'X', '\u0901' ],
16
			[ 'x', '\u0902' ],
17
			[ '_', '\u0903' ],
18
			[ 'D', '\u0905' ],
19
			[ 'E', '\u0906' ],
20
			[ 'F', '\u0907' ],
21
			[ 'R', '\u0908' ],
22
			[ 'G', '\u0909' ],
23
			[ 'T', '\u090A' ],
24
			[ '\\+', '\u090B' ],
25
			[ '!', '\u090D' ],
26
			[ 'S', '\u090F' ],
27
			[ 'W', '\u0910' ],
28
			[ '\\|', '\u0911' ],
29
			[ 'A', '\u0913' ],
30
			[ 'Q', '\u0914' ],
31
			[ 'k', '\u0915' ],
32
			[ 'K', '\u0916' ],
33
			[ 'i', '\u0917' ],
34
			[ 'I', '\u0918' ],
35
			[ 'U', '\u0919' ],
36
			[ ';', '\u091A' ],
37
			[ '\\:', '\u091B' ],
38
			[ 'p', '\u091C' ],
39
			[ 'P', '\u091D' ],
40
			[ '\\}', '\u091E' ],
41
			[ '\'', '\u091F' ],
42
			[ '"', '\u0920' ],
43
			[ '\\[', '\u0921' ],
44
			[ '\\{', '\u0922' ],
45
			[ 'C', '\u0923' ],
46
			[ 'l', '\u0924' ],
47
			[ 'L', '\u0925' ],
48
			[ 'o', '\u0926' ],
49
			[ 'O', '\u0927' ],
50
			[ 'v', '\u0928' ],
51
			[ 'h', '\u092A' ],
52
			[ 'H', '\u092B' ],
53
			[ 'y', '\u092C' ],
54
			[ 'Y', '\u092D' ],
55
			[ 'c', '\u092E' ],
56
			[ '/', '\u092F' ],
57
			[ 'j', '\u0930' ],
58
			[ 'n', '\u0932' ],
59
			[ 'b', '\u0935' ],
60
			[ 'M', '\u0936' ],
61
			[ '\\<', '\u0937' ],
62
			[ 'm', '\u0938' ],
63
			[ 'u', '\u0939' ],
64
			[ '\\]', '\u093C' ],
65
			[ 'e', '\u093E' ],
66
			[ 'f', '\u093F' ],
67
			[ 'r', '\u0940' ],
68
			[ 'g', '\u0941' ],
69
			[ 't', '\u0942' ],
70
			[ '\\=', '\u0943' ],
71
			[ '\\@', '\u0945' ],
72
			[ 's', '\u0947' ],
73
			[ 'w', '\u0948' ],
74
			[ '\\\\', '\u0949' ],
75
			[ 'a', '\u094B' ],
76
			[ 'q', '\u094C' ],
77
			[ 'd', '\u094D' ],
78
			[ '\\>', '\u0964' ],
79
			[ '0', '\u0966' ],
80
			[ '1', '\u0967' ],
81
			[ '2', '\u0968' ],
82
			[ '3', '\u0969' ],
83
			[ '4', '\u096A' ],
84
			[ '5', '\u096B' ],
85
			[ '6', '\u096C' ],
86
			[ '7', '\u096D' ],
87
			[ '8', '\u096E' ],
88
			[ '9', '\u096F' ],
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
		patterns_x: [
99
			[ 'F', '\u090C' ],
100
			[ 'N', '\u0933' ],
101
			[ '\\>', '\u093D' ],
102
			[ '\\=', '\u0944' ],
103
			[ 'X', '\u0950' ],
104
			[ 'e', '\u0951' ],
105
			[ 'd', '\u0952' ],
106
			[ 'k', '\u0958' ],
107
			[ 'K', '\u0959' ],
108
			[ 'i', '\u095A' ],
109
			[ 'p', '\u095B' ],
110
			[ '\\[', '\u095C' ],
111
			[ '\\+', '\u0960' ],
112
			[ 'R', '\u0961' ],
113
			[ 'f', '\u0962' ],
114
			[ 'r', '\u0963' ],
115
			[ '\\.', '\u0965' ],
116
			[ ',', '\u0970' ],
117
			[ '\\$', '\u20B9' ] ]
118
119
	};
120
121
	$.ime.register( hiInScript );
122
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hi/hi-inscript2.js (+127 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiInScript2 = {
5
		id: 'hi-inscript2',
6
		name: 'इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Hindi language',
8
		date: '2013-20-13',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\!', 'ऍ'],
14
			['\\@', 'ॅ'],
15
			['1', '१'],
16
			['2', '२'],
17
			['\\#', '्र'],
18
			['3', '३'],
19
			['\\$', 'र्'],
20
			['4', '४'],
21
			['5', '५'],
22
			['6', '६'],
23
			['7', '७'],
24
			['8', '८'],
25
			['\\(', '('],
26
			['9', '९'],
27
			['\\]', ']'],
28
			['0', '०'],
29
			['\\_', 'ः'],
30
			['\\-', '-'],
31
			['\\+', 'ऋ'],
32
			['\\=', 'ृ'],
33
			['Q', 'औ'],
34
			['q', 'ौ'],
35
			['W', 'ऐ'],
36
			['w', 'ै'],
37
			['E', 'आ'],
38
			['e', 'ा'],
39
			['R', 'ई'],
40
			['r', 'ी'],
41
			['T', 'ऊ'],
42
			['t', 'ू'],
43
			['Y', 'भ'],
44
			['y', 'ब'],
45
			['U', 'ङ'],
46
			['u', 'ह'],
47
			['I', 'घ'],
48
			['i', 'ग'],
49
			['O', 'ध'],
50
			['o', 'द'],
51
			['P', 'झ'],
52
			['p', 'ज'],
53
			['\\{', 'ढ'],
54
			['\\[', 'ड'],
55
			['\\}', 'ञ'],
56
			['\\]', '़'],
57
			['A', 'ओ'],
58
			['a', 'ो'],
59
			['S', 'ए'],
60
			['s', 'े'],
61
			['D', 'अ'],
62
			['d', '्'],
63
			['F', 'इ'],
64
			['f', 'ि'],
65
			['G', 'उ'],
66
			['g', 'ु'],
67
			['H', 'फ'],
68
			['h', 'प'],
69
			['j', 'र'],
70
			['K', 'ख'],
71
			['k', 'क'],
72
			['L', 'थ'],
73
			['l', 'त'],
74
			[':', 'छ'],
75
			[';', 'च'],
76
			['\"', 'ठ'],
77
			['\'', 'ट'],
78
			['\\|', 'ऑ'],
79
			['\\\\', 'ॉ'],
80
			['X', 'ँ'],
81
			['x', 'ं'],
82
			['C', 'ण'],
83
			['c', 'म'],
84
			['v', 'न'],
85
			['b', 'व'],
86
			['n', 'ल'],
87
			['M', 'श'],
88
			['m', 'स'],
89
			['\\<', 'ष'],
90
			[',', ','],
91
			['\\>', '।'],
92
			['\\.', '.'],
93
			['/', 'य'],
94
			['\\%', 'ज्ञ'],
95
			['\\^', 'त्र'],
96
			['\\&', 'क्ष'],
97
			['\\*', 'श्र']
98
		],
99
		patterns_x: [
100
			['1', '\u200d'],
101
			['2', '\u200c'],
102
			['4', '₹'],
103
			['\\+', 'ॠ'],
104
			['\\=', 'ॄ'],
105
			['e', '॑'],
106
			['i', 'ग़'],
107
			['R', 'ॡ'],
108
			['r', 'ॣ'],
109
			['p', 'ज़'],
110
			['\\{', 'ढ़'],
111
			['\\[', 'ड़'],
112
			['H', 'फ़'],
113
			['K', 'ख़'],
114
			['k', 'क़'],
115
			['d', '॒'],
116
			['F', 'ऌ'],
117
			['f', 'ॢ'],
118
			['X', 'ॐ'],
119
			['N', 'ळ'],
120
			[',', '॰'],
121
			['\\>', 'ऽ'],
122
			['\\.', '॥']
123
		]
124
	};
125
126
	$.ime.register( hiInScript2 );
127
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hi/hi-phonetic.js (+111 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiPhonetic = {
5
		id: 'hi-phonetic',
6
		name: 'फोनेटिक',
7
		description: 'Phonetic keyboard for Hindi language',
8
		date: '2013-02-09',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['्f', '्\u200c'],
14
			['\\~', 'ऎ'],
15
			['\\`','ॆ'],
16
			['\\!', 'ऍ'],
17
			['1', '१'],
18
			['\\@', 'ॅ'],
19
			['2', '२'],
20
			['\\#', 'ऑ'],
21
			['3', '३'],
22
			['\\$','ॉ'],
23
			['4', '४'],
24
			['\\%', 'ञ'],
25
			['5', '५'],
26
			['6', '६'],
27
			['7', '७'],
28
			['8', '८'],
29
			['\\(', '('],
30
			['9', '९'],
31
			['\\)', ')'],
32
			['0', '०'],
33
			['\\_', '_'],
34
			['\\-', '-'],
35
			['\\+', '+'],
36
			['\\=', '='],
37
			['Q', 'औ'],
38
			['q', 'ओ'],
39
			['W', 'ठ'],
40
			['w', 'ट'],
41
			['E', 'ै'],
42
			['e', 'े'],
43
			['R', 'ृ'],
44
			['r', 'र'],
45
			['T', 'थ'],
46
			['t', 'त'],
47
			['Y', 'य़'],
48
			['y', 'य'],
49
			['U', 'ू'],
50
			['u', 'ु'],
51
			['I', 'ी'],
52
			['i', 'ि'],
53
			['O', 'ौ'],
54
			['o', 'ो'],
55
			['P', 'फ'],
56
			['p', 'प'],
57
			['\\{', 'ढ'],
58
			['\\[', 'ड'],
59
			['\\}', 'ऱ'],
60
			['\\]', 'ऋ'],
61
			['A', 'आ'],
62
			['a', 'ा'],
63
			['S', 'श'],
64
			['s', 'स'],
65
			['D', 'ध'],
66
			['d', 'द'],
67
			['F', 'अ'],
68
			['f', '्'],
69
			['G', 'घ'],
70
			['g', 'ग'],
71
			['H', 'ः'],
72
			['h', 'ह'],
73
			['J', 'झ'],
74
			['j', 'ज'],
75
			['K', 'ख'],
76
			['k', 'क'],
77
			['L', 'ळ'],
78
			['l', 'ल'],
79
			[':', 'ई'],
80
			[';', 'इ'],
81
			['"', 'ऊ'],
82
			['\'', 'उ'],
83
			['\\|', 'ऒ'],
84
			['\\\\', 'ो'],
85
			['Z', 'ँ'],
86
			['z', 'ङ'],
87
			['x', 'ष'],
88
			['C', 'छ'],
89
			['c', 'च'],
90
			['V', 'ऴ'],
91
			['v', 'व'],
92
			['B', 'भ'],
93
			['b', 'ब'],
94
			['N', 'ण'],
95
			['n', 'न'],
96
			['M', 'ं'],
97
			['m', 'म'],
98
			['\\<', 'ऩ'],
99
			[',', ','],
100
			['\\>', '़'],
101
			['\\.', '।'],
102
			['\\?', 'ऐ'],
103
			['/', 'ए'],
104
			['\\^', 'ज्ञ'],
105
			['X', 'क्ष'],
106
			['\\*', 'श्र']
107
		]
108
	};
109
110
	$.ime.register( hiPhonetic );
111
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hi/hi-transliteration.js (+198 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiTransliteration = {
5
		id: 'hi-transliteration',
6
		name: 'लिप्यंतरण',
7
		description: 'Transliteration keyboard for Devanagari script',
8
		date: '2011-11-20',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		contextLength: 1,
13
		maxKeyLength: 3,
14
		patterns: [
15
			[ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ],
16
17
			[ '([क-ह]़?)्a', '$1' ],
18
19
			// Bug 35990 - Schwa syncope rule in Devanagari transliteration
20
			[ '([क-ह]़?)्\\~', '$1्' ],
21
22
			// Translate full stop (.) to danda
23
			[ '([क-ह]़?)्\\.', '\\~', '$1्।' ],
24
			[ '([क-ह]़?)्\\.', '$1।' ],
25
26
			// Translate digits
27
			[ '([क-ह]़?)्0', '\\~', '$1्०' ],
28
			[ '([क-ह]़?)्1', '\\~', '$1्१' ],
29
			[ '([क-ह]़?)्2', '\\~', '$1्२' ],
30
			[ '([क-ह]़?)्3', '\\~', '$1्३' ],
31
			[ '([क-ह]़?)्4', '\\~', '$1्४' ],
32
			[ '([क-ह]़?)्5', '\\~', '$1्५' ],
33
			[ '([क-ह]़?)्6', '\\~', '$1्६' ],
34
			[ '([क-ह]़?)्7', '\\~', '$1्७' ],
35
			[ '([क-ह]़?)्8', '\\~', '$1्८' ],
36
			[ '([क-ह]़?)्9', '\\~', '$1्९' ],
37
			[ '([क-ह]़?)्\\r', '\\~', '$1्\r' ],
38
39
			[ '([क-ह]़?)्0', '$1०' ],
40
			[ '([क-ह]़?)्1', '$1१' ],
41
			[ '([क-ह]़?)्2', '$1२' ],
42
			[ '([क-ह]़?)्3', '$1३' ],
43
			[ '([क-ह]़?)्4', '$1४' ],
44
			[ '([क-ह]़?)्5', '$1५' ],
45
			[ '([क-ह]़?)्6', '$1६' ],
46
			[ '([क-ह]़?)्7', '$1७' ],
47
			[ '([क-ह]़?)्8', '$1८' ],
48
			[ '([क-ह]़?)्9', '$1९' ],
49
			[ '([क-ह]़?)्\\r', '$1\r' ],
50
51
			[ '([क-ह]़?)्A', '$1ा' ],
52
			[ '([क-ह]़?)a', '$1ा' ],
53
			[ '([क-ह]़?)्i', '$1ि' ],
54
			[ '([क-ह]़?)(्I|िi|ेe)', '$1ी' ],
55
			[ '([क-ह]़?)्u', '$1ु' ],
56
			[ '([क-ह]़?)(ुu|्U|ोo)', '$1ू' ],
57
			[ '([क-ह]़?)्R', '$1ृ' ],
58
			[ '([क-ह]़?)ृR', '$1ॄ' ],
59
			[ '([क-ह]़?)्ळ्l', '$1ॢ' ],
60
			[ '([क-ह]़?)ॢl', '$1ॣ' ],
61
			[ '([क-ह]़?)्e', '$1े' ],
62
			[ '([क-ह]़?)्E', '$1ॅ' ],
63
			[ '([क-ह]़?)i', '$1ै' ],
64
			[ '([क-ह]़?)्o', '$1ो' ],
65
			[ '([क-ह]़?)्O', '$1ॉ' ],
66
			[ '([क-ह]़?)u', '$1ौ' ],
67
			[ '([क-ह]़?)ृa', '$1्ऱ' ],
68
			[ '([क-ह]़?)ृA', '$1्ऱा' ],
69
			[ '([क-ह]़?)ृi', '$1्ऱि' ],
70
			[ '([क-ह]़?)ृI', '$1्ऱी' ],
71
			[ '([क-ह]़?)ृu', '$1्ऱु' ],
72
			[ '([क-ह]़?)ृU', '$1्ऱू' ],
73
			[ '([क-ह]़?)ृ\\^', '$1्ऱॅ' ],
74
			[ '([क-ह]़?)ृe', '$1्ऱॆ' ],
75
			[ '([क-ह]़?)ृE', '$1्ऱे' ],
76
			[ '([क-ह]़?)ृo', '$1्ऱॊ' ],
77
			[ '([क-ह]़?)ृO', '$1्ऱो' ],
78
			[ '([क-ह]़?)ृ\\~', '$1्ऱ्' ],
79
			[ '([अ-ह]़)(्?)\\`', '$1$2' ],
80
			[ '([क-ह])(ा|ि|ी|ु|ू|े|ै|ॅ|ो|ौ|ॉ|ृ|्)\\`', '$1़$2' ],
81
82
			[ 'अa', 'आ' ],
83
			[ 'उu', 'ऊ' ],
84
			[ 'अi', 'ऐ' ],
85
			[ 'अ\\^', 'ॲ' ],
86
			[ 'इi', 'ई' ],
87
			[ 'अu', 'औ' ],
88
			[ 'ऋR', 'ॠ' ],
89
			[ 'ळ्l', 'ऌ' ],
90
			[ 'ऌl', 'ॡ' ],
91
			[ 'ं(m|M|\\^)', 'ँ' ], // Candrabindu
92
			[ 'आऊM', 'ॐ' ], // AUM (OM)
93
94
			[ 'क्h', 'ख्' ],
95
			[ 'ग्h', 'घ्' ],
96
			[ 'न्g', 'ङ्' ],
97
			[ 'च्h', 'छ्' ],
98
			[ 'ज्h', 'झ्' ],
99
			[ 'न्j', 'ञ्' ],
100
			[ 'ट्h', 'ठ्' ],
101
			[ 'ड्h', 'ढ्' ],
102
			[ 'त्h', 'थ्' ],
103
			[ 'द्h', 'ध्' ],
104
			[ 'प्h', 'फ्' ],
105
			[ 'ब्h', 'भ्' ],
106
			[ 'ऋa', 'ऱ' ],
107
			[ 'ऋA', 'ऱा' ],
108
			[ 'ऋi', 'ऱि' ],
109
			[ 'ऋI', 'ऱी' ],
110
			[ 'ऋu', 'ऱु' ],
111
			[ 'ऋU', 'ऱू' ],
112
			[ 'ऋ\\^', 'ऱॅ' ],
113
			[ 'ऋe', 'ऱे' ],
114
			[ 'ऋE', 'ऱे' ],
115
			[ 'ऋo', 'ऱो' ],
116
			[ 'ऋO', 'ऱो' ],
117
			[ 'ऋ\\~', 'ऱ्' ],
118
119
			[ 'स्h', 'श्' ],
120
			[ 'श्h', 'ष्' ],
121
			[ 'क़्h', 'ख़्' ],
122
			[ 'ज़्h', 'ऴ्' ],
123
			[ '।\\.', '॥' ], // Double danda
124
			[ '([ग्|ज्]़?)्Y', 'ज्ञ्' ],
125
126
			[ 'a', 'अ' ],
127
			[ 'b', 'ब्' ],
128
			[ 'c', 'च्' ],
129
			[ 'd', 'द्' ],
130
			[ 'e', 'ए' ],
131
			[ 'f', 'फ्' ],
132
			[ 'g', 'ग्' ],
133
			[ 'h', 'ह्' ],
134
			[ 'i', 'इ' ],
135
			[ 'j', 'ज्' ],
136
			[ 'k', 'क्' ],
137
			[ 'l', 'ल्' ],
138
			[ 'm', 'म्' ],
139
			[ 'n', 'न्' ],
140
			[ 'o', 'ओ' ],
141
			[ 'p', 'प्' ],
142
			[ 'q', 'क़्' ],
143
			[ 'r', 'र्' ],
144
			[ 's', 'स्' ],
145
			[ 't', 'त्' ],
146
			[ 'u', 'उ' ],
147
			[ '(v|w)', 'व्' ],
148
			[ 'x', 'क्ष्' ],
149
			[ 'y', 'य्' ],
150
			[ 'z', 'ज़्' ],
151
			[ 'A', 'आ' ],
152
			[ 'B', 'ब्ब्' ],
153
			[ 'C', 'क्क्' ],
154
			[ 'D', 'ड्' ],
155
			[ 'E', 'ऍ' ],
156
			[ 'F', 'फ़्' ],
157
			[ 'G', 'ग्ग्' ],
158
			[ 'H', 'ः' ], // Visarga
159
			[ 'I', 'ई' ],
160
			[ 'J', 'ज्ज्' ],
161
			[ 'K', 'क्क्' ],
162
			[ 'L', 'ळ्' ],
163
			[ 'M', 'ं' ],
164
			[ 'N', 'ण्' ],
165
			[ 'O', 'ऑ' ],
166
			[ 'P', 'प्प्' ],
167
			[ 'R', 'ऋ' ],
168
			[ 'S', 'श्' ],
169
			[ 'T', 'ट्' ],
170
			[ 'U', 'ऊ' ],
171
			[ '(V|W)', 'व्व्' ],
172
			[ 'X', 'क्ष्' ],
173
			[ 'Y', 'ञ्' ],
174
			[ 'Z', '.' ],
175
			[ '0', '०' ],
176
			[ '1', '१' ],
177
			[ '2', '२' ],
178
			[ '3', '३' ],
179
			[ '4', '४' ],
180
			[ '5', '५' ],
181
			[ '6', '६' ],
182
			[ '7', '७' ],
183
			[ '8', '८' ],
184
			[ '9', '९' ],
185
			[ '~', '्' ], // Virama
186
			[ '\\.', '।' ], // Danda
187
			[ '//', 'ऽ' ],
188
			[ '\\`', '़' ], // Nukta
189
190
			// The last rules in the Schwa syncope rule section:
191
			// If virama not added explicitly, catch all other characters from the US keyboard,
192
			// remove virama and send the character itself ($2).
193
			[ '([क-ह]़?)्(.)', '\\~', '$1्$2' ],
194
			[ '([क-ह]़?)्(.)', '$1$2' ] ]
195
	};
196
197
	$.ime.register( hiTransliteration );
198
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hr/hr-kbd.js (+60 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hrKbd = {
5
		id: 'hr-kbd',
6
		name: 'Croatian kbd',
7
		description: 'Croatian keyboard layout',
8
		date: '2013-02-11',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['¸c', 'ç'],
15
			['¸C', 'Ç'],
16
			['¸s', 'ş'],
17
			['¸S', 'Ş'],
18
			['¨a', 'ä'],
19
			['¨A', 'Ä'],
20
			['¨e', 'ë'],
21
			['¨E', 'Ë'],
22
			['¨o', 'ö'],
23
			['¨O', 'Ö'],
24
			['¨u', 'ü'],
25
			['¨U', 'Ü'],
26
			['\\@', '\"'],
27
			['\\^', '&'],
28
			['\\&', '/'],
29
			['\\*', '('],
30
			['\\(', ')'],
31
			['\\)', '='],
32
			['\\-', '\''],
33
			['\\_', '?'],
34
			['\\=', '+'],
35
			['\\+', '*'],
36
			['\\`', '¸'],
37
			['\\~', '¨'],
38
			['y', 'z'],
39
			['Y', 'Z'],
40
			['\\[', 'š'],
41
			['\\{', 'Š'],
42
			['\\]', 'đ'],
43
			['\\}', 'Đ'],
44
			[';', 'č'],
45
			[':', 'Č'],
46
			['\'', 'ć'],
47
			['\"', 'Ć'],
48
			['\\\\', 'ž'],
49
			['\\|', 'Ž'],
50
			['z', 'y'],
51
			['Z', 'Y'],
52
			['\\<', ';'],
53
			['\\>', ':'],
54
			['/', '-'],
55
			['\\?', '_']
56
		]
57
	};
58
59
	$.ime.register( hrKbd );
60
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hy/hy-emslegacy.js (+169 lines)
Line 0 Link Here
1
/**
2
 * Eastern Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated
3
 * in Windows 8.
4
 * Original layout was created in late 90-ies based on Unicode 3, and was never updated
5
 * since release, causing it to be incompatible with Unicode.
6
 *
7
 * This layout version complies with Unicode 6.1, including all valid Armenian punctuation signs,
8
 * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
9
 * Please, double-check with Unicode before making any changes here.
10
 *
11
 * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
12
 * producing digits and punctuation marks from standard US keyboard layout.
13
 */
14
15
( function ( $ ) {
16
	'use strict';
17
18
	var hyEmslegacy = {
19
		id: 'hy-emslegacy',
20
		name: 'ՄՍ Արևելահայերեն (հնացած)',
21
		description: 'Legacy keyboard layout for Eastern Armenian by Microsoft',
22
		date: '2013-02-11',
23
		URL: 'http://www.microsoft.com/resources/msdn/goglobal/keyboards/kbdarme.html',
24
		author: 'Parag Nemade, Aleksey Chalabyan',
25
		license: 'GPLv3',
26
		version: '1.1',
27
		patterns: [
28
			['1', '։'],
29
			['\\!', '1'],
30
			['2', 'ձ'],
31
			['\\@', 'Ձ'],
32
			['3', 'յ'],
33
			['\\#', 'Յ'],
34
			['4', '՛'],
35
			['\\$', '֏'],
36
			['5', ','],
37
			['\\%', '4'],
38
			['6', '-'],
39
			['\\^', '9'],
40
			['7', '․'],
41
			['\\&', 'և'],
42
			['8', '«'],
43
			['\\*', '('],
44
			['9', '»'],
45
			['\\(', ')'],
46
			['0', 'օ'],
47
			['\\)', 'Օ'],
48
			['\\-', 'ռ'],
49
			['\\_', 'Ռ'],
50
			['\\=', 'ժ'],
51
			['\\+', 'Ժ'],
52
			['\\`', '՝'],
53
			['\\~', '՜'],
54
			['q', 'խ'],
55
			['Q', 'Խ'],
56
			['w', 'ւ'],
57
			['W', 'Ւ'],
58
			['e', 'է'],
59
			['E', 'Է'],
60
			['r', 'ր'],
61
			['R', 'Ր'],
62
			['t', 'տ'],
63
			['T', 'Տ'],
64
			['y', 'ե'],
65
			['Y', 'Ե'],
66
			['u', 'ը'],
67
			['U', 'Ը'],
68
			['i', 'ի'],
69
			['I', 'Ի'],
70
			['o', 'ո'],
71
			['O', 'Ո'],
72
			['p', 'պ'],
73
			['P', 'Պ'],
74
			['\\[', 'չ'],
75
			['\\{', 'Չ'],
76
			['\\]', 'ջ'],
77
			['\\}', 'Ջ'],
78
			['\\\\', '\''],
79
			['\\|', '՞'],
80
			['a', 'ա'],
81
			['A', 'Ա'],
82
			['s', 'ս'],
83
			['S', 'Ս'],
84
			['d', 'դ'],
85
			['D', 'Դ'],
86
			['f', 'ֆ'],
87
			['F', 'Ֆ'],
88
			['g', 'ք'],
89
			['G', 'Ք'],
90
			['h', 'հ'],
91
			['H', 'Հ'],
92
			['j', 'ճ'],
93
			['J', 'Ճ'],
94
			['k', 'կ'],
95
			['K', 'Կ'],
96
			['l', 'լ'],
97
			['L', 'Լ'],
98
			[';', 'թ'],
99
			[':', 'Թ'],
100
			['\'', 'փ'],
101
			['\"', 'Փ'],
102
			['z', 'զ'],
103
			['Z', 'Զ'],
104
			['x', 'ց'],
105
			['X', 'Ց'],
106
			['c', 'գ'],
107
			['C', 'Գ'],
108
			['v', 'վ'],
109
			['V', 'Վ'],
110
			['b', 'բ'],
111
			['B', 'Բ'],
112
			['n', 'ն'],
113
			['N', 'Ն'],
114
			['m', 'մ'],
115
			['M', 'Մ'],
116
			[',', 'շ'],
117
			['\\<', 'Շ'],
118
			['\\.', 'ղ'],
119
			['\\>', 'Ղ'],
120
			['/', 'ծ'],
121
			['\\?', 'Ծ']
122
		],
123
		patterns_x: [
124
			['1', '1'],
125
			['\\!', '!'],
126
			['2', '2'],
127
			['\\@', '@'],
128
			['3', '3'],
129
			['\\#', '#'],
130
			['4', '4'],
131
			['\\$', '$'],
132
			['5', '5'],
133
			['\\%', '%'],
134
			['6', '6'],
135
			['\\^', '^'],
136
			['7', '7'],
137
			['\\&', '&'],
138
			['8', '8'],
139
			['\\*', '*'],
140
			['9', '9'],
141
			['\\(', '('],
142
			['0', '0'],
143
			['\\)', ')'],
144
			['\\-', '-'],
145
			['\\_', '_'],
146
			['\\=', '='],
147
			['\\+', '+'],
148
			['\\`', '`'],
149
			['\\~', '~'],
150
			['\\[', '['],
151
			['\\{', '{'],
152
			['\\]', ']'],
153
			['\\}', '}'],
154
			['\\\\', '\\'],
155
			['\\|', '|'],
156
			[';', ';'],
157
			['\\:', ':'],
158
			['\'', '\''],
159
			['\"', '\"'],
160
			['\\<', '<'],
161
			['\\.', '.'],
162
			['\\>', '>'],
163
			['/', '/'],
164
			['\\?', '?']
165
		]
166
	};
167
168
	$.ime.register( hyEmslegacy );
169
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hy/hy-ephonetic.js (+173 lines)
Line 0 Link Here
1
/**
2
 * This is a phonetic layout for the Armenian language (hy, arm, hye).
3
 * The layout comes from DOS times, and was later popularised by KDWin and
4
 * WinKeys keyboard "drivers".
5
 * While not as efficient and well-thought as the official typewriter layout, it is very popular as
6
 * it uses similary sounding Latin letters, which is very handy, as keyboards in Armenia
7
 * don't come engraved with Armenian letters.
8
 *
9
 * This layout complies with Unicode 6.1, including all valid Armenian punctuation signs,
10
 * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign.
11
 * Please, double-check with Unicode before making any changes here.
12
 *
13
 * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
14
 * producing digits and punctuation marks from standard US keyboard layout.
15
 */
16
17
( function ( $ ) {
18
	'use strict';
19
20
	var hyEphonetic = {
21
		id: 'hy-ephonetic',
22
		name: 'Հայերեն Հնչյունային',
23
		description: 'Armenian phonetic (Eastern) keyboard layout',
24
		date: '2013-07-06',
25
		URL: 'http://hy.am',
26
		author: 'Aleksey Chalabyan Ալեքսեյ Չալաբյան a.k.a Xelgen',
27
		license: 'GPLv3',
28
		version: '1.0',
29
		contextLength: 0,
30
		maxKeyLength: 0,
31
		patterns: [
32
			['1', 'է'],
33
			['\\!', 'Է'],
34
			['2', 'թ'],
35
			['\\@', 'Թ'],
36
			['3', 'փ'],
37
			['\\#', 'Փ'],
38
			['4', 'ձ'],
39
			['\\$', 'Ձ'],
40
			['5', 'ջ'],
41
			['\\%', 'Ջ'],
42
			['6', '֏'],
43
			['\\^', '('],
44
			['7', 'և'],
45
			['\\&', ')'],
46
			['8', 'ր'],
47
			['\\*', 'Ր'],
48
			['9', 'չ'],
49
			['\\(', 'Չ'],
50
			['0', 'ճ'],
51
			['\\)', 'Ճ'],
52
			['\\-', '–'],
53
			['\\_', '—'],
54
			['\\=', 'ժ'],
55
			['\\+', 'Ժ'],
56
			['\\`', '՝'],
57
			['\\~', '՜'],
58
			['q', 'ք'],
59
			['Q', 'Ք'],
60
			['w', 'ո'],
61
			['W', 'Ո'],
62
			['e', 'ե'],
63
			['E', 'Ե'],
64
			['r', 'ռ'],
65
			['R', 'Ռ'],
66
			['t', 'տ'],
67
			['T', 'Տ'],
68
			['y', 'ը'],
69
			['Y', 'Ը'],
70
			['u', 'ւ'],
71
			['U', 'Ւ'],
72
			['i', 'ի'],
73
			['I', 'Ի'],
74
			['o', 'օ'],
75
			['O', 'Օ'],
76
			['p', 'պ'],
77
			['P', 'Պ'],
78
			['\\[', 'խ'],
79
			['\\{', 'Խ'],
80
			['\\]', 'ծ'],
81
			['\\}', 'Ծ'],
82
			['\\\\', 'շ'],
83
			['\\|', 'Շ'],
84
			['a', 'ա'],
85
			['A', 'Ա'],
86
			['s', 'ս'],
87
			['S', 'Ս'],
88
			['d', 'դ'],
89
			['D', 'Դ'],
90
			['f', 'ֆ'],
91
			['F', 'Ֆ'],
92
			['g', 'գ'],
93
			['G', 'Գ'],
94
			['h', 'հ'],
95
			['H', 'Հ'],
96
			['j', 'յ'],
97
			['J', 'Յ'],
98
			['k', 'կ'],
99
			['K', 'Կ'],
100
			['l', 'լ'],
101
			['L', 'Լ'],
102
			[';', ';'],
103
			[':', '։'],
104
			['\'', '՛'],
105
			['\"', '"'],
106
			['z', 'զ'],
107
			['Z', 'Զ'],
108
			['x', 'ղ'],
109
			['X', 'Ղ'],
110
			['c', 'ց'],
111
			['C', 'Ց'],
112
			['v', 'վ'],
113
			['V', 'Վ'],
114
			['b', 'բ'],
115
			['B', 'Բ'],
116
			['n', 'ն'],
117
			['N', 'Ն'],
118
			['m', 'մ'],
119
			['M', 'Մ'],
120
			[',', ','],
121
			['\\<', '«'],
122
			['\\.', '․'],
123
			['\\>', '»'],
124
			['/', '…'],
125
			['\\?', '՞']
126
		],
127
		patterns_x: [
128
			['1', '1'],
129
			['\\!', '!'],
130
			['2', '2'],
131
			['\\@', '@'],
132
			['3', '3'],
133
			['\\#', '#'],
134
			['4', '4'],
135
			['\\$', '$'],
136
			['5', '5'],
137
			['\\%', '%'],
138
			['6', '6'],
139
			['\\^', '^'],
140
			['7', '7'],
141
			['\\&', '&'],
142
			['8', '8'],
143
			['\\*', '*'],
144
			['9', '9'],
145
			['\\(', '('],
146
			['0', '0'],
147
			['\\)', ')'],
148
			['\\-', '-'],
149
			['\\_', '_'],
150
			['\\=', '='],
151
			['\\+', '+'],
152
			['\\`', '`'],
153
			['\\~', '~'],
154
			['\\[', '['],
155
			['\\{', '{'],
156
			['\\]', ']'],
157
			['\\}', '}'],
158
			['\\\\', '\\'],
159
			['\\|', '|'],
160
			[';', ';'],
161
			['\\:', ':'],
162
			['\'', '\''],
163
			['\"', '\"'],
164
			['\\<', '<'],
165
			['\\.', '.'],
166
			['\\>', '>'],
167
			['/', '/'],
168
			['\\?', '?']
169
		]
170
	};
171
172
	$.ime.register( hyEphonetic );
173
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hy/hy-ephoneticalt.js (+171 lines)
Line 0 Link Here
1
/**
2
 * This is alternative phonetic layout for Armenian language (hy, arm, hye).
3
 * Based on Armenian phonetic layout, it improves few things, by placing ր under latin r,
4
 * as ր is much more frequent in Armenian. ռ goes under 8, where ր is in standart phonetic.
5
 * Another change, which is not yet in xkb, ( as of July 2013), is swapping ֆ and թ: Ֆ is
6
 * placed under F, where left index finger is, but is the least used letter in Armenian,
7
 * so much more used թ takes it place, comming down from 2.
8
 *
9
 * This layout complies with Unicode 6.1, including all valid Armenian punctuation signs,
10
 * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign.
11
 * Please, double-check with Unicode before making any changes here.
12
 *
13
 * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
14
 * producing digits and punctuation marks from standard US keyboard layout.
15
 */
16
17
( function ( $ ) {
18
	'use strict';
19
20
	var hyEphonetic = {
21
		id: 'hy-ephoneticalt',
22
		name: 'Հայերեն Հնչյունային (R->Ր, F->Թ)',
23
		description: 'Eastern Armenian alternative phonetic keyboard layout',
24
		date: '2013-07-08',
25
		URL: 'http://github.com/wikimedia/jquery.ime',
26
		author: 'Aleksey Chalabyan Ալեքսեյ Չալաբյան a.k.a Xelgen',
27
		license: 'GPLv3',
28
		version: '1.0',
29
		patterns: [
30
			['1', 'է'],
31
			['\\!', 'Է'],
32
			['2', 'ֆ'],
33
			['\\@', 'Ֆ'],
34
			['3', 'փ'],
35
			['\\#', 'Փ'],
36
			['4', 'ձ'],
37
			['\\$', 'Ձ'],
38
			['5', 'ջ'],
39
			['\\%', 'Ջ'],
40
			['6', '֏'],
41
			['\\^', '('],
42
			['7', 'և'],
43
			['\\&', ')'],
44
			['8', 'ռ'],
45
			['\\*', 'Ռ'],
46
			['9', 'չ'],
47
			['\\(', 'Չ'],
48
			['0', 'ճ'],
49
			['\\)', 'Ճ'],
50
			['\\-', '–'],
51
			['\\_', '—'],
52
			['\\=', 'ժ'],
53
			['\\+', 'Ժ'],
54
			['\\`', '՝'],
55
			['\\~', '՜'],
56
			['q', 'ք'],
57
			['Q', 'Ք'],
58
			['w', 'ո'],
59
			['W', 'Ո'],
60
			['e', 'ե'],
61
			['E', 'Ե'],
62
			['r', 'ր'],
63
			['R', 'Ր'],
64
			['t', 'տ'],
65
			['T', 'Տ'],
66
			['y', 'ը'],
67
			['Y', 'Ը'],
68
			['u', 'ւ'],
69
			['U', 'Ւ'],
70
			['i', 'ի'],
71
			['I', 'Ի'],
72
			['o', 'օ'],
73
			['O', 'Օ'],
74
			['p', 'պ'],
75
			['P', 'Պ'],
76
			['\\[', 'խ'],
77
			['\\{', 'Խ'],
78
			['\\]', 'ծ'],
79
			['\\}', 'Ծ'],
80
			['\\\\', 'շ'],
81
			['\\|', 'Շ'],
82
			['a', 'ա'],
83
			['A', 'Ա'],
84
			['s', 'ս'],
85
			['S', 'Ս'],
86
			['d', 'դ'],
87
			['D', 'Դ'],
88
			['f', 'թ'],
89
			['F', 'Թ'],
90
			['g', 'գ'],
91
			['G', 'Գ'],
92
			['h', 'հ'],
93
			['H', 'Հ'],
94
			['j', 'յ'],
95
			['J', 'Յ'],
96
			['k', 'կ'],
97
			['K', 'Կ'],
98
			['l', 'լ'],
99
			['L', 'Լ'],
100
			[';', ';'],
101
			[':', '։'],
102
			['\'', '՛'],
103
			['\"', '"'],
104
			['z', 'զ'],
105
			['Z', 'Զ'],
106
			['x', 'ղ'],
107
			['X', 'Ղ'],
108
			['c', 'ց'],
109
			['C', 'Ց'],
110
			['v', 'վ'],
111
			['V', 'Վ'],
112
			['b', 'բ'],
113
			['B', 'Բ'],
114
			['n', 'ն'],
115
			['N', 'Ն'],
116
			['m', 'մ'],
117
			['M', 'Մ'],
118
			[',', ','],
119
			['\\<', '«'],
120
			['\\.', '․'],
121
			['\\>', '»'],
122
			['/', '…'],
123
			['\\?', '՞']
124
		],
125
		patterns_x: [
126
			['1', '1'],
127
			['\\!', '!'],
128
			['2', '2'],
129
			['\\@', '@'],
130
			['3', '3'],
131
			['\\#', '#'],
132
			['4', '4'],
133
			['\\$', '$'],
134
			['5', '5'],
135
			['\\%', '%'],
136
			['6', '6'],
137
			['\\^', '^'],
138
			['7', '7'],
139
			['\\&', '&'],
140
			['8', '8'],
141
			['\\*', '*'],
142
			['9', '9'],
143
			['\\(', '('],
144
			['0', '0'],
145
			['\\)', ')'],
146
			['\\-', '-'],
147
			['\\_', '_'],
148
			['\\=', '='],
149
			['\\+', '+'],
150
			['\\`', '`'],
151
			['\\~', '~'],
152
			['\\[', '['],
153
			['\\{', '{'],
154
			['\\]', ']'],
155
			['\\}', '}'],
156
			['\\\\', '\\'],
157
			['\\|', '|'],
158
			[';', ';'],
159
			['\\:', ':'],
160
			['\'', '\''],
161
			['\"', '\"'],
162
			['\\<', '<'],
163
			['\\.', '.'],
164
			['\\>', '>'],
165
			['/', '/'],
166
			['\\?', '?']
167
		]
168
	};
169
170
	$.ime.register( hyEphonetic );
171
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hy/hy-typewriter.js (+168 lines)
Line 0 Link Here
1
/**
2
 * Armenian typewriter layout
3
 * Based on themonly official state standard for Armenian keyboard layout:
4
 * http://www.sarm.am/en/standarts/view/5741
5
 *
6
 * This layout complies with Unicode 6.1, including all valid Armenian punctuation signs,
7
 * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign.
8
 * Please, double-check with Unicode before making any changes here.
9
 *
10
 * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
11
 * producing digits and punctuation marks from standard US keyboard layout.
12
 */
13
14
( function ( $ ) {
15
	'use strict';
16
17
	var hyTypewriter = {
18
		id: 'hy-typewriter',
19
		name: 'Հայերեն Գրամեքենա',
20
		description: 'Armenian typewriter keyboard layout',
21
		date: '2013-07-08',
22
		URL: 'http://www.sarm.am/en/standarts/view/5741',
23
		author: 'Aleksey Chalabyan Ալեքսեյ Չալաբյան a.k.a Xelgen',
24
		license: 'GPLv3',
25
		version: '1.0',
26
		patterns: [
27
			['1', 'ֆ'],
28
			['\\!', 'Ֆ'],
29
			['2', 'ձ'],
30
			['\\@', 'Ձ'],
31
			['3', '-'],
32
			['\\#', ''],
33
			['4', ','],
34
			['\\$', '֏'],
35
			['5', '։'],
36
			['\\%', '֊'],
37
			['6', '՞'],
38
			['\\^', '—'],
39
			['7', '․'],
40
			['\\&', 'և'],
41
			['8', '՛'],
42
			['\\*', '՚'],
43
			['9', ')'],
44
			['\\(', '('],
45
			['0', 'օ'],
46
			['\\)', 'Օ'],
47
			['\\-', 'է'],
48
			['\\_', 'Է'],
49
			['\\=', 'ղ'],
50
			['\\+', 'Ղ'],
51
			['\\`', '՝'],
52
			['\\~', '՜'],
53
			['q', 'ճ'],
54
			['Q', 'Ճ'],
55
			['w', 'փ'],
56
			['W', 'Փ'],
57
			['e', 'բ'],
58
			['E', 'Բ'],
59
			['r', 'ս'],
60
			['R', 'Ս'],
61
			['t', 'մ'],
62
			['T', 'Մ'],
63
			['y', 'ո'],
64
			['Y', 'Ո'],
65
			['u', 'ւ'],
66
			['U', 'Ւ'],
67
			['i', 'կ'],
68
			['I', 'Կ'],
69
			['o', 'ը'],
70
			['O', 'Ը'],
71
			['p', 'թ'],
72
			['P', 'Թ'],
73
			['\\[', 'ծ'],
74
			['\\{', 'Ծ'],
75
			['\\]', 'ց'],
76
			['\\}', 'Ց'],
77
			['\\\\', '»'],
78
			['\\|', '«'],
79
			['a', 'ջ'],
80
			['A', 'Ջ'],
81
			['s', 'վ'],
82
			['S', 'Վ'],
83
			['d', 'գ'],
84
			['D', 'Գ'],
85
			['f', 'ե'],
86
			['F', 'Ե'],
87
			['g', 'ա'],
88
			['G', 'Ա'],
89
			['h', 'ն'],
90
			['H', 'Ն'],
91
			['j', 'ի'],
92
			['J', 'Ի'],
93
			['k', 'տ'],
94
			['K', 'Տ'],
95
			['l', 'հ'],
96
			['L', 'Հ'],
97
			[';', 'պ'],
98
			[':', 'Պ'],
99
			['\'', 'ր'],
100
			['\"', 'Ր'],
101
			['z', 'ժ'],
102
			['Z', 'Ժ'],
103
			['x', 'դ'],
104
			['X', 'Դ'],
105
			['c', 'չ'],
106
			['C', 'Չ'],
107
			['v', 'յ'],
108
			['V', 'Յ'],
109
			['b', 'զ'],
110
			['B', 'Զ'],
111
			['n', 'լ'],
112
			['N', 'Լ'],
113
			['m', 'ք'],
114
			['M', 'Ք'],
115
			[',', 'խ'],
116
			['\\<', 'Խ'],
117
			['\\.', 'շ'],
118
			['\\>', 'Շ'],
119
			['/', 'ռ'],
120
			['\\?', 'Ռ']
121
		],
122
		patterns_x: [
123
			['1', '1'],
124
			['\\!', '!'],
125
			['2', '2'],
126
			['\\@', '@'],
127
			['3', '3'],
128
			['\\#', '#'],
129
			['4', '4'],
130
			['\\$', '$'],
131
			['5', '5'],
132
			['\\%', '%'],
133
			['6', '6'],
134
			['\\^', '^'],
135
			['7', '7'],
136
			['\\&', '&'],
137
			['8', '8'],
138
			['\\*', '*'],
139
			['9', '9'],
140
			['\\(', '('],
141
			['0', '0'],
142
			['\\)', ')'],
143
			['\\-', '-'],
144
			['\\_', '_'],
145
			['\\=', '='],
146
			['\\+', '+'],
147
			['\\`', '`'],
148
			['\\~', '~'],
149
			['\\[', '['],
150
			['\\{', '{'],
151
			['\\]', ']'],
152
			['\\}', '}'],
153
			['\\\\', '\\'],
154
			['\\|', '|'],
155
			[';', ';'],
156
			['\\:', ':'],
157
			['\'', '\''],
158
			['\"', '\"'],
159
			['\\<', '<'],
160
			['\\.', '.'],
161
			['\\>', '>'],
162
			['/', '/'],
163
			['\\?', '?']
164
		]
165
	};
166
167
	$.ime.register( hyTypewriter );
168
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hy/hy-wmslegacy.js (+169 lines)
Line 0 Link Here
1
/**
2
 * Western Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated
3
 * in Windows 8.
4
 * Original layout was created in late 90-ies based on Unicode 3, and was never updated
5
 * since release, causing it to be incompatible with Unicode.
6
 *
7
 * This layout version complies with Unicode 6.1, including all valid Armenian punctuation signs,
8
 * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
9
 * Please, double-check with Unicode before making any changes here.
10
 *
11
 * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
12
 * producing digits and punctuation marks from standard US keyboard layout.
13
 */
14
15
( function ( $ ) {
16
	'use strict';
17
18
	var hyWmslegacy = {
19
		id: 'hy-wmslegacy',
20
		name: 'ՄՍ Արևմտահայերեն (հնացած)',
21
		description: 'Legacy keyboard layout for Western Armenian by Microsoft',
22
		date: '2013-07-08',
23
		URL: 'http://www.microsoft.com/resources/msdn/goglobal/keyboards/kbdarmw.html',
24
		author: 'Aleksey Chalabyan Ալեքսեյ Չալաբյան a.k.a Xelgen',
25
		license: 'GPLv3',
26
		version: '1.0',
27
		patterns: [
28
			['1', '։'],
29
			['\\!', '1'],
30
			['2', 'ձ'],
31
			['\\@', 'Ձ'],
32
			['3', 'յ'],
33
			['\\#', 'Յ'],
34
			['4', '՛'],
35
			['\\$', '֏'],
36
			['5', ','],
37
			['\\%', '4'],
38
			['6', '-'],
39
			['\\^', '9'],
40
			['7', '․'],
41
			['\\&', 'և'],
42
			['8', '«'],
43
			['\\*', '('],
44
			['9', '»'],
45
			['\\(', ')'],
46
			['0', 'օ'],
47
			['\\)', 'Օ'],
48
			['\\-', 'ռ'],
49
			['\\_', 'Ռ'],
50
			['\\=', 'ժ'],
51
			['\\+', 'Ժ'],
52
			['\\`', '՝'],
53
			['\\~', '՜'],
54
			['q', 'խ'],
55
			['Q', 'Խ'],
56
			['w', 'վ'],
57
			['W', 'Վ'],
58
			['e', 'է'],
59
			['E', 'Է'],
60
			['r', 'ր'],
61
			['R', 'Ր'],
62
			['t', 'դ'],
63
			['T', 'Դ'],
64
			['y', 'ե'],
65
			['Y', 'Ե'],
66
			['u', 'ը'],
67
			['U', 'Ը'],
68
			['i', 'ի'],
69
			['I', 'Ի'],
70
			['o', 'ո'],
71
			['O', 'Ո'],
72
			['p', 'բ'],
73
			['P', 'Բ'],
74
			['\\[', 'չ'],
75
			['\\{', 'Չ'],
76
			['\\]', 'ջ'],
77
			['\\}', 'Ջ'],
78
			['\\\\', '\''],
79
			['\\|', '՞'],
80
			['a', 'ա'],
81
			['A', 'Ա'],
82
			['s', 'ս'],
83
			['S', 'Ս'],
84
			['d', 'տ'],
85
			['D', 'Տ'],
86
			['f', 'ֆ'],
87
			['F', 'Ֆ'],
88
			['g', 'կ'],
89
			['G', 'Կ'],
90
			['h', 'հ'],
91
			['H', 'Հ'],
92
			['j', 'ճ'],
93
			['J', 'Ճ'],
94
			['k', 'ք'],
95
			['K', 'Ք'],
96
			['l', 'լ'],
97
			['L', 'Լ'],
98
			[';', 'թ'],
99
			[':', 'Թ'],
100
			['\'', 'փ'],
101
			['\"', 'Փ'],
102
			['z', 'զ'],
103
			['Z', 'Զ'],
104
			['x', 'ց'],
105
			['X', 'Ց'],
106
			['c', 'գ'],
107
			['C', 'Գ'],
108
			['v', 'ւ'],
109
			['V', 'Ւ'],
110
			['b', 'պ'],
111
			['B', 'Պ'],
112
			['n', 'ն'],
113
			['N', 'Ն'],
114
			['m', 'մ'],
115
			['M', 'Մ'],
116
			[',', 'շ'],
117
			['\\<', 'Շ'],
118
			['\\.', 'ղ'],
119
			['\\>', 'Ղ'],
120
			['/', 'ծ'],
121
			['\\?', 'Ծ']
122
		],
123
		patterns_x: [
124
			['1', '1'],
125
			['\\!', '!'],
126
			['2', '2'],
127
			['\\@', '@'],
128
			['3', '3'],
129
			['\\#', '#'],
130
			['4', '4'],
131
			['\\$', '$'],
132
			['5', '5'],
133
			['\\%', '%'],
134
			['6', '6'],
135
			['\\^', '^'],
136
			['7', '7'],
137
			['\\&', '&'],
138
			['8', '8'],
139
			['\\*', '*'],
140
			['9', '9'],
141
			['\\(', '('],
142
			['0', '0'],
143
			['\\)', ')'],
144
			['\\-', '-'],
145
			['\\_', '_'],
146
			['\\=', '='],
147
			['\\+', '+'],
148
			['\\`', '`'],
149
			['\\~', '~'],
150
			['\\[', '['],
151
			['\\{', '{'],
152
			['\\]', ']'],
153
			['\\}', '}'],
154
			['\\\\', '\\'],
155
			['\\|', '|'],
156
			[';', ';'],
157
			['\\:', ':'],
158
			['\'', '\''],
159
			['\"', '\"'],
160
			['\\<', '<'],
161
			['\\.', '.'],
162
			['\\>', '>'],
163
			['/', '/'],
164
			['\\?', '?']
165
		]
166
	};
167
168
	$.ime.register( hyWmslegacy );
169
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/is/is-normforms.js (+78 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'is-normforms',
6
		name: 'Íslenska',
7
		description: 'Islandic input method with most common form transliterated',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/icelandic.pdf',
10
		author: 'John Erling Blad',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 3,
15
		patterns: [
16
			// Uses "'" as an accent
17
			[ '\'a', 'á' ],
18
			[ '\'A', 'Á' ],
19
			[ '\'i', 'í' ],
20
			[ '\'I', 'Í' ],
21
			[ '\'e', 'é' ],
22
			[ '\'E', 'É' ],
23
			[ '\'o', 'ó' ],
24
			[ '\'O', 'Ó' ],
25
			[ '\'u', 'ú' ],
26
			[ '\'U', 'Ú' ],
27
			[ '\'y', 'ý' ],
28
			[ '\'Y', 'Ý' ],
29
			// Uses "~" as "approximatly similar to"
30
			[ '~a', 'ä' ],
31
			[ '~A', 'Ä' ],
32
			[ '~e', 'ë' ],
33
			[ '~E', 'Ë' ],
34
			[ '~d', 'ð' ],
35
			[ '~D', 'Ð' ],
36
			[ '~o', 'ø' ],
37
			[ '~O', 'Ø' ],
38
			// The most common transliterations (also the Danish letters)
39
			[ 'th', 'þ' ],
40
			[ 'TH', 'Þ' ],
41
			[ 'Th', 'Þ' ],
42
			[ 'aa', 'å' ],
43
			[ 'AA', 'Å' ],
44
			[ 'Aa', 'Å' ],
45
			[ 'ae', 'æ' ],
46
			[ 'AE', 'Æ' ],
47
			[ 'Ae', 'Æ' ],
48
			[ 'oe', 'ö' ],
49
			[ 'OE', 'Ö' ],
50
			[ 'Oe', 'Ö' ],
51
			// The previous as negated transliterations, mostly for names
52
			[ 'þh', 'h', 'th' ],
53
			[ 'ÞA', 'H', 'TH' ],
54
			[ 'Þh', 'H', 'Th' ],
55
			[ 'þA', 'h', 'tH' ],
56
			[ 'åa', 'a', 'aa' ],
57
			[ 'ÅA', 'A', 'AA' ],
58
			[ 'Åa', 'A', 'Aa' ],
59
			[ 'åA', 'a', 'aA' ],
60
			[ 'æe', 'e', 'ae' ],
61
			[ 'ÆE', 'E', 'AE' ],
62
			[ 'Æe', 'E', 'Ae' ],
63
			[ 'æE', 'e', 'aE' ],
64
			[ 'öe', 'e', 'oe' ],
65
			[ 'ÖE', 'E', 'OE' ],
66
			[ 'Öe', 'E', 'Oe' ],
67
			[ 'öE', 'e', 'oE' ]
68
			// historically similar forms
69
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
70
			// it is not generally acceptable to use this transliteration. To
71
			// handle those situations we need some oposite forms.
72
			// There is a similar character "Å" for the length unit Angstrom,
73
			// but this is not the upper case letter Å.
74
		]
75
	};
76
77
	$.ime.register( defs );
78
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/jv/jv-transliteration.js (+273 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var jvTransliteration = {
5
		id: 'jv-transliteration',
6
		name: 'Javanese',
7
		description: 'Javanese transliteration',
8
		date: '2013-08-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Bennylin',
11
		license: 'GPLv3',
12
		version: '1.1',
13
		contextLength: 1,
14
		maxKeyLength: 2,
15
		patterns: [
16
			[ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ],
17
			['ꦝ꧀q', '','ꦞ꧀'], // Dha murda
18
			['ꦚ꧀q', '','ꦘ꧀'], // Nya murda
19
			['ꦧ꧀q', '','ꦨ꧀'], // Ba murda
20
			['ꦕ꧀q', '','ꦖ꧀'], // Ca murda(?)
21
			['ꦒ꧀q', '','ꦓ꧀'], // Ga murda
22
			['ꦗ꧀q', '','ꦙ꧀'], // Ja Mahaprana
23
			['ꦏ꧀q', '','ꦑ꧀'], // Ka murda
24
			['ꦤ꧀q', '','ꦟ꧀'], // Na murda
25
			['ꦥ꧀q', '','ꦦ꧀'], // Pa murda
26
			['ꦱ꧀q', '','ꦯ꧀'], // Sa murda
27
			['ꦠ꧀q', '','ꦡ꧀'], // Ta murda
28
29
			// VII. Vocal ended with special pasangan followed by vocal = back to normal
30
			['ꦃa', '','ꦲ'], // vocal ended with -h followed by a
31
			['ꦃe', '','ꦲꦺ'], // vocal ended with -h followed by e
32
			['ꦃi', '','ꦲꦶ'], // vocal ended with -h followed by i
33
			['ꦃo', '','ꦲꦺꦴ'], // vocal ended with -h followed by o
34
			['ꦃu', '','ꦲꦸ'], // vocal ended with -h followed by u
35
36
			['ꦂa', '','ꦫ'], // vocal ended with -r followed by a
37
			['ꦂe', '','ꦫꦺ'], // vocal ended with -r followed by e
38
			['ꦂi', '','ꦫꦶ'], // vocal ended with -r followed by i
39
			['ꦂo', '','ꦫꦺꦴ'], // vocal ended with -r followed by o
40
			['ꦂu', '','ꦫꦸ'], // vocal ended with -r followed by u
41
			['ꦂy', '','ꦫꦾ'], // vocal ended with -r followed by y (Special)
42
43
			['ꦁa', '','ꦔ'], // vocal ended with -ng followed by a
44
			['ꦁe', '','ꦔꦺ'], // vocal ended with -ng followed by e
45
			['ꦁi', '','ꦔꦶ'], // vocal ended with -ng followed by i
46
			['ꦁo', '','ꦔꦺꦴ'], // vocal ended with -ng followed by o
47
			['ꦁu', '','ꦔꦸ'], // vocal ended with -ng followed by u
48
49
			// VI. Vocal (lowercase, uppercase, extended) ended with h/r/ng = special pasangan (-h, -r, -ng)
50
			['꧀​h', '','꧀ꦲ꧀'],
51
			// vocal a ended with h/r/ng
52
			['(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦿ|ꦾ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ|꦳)(h|H)', '','$1ꦃ'], // hanacaraka + h = -h
53
			['(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦿ|ꦾ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ|꦳)(r|R)', '','$1ꦂ'], // hanacaraka + r = -r
54
			['(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦿ|ꦾ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ|꦳)(ꦤ|ꦟ)꧀(g|G)', '','$1ꦁ'], // hanacaraka + ng = -ng
55
			// other vocals ended with h/r/ng
56
			['(ꦴ|ꦻ|ꦍ|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ꦄ|ꦌ|ꦆ|ꦎ|ꦈ)(h|H)', '','$1ꦃ'], // other vocal ended with -h
57
			['(ꦴ|ꦻ|ꦍ|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ꦄ|ꦌ|ꦆ|ꦎ|ꦈ)(r|R)', '','$1ꦂ'], // other vocal ended with -r
58
			['(ꦴ|ꦻ|ꦍ|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ꦄ|ꦌ|ꦆ|ꦎ|ꦈ)(ꦤ|ꦟ)꧀(g|G)', '','$1ꦁ'], // other vocal ended with -ng
59
60
			// V. Lower case consonant followed by lower case consonant: Basic
61
			// Note: not all of these combination are valid in Javanese language, for example -hn-,
62
			// so they are here only for logical reason, practically they should never be used.
63
			// Obvious removal are noted (such as -yy-). th, dh, ny, ng, c, h, r, w, y are special cases:
64
65
			// pasangan 'ha'(ꦲ/ꦃ) is considered final, exception: about 60 words can be found of "ha" followed by consonant y/r/l/w
66
			// pasangan 'ra'(ꦫ/ꦂ) is considered final, exception: 5 words can be found of "ra" followed by consonant y/w
67
			// pasangan bigraf nga(ꦔ/ꦁ) is considered final, exception: "nga" can only be found followed by consonant y/r/l/w
68
			// (some problem may occur - see http://jv.wikipedia.org/wiki/Dhiskusi_Panganggo:Bennylin/Narayam#Ng)
69
			// pasangan bigraf nya can only be found followed by consonant r/l/w, and
70
			// although not found in Latin, it also found in Javanese script representation of nasal sounds ñ (see nyc and nyj)
71
			// pasangan bigraf dha can only be found followed by consonant y/r/ w
72
			// pasangan bigraf tha can only be found followed by consonant r
73
			// the letter 'w' can only be found followed by consonant y/r/l/w (nasal for 'u')
74
			// the letter 'c' can only be found followed by consonant r/l, and ch
75
			// the letter 'y' can only be found followed by consonant w (nasal for 'i')
76
77
			['꧀a', '',''], // default vowel is a, so, remove the pangkon
78
			['꧀A', '','ꦄ'], // A
79
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀b', '','$1꧀ꦧ꧀'],
80
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀B', '','$1꧀ꦨ꧀'], // pasangan Ba murda
81
			['ꦤ꧀​(c|C)', '','ꦚ꧀ꦕ꧀'], // n+zero-width-space+c
82
			['ꦤ꧀(c|C)', '','ꦚ꧀ꦕ꧀'], // n followed by c became nasalized (nasal sound 'ny' + c)(REF:nyc)
83
			['(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀c', '','$1꧀ꦕ꧀'],
84
			['(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀C', '','$1꧀ꦖ꧀'], // pasangan Ca murda(?)
85
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀d', '','$1꧀ꦢ꧀'],
86
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀D', '','$1꧀ꦣ꧀'],
87
			['꧀e', '','ꦺ'], // é|è
88
			['꧀E', '','ꦌ'], // É|È
89
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(f|v|F|V)', '','$1꧀ꦥ꦳꧀'],
90
			['(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀g', '','$1꧀ꦒ꧀'], // can't be started with n, reserved for bigraf ng
91
			['(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀G', '','$1꧀ꦓ꧀'], // pasangan Ga murda (can't be started with n - see II. 2.)
92
			['(ꦤ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(h|H)', '','$1꧀ꦲ꧀'], // can't be started with k/d/t/g, reserved for bigraf kh/dh/th/gh
93
			['꧀i', '','ꦶ'], // i
94
			['꧀I', '','ꦆ'], // I
95
			['ꦤ꧀​(j|J)', '','ꦤ꧀ꦗ꧀'], // n+zero-width-space+j
96
			['ꦤ꧀(j|J)', '','ꦚ꧀ꦗ꧀'], // n followed by j became nasalized (nasal sound 'ny' + j)(REF:nyj)
97
			['(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(j|J)', '','$1꧀ꦗ꧀'],
98
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀k', '','$1꧀ꦏ꧀'],
99
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀K', '','$1꧀ꦑ꧀'], // pasangan Ka murda
100
			['(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(l|L)', '','$1꧀ꦭ꧀'],
101
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(m|M)', '','$1꧀ꦩ꧀'],
102
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀n', '','$1꧀ꦤ꧀'],
103
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀N', '','$1꧀ꦟ꧀'], // pasangan Na murda
104
			['꧀o', '','ꦺꦴ'], // o
105
			['꧀O', '','ꦎ'], // O
106
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀p', '','$1꧀ꦥ꧀'],
107
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀P', '','$1꧀ꦦ꧀'], // pasangan Pa murda
108
			// q
109
			['(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀​r', '','$1꧀ꦫ꧀'], // consonant+zero-width-space+(r|R) doesn't make special biconsonant -ra
110
			['(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀​R', '','$1꧀ꦬ꧀'], // consonant+zero-width-space+(r|R) doesn't make special biconsonant -ra
111
			['(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(r|R)', '','$1ꦿ'], // special biconsonant -ra
112
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀s', '','$1꧀ꦱ꧀'],
113
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀S', '','$1꧀ꦯ꧀'], // pasangan Sa murda
114
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀t', '','$1꧀ꦠ꧀'],
115
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀T', '','$1꧀ꦡ꧀'], // pasangan Ta murda
116
			['꧀u', '','ꦸ'], // u
117
			['꧀U', '','ꦈ'], // U
118
			// v = f
119
			['(ꦲ|ꦃ|ꦤ|ꦫ|ꦂ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(w|W)꧀', '','$1꧀ꦮ'],
120
			['(ꦲ|ꦃ|ꦫ|ꦂ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦩ|ꦒ|ꦧ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀​(y|Y)', '','$1꧀ꦪ꧀'], // consonant+zero-width-space+(y|Y) doesn't make special biconsonant -ya
121
122
			['(ꦲ|ꦃ|ꦫ|ꦂ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦩ|ꦒ|ꦧ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦦ|ꦯ|ꦡ)꧀(y|Y)', '','$1ꦾ'], // special biconsonant -ya,
123
			// can't be started with n or y, reserved for bigraf ny (REF:-yy-)
124
			['(ꦤ|ꦏ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(z|Z)', '','$1ꦾꦗ꦳꧀'], // can't be started with d, reserved for bigraf dz
125
126
			// IV. 1. Special consonant
127
			['(ꦾ|ꦿ)a', '','$1'],
128
			['ꦿx', '','ꦽ'], // special biconsonant -rê
129
			['ꦊq', '','ꦋ'], // special character lê Raswadi
130
			['ꦭ꧀x', '','ꦊ'], // special character lê
131
			['ꦫ꧀x', '','ꦉ'], // special character rê
132
			['ꦌx', '','ꦄꦼ'], // Ê
133
			['꧀x', '','ꦼ'], // x is another way to write ê
134
			['꧀X', '','ꦄꦼ'], // X is another way to write Ê
135
136
			// IV. 3. Extended vowel
137
			// long a (aa) - see II.
138
			['(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ|꦳)i', '','$1ꦻ'], // hanacaraka + i = -ai
139
			['(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ|꦳)u', '','$1ꦻꦴ'], // hanacaraka + u = -au
140
			['ꦄi', '','ꦍ'], // Ai
141
			['ꦄu', '','ꦎꦴ'], // Au
142
			['ꦶi', '','ꦷ'], // long i (ii)
143
			['ꦆi', '','ꦇ'], // long i (Ii)
144
			['ꦸu', '','ꦹ'], // long u (uu)
145
			['ꦈu', '','ꦈꦴ'], // long u (Uu)
146
			['ꦺꦴo', '','ꦵ'], // Sundanese -o
147
148
			// IV. 2. Extended consonant
149
			['ꦱ꧀​(s|h)', '','ꦰ꧀'], // s_s (with zero-width-space)
150
			['ꦏ꧀​h', '','ꦏ꧀ꦲ꧀'], // k_h (with zero-width-space)
151
			['ꦒ꧀​h', '','ꦒ꧀ꦲ꧀'], // g_h (with zero-width-space)
152
			['ꦢ꧀​z', '','ꦢ꧀ꦗ꦳꧀'], // d_z (with zero-width-space)
153
			['ꦗ꧀​h', '','ꦙ'], // j_h (with zero-width-space)
154
			['ꦱ꧀(s|h)', '','ꦰ꧀'], // ss/sh
155
			['ꦏ꧀h', '','ꦏ꦳'], // kh
156
			['ꦒ꧀h', '','ꦒ꦳'], // gh
157
			['ꦢ꧀z', '','ꦢ꦳'], // dz
158
			['ꦗ꧀h', '','ꦙ'], // jh/Ja mahaprana
159
160
			// III. Non-words
161
			// q and Q are special characters for choosing less used characters by pressing q/Q multiple times (rotating back)
162
			[' ', '','​'], // zero-width-space, since javanese have no space
163
			['꧅q', '','꧁'], // rêrênggan kiwa
164
			['꧄q', '','꧅'], // pada luhur
165
			['꧃q', '','꧄'], // pada madya
166
			['꧂q', '', '꧃'],// pada andhap
167
			['꧁q', '','꧂'], // rêrênggan têngên
168
			['Q', '','꧁'], // rêrênggan kiwa
169
			['꧟[Q|q]', '','꧀'], // pangkon
170
			['꧞[Q|q]', '','꧟'], // pada isen-isen
171
			['꧆[Q|q]', '','꧞'], // pada tirta tumetes
172
			['ꦀ[Q|q]', '', '꧆'],// pada windu
173
			['꦳[Q|q]', '','ꦀ'], // panyangga
174
			['꧀[Q|q]', '','꦳'], // cecak telu
175
			['q', '','꧀'], // pangkon - to cut off the default -a vowel
176
177
			['ꦫq', '','ꦿ'], // another way to write -ra
178
			['ꦪq', '','ꦾ'], // another way to write -ya
179
180
			// II. 1. Alphabetical ha-na-ca-ra-ka
181
			['ꦠ꧀​h', '','ꦠ꧀ꦲ꧀'], // t_h (with zero-width-space)
182
			['ꦢ꧀​h', '','ꦢ꧀ꦲ꧀'], // d_h (with zero-width-space)
183
			['ꦤ꧀​y', '','ꦚ꧀ꦪ꧀'], // n_y (with zero-width-space)
184
			['ꦤ꧀​g', '','ꦔ꧀ꦒ꧀'], // n_g (with zero-width-space)
185
			['ꦠ꧀h', '','ꦛ꧀'], // th
186
			['ꦢ꧀h', '','ꦝ꧀'], // dh
187
			['ꦤ꧀y', '','ꦚ꧀'], // ny
188
			['ꦤ꧀g', '','ꦁ'], // ng
189
			['a', '','ꦲ'],
190
			['b', '','ꦧ꧀'],
191
			['c', '','ꦕ꧀'],
192
			['d', '','ꦢ꧀'],
193
			['e', '','ꦲꦺ'], // é|è
194
			['(f|v)', '','ꦥ꦳꧀'],
195
			['g', '','ꦒ꧀'],
196
			['h', '','ꦲ꧀'],
197
			['i', '','ꦲꦶ'],
198
			['j', '','ꦗ꧀'],
199
			['k', '','ꦏ꧀'],
200
			['l', '','ꦭ꧀'],
201
			['m', '','ꦩ꧀'],
202
			['n', '','ꦤ꧀'],
203
			['o', '','ꦲꦺꦴ'],
204
			['p', '','ꦥ꧀'],
205
			// q = special letters, see III.
206
			['r', '','ꦫ꧀'],
207
			['s', '','ꦱ꧀'],
208
			['t', '','ꦠ꧀'],
209
			['u', '','ꦲꦸ'],
210
			// v = f
211
			['w', '','ꦮ꧀'],
212
			['x', '','ꦲꦼ'], // ê
213
			['y', '','ꦪ꧀'],
214
			['z', '','ꦗ꦳꧀'],
215
216
			// II. Basic Letters:
217
			// II. 2. Capital Ha-Na-Ca-Ra-Ka (Aksara Murda)
218
			['(ꦠ|ꦡ)꧀(h|H)', '','ꦛ꧀'],
219
			['ꦣ꧀h', '','ꦞ꧀'], // Dha murda
220
			['(ꦢ|ꦣ)꧀H', '','ꦞ꧀'], // Dha murda
221
			['ꦟ꧀y', '','ꦘ꧀'], // Nya murda
222
			['(ꦤ|ꦟ)꧀Y', '','ꦘ꧀'], // NYA murda
223
			['(ꦤ|ꦟ)꧀(g|G)', '','ꦔ꧀'],// nga
224
			['A', '','ꦄ'], // A
225
			['B', '','ꦨ꧀'], // Ba murda
226
			['C', '','ꦖ꧀'], // Ca murda(?)
227
			['D', '','ꦣ꧀'],
228
			['E', '','ꦌ'], // É|È
229
			['(F|V)', '','ꦥ꦳꧀'],
230
			['G', '','ꦓ꧀'], // Ga murda
231
			['H', '','ꦲ꧀'],
232
			['I', '','ꦆ'], // I
233
			['J', '','ꦙ꧀'],// Ja Mahaprana
234
			['K', '','ꦑ꧀'], // Ka murda
235
			['L', '','ꦭ꧀'],
236
			['M', '','ꦩ꧀'],
237
			['N', '','ꦟ꧀'], // Na murda
238
			['O', '','ꦎ'], // O
239
			['P', '','ꦦ꧀'], // Pa murda
240
			// Q = special letters, see III.
241
			['R', '','ꦬ꧀'],
242
			['S', '','ꦯ꧀'], // Sa murda
243
			['T', '','ꦡ꧀'], // Ta murda
244
			['U', '','ꦈ'], // U
245
			// V = F
246
			['W', '','ꦮ꧀'],
247
			['X', '','ꦄꦼ'], // X is another way to write Ê
248
			['Y', '','ꦪ꧀'],
249
			['Z', '','ꦗ꦳꧀'],
250
251
			// I. Number
252
			['0', '','꧐'],
253
			['1', '','꧑'],
254
			['2', '','꧒'],
255
			['3', '','꧓'],
256
			['4', '','꧔'],
257
			['5', '','꧕'],
258
			['6', '','꧖'],
259
			['7', '','꧗'],
260
			['8', '','꧘'],
261
			['9', '','꧙'],
262
			[':', '','꧇'], // 'enclose Javanese numbers, e.g. ":1:"'
263
			[',', '','꧈'], // 'comma'
264
			['\\.', '','꧉'], // 'period'
265
			['꧊\\|', '','꧋'], // 'opening paragraph character'
266
			['\\|', '','꧊'], // 'poem character'
267
			['\\(', '','꧌'], // 'Javanese opening bracket'
268
			['\\)', '','꧍'] // 'Javanese closing bracket'
269
		]
270
	};
271
272
	$.ime.register( jvTransliteration );
273
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ka/ka-kbd.js (+56 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kaKbd = {
5
		id: 'ka-kbd',
6
		name: 'Georgian kbd',
7
		description: 'Georgian kbd keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['.k', 'კ'],
15
			['.p', 'პ'],
16
			['+z', 'ჟ'],
17
			['.t', 'ტ'],
18
			['.g', 'ღ'],
19
			['+s', 'შ'],
20
			['.+c', 'ჭ'],
21
			['+c', 'ჩ'],
22
			['.c', 'წ'],
23
			['+j', 'ჯ'],
24
			['ყ1', 'ჴ'],
25
			['ე0', 'ჱ'],
26
			['ო1', 'ჵ'],
27
			['ი1', 'ჲ'],
28
			['a', 'ა'],
29
			['b', 'ბ'],
30
			['g', 'გ'],
31
			['d', 'დ'],
32
			['e', 'ე'],
33
			['v', 'ვ'],
34
			['z', 'ზ'],
35
			['t', 'თ'],
36
			['i', 'ი'],
37
			['l', 'ლ'],
38
			['m', 'მ'],
39
			['n', 'ნ'],
40
			['o', 'ო'],
41
			['r', 'რ'],
42
			['s', 'ს'],
43
			['u', 'უ'],
44
			['p', 'ფ'],
45
			['k', 'ქ'],
46
			['q', 'ყ'],
47
			['c', 'ც'],
48
			['j', 'ძ'],
49
			['x', 'ხ'],
50
			['h', 'ჰ'],
51
			['w', 'ჳ'],
52
			['f', 'ჶ']]
53
	};
54
55
	$.ime.register( kaKbd );
56
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ka/ka-transliteration.js (+58 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kaTransliteration = {
5
		id: 'ka-transliteration',
6
		name: 'ტრანსლიტერაცია',
7
		description: 'Georgian transliteration',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Ioseb Dzmanashvili (http://www.code.ge), [[User:Hooman]], Srikanth L',
11
		license: 'MIT',
12
		version: '1.0',
13
		contextLength: 3,
14
		maxKeyLength: 1,
15
		patterns: [
16
			['\\\\([A-Za-z|\\~|\\`])', '\\\\', '$1'],
17
			['`', '„'],
18
			['~', '“'],
19
			['q', 'ქ'],
20
			['w', 'წ'],
21
			['e', 'ე'],
22
			['r', 'რ'],
23
			['t', 'ტ'],
24
			['y', 'ყ'],
25
			['u', 'უ'],
26
			['i', 'ი'],
27
			['o', 'ო'],
28
			['p', 'პ'],
29
30
			['a', 'ა'],
31
			['s', 'ს'],
32
			['d', 'დ'],
33
			['f', 'ფ'],
34
			['g', 'გ'],
35
			['h', 'ჰ'],
36
			['j', 'ჯ'],
37
			['k', 'კ'],
38
			['l', 'ლ'],
39
40
			['z', 'ზ'],
41
			['x', 'ხ'],
42
			['c', 'ც'],
43
			['v', 'ვ'],
44
			['b', 'ბ'],
45
			['n', 'ნ'],
46
			['m', 'მ'],
47
48
			['W', 'ჭ'],
49
			['R', 'ღ'],
50
			['T', 'თ'],
51
			['S', 'შ'],
52
			['J', 'ჟ'],
53
			['Z', 'ძ'],
54
			['C', 'ჩ']]
55
	};
56
57
	$.ime.register( kaTransliteration );
58
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kk/kk-arabic.js (+62 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kkArabic = {
5
		id: 'kk-arabic',
6
		name: 'Kazak arabic',
7
		description: 'Kazak arabic in Arabic script keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['a', 'ا'],
15
			['A', 'ٵ'],
16
			['b', 'ب'],
17
			['v', 'ۆ'],
18
			['g', 'گ'],
19
			['R', 'ع'],
20
			['d', 'د'],
21
			['e', 'ە'],
22
			['j', 'ج'],
23
			['z', 'ز'],
24
			['y', 'ي'],
25
			['k', 'ك'],
26
			['q', 'ق'],
27
			['l', 'ل'],
28
			['m', 'م'],
29
			['n', 'ن'],
30
			['N', 'ڭ'],
31
			['o', 'و'],
32
			['O', 'ٶ'],
33
			['p', 'پ'],
34
			['r', 'ر'],
35
			['s', 'س'],
36
			['t', 'ت'],
37
			['w', 'ۋ'],
38
			['u', 'ۇ'],
39
			['U', 'ٷ'],
40
			['f', 'ف'],
41
			['H', 'ح'],
42
			['h', 'ه'],
43
			['c', 'چ'],
44
			['S', 'ش'],
45
			['I', 'ى'],
46
			['i', 'ٸ'],
47
			[';', '؛'],
48
			[',', '،'],
49
			['\\?', '?'],
50
			['\\<', '>'],
51
			['\\>', '<'],
52
			['\\(', ')'],
53
			['\\)', '('],
54
			['\\[', ']'],
55
			['\\]', '['],
56
			['\\{', '}'],
57
			['\\}', '{']
58
		]
59
	};
60
61
	$.ime.register( kkArabic );
62
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kk/kk-kbd.js (+108 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kkKbd = {
5
		id: 'kk-kbd',
6
		name: 'Kazak kbd',
7
		description: 'Kazak kbd in Cyrillic script keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['`', '('],
15
			['\\~', ')'],
16
			['1', '\"'],
17
			['2', 'ә'],
18
			['\\@', 'Ә'],
19
			['3', 'і'],
20
			['\\#', 'І'],
21
			['4', 'ӊ'],
22
			['\\$', 'Ӊ'],
23
			['5', 'ғ'],
24
			['\\%', 'Ғ'],
25
			['6', ','],
26
			['\\^', ';'],
27
			['7', '.'],
28
			['\\&', ':'],
29
			['8', 'ү'],
30
			['\\*', 'Ү'],
31
			['9', 'ұ'],
32
			['\\(', 'Ұ'],
33
			['0', 'қ'],
34
			['\\)', 'Қ'],
35
			['\\-', 'ө'],
36
			['\\_', 'Ө'],
37
			['\\=', 'һ'],
38
			['\\+', 'Һ'],
39
			['q', 'й'],
40
			['Q', 'Й'],
41
			['w', 'ц'],
42
			['W', 'Ц'],
43
			['e', 'у'],
44
			['E', 'У'],
45
			['r', 'к'],
46
			['R', 'К'],
47
			['t', 'е'],
48
			['T', 'Е'],
49
			['y', 'н'],
50
			['Y', 'Н'],
51
			['u', 'г'],
52
			['U', 'Г'],
53
			['i', 'ш'],
54
			['I', 'Ш'],
55
			['o', 'щ'],
56
			['O', 'Щ'],
57
			['p', 'з'],
58
			['P', 'З'],
59
			['\\[', 'х'],
60
			['\\{', 'Х'],
61
			['\\]', 'ъ'],
62
			['\\}', 'Ъ'],
63
			['a', 'ф'],
64
			['A', 'Ф'],
65
			['s', 'ы'],
66
			['S', 'Ы'],
67
			['d', 'в'],
68
			['D', 'В'],
69
			['f', 'а'],
70
			['F', 'А'],
71
			['g', 'п'],
72
			['G', 'П'],
73
			['h', 'р'],
74
			['H', 'Р'],
75
			['j', 'о'],
76
			['J', 'О'],
77
			['k', 'л'],
78
			['K', 'Л'],
79
			['l', 'д'],
80
			['L', 'Д'],
81
			[';', 'ж'],
82
			[':', 'Ж'],
83
			['\'', 'э'],
84
			['\"', 'Э'],
85
			['z', 'я'],
86
			['Z', 'Я'],
87
			['x', 'ч'],
88
			['X', 'Ч'],
89
			['c', 'с'],
90
			['C', 'С'],
91
			['v', 'м'],
92
			['V', 'М'],
93
			['b', 'и'],
94
			['B', 'И'],
95
			['n', 'т'],
96
			['N', 'Т'],
97
			['m', 'ь'],
98
			['M', 'Ь'],
99
			[',', 'б'],
100
			['\\<', 'Б'],
101
			['\\.', 'ю'],
102
			['\\>', 'Ю'],
103
			['/', '№']
104
		]
105
	};
106
107
	$.ime.register( kkKbd );
108
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kn/kn-inscript.js (+111 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var knInscript = {
5
		id: 'kn-inscript',
6
		name: 'ಇನ್\u200cಸ್ಕ್ರಿಪ್ಟ್',
7
		description: 'Inscript keyboard for Kannada script',
8
		date: '2012-10-14',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['x', '\u0C82'],
14
			['_', '\u0C83'],
15
			['D', '\u0C85'],
16
			['E', '\u0C86'],
17
			['F', '\u0C87'],
18
			['R', '\u0C88'],
19
			['G', '\u0C89'],
20
			['T', '\u0C8A'],
21
			['\\+', '\u0C8B'],
22
			['Z', '\u0C8E'],
23
			['S', '\u0C8F'],
24
			['W', '\u0C90'],
25
			['~', '\u0C92'],
26
			['A', '\u0C93'],
27
			['Q', '\u0C94'],
28
			['k', '\u0C95'],
29
			['K', '\u0C96'],
30
			['i', '\u0C97'],
31
			['I', '\u0C98'],
32
			['U', '\u0C99'],
33
			[';', '\u0C9A'],
34
			['\\:', '\u0C9B'],
35
			['p', '\u0C9C'],
36
			['P', '\u0C9D'],
37
			['\\}', '\u0C9E'],
38
			['\'', '', '\u0C9F'],
39
			['"', '\u0CA0'],
40
			['\\[', '\u0CA1'],
41
			['\\{', '\u0CA2'],
42
			['C', '\u0CA3'],
43
			['l', '\u0CA4'],
44
			['L', '\u0CA5'],
45
			['o', '\u0CA6'],
46
			['O', '\u0CA7'],
47
			['v', '\u0CA8'],
48
			['h', '\u0CAA'],
49
			['H', '\u0CAB'],
50
			['y', '\u0CAC'],
51
			['Y', '\u0CAD'],
52
			['c', '\u0CAE'],
53
			['/', '\u0CAF'],
54
			['j', '\u0CB0'],
55
			['J', '\u0CB1'],
56
			['n', '\u0CB2'],
57
			['N', '\u0CB3'],
58
			['b', '\u0CB5'],
59
			['M', '\u0CB6'],
60
			[',', '\u0CB7'],
61
			['m', '\u0CB8'],
62
			['u', '\u0CB9'],
63
			['\\]', '\u0CBC'],
64
			['e', '\u0CBE'],
65
			['f', '\u0CBF'],
66
			['r', '\u0CC0'],
67
			['g', '\u0CC1'],
68
			['t', '\u0CC2'],
69
			['\\=', '\u0CC3'],
70
			['z', '\u0CC6'],
71
			['s', '\u0CC7'],
72
			['w', '\u0CC8'],
73
			['`', '\u0CCA'],
74
			['a', '\u0CCB'],
75
			['q', '\u0CCC'],
76
			['d', '\u0CCD'],
77
			['t', '\u0CC2'],
78
			['0', '\u0CE6'],
79
			['1', '\u0CE7'],
80
			['2', '\u0CE8'],
81
			['3', '\u0CE9'],
82
			['4', '\u0CEA'],
83
			['5', '\u0CEB'],
84
			['6', '\u0CEC'],
85
			['7', '\u0CED'],
86
			['8', '\u0CEE'],
87
			['9', '\u0CEF'],
88
			['\\#', '\u0CCD\u0CB0'],
89
			['\\%', '\u0C9C\u0CCD\u0C9E'],
90
			['\\^', '\u0CA4\u0CCD\u0CB0'],
91
			['\\&', '\u0C95\u0CCD\u0CB0'],
92
			['\\(', '\u200D'],
93
			['\\)', '\u200C']],
94
		patterns_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
	$.ime.register( knInscript );
111
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kn/kn-inscript2.js (+119 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var knInscript2 = {
5
		id: 'kn-inscript2',
6
		name: 'ಇನ್\u200cಸ್ಕ್ರಿಪ್ಟ್ ೨',
7
		description: 'Enhanced InScript keyboard for Kannada script',
8
		date: '2013-01-16',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '೧'],
14
			['2', '೨'],
15
			['\\#', '್ರ'],
16
			['3', '೩'],
17
			['\\$', 'ರ್'],
18
			['4', '೪'],
19
			['5', '೫'],
20
			['6', '೬'],
21
			['7', '೭'],
22
			['8', '೮'],
23
			['\\(', '('],
24
			['9', '೯'],
25
			['\\)', ')'],
26
			['0', '೦'],
27
			['\\_', 'ಃ'],
28
			['\\-', '-'],
29
			['\\+', 'ಋ'],
30
			['\\=', 'ೃ'],
31
			['Q', 'ಔ'],
32
			['q', 'ೌ'],
33
			['W', 'ಐ'],
34
			['w', 'ೈ'],
35
			['E', 'ಆ'],
36
			['e', 'ಾ'],
37
			['R', 'ಈ'],
38
			['r', 'ೀ'],
39
			['T', 'ಊ'],
40
			['t', 'ೂ'],
41
			['Y', 'ಭ'],
42
			['y', 'ಬ'],
43
			['U', 'ಙ'],
44
			['u', 'ಹ'],
45
			['I', 'ಘ'],
46
			['i', 'ಗ'],
47
			['O', 'ಧ'],
48
			['o', 'ದ'],
49
			['P', 'ಝ'],
50
			['p', 'ಜ'],
51
			['\\{', 'ಢ'],
52
			['\\[', 'ಡ'],
53
			['\\}', 'ಞ'],
54
			['\\]', '಼'],
55
			['A', 'ಓ'],
56
			['a', 'ೋ'],
57
			['S', 'ಏ'],
58
			['s', 'ೇ'],
59
			['D', 'ಅ'],
60
			['d', '್'],
61
			['F', 'ಇ'],
62
			['f', 'ಿ'],
63
			['G', 'ಉ'],
64
			['g', 'ು'],
65
			['H', 'ಫ'],
66
			['h', 'ಪ'],
67
			['J', 'ಱ'],
68
			['j', 'ರ'],
69
			['K', 'ಖ'],
70
			['k', 'ಕ'],
71
			['L', 'ಥ'],
72
			['l', 'ತ'],
73
			[':', 'ಛ'],
74
			[';', 'ಚ'],
75
			['"', 'ಠ'],
76
			['\\\'', 'ಟ'],
77
			['\\~', 'ಒ'],
78
			['`\\', 'ೊ'],
79
			['Z', 'ಎ'],
80
			['z', 'ೆ'],
81
			['x', 'ಂ'],
82
			['C', 'ಣ'],
83
			['c', 'ಮ'],
84
			['v', 'ನ'],
85
			['b', 'ವ'],
86
			['N', 'ಳ'],
87
			['n', 'ಲ'],
88
			['M', 'ಶ'],
89
			['m', 'ಸ'],
90
			['\\<', 'ಷ'],
91
			[',', ','],
92
			['\\>', '।'],
93
			['\\.', '.'],
94
			['/', 'ಯ'],
95
			['\\%', 'ಜ್ಞ'],
96
			['\\^', 'ತ್ರ'],
97
			['\\&', 'ಕ್ಷ'],
98
			['\\*', 'ಶ್ರ']
99
		],
100
		patterns_x: [
101
			['1', '\u200d'],
102
			['2', '\u200c'],
103
			['4', '₹'],
104
			['\\+', 'ೠ'],
105
			['\\=', 'ೄ'],
106
			['R', 'ೡ'],
107
			['r', 'ೣ'],
108
			['u', 'ೱ'],
109
			['F','ಌ'],
110
			['f', 'ೢ'],
111
			['H', 'ೞ'],
112
			['j', 'ೲ'],
113
			['\\>', 'ಽ'],
114
			['\\.', '॥']
115
		]
116
	};
117
118
	$.ime.register( knInscript2 );
119
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kn/kn-kgp.js (+104 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var knKGP = {
5
		id: 'kn-kgp',
6
		name: 'ಕಗಪ/ನುಡಿ',
7
		description: 'Kannada kgp/nudi/KP Rao layout',
8
		date: '2012-11-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Aravinda VK<mail@aravindavk.in>',
11
		license: 'GPLv3,MIT',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['([ಕ-ಹೞ]಼?)f', '$1್'],
17
			['([ಕ-ಹೞ]಼?್)f', '$1'],
18
			['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
19
			['([ಕ-ಹೞ]಼?)A', '$1ಾ'],
20
			['([ಕ-ಹೞ]಼?)i', '$1ಿ'],
21
			['([ಕ-ಹೞ]಼?)I', '$1ೀ'],
22
			['([ಕ-ಹೞ]಼?)u', '$1ು'],
23
			['([ಕ-ಹೞ]಼?)U', '$1ೂ'],
24
			['([ಕ-ಹೞ]಼?)R', '$1ೃ'],
25
			['([ಕ-ಹೞ]಼?)ೃX', '$1ೄ'],
26
			['([ಕ-ಹೞ]಼?)e', '$1ೆ'],
27
			['([ಕ-ಹೞ]಼?)E', '$1ೇ'],
28
			['([ಕ-ಹೞ]಼?)Y', '$1ೈ'],
29
			['([ಕ-ಹೞ]಼?)o', '$1ೊ'],
30
			['([ಕ-ಹೞ]಼?)O', '$1ೋ'],
31
			['([ಕ-ಹೞ]಼?)V', '$1ೌ'],
32
			['ಸX', 'ಽ'],
33
			['([ಕ-ಹೞ]಼?\u200D)f', '$1್'],
34
			['(\u200D)F', '\u200C'], // 0x200C Zero width non-joiner
35
			['F', '\u200D'], // 0x200D Zero width joiner
36
			['k', 'ಕ'],
37
			['K', 'ಖ'],
38
			['g', 'ಗ'],
39
			['G', 'ಘ'],
40
			['Z', 'ಙ'],
41
			['c', 'ಚ'],
42
			['C', 'ಛ'],
43
			['j', 'ಜ'],
44
			['ಜX', 'ಜ಼'],
45
			['J', 'ಝ'],
46
			['z', 'ಞ'],
47
			['q', 'ಟ'],
48
			['Q', 'ಠ'],
49
			['w', 'ಡ'],
50
			['W', 'ಢ'],
51
			['N', 'ಣ'],
52
			['t', 'ತ'],
53
			['T', 'ಥ'],
54
			['d', 'ದ'],
55
			['D', 'ಧ'],
56
			['n', 'ನ'],
57
			['p', 'ಪ'],
58
			['P', 'ಫ'],
59
			['ಫX', 'ಫ಼'],
60
			['b', 'ಬ'],
61
			['B', 'ಭ'],
62
			['m', 'ಮ'],
63
			['y', 'ಯ'],
64
			['r', 'ರ'],
65
			['ರX', 'ಱ'],
66
			['l', 'ಲ'],
67
			['v', 'ವ'],
68
			['S', 'ಶ'],
69
			['x', 'ಷ'],
70
			['s', 'ಸ'],
71
			['h', 'ಹ'],
72
			['L', 'ಳ'],
73
			['ಳX', 'ೞ'],
74
			['a', 'ಅ'],
75
			['A', 'ಆ'],
76
			['i', 'ಇ'],
77
			['I', 'ಈ'],
78
			['u', 'ಉ'],
79
			['U', 'ಊ'],
80
			['R', 'ಋ'],
81
			['ಋX', 'ೠ'],
82
			['e', 'ಎ'],
83
			['E', 'ಏ'],
84
			['Y', 'ಐ'],
85
			['o', 'ಒ'],
86
			['O', 'ಓ'],
87
			['V', 'ಔ'],
88
			['M', 'ಂ'],
89
			['H', 'ಃ'],
90
			['0', '೦'],
91
			['1', '೧'],
92
			['2', '೨'],
93
			['3', '೩'],
94
			['4', '೪'],
95
			['5', '೫'],
96
			['6', '೬'],
97
			['7', '೭'],
98
			['8', '೮'],
99
			['9', '೯']
100
		]
101
	};
102
103
	$.ime.register( knKGP );
104
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kn/kn-transliteration.js (+154 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var knTransliteration = {
5
		id: 'kn-transliteration',
6
		name: 'ಲಿಪ್ಯಂತರಣ',
7
		description: 'Kannada transliteration',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'M G Harish, HP Nadig ',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 5,
14
		maxKeyLength: 3,
15
		patterns: [
16
			['ಕ್h','c','ಚ್'],
17
			['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
18
			// For users accustomed to Baraha
19
			['ಜ್್j', 'ಜ್ಞ್'],
20
			['([ಕ-ಹೞ]಼?)್a', '$1'],
21
			['([ಕ-ಹೞ]಼?)್A', '$1ಾ'],
22
			['([ಕ-ಹೞ]಼?)a', '$1ಾ'],
23
			['([ಕ-ಹೞ]಼?)್i', '$1ಿ'],
24
			['([ಕ-ಹೞ]಼?)(್I|ಿi|ೆe)', '$1ೀ'],
25
			['([ಕ-ಹೞ]಼?)್u', '$1ು'],
26
			['([ಕ-ಹೞ]಼?)(ುu|್U|ೊo)', '$1ೂ'],
27
			['([ಕ-ಹೞ]಼?)್R', '$1ೃ'],
28
			['([ಕ-ಹೞ]಼?)ೃR', '$1ೄ'],
29
			['([ಕ-ಹೞ]಼?)್e', '$1ೆ'],
30
			['([ಕ-ಹೞ]಼?)್E', '$1ೇ'],
31
			['([ಕ-ಹೞ]಼?)i', '$1ೈ'],
32
			['([ಕ-ಹೞ]಼?)್o', '$1ೊ'],
33
			['([ಕ-ಹೞ]಼?)್O', '$1ೋ'],
34
			['([ಕ-ಹೞ]಼?)u', '$1ೌ'],
35
			['([ಕ-ಹೞ])್\\`', '$1़್'],
36
			['([ಕ-ಹೞ]಼?)್W', '$1ೌ'],
37
			['([ಕ-ಹೞ]಼?)್Y', '$1ೈ'],
38
39
			['ಅa', 'ಆ'],
40
			['(ಒo|ಉu)', 'ಊ'],
41
			['ಅi', 'ಐ'],
42
			['(ಇi|ಎe)', 'ಈ'],
43
			['ಅu', 'ಔ'],
44
			['ಋR', 'ೠ'],
45
			['ಓ~M', 'ॐ'],
46
47
			['~l', 'ೞ್'],
48
			['~h', 'ಹ್'],
49
			['~r', 'ಱ್'],
50
			['q', 'ಱ್'],
51
			['Q', 'ೞ್'],
52
			['ಕ್h', 'ಖ್'],
53
			['ಗ್h', 'ಘ್'],
54
			['~g', 'ಙ್'],
55
			['~N', 'ಙ್'],
56
			['ಚ್h', 'ಛ್'],
57
			['ಜ್h', 'ಝ್'],
58
			['~j', 'ಞ್'],
59
			['~n', 'ಞ್'],
60
			['ಟ್h', 'ಠ್'],
61
			['ಡ್h', 'ಢ್'],
62
			['ತ್h', 'ಥ್'],
63
			['ದ್h', 'ಧ್'],
64
			['ಪ್h', 'ಫ್'],
65
			['ಬ್h', 'ಭ್'],
66
			['ಸ್h', 'ಶ್'],
67
			['ಶ್h', 'ಷ್'],
68
69
			['ಋa', 'ರ'],
70
			['ಋA', 'ರಾ'],
71
			['ಋi', 'ರಿ'],
72
			['ಋI', 'ರೀ'],
73
			['ಋu', 'ರು'],
74
			['ಋU', 'ರೂ'],
75
			['ಋe', 'ರೆ'],
76
			['ಋE', 'ರೇ'],
77
78
			['X', '\u200C'], // 0x200C Zero width non-joiner
79
			['x', '\u200D'], // 0x200D Zero width joiner
80
81
			['([ಕ-ಹೞ]಼?)ೃa', '$1್ರ'],
82
			['([ಕ-ಹೞ]಼?)ೃA', '$1್ರಾ'],
83
			['([ಕ-ಹೞ]಼?)ೃi', '$1್ರಿ'],
84
			['([ಕ-ಹೞ]಼?)ೃI', '$1್ರೀ'],
85
			['([ಕ-ಹೞ]಼?)ೃu', '$1್ರು'],
86
			['([ಕ-ಹೞ]಼?)ೃU', '$1್ರೂ'],
87
			['([ಕ-ಹೞ]಼?)ೃe', '$1್ರೆ'],
88
			['([ಕ-ಹೞ]಼?)ೃE', '$1್ರೇ'],
89
			['([ಕ-ಹೞ]಼?)ೃo', '$1್ರೊ'],
90
			['([ಕ-ಹೞ]಼?)ೃO', '$1್ರೋ'],
91
			['([ಕ-ಹೞ]಼?)ೃ\\~', '$1್ರ್'],
92
93
			['।\\.', '॥'],
94
95
			['a', 'ಅ'],
96
			['b', 'ಬ್'],
97
			['c', 'ಚ್'],
98
			['d', 'ದ್'],
99
			['e', 'ಎ'],
100
			['g', 'ಗ್'],
101
			['h', 'ಹ್'],
102
			['i', 'ಇ'],
103
			['j', 'ಜ್'],
104
			['k', 'ಕ್'],
105
			['l', 'ಲ್'],
106
			['m', 'ಮ್'],
107
			['n', 'ನ್'],
108
			['o', 'ಒ'],
109
			['p', 'ಪ್'],
110
			['r', 'ರ್'],
111
			['s', 'ಸ್'],
112
			['t', 'ತ್'],
113
			['u', 'ಉ'],
114
			['(v|w)', 'ವ್'],
115
			['y', 'ಯ್'],
116
			['A', 'ಆ'],
117
			['B', 'ಭ್'],
118
			['C', 'ಛ್'],
119
			['D', 'ಡ್'],
120
			['E', 'ಏ'],
121
			['G', 'ಘ್'],
122
			['H', 'ಃ'],
123
			['I', 'ಈ'],
124
			['J', 'ಝ್'],
125
			['K', 'ಖ್'],
126
			['L', 'ಳ್'],
127
			['M', 'ಂ'],
128
			['N', 'ಣ್'],
129
			['O', 'ಓ'],
130
			['P', 'ಫ್'],
131
			['R', 'ಋ'],
132
			['S', 'ಶ್'],
133
			['T', 'ಟ್'],
134
			['U', 'ಊ'],
135
			['V', 'ವ್'],
136
			['W','','ಔ'],
137
			['Y', 'ಐ'],
138
			['(z|Z)', 'ಜ಼್'],
139
			['(f|F)', 'ಫ಼್'],
140
			['0', '೦'],
141
			['1', '೧'],
142
			['2', '೨'],
143
			['3', '೩'],
144
			['4', '೪'],
145
			['5', '೫'],
146
			['6', '೬'],
147
			['7', '೭'],
148
			['8', '೮'],
149
			['9', '೯'],
150
			['//', 'ಽ']]
151
	};
152
153
	$.ime.register( knTransliteration );
154
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ks/ks-inscript.js (+129 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ksInScript = {
5
		id: 'ks-inscript',
6
		name: 'InScript',
7
		description: 'InScript keyboard for Kashmiri language using Devanagari script',
8
		date: '2013-02-09',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		contextLength: 1,
13
		maxKeyLength: 3,
14
		patterns: [
15
			['्d', '्\u200c'],
16
			['ग_', 'ॻ'],
17
			['ज_', 'ॼ'],
18
			['ड_', 'ॾ'],
19
			['ब_', 'ॿ'],
20
			['\\!', 'ऍ'],
21
			['1', '१'],
22
			['\\@', 'ॅ'],
23
			['2', '२'],
24
			['\\#', '#'],
25
			['3', '३'],
26
			['\\$', '$'],
27
			['4', '४'],
28
			['5', '५'],
29
			['6', '६'],
30
			['7', '७'],
31
			['8', '८'],
32
			['\\(', '('],
33
			['9', '९'],
34
			['\\)', ')'],
35
			['0', '०'],
36
			['\\_', 'ः'],
37
			['\\-', '-'],
38
			['\\+', 'ऋ'],
39
			['\\=', 'ृ'],
40
			['Q', 'औ'],
41
			['q', 'ौ'],
42
			['W', 'ऐ'],
43
			['w', 'ै'],
44
			['E', 'आ'],
45
			['e', 'ा'],
46
			['R', 'ई'],
47
			['r', 'ी'],
48
			['T', 'ऊ'],
49
			['t', 'ू'],
50
			['Y', 'भ'],
51
			['y', 'ब'],
52
			['U', 'ङ'],
53
			['u', 'ह'],
54
			['I', 'घ'],
55
			['i', 'ग'],
56
			['O', 'ध'],
57
			['o', 'द'],
58
			['P', 'झ'],
59
			['p', 'ज'],
60
			['\\{', 'ढ'],
61
			['\\[', 'ड'],
62
			['\\}', 'ञ'],
63
			['\\]', '़'],
64
			['A', 'ओ'],
65
			['a', 'ो'],
66
			['S', 'ए'],
67
			['s', 'े'],
68
			['D', 'अ'],
69
			['d', '्'],
70
			['F', 'इ'],
71
			['f', 'ि'],
72
			['H', 'फ'],
73
			['h', 'प'],
74
			['J', 'ऱ'],
75
			['j', 'र'],
76
			['K', 'ख'],
77
			['k', 'क'],
78
			['L', 'थ'],
79
			['l', 'त'],
80
			[':', 'छ'],
81
			[';', 'च'],
82
			['\"', 'ठ'],
83
			['\'', 'ट'],
84
			['\\|', 'ऑ'],
85
			['\\\\', 'ॉ'],
86
			['\\~', 'ऒ'],
87
			['\\`', 'ॊ'],
88
			['Z', 'ऎ'],
89
			['z', 'ॆ'],
90
			['X', 'ँ'],
91
			['x', 'ं'],
92
			['C', 'ण'],
93
			['c', 'म'],
94
			['V', 'ऩ'],
95
			['v', 'न'],
96
			['B', 'ऴ'],
97
			['b', 'व'],
98
			['N', 'ळ'],
99
			['n', 'ल'],
100
			['M', 'श'],
101
			['m', 'स'],
102
			['\\<', 'ष'],
103
			[',', ','],
104
			['\\>', '।'],
105
			['\\.', '.'],
106
			['\\?', 'य़'],
107
			['/', 'य'],
108
			['\\%', 'ज्ञ'],
109
			['\\^', 'त्र'],
110
			['\\&', 'क्ष'],
111
			['\\*', 'श्र']
112
		],
113
		patterns_x: [
114
			['4', '₹'],
115
			['Q', 'ॵ'],
116
			['q', 'ॏ' ],
117
			['T', 'ॷ'],
118
			['t', 'ॗ'],
119
			['A', 'ॴ'],
120
			['a', 'ऻ'],
121
			['G', 'ॶ'],
122
			['g', 'ॖ'],
123
			['Z', 'ॳ'],
124
			['z', 'ऺ']
125
		]
126
	};
127
128
	$.ime.register( ksInScript );
129
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ks/ks-kbd.js (+112 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ksKbd = {
5
		id: 'ks-Kbd',
6
		name: 'Kbd',
7
		description: 'Kbd keyboard for Kashmiri language using Arabic script',
8
		date: '2013-02-09',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\~', 'ٓ'],
14
			['\\!', '!'],
15
			['1', '۱'],
16
			['\\@', '@'],
17
			['2', '۲'],
18
			['\\#', '#'],
19
			['3', '۳'],
20
			['\\$', '$'],
21
			['4', '۴'],
22
			['5', '۵'],
23
			['6', '۶'],
24
			['7', '۷'],
25
			['8', '۸'],
26
			['\\(', ')'],
27
			['9', '۹'],
28
			['\\)', '('],
29
			['0', '۰'],
30
			['\\_', 'ّ'],
31
			['\\-', '-'],
32
			['\\+', '+'],
33
			['\\=', '='],
34
			['Q', 'ﷺ'],
35
			['q', 'ق'],
36
			['W', 'ؤ'],
37
			['w', 'و'],
38
			['E', 'ئ'],
39
			['e', 'ع'],
40
			['R', 'ڑ'],
41
			['r', 'ر'],
42
			['T', 'ٹ'],
43
			['t', 'ت'],
44
			['Y', '\u0601'],
45
			['y', 'ے'],
46
			['U', '،'],
47
			['u', 'ء'],
48
			['I', 'ۆ'],
49
			['i', 'ی'],
50
			['O', 'ۃ'],
51
			['o', 'ہ'],
52
			['P', 'إ'],
53
			['p', 'پ'],
54
			['\\{', 'ٰ'],
55
			['\\[', ']'],
56
			['\\}', 'ٰ'],
57
			['\\]', '['],
58
			['A', 'آ'],
59
			['a', 'ا'],
60
			['S', 'ش'],
61
			['s', 'س'],
62
			['D', 'ڈ'],
63
			['d', 'د'],
64
			['F', 'ُ'],
65
			['f', 'ف'],
66
			['G', 'غ'],
67
			['g', 'گ'],
68
			['H', 'ح'],
69
			['h', 'ھ'],
70
			['J', 'ژ'],
71
			['j', 'ج'],
72
			['K', 'خ'],
73
			['k', 'ک'],
74
			['L', 'ؓ'],
75
			['l', 'ل'],
76
			[':', ':'],
77
			[';', '؛'],
78
			['\"', '\"'],
79
			['\'', 'ٰ'],
80
			['\\|', 'أ'],
81
			['\\\\', '؎'],
82
			['\\~', 'ً'],
83
			['`', 'ٍ'],
84
			['Z', 'ذ'],
85
			['z', 'ز'],
86
			['X', 'ض'],
87
			['x', 'ص'],
88
			['C', 'ث'],
89
			['c', 'چ'],
90
			['V', 'ظ'],
91
			['v', 'ط'],
92
			['B', 'أ'],
93
			['b', 'ب'],
94
			['N', 'ں'],
95
			['n', 'ن'],
96
			['M', 'ٔ'],
97
			['m', 'م'],
98
			['\\>', 'َ'],
99
			[',', '،'],
100
			['\\<', 'ِ'],
101
			['\\.', '۔'],
102
			['\\?', '؟'],
103
			['/', '/'],
104
			['\\%', '%'],
105
			['\\^', '^'],
106
			['\\&', '&'],
107
			['\\*', '*']
108
		]
109
	};
110
111
	$.ime.register( ksKbd );
112
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ku/ku-h.js (+47 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kuH = {
5
		id: 'ku-h',
6
		name: 'Kurdî-h',
7
		description: 'writing Kurdish-letters adding h\'s',
8
		date: '2013-06-26',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Ghybu',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		patterns: [
15
			['çh', 'h', 'ch'],
16
			['şh', 'h', 'sh'],
17
			['ḧh', 'h', 'hh'],
18
			['ẍh', 'h', 'xh'],
19
			['êe', 'e', 'ee'],
20
			['îi', 'i', 'ii'],
21
			['ûu', 'u', 'uu'],
22
			['Ç(H|h)', '(H|h)', 'C$1'],
23
			['Ş(H|h)', '(H|h)', 'S$1'],
24
			['Ḧ(H|h)', '(H|h)', 'H$1'],
25
			['Ẍ(H|h)', '(H|h)', 'X$1'],
26
			['Ê(E|e)', '(E|e)', 'E$1'],
27
			['Î(I|i)', '(I|i)', 'I$1'],
28
			['Û(U|u)', '(U|u)', 'U$1'],
29
30
			['ch', 'ç'],
31
			['sh', 'ş'],
32
			['hh', 'ḧ'],
33
			['xh', 'ẍ'],
34
			['ee', 'ê'],
35
			['ii', 'î'],
36
			['uu', 'û'],
37
			['C(H|h)', 'Ç'],
38
			['S(H|h)', 'Ş'],
39
			['H(H|h)', 'Ḧ'],
40
			['X(H|h)', 'Ẍ'],
41
			['E(E|e)', 'Ê'],
42
			['I(I|i)', 'Î'],
43
			['U(U|u)', 'Û']]
44
	};
45
46
	$.ime.register( kuH );
47
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ku/ku-tr.js (+32 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kuTr = {
5
		id: 'ku-tr',
6
		name: 'Kurdî-tr',
7
		description: 'writing Kurdish-letters using the TR keyboard',
8
		date: '2013-06-26',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Ghybu',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		patterns: [
15
			['ḧh', 'h', 'hh'],
16
			['Ḧ(H|h)', '(H|h)', 'H$1'],
17
18
			['ğ', 'ẍ'],
19
			['ı', 'i'],
20
			['i', 'î'],
21
			['ö', 'ê'],
22
			['ü', 'û'],
23
			['hh', 'ḧ'],
24
			['Ğ', 'Ẍ'],
25
			['İ', 'Î'],
26
			['Ö', 'Ê'],
27
			['Ü', 'Û'],
28
			['H(H|h)', 'Ḧ']]
29
	};
30
31
	$.ime.register( kuTr );
32
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ky/ky-cyrl-alt.js (+25 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kyCyrlAlt = {
5
		id: 'ky-cyrl-alt',
6
		name: 'Кыргыз Alt',
7
		description: 'Кыргыз Alt',
8
		date: '2013-08-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Amir (Алексей) Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [],
14
		patterns_x: [
15
			['н', 'ң'],
16
			['Н', 'Ң'],
17
			['о', 'ө'],
18
			['О', 'Ө'],
19
			['у', 'ү'],
20
			['У', 'Ү']
21
		]
22
	};
23
24
	$.ime.register( kyCyrlAlt );
25
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/lo/lo-kbd.js (+122 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var loKbd = {
5
		id: 'lo-kbd',
6
		name: 'Lao kbd',
7
		description: 'Lao kbd keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\!', '1'],
15
			['\"', '='],
16
			['\\#', '3'],
17
			['\\$', '4'],
18
			['\\&', '5'],
19
			['\\%', '໌'],
20
			['\'', 'ງ'],
21
			['\\(', '7'],
22
			['\\)', '8'],
23
			['\\*', '6'],
24
			['\\+', 'ໍ'],
25
			[',', 'ມ'],
26
			['\\-', 'ຊ'],
27
			['\\.', 'ໃ'],
28
			['/', 'ຝ'],
29
			['0', 'ຂ'],
30
			['1', 'ຢ'],
31
			['2', 'ຟ'],
32
			['3', 'ໂ'],
33
			['4', 'ຖ'],
34
			['5', 'ຸ'],
35
			['6', 'ູ'],
36
			['7', 'ຄ'],
37
			['8', 'ຕ'],
38
			['9', 'ຈ'],
39
			[':', '%'],
40
			[';', 'ວ'],
41
			['\\<', 'ໝ'],
42
			['\\=', 'ໍ'],
43
			['\\>', '$'],
44
			['\\?', ')'],
45
			['\\@', '2'],
46
			['A', 'ັ'],
47
			['B', 'ຶ'],
48
			['C', 'ຯ'],
49
			['D', '.'],
50
			['E', 'ຳ'],
51
			['F', ','],
52
			['G', ':'],
53
			['H', '໊'],
54
			['I', 'ຮ'],
55
			['J', '໋'],
56
			['K', '!'],
57
			['L', '?'],
58
			['M', 'ໆ'],
59
			['N', 'ື'],
60
			['O', 'ໜ'],
61
			['P', 'ຽ'],
62
			['Q', 'ົ'],
63
			['R', '_'],
64
			['S', ';'],
65
			['T', '+'],
66
			['U', 'ີ'],
67
			['V', 'x'],
68
			['W', '0'],
69
			['X', '('],
70
			['Y', 'ິ'],
71
			['Z', '\"'],
72
			['\\[', 'ບ'],
73
			['\\]', 'ລ'],
74
			['\\^', 'ຼ'],
75
			['\\_', '9'],
76
			['`', '*'],
77
			['a', 'ັ'],
78
			['b', 'ຶ'],
79
			['c', 'ແ'],
80
			['d', 'ກ'],
81
			['e', 'ຳ'],
82
			['f', 'ດ'],
83
			['g', 'ເ'],
84
			['h', '້'],
85
			['i', 'ຣ'],
86
			['j', '່'],
87
			['k', 'າ'],
88
			['l', 'ສ'],
89
			['m', 'ທ'],
90
			['n', 'ື'],
91
			['o', 'ນ'],
92
			['p', 'ຍ'],
93
			['q', 'ົ'],
94
			['r', 'ພ'],
95
			['s', 'ຫ'],
96
			['t', 'ະ'],
97
			['u', 'ີ'],
98
			['v', 'ອ'],
99
			['w', 'ໄ'],
100
			['x', 'ປ'],
101
			['y', 'ິ'],
102
			['z', 'ຜ'],
103
			['\\{', '-'],
104
			['\\|', 'ຫຼ'],
105
			['\\}', '/'],
106
			['~', '໌'],
107
			['\\\\', '\\'],
108
			['0', '໐'],
109
			['1', '໑'],
110
			['2', '໒'],
111
			['3', '໓'],
112
			['4', '໔'],
113
			['5', '໕'],
114
			['6', '໖'],
115
			['7', '໗'],
116
			['8', '໘'],
117
			['9', '໙']
118
		]
119
	};
120
121
	$.ime.register( loKbd );
122
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/lud/lud-transliteration.js (+29 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mapping = {
5
		id: 'lud-transliteration',
6
		name: 'lud',
7
		description: 'Ludic transliteration',
8
		date: '2014-06-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Niklas Laxström',
11
		license: 'MIT',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['ch', 'č'],
17
			['C[hH]', 'Č'],
18
			['sh', 'š'],
19
			['S[hH]', 'Š'],
20
			['zh', 'ž'],
21
			['Z[hH]', 'Ž'],
22
			['y', 'ü'],
23
			['Y', 'Ü'],
24
			['\'', '’']
25
		]
26
	};
27
28
	$.ime.register( mapping );
29
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mai/mai-inscript.js (+22 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiInScript, maithiliPatterns, maithiliInScript;
5
	hiInScript = $.ime.inputmethods['hi-inscript'];
6
	maithiliPatterns = $.extend( hiInScript.patterns, [ [ 'z', '\u02BC' ] ] ); // apostrophe
7
8
	maithiliInScript = {
9
		id: 'mai-inscript',
10
		name: 'इनस्क्रिप्ट',
11
		description: 'InScript keyboard for Maithili',
12
		date: '2011-02-26',
13
		license: 'GPLv3',
14
		version: '1.0',
15
		contextLength: 0,
16
		maxKeyLength: 1,
17
		patterns: maithiliPatterns,
18
		patterns_x: hiInScript.patterns_x
19
	};
20
21
	$.ime.register( maithiliInScript );
22
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mai/mai-inscript2.js (+25 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiInScript2, maithiliPatterns2, maithiliInScript2;
5
6
	hiInScript2 = $.ime.inputmethods['hi-inscript2'];
7
	maithiliPatterns2 = $.extend( hiInScript2.patterns,
8
		[ [ 'z', '\u02BC' ] ]
9
	); // apostrophe
10
11
	maithiliInScript2 = {
12
		id: 'mai-inscript2',
13
		name: 'इनस्क्रिप्ट २',
14
		description: 'InScript2 keyboard for Maithili',
15
		date: '2013-02-13',
16
		license: 'GPLv3',
17
		version: '1.0',
18
		contextLength: 0,
19
		maxKeyLength: 1,
20
		patterns: maithiliPatterns2,
21
		patterns_x: hiInScript2.patterns_x
22
	};
23
24
	$.ime.register( maithiliInScript2 );
25
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mh/mh.js (+43 lines)
Line 0 Link Here
1
/**
2
 * Businesses and government offices in the Republic of the Marshall Islands typically use
3
 * a font to replace eight letters that are typically unused in the Marshallese language
4
 * with Marshallese letters.
5
 * Sample English translations: http://mapmeld.github.com/olpc-rmi/laptops.html
6
 * Pronunciation: http://www.rmiembassyus.org/Marshallese%20Phrasebook.htm
7
 */
8
9
( function ( $ ) {
10
	'use strict';
11
12
	var mh = {
13
		id: 'mh',
14
		name: 'Kajin M̧ajeļ',
15
		description: 'Marshallese Language',
16
		date: '2013-03-29',
17
		URL: 'http://github.com/wikimedia/jquery.ime',
18
		author: 'Nick Doiron, <ndoiron@mapmeld.com>',
19
		license: 'GPLv3',
20
		version: '1.0',
21
		patterns: [
22
			['Y', 'Ū'],
23
			['S', 'Ā'],
24
			['F', 'Ņ'],
25
			['G', 'N̄'],
26
			['H', 'M̧'],
27
			['X', 'O̧'],
28
			['C', 'Ō'],
29
			['V', 'Ļ'],
30
31
			['y', 'ū'],
32
			['s', 'ā'],
33
			['f', 'ņ'],
34
			['g', 'n̄'],
35
			['h', 'm̧'],
36
			['x', 'o̧'],
37
			['c', 'ō'],
38
			['v', 'ļ']
39
		]
40
	};
41
42
	$.ime.register( mh );
43
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ml/ml-inscript.js (+90 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var inscript = {
5
		id: 'ml-inscript',
6
		name: 'ഇൻസ്ക്രിപ്റ്റ്',
7
		description: 'Malayalam InScript',
8
		date: '2012-10-03',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			[ '`', 'ൊ' ],
17
			[ '~', 'ഒ' ],
18
			[ '_', 'ഃ' ],
19
			[ '=', 'ൃ' ],
20
			[ '\\+', 'ഋ' ],
21
			[ '\\\\', '\u200C' ],
22
			[ 'q', 'ൗ' ],
23
			[ 'Q', 'ഔ' ],
24
			[ 'w', 'ൈ' ],
25
			[ 'W', 'ഐ' ],
26
			[ 'e', 'ാ' ],
27
			[ 'E', 'ആ' ],
28
			[ 'r', 'ീ' ],
29
			[ 'R', 'ഈ' ],
30
			[ 't', 'ൂ' ],
31
			[ 'T', 'ഊ' ],
32
			[ 'y', 'ബ' ],
33
			[ 'Y', 'ഭ' ],
34
			[ 'u', 'ഹ' ],
35
			[ 'U', 'ങ' ],
36
			[ 'i', 'ഗ' ],
37
			[ 'I', 'ഘ' ],
38
			[ 'o', 'ദ' ],
39
			[ 'O', 'ധ' ],
40
			[ 'p', 'ജ' ],
41
			[ 'P', 'ഝ' ],
42
			[ '\\[', 'ഡ' ],
43
			[ '\\{', 'ഢ' ],
44
			[ 'ണ്\\]', 'ൺ' ],
45
			[ 'ന്\\]', 'ൻ' ],
46
			[ 'ര്\\]', 'ർ' ],
47
			[ 'ല്\\]', 'ൽ' ],
48
			[ 'ള്\\]', 'ൾ' ],
49
			[ 'ക്\\]', 'ൿ' ],
50
			[ '\\}', 'ഞ' ],
51
			[ 'a', 'ോ' ],
52
			[ 'A', 'ഓ' ],
53
			[ 's', 'േ' ],
54
			[ 'S', 'ഏ' ],
55
			[ 'd', '്' ],
56
			[ 'D', 'അ' ],
57
			[ 'f', 'ി' ],
58
			[ 'F', 'ഇ' ],
59
			[ 'g', 'ു' ],
60
			[ 'G', 'ഉ' ],
61
			[ 'h', 'പ' ],
62
			[ 'H', 'ഫ' ],
63
			[ 'j', 'ര' ],
64
			[ 'J', 'റ' ],
65
			[ 'k', 'ക' ],
66
			[ 'K', 'ഖ' ],
67
			[ 'l', 'ത' ],
68
			[ 'L', 'ഥ' ],
69
			[ ';', 'ച' ],
70
			[ ':', 'ഛ' ],
71
			[ '\'', 'ട' ],
72
			[ '"', 'ഠ' ],
73
			[ 'z', 'െ' ],
74
			[ 'Z', 'എ' ],
75
			[ 'x', 'ം' ],
76
			[ 'c', 'മ' ],
77
			[ 'C', 'ണ' ],
78
			[ 'v', 'ന' ],
79
			[ 'b', 'വ' ],
80
			[ 'B', 'ഴ' ],
81
			[ 'n', 'ല' ],
82
			[ 'N', 'ള' ],
83
			[ 'm', 'സ' ],
84
			[ 'M', 'ശ' ],
85
			[ '<', 'ഷ' ],
86
			[ '/', 'യ' ] ]
87
	};
88
89
	$.ime.register( inscript );
90
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ml/ml-inscript2.js (+132 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mlInScript2 = {
5
		id: 'ml-inscript2',
6
		name: 'ഇൻസ്ക്രിപ്റ്റ് 2',
7
		description: 'Enhanced InScript for Malayalam InScript',
8
		date: '2013-01-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['1', '൧'],
17
			['2', '൨'],
18
			['3', '൩'],
19
			['\\#', '്ര'],
20
			['4', '൪'],
21
			['5', '൫'],
22
			['6', '൬'],
23
			['7', '൭'],
24
			['\\&', 'ക്ഷ'],
25
			['8', '൮'],
26
			['\\*', 'ൾ'],
27
			['\\(', '('],
28
			['9', '൯'],
29
			['\\)', ')'],
30
			['0', '൦'],
31
			['\\_', 'ഃ'],
32
			['\\-', '-'],
33
			['\\+', 'ഋ'],
34
			['\\=', 'ൃ'],
35
			['Q', 'ഔ'],
36
			['q', 'ൗ'],
37
			['W', 'ഐ'],
38
			['w', 'ൈ'],
39
			['E', 'ആ'],
40
			['e', 'ാ'],
41
			['R', 'ഈ'],
42
			['r', 'ീ'],
43
			['T', 'ഊ'],
44
			['t', 'ൂ'],
45
			['Y', 'ഭ'],
46
			['y', 'ബ'],
47
			['U', 'ങ'],
48
			['u', 'ഹ'],
49
			['I', 'ഘ'],
50
			['i', 'ഗ'],
51
			['O', 'ധ'],
52
			['o', 'ദ'],
53
			['P', 'ഝ'],
54
			['p', 'ജ'],
55
			['\\{', 'ഢ'],
56
			['\\[', 'ഡ'],
57
			['\\}', 'ഞ'],
58
			['\\\\', 'ർ'],
59
			['A', 'ഓ'],
60
			['a', 'ോ'],
61
			['S', 'ഏ'],
62
			['s', 'േ'],
63
			['D', 'അ'],
64
			['d', '്'],
65
			['F', 'ഇ'],
66
			['f', 'ി'],
67
			['G', 'ഉ'],
68
			['g', 'ു'],
69
			['H', 'ഫ'],
70
			['h', 'പ'],
71
			['J', 'റ'],
72
			['j', 'ര'],
73
			['K', 'ഖ'],
74
			['k', 'ക'],
75
			['L', 'ഥ'],
76
			['l', 'ത'],
77
			[':', 'ഛ'],
78
			[';', 'ച'],
79
			['"', 'ഠ'],
80
			['\\\'', 'ട'],
81
			['\\~', 'ഒ'],
82
			['\\`', 'ൊ'],
83
			['Z', 'എ'],
84
			['z', 'െ'],
85
			['X', 'ൺ'],
86
			['x', 'ം'],
87
			['C', 'ണ'],
88
			['c', 'മ'],
89
			['V', 'ൻ'],
90
			['v', 'ന'],
91
			['B', 'ഴ'],
92
			['b', 'വ'],
93
			['N', 'ള'],
94
			['n', 'ല'],
95
			['M', 'ശ'],
96
			['m', 'സ'],
97
			['\\<', 'ഷ'],
98
			[',', ','],
99
			['\\>', 'ൽ'],
100
			['\\.', '.'],
101
			['/', 'യ']
102
		],
103
		patterns_x: [
104
			['1', '\u200d'],
105
			['\\!', '൰'],
106
			['2', '\u200c'],
107
			['\\@', '൱'],
108
			['\\#', '൲'],
109
			['\\$', '൳'],
110
			['4', '₹'],
111
			['\\%', '൴'],
112
			['\\^', '൵'],
113
			['\\+', 'ൠ'],
114
			['\\=', 'ൄ'],
115
			['q', 'ൌ'],
116
			['R', 'ൡ'],
117
			['r', 'ൣ'],
118
			['F', 'ഌ'],
119
			['f', 'ൢ'],
120
			['j', 'ർ'],
121
			['k', 'ൿ'],
122
			['c', 'ൺ'],
123
			['v', '൹'],
124
			['N', 'ൾ'],
125
			['n', 'ൽ'],
126
			['\\>', 'ഽ'],
127
			['\\.', '॥']
128
		]
129
	};
130
131
	$.ime.register( mlInScript2 );
132
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ml/ml-transliteration.js (+338 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mltransliteration = {
5
		id: 'ml-transliteration',
6
		name: 'ലിപ്യന്തരണം',
7
		description: 'Malayalam Transliteration based input method',
8
		date: '2012-10-03',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 2,
14
		maxKeyLength: 4,
15
		patterns: [
16
			[ '(\u200c)+a', 'അ' ],
17
			[ '(\u200c)+A', 'ആ' ],
18
			[ '(\u200c)+i', 'ഇ' ],
19
			[ '(\u200c)+u', 'ഉ' ],
20
			[ '(\u200c)+U', 'ഊ' ],
21
			[ '(\u200c)+R', 'ഋ' ],
22
			[ '(\u200c)+e', 'എ' ],
23
			[ '(\u200c)+E', 'ഏ' ],
24
			[ '(\u200c)+I', 'ഐ' ],
25
			[ '(\u200c)+o', 'ഒ' ],
26
			[ '(\u200c)+O', 'ഓ' ],
27
			[ '(\u200c)+H', 'ഃ' ],
28
			[ 'ൻൿh', 'nc', 'ഞ്ച്' ],
29
			[ 'ൿh', 'c', 'ച്' ],
30
			[ 'ക്ക്h', 'cc', 'ച്ച്' ],
31
			[ 'ല്പ്p', 'lp', 'ൽപ്പ്' ],
32
33
			[ '\\\\([A-Za-z\\>_~])', '\\\\', '$1' ],
34
35
			[ '([ക-ഹ])്R', '$1ൃ' ],
36
			[ 'ന്ന്j', 'ഞ്ഞ്' ],
37
			[ 'ന്ന്g', 'ങ്ങ്' ],
38
			[ 'റ്റ്h', 'ത്' ],
39
			[ 'റ്റ്t', 'ട്ട്' ],
40
			[ 'ന്റ്h', 'ന്ത്' ],
41
			[ '([ക-ഹ])്ല്l', 'L', '$1\u0d62' ],
42
			[ '([ക-ഹ])\u0d62l', '$1\u0d63' ],
43
			[ '([അ-ഊഌഎ-ഐഒ-ഹ])([ഽ-ൂെ-ൌൗ])+R', '$1$2റ്' ],
44
			[ '([ക-ഹ])ൃa', '$1്ര' ],
45
			[ '([ക-ഹ])ൃA', '$1്രാ' ],
46
			[ '([ക-ഹ])ൃi', '$1്രി' ],
47
			[ '([ക-ഹ])ൃI', '$1്രീ' ],
48
			[ '([ക-ഹ])ൃu', '$1്രു' ],
49
			[ '([ക-ഹ])ൃU', '$1്രൂ' ],
50
			[ '([ക-ഹ])ൃe', '$1്രെ' ],
51
			[ '([ക-ഹ])ൃE', '$1്രേ' ],
52
			[ '([ക-ഹ])ൃo', '$1്രൊ' ],
53
			[ '([ക-ഹ])ൃO', '$1്രോ' ],
54
			[ '([ക-ഹ])്(l|L)', '$1്ല്' ],
55
			[ 'അa', 'ആ' ],
56
			[ 'അi', 'ഐ' ],
57
			[ 'അu', 'ഔ' ],
58
			[ 'ഇi', 'ഈ' ],
59
			[ 'ഉu', 'ഊ' ],
60
			[ 'ഊo', 'ഊഊ' ],
61
			[ 'ഋR', 'ൠ' ],
62
			[ 'ഋa', 'റ' ],
63
			[ 'ഋA', 'റാ' ],
64
			[ 'ഋi', 'റി' ],
65
			[ 'ഋI', 'റീ' ],
66
			[ 'ഋu', 'റു' ],
67
			[ 'ഋU', 'റൂ' ],
68
			[ 'ഋe', 'റെ' ],
69
			[ 'ഋE', 'റേ' ],
70
			[ 'ഋo', 'റൊ' ],
71
			[ 'ഋO', 'റോ' ],
72
			[ 'ഋ~', 'റ്' ],
73
			[ 'ഌl', 'ൡ' ],
74
			[ 'എe', 'ഈ' ],
75
			[ 'ഒo', 'ഊ' ],
76
			[ 'ാa', 'ാാ' ],
77
			[ 'ീi', 'ീീ' ],
78
			[ 'ൂu', 'ൂൂ' ],
79
			[ 'ൂo', 'ൂൂ' ],
80
			[ 'ൄR', 'ൄൄ' ],
81
			[ 'േE', 'േേ' ],
82
			[ 'ോO', 'ോോ' ],
83
			[ 'ൗu', 'ൗൗ' ],
84
			[ '\u0d62\\^', '\u0d63' ],
85
			[ '\u0d63\\^', '\u0d63\u0d63' ],
86
			[ 'ക്h', 'ഖ്' ],
87
			[ 'ഗ്h', 'ഘ്' ],
88
			[ 'ൻg', 'ങ്' ],
89
			[ 'ച്h', 'ഛ്' ],
90
			[ 'ജ്h', 'ഝ്' ],
91
			[ 'ട്h', 'ഠ്' ],
92
			[ 'ഡ്h', 'ഢ്' ],
93
			[ 'ത്h', 'ഥ്' ],
94
			[ 'ദ്h', 'ധ്' ],
95
			[ 'പ്h', 'ഫ്' ],
96
			[ 'ബ്h', 'ഭ്' ],
97
			[ 'ംa', 'മ' ],
98
			[ 'ംA', 'മാ' ],
99
			[ 'ംi', 'മി' ],
100
			[ 'ംI', 'മീ' ],
101
			[ 'ംu', 'മു' ],
102
			[ 'ംU', 'മൂ' ],
103
			[ 'ംR', 'മൃ' ],
104
			[ 'ംe', 'മെ' ],
105
			[ 'ംE', 'മേ' ],
106
			[ 'ംo', 'മൊ' ],
107
			[ 'ംO', 'മോ' ],
108
			[ 'ംm', 'മ്മ്' ],
109
			[ '([^സ])ംr', '$1മ്ര്' ],
110
			[ 'ംp', 'മ്പ്' ],
111
			[ '([^സ])ം(l|L)', '$1മ്ല്' ],
112
			[ 'ം~', 'മ്' ],
113
			[ '([^സ])ംn', '$1മ്ന്' ],
114
			[ '([^സ])ംy', '$1മ്യ്' ],
115
			[ 'സ്h', 'ഷ്' ],
116
			[ 'ശ്h', 'ഴ്' ],
117
			[ 'ൺ\\\\\\\\', 'ണ്\u200d' ], // old style chillu N
118
			[ 'ൺ~', 'ണ്' ],
119
			[ 'ൺR', 'ണൃ' ],
120
			[ 'ൺN', 'ണ്ണ്' ],
121
			[ 'ൺT', 'ണ്ട്' ],
122
			[ 'ൺD', 'ണ്ഡ്' ],
123
			[ 'ൺy', 'ണ്യ്' ],
124
			[ 'ൺv', 'ണ്വ്' ],
125
			[ 'ൺm', 'ണ്മ്' ],
126
			[ 'ൻ\\\\\\\\', 'ന്\u200d' ], // old style chillu n
127
			[ 'ൻ~', 'ന്' ],
128
			[ 'ൻr', 'ന്ര്' ],
129
			[ 'ൻR', 'നൃ' ],
130
			[ 'ൻk', 'ങ്ക്' ],
131
			[ 'ൻj', 'ഞ്' ],
132
			[ 'ൻn', 'ന്ന്' ],
133
			[ 'ൻd', 'ന്ദ്' ],
134
			[ 'ൻt', 'ന്റ്' ],
135
			[ 'ൻm', 'ന്മ്' ],
136
			[ 'ൻL', 'ന്ല്' ],
137
			[ 'ൻv', 'ന്വ്' ],
138
			[ 'ൻy', 'ന്യ്' ],
139
			[ 'ർ\\\\\\\\', 'ര്\u200d' ], // old style chill r
140
			[ 'ർ~', 'ര്' ],
141
			[ 'ർ#', 'ൎ' ], // dot repha
142
			[ 'ർr', 'റ്' ],
143
			[ 'ർR', 'രൃ' ],
144
			[ 'ർy', 'ര്യ്' ],
145
			[ 'ൽ\\\\\\\\', 'ല്\u200d' ], // old style chillu l
146
			[ 'ൽ~', 'ല്' ],
147
			[ 'ൽR', 'ലൃ' ],
148
			[ 'ൽ(l|L)', 'ല്ല്' ],
149
			[ 'ൽp', 'ല്പ്' ],
150
			[ 'ൽy', 'ല്യ്' ],
151
			[ 'ൽv', 'ല്വ്' ],
152
			[ 'ൾ\\\\\\\\', 'ള്\u200d' ], // old style chillu L
153
			[ 'ൾ~', 'ള്' ],
154
			[ 'ൾR', 'ളൃ' ],
155
			[ 'ൾL', 'ള്ള്' ],
156
			[ 'ൾy', 'ള്യ്' ],
157
			[ 'ൾl', 'ഌ' ],
158
			[ 'ൿ\\\\\\\\', 'ക്\u200d' ], // old style chillu k
159
			[ 'ൿR', 'കൃ' ],
160
			[ 'ൿy', 'ക്യ്' ],
161
			[ 'ൿ(l|L)', 'ക്ല്' ],
162
			[ 'ൿv', 'ക്വ്' ],
163
			[ 'ൿ(k|c)', 'ക്ക്' ],
164
			[ '([ക-ഹ])a', '$1ാ' ],
165
			[ '([ക-ഹ])്a', '$1' ],
166
			[ 'ൺa', 'ണ' ],
167
			[ 'ൻa', 'ന' ],
168
			[ 'ർa', 'ര' ],
169
			[ 'ൽa', 'ല' ],
170
			[ 'ൾa', 'ള' ],
171
			[ 'ൿa', 'ക' ],
172
			[ '([ക-ഹ])്A', '$1ാ' ],
173
			[ 'ൺA', 'ണാ' ],
174
			[ 'ൻA', 'നാ' ],
175
			[ 'ർA', 'രാ' ],
176
			[ 'ൽA', 'ലാ' ],
177
			[ 'ൾA', 'ളാ' ],
178
			[ 'ൿA', 'കാ' ],
179
			[ '([ക-ഹ])്i', '$1ി' ],
180
			[ 'ൺi', 'ണി' ],
181
			[ 'ൻi', 'നി' ],
182
			[ 'ർi', 'രി' ],
183
			[ 'ൽi', 'ലി' ],
184
			[ 'ൾi', 'ളി' ],
185
			[ 'ൿi', 'കി' ],
186
			[ '([ക-ഹ])്I', '$1ീ' ],
187
			[ 'ൺI', 'ണീ' ],
188
			[ 'ൻI', 'നീ' ],
189
			[ 'ർI', 'രീ' ],
190
			[ 'ൽI', 'ലീ' ],
191
			[ 'ൾI', 'ളീ' ],
192
			[ 'ൿI', 'കീ' ],
193
			[ '([ക-ഹ])ിi', '$1ീ' ],
194
			[ '([ക-ഹ])െe', '$1ീ' ],
195
			[ '([ക-ഹ])്u', '$1ു' ],
196
			[ 'ൺu', 'ണു' ],
197
			[ 'ൻu', 'നു' ],
198
			[ 'ർu', 'രു' ],
199
			[ 'ൽu', 'ലു' ],
200
			[ 'ൾu', 'ളു' ],
201
			[ 'ൿu', 'കു' ],
202
			[ '([ക-ഹ])്U', '$1ൂ' ],
203
			[ '([ക-ഹ])ുu', '$1ൂ' ],
204
			[ 'ൺU', 'ണൂ' ],
205
			[ 'ൻU', 'നൂ' ],
206
			[ 'ർU', 'രൂ' ],
207
			[ 'ൽU', 'ലൂ' ],
208
			[ 'ൾU', 'ളൂ' ],
209
			[ 'ൿU', 'കൂ' ],
210
			[ '([ക-ഹ])ൊo', '$1ൂ' ],
211
			[ '([ക-ഹ])ൃR', '$1ൄ' ],
212
			[ '([ക-ഹ])്e', '$1െ' ],
213
			[ 'ൺe', 'ണെ' ],
214
			[ 'ൻe', 'നെ' ],
215
			[ 'ർe', 'രെ' ],
216
			[ 'ൽe', 'ലെ' ],
217
			[ 'ൾe', 'ളെ' ],
218
			[ 'ൿe', 'കെ' ],
219
			[ '([ക-ഹ])്E', '$1േ' ],
220
			[ 'ൺE', 'ണേ' ],
221
			[ 'ൻE', 'നേ' ],
222
			[ 'ർE', 'രേ' ],
223
			[ 'ൽE', 'ലേ' ],
224
			[ 'ൾE', 'ളേ' ],
225
			[ 'ൿE', 'കേ' ],
226
			[ '([ക-ഹ])i', '$1ൈ' ],
227
			[ '([ക-ഹ])്o', '$1ൊ' ],
228
			[ 'ൺo', 'ണൊ' ],
229
			[ 'ൻo', 'നൊ' ],
230
			[ 'ർo', 'രൊ' ],
231
			[ 'ൽo', 'ലൊ' ],
232
			[ 'ൾo', 'ളൊ' ],
233
			[ 'ൿo', 'കൊ' ],
234
			[ '([ക-ഹ])്O', '$1ോ' ],
235
			[ 'ൺO', 'ണോ' ],
236
			[ 'ൻO', 'നോ' ],
237
			[ 'ർO', 'രോ' ],
238
			[ 'ൽO', 'ലോ' ],
239
			[ 'ൾO', 'ളോ' ],
240
			[ 'ൿO', 'കോ' ],
241
			[ '([ക-ഹ])u', '$1ൗ' ],
242
			[ '([ക-ഹ])U', '$1ൌ' ],
243
			[ '([അ-്])m', '$1ം' ],
244
			[ '\\\\0', '൦' ], // escape to ml digit 0 by \0
245
			[ '\\\\1', '൧' ], // escape to ml digit 1 by \1
246
			[ '\\\\2', '൨' ], // escape to ml digit 2 by \2
247
			[ '\\\\3', '൩' ], // escape to ml digit 3 by \3
248
			[ '\\\\4', '൪' ], // escape to ml digit 4 by \4
249
			[ '\\\\5', '൫' ], // escape to ml digit 5 by \5
250
			[ '\\\\6', '൬' ], // escape to ml digit 6 by \6
251
			[ '\\\\7', '൭' ], // escape to ml digit 7 by \7
252
			[ '\\\\8', '൮' ], // escape to ml digit 8 by \8
253
			[ '\\\\9', '൯' ], // escape to ml digit 9 by \9
254
			[ 'മ്\\\\', 'ം' ],
255
			[ 'ആ\\\\', 'ാ' ],
256
			[ 'ഇ\\\\', 'ി' ],
257
			[ 'ഈ\\\\', 'ീ' ],
258
			[ 'ഉ\\\\', 'ു' ],
259
			[ 'ഊ\\\\', 'ൂ' ],
260
			[ 'ഋ\\\\', 'ൃ' ],
261
			[ 'ൠ\\\\', 'ൄ' ],
262
			[ 'എ\\\\', 'െ' ],
263
			[ 'ഏ\\\\', 'േ' ],
264
			[ 'ഐ\\\\', 'ൈ' ],
265
			[ 'ഒ\\\\', 'ൊ' ],
266
			[ 'ഓ\\\\', 'ോ' ],
267
			[ 'ഔ\\\\', 'ൗ' ],
268
			[ 'ൗ\\\\', 'ൌ' ],
269
			[ 'ഌ\\\\', 'ൢ' ],
270
			[ 'ൡ\\\\', 'ൣ' ],
271
			[ '(([ൺ-ൿം])\u200c+)?A', '$2ആ' ],
272
			[ '(([ൺ-ൿം])\u200c+)?B', '$2ബ്ബ്' ],
273
			[ '(([ൺ-ൿം])\u200c+)?C', '$2ച്ച്' ],
274
			[ '(([ൺ-ൿം])\u200c+)?D', '$2ഡ്' ],
275
			[ '(([ൺ-ൿം])\u200c+)?E', '$2ഏ' ],
276
			[ '(([ൺ-ൿം])\u200c+)?F', '$2ഫ്' ],
277
			[ '(([ൺ-ൿം])\u200c+)?G', '$2ഗ്ഗ്' ],
278
			[ '(([ൺ-ൿം])\u200c+)?H', '$2ഃ' ],
279
			[ '(([ൺ-ൿം])\u200c+)?I', '$2ഐ' ],
280
			[ '(([ൺ-ൿം])\u200c+)?J', '$2ജ്ജ്' ],
281
			[ '(([ൺ-ൿം])\u200c+)?K', '$2ക്ക്' ],
282
			[ '(([ൺ-ൿം])\u200c+)?L', '$2ൾ' ],
283
			[ '(([ൺ-ൿം])\u200c+)?M', '$2മ്മ്' ],
284
			[ '(([ൺ-ൿം])\u200c+)?N', '$2ൺ' ],
285
			[ '(([ൺ-ൿം])\u200c+)?O', '$2ഓ' ],
286
			[ '(([ൺ-ൿം])\u200c+)?P', '$2പ്പ്' ],
287
			[ '(([ൺ-ൿം])\u200c+)?Q', '$2ക്യ്' ],
288
			[ '(([ൺ-ൿം])\u200c+)?R', '$2ഋ' ],
289
			[ '(([ൺ-ൿം])\u200c+)?(S|z)', '$2ശ്' ],
290
			[ '(([ൺ-ൿം])\u200c+)?T', '$2ട്' ],
291
			[ '(([ൺ-ൿം])\u200c+)?U', '$2ഊ' ],
292
			[ '(([ൺ-ൿം])\u200c+)?(V|W)', '$2വ്വ്' ],
293
			[ '(([ൺ-ൿം])\u200c+)?X', '$2ക്ഷ്' ],
294
			[ '(([ൺ-ൿം])\u200c+)?Y', '$2യ്യ്' ],
295
			[ '(([ൺ-ൿം])\u200c+)?Z', '$2ശ്ശ്' ],
296
			[ '(([ൺ-ൿം])\u200c+)?a', '$2അ' ],
297
			[ '(([ൺ-ൿം])\u200c+)?b', '$2ബ്' ],
298
			[ '(([ൺ-ൿം])\u200c+)?c', '$2ൿ' ],
299
			[ '(([ൺ-ൿം])\u200c+)?d', '$2ദ്' ],
300
			[ '(([ൺ-ൿം])\u200c+)?e', '$2എ' ],
301
			[ '(([ൺ-ൿം])\u200c+)?f', '$2ഫ്' ],
302
			[ '(([ൺ-ൿം])\u200c+)?g', '$2ഗ്' ],
303
			[ '(([ൺ-ൿം])\u200c+)?h', '$2ഹ്' ],
304
			[ '(([ൺ-ൿം])\u200c+)?i', '$2ഇ' ],
305
			[ '(([ൺ-ൿം])\u200c+)?j', '$2ജ്' ],
306
			[ '(([ൺ-ൿം])\u200c+)?k', '$2ക്' ],
307
			[ '(([ൺ-ൿം])\u200c+)?l', '$2ൽ' ],
308
			[ '(([ൺ-ൿം])\u200c+)?m', '$2മ്' ],
309
			[ '(([ൺ-ൿം])\u200c+)?n', '$2ൻ' ],
310
			[ '(([ൺ-ൿം])\u200c+)?o', '$2ഒ' ],
311
			[ '(([ൺ-ൿം])\u200c+)?p', '$2പ്' ],
312
			[ '(([ൺ-ൿം])\u200c+)?q', '$2ക്ക്' ],
313
			[ '(([ൺ-ൿം])\u200c+)?r', '$2ർ' ],
314
			[ '(([ൺ-ൿം])\u200c+)?s', '$2സ്' ],
315
			[ '(([ൺ-ൿം])\u200c+)?t', '$2റ്റ്' ], // tta according to 5.1
316
			[ '(([ൺ-ൿം])\u200c+)?u', '$2ഉ' ],
317
			[ '(([ൺ-ൿം])\u200c+)?(v|w)', '$2വ്' ],
318
			[ '(([ൺ-ൿം])\u200c+)?x', '$2ക്ഷ്' ],
319
			[ '(([ൺ-ൿം])\u200c+)?y', '$2യ്' ],
320
			[ '(([ൺ-ൿം])\u200c+)?~', '$2്' ],
321
			[ '(\u200C)*_', '\u200c' ],
322
			[ '//', 'ഽ' ],
323
			[ '1/4\\\\', '൳' ],
324
			[ '1/2\\\\', '൴' ],
325
			[ '3/4\\\\', '൵' ],
326
			[ '10\\\\', '\u0D70' ],
327
			[ '100\\\\', '\u0D71' ],
328
			[ '1000\\\\', '\u0D72' ],
329
			[ '\\-\\-\\-\\\\', '—' ], // em dash
330
			[ '\\-\\-\\\\', '–' ], // en dash
331
			[ '\\\\\\-', '−' ],
332
			[ '\\\\\\*', '×' ],
333
			[ '\\\\/', '÷' ] ]
334
335
	};
336
337
	$.ime.register( mltransliteration );
338
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mn/mn-cyrl.js (+118 lines)
Line 0 Link Here
1
/**
2
 * This is my work based on Git for the very first time, which is an input method for the Mongolian
3
 * Cyrillic script. If the program has any errors, please understand that and contact me. I will
4
 * change the errors in a few days.
5
 */
6
7
( function ( $ ) {
8
	'use strict';
9
10
	var mncyrl = {
11
		id: 'mn-cyrl',
12
		name: 'Mongolian Cyrillic',
13
		description: 'Mongolian Cyrillic Input Method',
14
		date: '2012-10-25',
15
		URL: 'http://github.com/wikimedia/jquery.ime',
16
		author: 'Kevin K.S. Leung, <sprconan@gmail.com>',
17
		license: 'GPLv3',
18
		version: '1.0',
19
		patterns: [
20
			['Q', 'Ф'],
21
			['W', 'Ц'],
22
			['E', 'У'],
23
			['R', 'Ж'],
24
			['T', 'Э'],
25
			['Y', 'Н'],
26
			['U', 'Г'],
27
			['I', 'Ш'],
28
			['O', 'Ү'],
29
			['P', 'З'],
30
			['{', 'К'],
31
			['}', 'Ъ'],
32
			['A', 'Й'],
33
			['S', 'Ы'],
34
			['D', 'Б'],
35
			['F', 'Ө'],
36
			['G', 'А'],
37
			['H', 'Х'],
38
			['J', 'Р'],
39
			['K', 'О'],
40
			['L', 'Л'],
41
			[':', 'Д'],
42
			['"', 'П'],
43
			['Z', 'Я'],
44
			['X', 'Ч'],
45
			['C', 'Ё'],
46
			['V', 'С'],
47
			['B', 'М'],
48
			['N', 'И'],
49
			['M', 'Т'],
50
			['<', 'Ь'],
51
			['>', 'В'],
52
			['\\?', 'Ю'],
53
			['_', 'Е'],
54
			['\\+', 'Щ'],
55
56
			['q', 'ф'],
57
			['w', 'ц'],
58
			['e', 'у'],
59
			['r', 'ж'],
60
			['t', 'э'],
61
			['y', 'н'],
62
			['u', 'г'],
63
			['i', 'ш'],
64
			['o', 'ү'],
65
			['p', 'з'],
66
			['\\[', 'к'],
67
			['\\]', 'ъ'],
68
			['a', 'й'],
69
			['s', 'ы'],
70
			['d', 'б'],
71
			['f', 'ө'],
72
			['g', 'а'],
73
			['h', 'х'],
74
			['j', 'р'],
75
			['k', 'о'],
76
			['l', 'л'],
77
			[';', 'д'],
78
			['\'', 'п'],
79
			['z', 'я'],
80
			['x', 'ч'],
81
			['c', 'ё'],
82
			['v', 'с'],
83
			['b', 'м'],
84
			['n', 'и'],
85
			['m', 'т'],
86
			[',', 'ь'],
87
			['\\.', 'в'],
88
			['/', 'ю'],
89
			['\\-', 'е'],
90
			['=', 'щ'],
91
92
			['`', '='],
93
			['~', '+'],
94
			['1', '№'],
95
			['2', '-'],
96
			['3', '"'],
97
			['4', '₮'],
98
			['5', ':'],
99
			['6', '.'],
100
			['7', '_'],
101
			['8', ','],
102
			['9', '%'],
103
			['0', '?'],
104
			['!', '1'],
105
			['@', '2'],
106
			['#', '3'],
107
			['\\$', '4'],
108
			['%', '5'],
109
			['^', '6'],
110
			['&', '7'],
111
			['*', '8'],
112
			['\\(', '9'],
113
			['\\)', '0']
114
		]
115
	};
116
117
	$.ime.register( mncyrl );
118
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mni/mni-inscript2.js (+125 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mniInScript2 = {
5
		id: 'mni-inscript2',
6
		name: 'ইনস্ক্ৰিপ্ট ২',
7
		description: 'Enhanced InScript keyboard for Manipuri language using Bengali script',
8
		date: '2013-02-13',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\!', 'অ্যা'],
15
			['1', '১'],
16
			['2', '২'],
17
			['\\#', '্র'],
18
			['3', '৩'],
19
			['\\$', 'র্'],
20
			['4', '৪'],
21
			['\\%', 'জ্ঞ'],
22
			['5', '৫'],
23
			['\\^', 'ত্র'],
24
			['6', '৬'],
25
			['\\&', 'ক্ষ'],
26
			['7', '৭'],
27
			['\\*', 'শ্র'],
28
			['8', '৮'],
29
			['9', '৯'],
30
			['\\(', '('],
31
			['\\)', ')'],
32
			['0', '০'],
33
			['\"', 'ঠ'],
34
			['\'', 'ট'],
35
			[',', ','],
36
			['-', '-'],
37
			['\\.', '.'],
38
			['/', 'য়'],
39
			[':', 'ছ'],
40
			[';', 'চ'],
41
			['\\<', 'ষ'],
42
			['\\=', 'ৃ'],
43
			['\\+', 'ঋ'],
44
			['\\>', '।'],
45
			['\\?', 'য'],
46
			['A', 'ও'],
47
			['C', 'ণ'],
48
			['D', 'অ'],
49
			['E', 'আ'],
50
			['F', 'ই'],
51
			['G', 'উ'],
52
			['H', 'ফ'],
53
			['I', 'ঘ'],
54
			['K', 'খ'],
55
			['L', 'থ'],
56
			['M', 'শ'],
57
			['O', 'ধ'],
58
			['P', 'ঝ'],
59
			['Q', 'ঔ'],
60
			['R', 'ঈ'],
61
			['S', 'এ'],
62
			['T', 'ঊ'],
63
			['U', 'ঙ'],
64
			['W', 'ঐ'],
65
			['X', 'ঁ'],
66
			['Y', 'ভ'],
67
			['\\{', 'ঢ'],
68
			['\\[', 'ড'],
69
			['\\}', 'ঞ'],
70
			['\\]', '়'],
71
			['\\_', 'ঃ'],
72
			['a', 'ো'],
73
			['c', 'ম'],
74
			['d', '্'],
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', 'ন'],
93
			['w', 'ৈ'],
94
			['x', 'ং'],
95
			['y', 'ব']
96
		],
97
		patterns_x: [
98
			['\\!', '৴'],
99
			['1', '\u200d'],
100
			['\\@', '৵'],
101
			['2', '\u200c'],
102
			['\\#', '৶'],
103
			['\\$', '৷'],
104
			['4', '₹'],
105
			['\\%', '৸'],
106
			['\\^', '৹'],
107
			[',', '৳'],
108
			['\\.', '॥'],
109
			['/', '্য'],
110
			['\\<', '৲'],
111
			['\\=', 'ৄ'],
112
			['\\+', 'ৠ'],
113
			['\\>', 'ঽ'],
114
			['F', 'ঌ'],
115
			['R', 'ৡ'],
116
			['\\{', 'ঢ়'],
117
			['\\[', 'ড়'],
118
			['f', 'ৢ'],
119
			['l', 'ৎ'],
120
			['r', 'ৣ'],
121
			['x', '৺']]
122
	};
123
124
	$.ime.register( mniInScript2 );
125
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mr/mr-inscript.js (+115 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mrInScript = {
5
		id: 'mr-inscript',
6
		name: 'मराठी लिपी',
7
		description: 'InScript keyboard for Marathi script',
8
		date: '2012-10-14',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['X', '\u0901'],
14
			['x', '\u0902'],
15
			['_', '\u0903'],
16
			['D', '\u0905'],
17
			['E', '\u0906'],
18
			['F', '\u0907'],
19
			['R', '\u0908'],
20
			['G', '\u0909'],
21
			['T', '\u090A'],
22
			['\\+', '\u090B'],
23
			['!', '\u090D'],
24
			['S', '\u090F'],
25
			['W', '\u0910'],
26
			['\\|', '\u0911'],
27
			['A', '\u0913'],
28
			['Q', '\u0914'],
29
			['k', '\u0915'],
30
			['K', '\u0916'],
31
			['i', '\u0917'],
32
			['I', '\u0918'],
33
			['U', '\u0919'],
34
			[';', '\u091A'],
35
			['\\:', '\u091B'],
36
			['p', '\u091C'],
37
			['P', '\u091D'],
38
			['\\}', '\u091E'],
39
			['\'', '', '\u091F'],
40
			['"', '\u0920'],
41
			['\\[', '\u0921'],
42
			['\\{', '\u0922'],
43
			['C', '\u0923'],
44
			['l', '\u0924'],
45
			['L', '\u0925'],
46
			['o', '\u0926'],
47
			['O', '\u0927'],
48
			['v', '\u0928'],
49
			['h', '\u092A'],
50
			['H', '\u092B'],
51
			['y', '\u092C'],
52
			['Y', '\u092D'],
53
			['c', '\u092E'],
54
			['/', '\u092F'],
55
			['j', '\u0930'],
56
			['J', '\u0931'],
57
			['n', '\u0932'],
58
			['N', '\u0933'],
59
			['b', '\u0935'],
60
			['M', '\u0936'],
61
			['\\<', '\u0937'],
62
			['m', '\u0938'],
63
			['u', '\u0939'],
64
			['\\]', '\u093C'],
65
			['e', '\u093E'],
66
			['f', '\u093F'],
67
			['r', '\u0940'],
68
			['g', '\u0941'],
69
			['t', '\u0942'],
70
			['\\=', '\u0943'],
71
			['\\@', '\u0945'],
72
			['s', '\u0947'],
73
			['w', '\u0948'],
74
			['\\\\', '\u0949'],
75
			['a', '\u094B'],
76
			['q', '\u094C'],
77
			['d', '\u094D'],
78
			['\\>', '\u0964'],
79
			['0', '\u0966'],
80
			['1', '\u0967'],
81
			['2', '\u0968'],
82
			['3', '\u0969'],
83
			['4', '\u096A'],
84
			['5', '\u096B'],
85
			['6', '\u096C'],
86
			['7', '\u096D'],
87
			['8', '\u096E'],
88
			['9', '\u096F'],
89
			['\\!', '\u0972'],
90
			['\\#', '\u094D\u0930'],
91
			['\\$', '\u0930\u094D'],
92
			['\\%', '\u091C\u094D\u091E'],
93
			['\\^', '\u0924\u094D\u0930'],
94
			['\\&', '\u0915\u094D\u0937'],
95
			['\\*', '\u0936\u094D\u0930'],
96
			['\\(', '\u200D'],
97
			['\\)', '\u200C']],
98
		patterns_x: [
99
			['F', '\u090C'],
100
			['\\>', '\u093D'],
101
			['\\=', '\u0944'],
102
			['X', '\u0950'],
103
			['e', '\u0951'],
104
			['d', '\u0952'],
105
			['\\+', '\u0960'],
106
			['R', '\u0961'],
107
			['f', '\u0962'],
108
			['r', '\u0963'],
109
			['\\.', '\u0965'],
110
			[',', '\u0970'],
111
			['\\$', '\u20B9']]
112
	};
113
114
	$.ime.register( mrInScript );
115
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mr/mr-inscript2.js (+121 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mrInScript2 = {
5
		id: 'mr-inscript2',
6
		name: 'मराठी इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Marathi language',
8
		date: '2012-11-06',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\!', 'ॲ'],
14
			['1', '१'],
15
			['\\@', 'ॅ'],
16
			['2', '२'],
17
			['\\#', '्र'],
18
			['3', '३'],
19
			['\\$', 'र्'],
20
			['4', '४'],
21
			['5', '५'],
22
			['6', '६'],
23
			['7', '७'],
24
			['8', '८'],
25
			['\\(', '('],
26
			['9', '९'],
27
			['\\]', ']'],
28
			['0', '०'],
29
			['\\_', 'ः'],
30
			['\\-', '-'],
31
			['\\+', 'ऋ'],
32
			['\\=', 'ृ'],
33
			['Q', 'औ'],
34
			['q', 'ौ'],
35
			['W', 'ऐ'],
36
			['w', 'ै'],
37
			['E', 'आ'],
38
			['e', 'ा'],
39
			['R', 'ई'],
40
			['r', 'ी'],
41
			['T', 'ऊ'],
42
			['t', 'ू'],
43
			['Y', 'भ'],
44
			['y', 'ब'],
45
			['U', 'ङ'],
46
			['u', 'ह'],
47
			['I', 'घ'],
48
			['i', 'ग'],
49
			['O', 'ध'],
50
			['o', 'द'],
51
			['P', 'झ'],
52
			['p', 'ज'],
53
			['\\{', 'ढ'],
54
			['\\[', 'ड'],
55
			['\\}', 'ञ'],
56
			['\\]', '़'],
57
			['A', 'ओ'],
58
			['a', 'ो'],
59
			['S', 'ए'],
60
			['s', 'े'],
61
			['D', 'अ'],
62
			['d', '्'],
63
			['F', 'इ'],
64
			['f', 'ि'],
65
			['G', 'उ'],
66
			['g', 'ु'],
67
			['H', 'फ'],
68
			['h', 'प'],
69
			['J', 'ऱ'],
70
			['j', 'र'],
71
			['K', 'ख'],
72
			['k', 'क'],
73
			['L', 'थ'],
74
			['l', 'त'],
75
			[':', 'छ'],
76
			[';', 'च'],
77
			['"', 'ठ'],
78
			['\\\'', 'ट'],
79
			['\\~', 'ऒ'],
80
			['\\`', 'ॊ'],
81
			['X', 'ँ'],
82
			['x', 'ं'],
83
			['C', 'ण'],
84
			['c', 'म'],
85
			['v', 'न'],
86
			['b', 'व'],
87
			['N', 'ळ'],
88
			['n', 'ल'],
89
			['M', 'श'],
90
			['m', 'स'],
91
			['\\<', 'ष'],
92
			[',', ','],
93
			['\\>', '।'],
94
			['\\.', '.'],
95
			['/', 'य'],
96
			['\\%', 'ज्ञ'],
97
			['\\^', 'त्र'],
98
			['\\&', 'क्ष'],
99
			['\\*', 'श्र']
100
		],
101
		patterns_x: [
102
			['1', '\u200d'],
103
			['2', '\u200c'],
104
			['4', '₹'],
105
			['\\+', 'ॠ'],
106
			['\\=', 'ॄ'],
107
			['e', '॑'],
108
			['R', 'ॡ'],
109
			['r', 'ॣ'],
110
			['d', '॒'],
111
			['F', 'ऌ'],
112
			['f', 'ॢ'],
113
			['X', 'ॐ'],
114
			[',', '॰'],
115
			['\\>', 'ऽ'],
116
			['\\.', '॥']
117
		]
118
	};
119
120
	$.ime.register( mrInScript2 );
121
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mr/mr-phonetic.js (+110 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mrPhonetic = {
5
		id: 'mr-phonetic',
6
		name: 'फोनेटिक',
7
		description: 'Phonetic keyboard for Marathi language',
8
		date: '2013-02-09',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['्f', '्\u200c'],
14
			['~', 'ऎ'],
15
			['`', 'ॆ'],
16
			['!', 'ऍ'],
17
			['1', '१'],
18
			['\\@","ॅ'],
19
			['2', '२'],
20
			['\\#', 'ऑ'],
21
			['3', '३'],
22
			['\\$', 'ॉ'],
23
			['4', '४'],
24
			['\\%', 'ञ'],
25
			['5', '५'],
26
			['6', '६'],
27
			['7', '७'],
28
			['8', '८'],
29
			['\\(', '('],
30
			['9', '९'],
31
			['\\)', ')'],
32
			['0', '०'],
33
			['\\_', '_'],
34
			['\\-', '-'],
35
			['\\+', '+'],
36
			['\\=', '='],
37
			['Q', 'औ'],
38
			['q', 'ओ'],
39
			['W', 'ठ'],
40
			['w', 'ट'],
41
			['E', 'ै'],
42
			['e', 'े'],
43
			['R', 'ृ'],
44
			['r', 'र'],
45
			['T', 'थ'],
46
			['t', 'त'],
47
			['Y', 'य़'],
48
			['y', 'य'],
49
			['U', 'ू'],
50
			['u', 'ु'],
51
			['I', 'ी'],
52
			['i', 'ि'],
53
			['O', 'ौ'],
54
			['o', 'ो'],
55
			['P', 'फ'],
56
			['p', 'प'],
57
			['\\{', 'ढ'],
58
			['\\[', 'ड'],
59
			['\\}', 'ऱ'],
60
			['\\]', 'ऋ'],
61
			['A', 'आ'],
62
			['a', 'ा'],
63
			['S', 'श'],
64
			['s', 'स'],
65
			['D', 'ध'],
66
			['d', 'द'],
67
			['F', 'अ'],
68
			['f', '्'],
69
			['G', 'घ'],
70
			['g', 'ग'],
71
			['H', 'ः'],
72
			['h', 'ह'],
73
			['J', 'झ'],
74
			['j', 'ज'],
75
			['K', 'ख'],
76
			['k', 'क'],
77
			['L', 'ळ'],
78
			['l', 'ल'],
79
			[':', 'ई'],
80
			[';', 'इ'],
81
			['\"', 'ऊ'],
82
			['\'', 'उ'],
83
			['\\|', 'ऒ'],
84
			['\\\\', 'ॊ'],
85
			['Z', 'ँ'],
86
			['z', 'ङ'],
87
			['x', 'ष'],
88
			['C', 'छ'],
89
			['c', 'च'],
90
			['V', 'ऴ'],
91
			['v', 'व'],
92
			['B', 'भ'],
93
			['b', 'ब'],
94
			['N', 'ण'],
95
			['n', 'न'],
96
			['M', 'ं'],
97
			['m', 'म'],
98
			['\\<', 'ऩ'],
99
			[',', ','],
100
			['\\>', '़'],
101
			['\\?', 'ऐ'],
102
			['/', 'ए'],
103
			['\\^', 'ज्ञ'],
104
			['X', 'क्ष'],
105
			['\\*', 'श्र']
106
		]
107
	};
108
109
	$.ime.register( mrPhonetic );
110
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mr/mr-transliteration.js (+147 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mrTransliteration = {
5
		id: 'mr-transliteration',
6
		name: 'अक्षरांतरण',
7
		description: 'Transliteration keyboard for Marathi script',
8
		date: '2012-10-14',
9
		author: 'Pathak A B',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		contextLength: 2,
13
		maxKeyLength: 4,
14
		patterns: [
15
			['च्h', 'c', 'च्'], // ch
16
			['च्h', 'ch', 'छ्'], // chh
17
18
			['\\\\([A-Za-z\\>_~0-9])', '\\\\', '$1'],
19
20
			['([क-ह]़?)्a', '$1'],
21
			['([क-ह]़?)्A', '$1ा'],
22
			['([क-ह]़?)a', '$1ा'],
23
			['([क-ह]़?)्i', '$1ि'],
24
			['([क-ह]़?)(्I|िi|ेe)', '$1ी'],
25
			['([क-ह]़?)्u', '$1ु'],
26
			['([क-ह]़?)(ुu|्U|ोo)', '$1ू'],
27
			['([क-ह]़?)्R', '$1ृ'],
28
			['([क-ह]़?)ृR', '$1ॄ'],
29
			['([क-ह]़?)्ळ्l', '$1ॢ'],
30
			['([क-ह]़?)ॢl', '$1ॣ'],
31
			['([क-ह]़?)े\\^', '$1ॅ'],
32
			['([क-ह]़?)्e', '$1े'],
33
			['([क-ह]़?)्E', '$1ॅ'],
34
			['([क-ह]़?)ो\\^', '$1ॉ'],
35
			['([क-ह]़?)i', '$1ै'],
36
			['([क-ह]़?)्o', '$1ो'],
37
			['([क-ह]़?)्O', '$1ॉ'],
38
			['([क-ह]़?)u', '$1ौ'],
39
			['([क-ह])्\\`', '$1़्'],
40
			['([क-ह])ॉM', '$1ाँ'],
41
42
			['आऊM', 'ॐ'], // AUM (OM)
43
44
			['(द्न्y|ग्ग्y|ज्ज्n)', 'ज्ञ्'], // dny, ggy or jjn
45
46
			['र्र्y', 'ऱ्य्'], // rry
47
			['र्र्h', 'ऱ्ह्'], // rrh
48
49
			['अa', 'आ'],
50
			['(ऒo|उu)', 'ऊ'],
51
			['ए\\^', 'ऍ'],
52
			['अi', 'ऐ'],
53
			['(अ\\^|E)', 'ॲ'],
54
			['(इi|एe)', 'ई'],
55
			['ऒ\\^', 'ऑ'],
56
			['अu', 'औ'],
57
			['ऋR', 'ॠ'],
58
			['ळ्l', 'ऌ'],
59
			['ऌl', 'ॡ'],
60
			['ंM', 'ँ'],
61
62
			['र्Y', 'ऱ्य्'],
63
64
			['क्h', 'ख्'], //kh
65
			['ग्h', 'घ्'],
66
			['न्g', 'ङ्'],
67
			['ज्h', 'झ्'],
68
			['न्j', 'ञ्'],
69
			['ट्h', 'ठ्'],
70
			['ड्h', 'ढ्'],
71
			['त्h', 'थ्'],
72
			['द्h', 'ध्'],
73
			['(f|प्h)', 'फ्'],
74
			['ब्h', 'भ्'],
75
			['ऋi', 'ॠ'], // Ri
76
			['ऋl', 'ॡ'], // Rl
77
78
			['स्h', 'श्'],
79
			['श्h', 'ष्'],
80
			['क़्h', 'ख़्'],
81
			['ज़्h', 'ऴ्'],
82
			['।\\\\', '॥'],
83
84
			['a', 'अ'],
85
			['b', 'ब्'],
86
			['c', 'च्'],
87
			['d', 'द्'],
88
			['e', 'ए'],
89
			['g', 'ग्'],
90
			['h', 'ह्'],
91
			['i', 'इ'],
92
			['j', 'ज्'],
93
			['k', 'क्'],
94
			['l', 'ल्'],
95
			['m', 'म्'],
96
			['n', 'न्'],
97
			['o', 'ओ'],
98
			['p', 'प्'],
99
			['q', 'क़्'],
100
			['r', 'र्'],
101
			['s', 'स्'],
102
			['t', 'त्'],
103
			['u', 'उ'],
104
			['(v|w)', 'व्'],
105
			['x', 'क्ष्'],
106
			['y', 'य्'],
107
			['(z|Z)', 'झ्'],
108
			['A', 'आ'],
109
			['B', 'ब्ब्'],
110
			['C', 'क्क्'],
111
			['D', 'ड्'],
112
			['G', 'ग्ग्'],
113
			['H', 'ः'],
114
			['I', 'ई'],
115
			['J', 'ज्ज्'],
116
			['K', 'क्क्'],
117
			['L', 'ळ्'],
118
			['M', 'ं'],
119
			['N', 'ण्'],
120
			['O', 'ऑ'],
121
			['P', 'प्प्'],
122
			['R', 'ऋ'],
123
			['S', 'श्'],
124
			['T', 'ट्'],
125
			['U', 'ऊ'],
126
			['(V|W)', 'व्व्'],
127
			['X', 'क्ष्'],
128
			['Y', 'य्य्'],
129
			['0', '०'],
130
			['1', '१'],
131
			['2', '२'],
132
			['3', '३'],
133
			['4', '४'],
134
			['5', '५'],
135
			['6', '६'],
136
			['7', '७'],
137
			['8', '८'],
138
			['9', '९'],
139
			['~', '्'],
140
			['\\\\.', '।'], // Danda
141
			['//', 'ऽ'],
142
			['\\`', '़'],
143
			['(\u200C)*_', '\u200c']]
144
	};
145
146
	$.ime.register( mrTransliteration );
147
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/my/my-xkb.js (+209 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var myXkb = {
5
		id: 'my-xkb',
6
		name: 'မြန်မာဘာသာ xkb',
7
		description: 'Myanmar xkb keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['`', '\u1050'],
15
			['\\~', '\u100e'],
16
			['1', '\u1041'],
17
			['\\!', '\u100D'],
18
			['2', '\u1042'],
19
			['\\@', '\u1052'],
20
			['3', '\u1043'],
21
			['\\#', '\u100B'],
22
			['4', '\u1044'],
23
			['\\$', '\u1053'],
24
			['5', '\u1045'],
25
			['\\%', '\u1054'],
26
			['6', '\u1046'],
27
			['\\^', '\u1055'],
28
			['7', '\u1047'],
29
			['\\&', '\u101B'],
30
			['8', '\u1048'],
31
			['\\*', '\u002A'],
32
			['9', '\u1049'],
33
			['\\(', '('],
34
			['0', '\u1040'],
35
			['\\)', ')'],
36
37
			['q', '\u1006'],
38
			['Q', '\u1008'],
39
			['w', '\u1010'],
40
			['W', '\u101D'],
41
			['e', '\u1014'],
42
			['E', '\u1023'],
43
			['r', '\u1019'],
44
			['R', '\u104E'],
45
			['t', '\u1021'],
46
			['T', '\u1024'],
47
			['y', '\u1015'],
48
			['Y', '\u104C'],
49
			['u', '\u1000'],
50
			['U', '\u1025'],
51
			['i', '\u1004'],
52
			['I', '\u104D'],
53
			['o', '\u101E'],
54
			['O', '\u103F'],
55
			['p', '\u1005'],
56
			['P', '\u100F'],
57
			['\\[', '\u101F'],
58
			['\\{', '\u1027'],
59
			['\\]', '\u1029'],
60
			['\\}', '\u102A'],
61
62
			['\\\\', '\u104F'],
63
			['\\|', '\u1051'],
64
65
			['a', '\u1031'],
66
			['A', '\u1017'],
67
			['s', '\u103B'],
68
			['S', '\u103A'],
69
			['d', '\u102D'],
70
			['D', '\u102E'],
71
			['f', '\u103A'],
72
			['F', '\u1039'],
73
			['g', '\u102B'],
74
			['G', '\u103D'],
75
			['h', '\u1037'],
76
			['H', '\u1036'],
77
			['j', '\u103C'],
78
			['J', '\u1032'],
79
			['k', '\u102F'],
80
			['K', '\u1012'],
81
			['l', '\u1030'],
82
			['L', '\u1013'],
83
84
			[';', '\u1038'],
85
			[':', '\u1002'],
86
87
			['\'', '\''],
88
			['\"', '"'],
89
90
			['z', '\u1016'],
91
			['Z', '\u1007'],
92
			['x', '\u1011'],
93
			['X', '\u100C'],
94
			['c', '\u1001'],
95
			['C', '\u1003'],
96
			['v', '\u101C'],
97
			['V', '\u1020'],
98
			['b', '\u1018'],
99
			['B', '\u101A'],
100
			['n', '\u100A'],
101
			['N', '\u1009'],
102
			['m', '\u102C'],
103
			['M', '\u1026'],
104
105
			[',', ','],
106
			['\\<', '\u104A'],
107
			['\\.', '.'],
108
			['\\>', '\u104B'],
109
			['/', '/'],
110
			['\\?', '?']
111
		],
112
		patterns_x: [
113
			['`', '`'],
114
			['\\~', '~'],
115
			['1', '1'],
116
			['\\!', '!'],
117
			['2', '2'],
118
			['\\@', '@'],
119
			['3', '3'],
120
			['\\#', '#'],
121
			['4', '4'],
122
			['\\$', '$'],
123
			['5', '5'],
124
			['\\%', '%'],
125
			['6', '6'],
126
			['\\^', '^'],
127
			['7', '7'],
128
			['\\&', '&'],
129
			['8', '8'],
130
			['\\*', '*'],
131
			['9', '9'],
132
			['\\(', '('],
133
			['0', '0'],
134
			['\\)', ')'],
135
			['\\-', '-'],
136
			['\\_', '_'],
137
			['\\=', '='],
138
			['\\+', '+'],
139
140
			['q', 'q'],
141
			['Q', 'Q'],
142
			['w', 'w'],
143
			['W', 'W'],
144
			['e', 'e'],
145
			['E', 'E'],
146
			['r', 'r'],
147
			['R', 'R'],
148
			['t', 't'],
149
			['T', 'T'],
150
			['y', 'y'],
151
			['Y', 'Y'],
152
			['u', 'u'],
153
			['U', 'U'],
154
			['i', 'i'],
155
			['I', 'I'],
156
			['o', 'o'],
157
			['O', 'O'],
158
			['p', 'p'],
159
			['P', 'P'],
160
			['a', 'a'],
161
			['S', 'S'],
162
			['s', 's'],
163
			['S', 'S'],
164
			['d', 'd'],
165
			['D', 'D'],
166
			['f', 'f'],
167
			['F', 'F'],
168
			['g', 'g'],
169
			['G', 'G'],
170
			['h', 'h'],
171
			['H', 'H'],
172
			['j', 'j'],
173
			['J', 'J'],
174
			['k', 'k'],
175
			['K', 'K'],
176
			['l', 'l'],
177
			['L', 'L'],
178
			['z', 'z'],
179
			['Z', 'Z'],
180
			['x', 'x'],
181
			['X', 'X'],
182
			['c', 'c'],
183
			['C', 'C'],
184
			['v', 'v'],
185
			['V', 'V'],
186
			['b', 'b'],
187
			['B', 'B'],
188
			['n', 'n'],
189
			['N', 'N'],
190
			['m', 'm'],
191
			['M', 'M'],
192
			[',', ','],
193
			['\\<', '<'],
194
			['\\.', '.'],
195
			['\\>', '>'],
196
			[';', ';'],
197
			[':', ':'],
198
			['\'', '\''],
199
			['"', '"'],
200
			['\\[', '['],
201
			['\\{', '{'],
202
			['\\]', ']'],
203
			['\\}', '}'],
204
			['\\\\', '\\'],
205
			['\\|', '|']]
206
	};
207
208
	$.ime.register( myXkb );
209
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/nb/nb-normforms.js (+50 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'nb-normforms',
6
		name: 'Norsk normal transliterasjon',
7
		description: 'Norwegian input method with most common form transliterated',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/bokmaal-norwegian.pdf',
10
		//URL: 'http://www.evertype.com/alphabets/nynorsk-norwegian.pdf',
11
		author: 'John Erling Blad',
12
		license: 'GPLv3',
13
		version: '1.0',
14
		contextLength: 1,
15
		maxKeyLength: 3,
16
		patterns: [
17
			// The most common transliterations
18
			[ 'aa', 'å' ],
19
			[ 'AA', 'Å' ],
20
			[ 'Aa', 'Å' ],
21
			[ 'ae', 'æ' ],
22
			[ 'AE', 'Æ' ],
23
			[ 'Ae', 'Æ' ],
24
			[ 'oe', 'ø' ],
25
			[ 'OE', 'Ø' ],
26
			[ 'Oe', 'Ø' ],
27
			// The previous as negated transliterations, mostly for names
28
			[ 'åa', 'a', 'aa' ],
29
			[ 'ÅA', 'A', 'AA' ],
30
			[ 'Åa', 'A', 'Aa' ],
31
			[ 'åA', 'a', 'aA' ],
32
			[ 'æe', 'e', 'ae' ],
33
			[ 'ÆE', 'E', 'AE' ],
34
			[ 'Æe', 'E', 'Ae' ],
35
			[ 'æE', 'e', 'aE' ],
36
			[ 'øe', 'e', 'oe' ],
37
			[ 'ØE', 'E', 'OE' ],
38
			[ 'Øe', 'E', 'Oe' ], // this fails for some names like "Øen"
39
			[ 'øE', 'e', 'oE' ]
40
			// historically similar forms
41
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
42
			// it is not generally acceptable to use this transliteration. To
43
			// handle those situations we need some oposite forms.
44
			// There is a similar character "Å" for the length unit Angstrom,
45
			// but this is not the upper case letter Å.
46
		]
47
	};
48
49
	$.ime.register( defs );
50
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/nb/nb-tildeforms.js (+35 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'nb-tildeforms',
6
		name: 'Norsk tildemerket transliterasjon',
7
		description: 'Norwegian input method with initial tilde triggering transliteration',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/bokmaal-norwegian.pdf',
10
		//URL: 'http://www.evertype.com/alphabets/nynorsk-norwegian.pdf',
11
		author: 'John Erling Blad',
12
		license: 'GPLv3',
13
		version: '1.0',
14
		//contextLength: 1,
15
		maxKeyLength: 3,
16
		patterns: [
17
			// Uses "~" as "approximatly similar to"
18
			[ '°a', 'å' ], // The simple ~a does not work as there is a "ã"
19
			[ '°A', 'Å' ], // The simple ~A does not work as there is a "Ã"
20
			[ '~ae', 'æ' ], // The simple ~a does not work as there is a "ã"
21
			[ '~AE', 'Æ' ], // The simple ~A does not work as there is a "Ã"
22
			[ '~oe', 'ø' ], // The simple ~o does not work as there is a "õ"
23
			[ '~OE', 'Ø' ], // The simple ~O does not work as there is a "Õ"
24
			[ '~aa', 'å' ], // The simple ~a does not work as there is a "ã"
25
			[ '~AA', 'Å' ] // The simple ~A does not work as there is a "Ã"
26
			// historically similar forms
27
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
28
			// it is not generally acceptable to use this transliteration.
29
			// There is a similar character "Å" for the length unit Angstrom,
30
			// but this is not the upper case letter Å.
31
		]
32
	};
33
34
	$.ime.register( defs );
35
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ne/ne-inscript.js (+113 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var neInScript = {
5
		id: 'ne-inscript',
6
		name: 'इनस्क्रिप्ट',
7
		description: 'InScript keyboard for Nepali script',
8
		date: '2012-10-14',
9
		author: 'Bhawani Gautam',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['X', 'ँ'],
14
			['x', 'ं'],
15
			['_', 'ः'],
16
			['D', 'अ'],
17
			['E', 'आ'],
18
			['F', 'इ'],
19
			['R', 'ई'],
20
			['G', 'उ'],
21
			['T', 'ऊ'],
22
			['\\+', 'ृ'],
23
			['S', 'ए'],
24
			['W', 'ऐ'],
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
			['J', 'द्य'],
55
			['n', 'ल'],
56
			['N', 'ळ'],
57
			['b', 'व'],
58
			['M', 'श'],
59
			['\\<', '','ष'],
60
			['m', 'स'],
61
			['u', 'ह'],
62
			['\\]', '','़'],
63
			['e', 'ा'],
64
			['f', 'ि'],
65
			['r', 'ी'],
66
			['g', 'ु'],
67
			['t', 'ू'],
68
			['\\=', '','ृ'],
69
			['\\\\', 'ॄ'],
70
			['s', 'े'],
71
			['w', 'ै'],
72
			['a', 'ो'],
73
			['q', 'ौ'],
74
			['d', '्'],
75
			['\\|', 'ॠ'],
76
			['/', 'य'],
77
			['\\>', '।'],
78
			['0', '','०'],
79
			['1', '','१'],
80
			['2', '२'],
81
			['3', '३'],
82
			['4', '४'],
83
			['5', '५'],
84
			['6', '६'],
85
			['7', '७'],
86
			['8', '८'],
87
			['9', '९'],
88
			['\\@', 'ॅ'],
89
			['\\#', '','्र'],
90
			['\\$', '','र्'],
91
			['\\%', '','ज्ञ'],
92
			['\\^', '','त्र'],
93
			['\\&', 'क्ष'],
94
			['\\*', 'श्र'],
95
			['\\(', '\u200D'],
96
			['\\)', '\u200C'] ],
97
98
		patterns_x: [
99
			['F', 'ऌ'],
100
			['\\>', '','ऽ'],
101
			['X', 'ॐ'],
102
			['e', '\u0951'],
103
			['d', '\u0952'],
104
			['R', 'ॡ'],
105
			['f', 'ॢ'],
106
			['r', 'ॣ'],
107
			['\\.', '॥'],
108
			['\\@', '','ॅ'],
109
			['4', '₹']]
110
	};
111
112
	$.ime.register( neInScript );
113
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ne/ne-inscript2.js (+116 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var neInScript2 = {
5
		id: 'ne-inscript2',
6
		name: 'नेपाळी इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Nepali language',
8
		date: '2012-11-06',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['2', '२'],
15
			['\\#', '्र'],
16
			['3', '३'],
17
			['\\$', 'र्'],
18
			['4', '४'],
19
			['5', '५'],
20
			['6', '६'],
21
			['7', '७'],
22
			['8', '८'],
23
			['\\(', '('],
24
			['9', '९'],
25
			['\\]', ']'],
26
			['0', '०'],
27
			['\\_', 'ः'],
28
			['\\-', '-'],
29
			['\\+', 'ऋ'],
30
			['\\=', 'ृ'],
31
			['Q', 'औ'],
32
			['q', 'ौ'],
33
			['W', 'ऐ'],
34
			['w', 'ै'],
35
			['E', 'आ'],
36
			['e', 'ा'],
37
			['R', 'ई'],
38
			['r', 'ी'],
39
			['T', 'ऊ'],
40
			['t', 'ू'],
41
			['Y', 'भ'],
42
			['y', 'ब'],
43
			['U', 'ङ'],
44
			['u', 'ह'],
45
			['I', 'घ'],
46
			['i', 'ग'],
47
			['O', 'ध'],
48
			['o', 'द'],
49
			['P', 'झ'],
50
			['p', 'ज'],
51
			['\\{', 'ढ'],
52
			['\\[', 'ड'],
53
			['\\}', 'ञ'],
54
			['\\]', '़'],
55
			['A', 'ओ'],
56
			['a', 'ो'],
57
			['S', 'ए'],
58
			['s', 'े'],
59
			['D', 'अ'],
60
			['d', '्'],
61
			['F', 'इ'],
62
			['f', 'ि'],
63
			['G', 'उ'],
64
			['g', 'ु'],
65
			['H', 'फ'],
66
			['h', 'प'],
67
			['J', 'ऱ'],
68
			['j', 'र'],
69
			['K', 'ख'],
70
			['k', 'क'],
71
			['L', 'थ'],
72
			['l', 'त'],
73
			[':', 'छ'],
74
			[';', 'च'],
75
			['"', 'ठ'],
76
			['\\\'', 'ट'],
77
			['X', 'ँ'],
78
			['x', 'ं'],
79
			['C', 'ण'],
80
			['c', 'म'],
81
			['v', 'न'],
82
			['b', 'व'],
83
			['N', 'ळ'],
84
			['n', 'ल'],
85
			['M', 'श'],
86
			['m', 'स'],
87
			['\\<', 'ष'],
88
			[',', ','],
89
			['\\>', '।'],
90
			['\\.', '.'],
91
			['/', 'य'],
92
			['\\%', 'ज्ञ'],
93
			['\\^', 'त्र'],
94
			['\\&', 'क्ष'],
95
			['\\*', 'श्र']],
96
		patterns_x: [
97
			['1', '\u200d'],
98
			['2', '\u200c'],
99
			['4', '₹'],
100
			['\\+', 'ॠ'],
101
			['\\=', 'ॄ'],
102
			['e', '॑'],
103
			['R', 'ॡ'],
104
			['r', 'ॣ'],
105
			['d', '॒'],
106
			['F', 'ऌ'],
107
			['f', 'ॢ'],
108
			['X', 'ॐ'],
109
			['x', 'ॱ'],
110
			[',', '॰'],
111
			['\\>', 'ऽ'],
112
			['\\.', '॥']]
113
	};
114
115
	$.ime.register( neInScript2 );
116
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ne/ne-rom.js (+106 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var neRom = {
5
		id: 'ne-rom',
6
		name: 'Nepali Romanized',
7
		description: 'Nepali Romanized keyboard layout',
8
		date: '2013-02-12',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\!', '!'],
14
			['\"', '"'],
15
			['\\#', '#'],
16
			['\\$', 'रु'],
17
			['\'', '\''],
18
			['\\(', '('],
19
			['\\)', ')'],
20
			['\\+', '+'],
21
			[',', ','],
22
			['\\-', '-'],
23
			['\\.', '।'],
24
			['/', '्'],
25
			['0', '०'],
26
			['1', '१'],
27
			['2', '२'],
28
			['3', '३'],
29
			['4', '४'],
30
			['5', '५'],
31
			['6', '६'],
32
			['7', '७'],
33
			['8', '८'],
34
			['9', '९'],
35
			[':', ':'],
36
			[';', ';'],
37
			['\\<', 'ङ'],
38
			['\\=', '='],
39
			['\\>', '॥'],
40
			['\\?', '?'],
41
			['\\@', '@'],
42
			['A', 'आ'],
43
			['B', 'भ'],
44
			['C', 'च'],
45
			['D', 'ध'],
46
			['E', 'ै'],
47
			['F', 'ऊ'],
48
			['G', 'घ'],
49
			['H', 'अ'],
50
			['I', 'ी'],
51
			['J', 'झ'],
52
			['K', 'ख'],
53
			['L', 'ळ'],
54
			['M', 'ं'],
55
			['N', 'ण'],
56
			['O', 'ओ'],
57
			['P', 'फ'],
58
			['Q', 'ठ'],
59
			['R', 'ृ'],
60
			['S', 'श'],
61
			['T', 'थ'],
62
			['U', 'ू'],
63
			['V', 'ँ'],
64
			['W', 'औ'],
65
			['X', 'ढ'],
66
			['Y', 'ञ'],
67
			['Z', 'ऋ'],
68
			['\\[', 'इ'],
69
			['\\\\', 'ॐ'],
70
			['\\]', 'ए'],
71
			['\\_', '_'],
72
			['`', '़'],
73
			['a', 'ा'],
74
			['b', 'ब'],
75
			['c', 'छ'],
76
			['d', 'द'],
77
			['e', 'े'],
78
			['f', 'उ'],
79
			['g', 'ग'],
80
			['h', 'ह'],
81
			['i', 'ि'],
82
			['j', 'ज'],
83
			['k', 'क'],
84
			['l', 'ल'],
85
			['m', 'म'],
86
			['n', 'न'],
87
			['o', 'ो'],
88
			['p', 'प'],
89
			['q', 'ट'],
90
			['r', 'र'],
91
			['s', 'स'],
92
			['t', 'त'],
93
			['u', 'ु'],
94
			['v', 'व'],
95
			['w', 'ौ'],
96
			['x', 'ड'],
97
			['y', 'य'],
98
			['z', 'ष'],
99
			['\\{', 'ई'],
100
			['\\|', 'ः'],
101
			['\\}', 'ऐ'],
102
			['\\~', 'ऽ']]
103
	};
104
105
	$.ime.register( neRom );
106
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ne/ne-trad.js (+106 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var neTrad = {
5
		id: 'ne-trad',
6
		name: 'Nepali Traditional',
7
		description: 'Nepali Traditional keyboard layout',
8
		date: '2013-02-12',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\"', 'ू'],
14
			['\\#', 'घ'],
15
			['\'', 'ु'],
16
			['\\(', 'ढ'],
17
			['\\)', 'ण'],
18
			['\\+', 'ं'],
19
			[',', 'ऽ'],
20
			['\\-', 'औ'],
21
			['\\.', '।'],
22
			['/', 'र'],
23
			['0', '०'],
24
			['1', '१'],
25
			['2', '२'],
26
			['3', '३'],
27
			['4', '४'],
28
			['5', '५'],
29
			['6', '६'],
30
			['7', '७'],
31
			['8', '८'],
32
			['9', '९'],
33
			[';', 'स'],
34
			['\\<', 'ङ'],
35
			['\\=', '='],
36
			['\\?', 'रु'],
37
			['\\@', 'ई'],
38
			['A', 'आ'],
39
			['B', 'ौ'],
40
			['C', 'ऋ'],
41
			['E', 'ऐ'],
42
			['F', 'ँ'],
43
			['H', 'झ'],
44
			['J', 'ो'],
45
			['K', 'फ'],
46
			['L', 'ी'],
47
			['O', 'इ'],
48
			['P', 'ए'],
49
			['U', 'ऊ'],
50
			['V', 'ॐ'],
51
			['\\\\', '्'],
52
			['\\]', 'े'],
53
			['\\_', 'ओ'],
54
			['`', 'ञ'],
55
			['a', 'ब'],
56
			['b', 'द'],
57
			['c', 'अ'],
58
			['d', 'म'],
59
			['e', 'भ'],
60
			['f', 'ा'],
61
			['g', 'न'],
62
			['h', 'ज'],
63
			['i', 'ष'],
64
			['j', 'व'],
65
			['k', 'प'],
66
			['l', 'ि'],
67
			['m', 'ः'],
68
			['n', 'ल'],
69
			['o', 'य'],
70
			['p', 'उ'],
71
			['r', 'च'],
72
			['s', 'क'],
73
			['t', 'त'],
74
			['u', 'ग'],
75
			['v', 'ख'],
76
			['w', 'ध'],
77
			['x', 'ह'],
78
			['y', 'थ'],
79
			['z', 'श'],
80
			['\\{', 'ृ'],
81
			['\\|', '|'],
82
			['\\}', 'ै'],
83
			['\\~', '॥'],
84
			['\\!', 'ज्ञ'],
85
			['\\$', 'द्ध'],
86
			[':', 'ट्ठ'],
87
			['\\>', 'श्र'],
88
			['D', 'ङ्ग'],
89
			['G', 'द्द'],
90
			['I', 'क्ष'],
91
			['M', 'ड्ड'],
92
			['N', 'द्य'],
93
			['Q', 'त्त'],
94
			['R', 'द्ब'],
95
			['S', 'ङ्क'],
96
			['T', 'ट्ट'],
97
			['W', 'ड्ढ'],
98
			['X', 'ह्य'],
99
			['Y', 'ठ्ठ'],
100
			['Z', 'क्क'],
101
			['\\[', 'र्'],
102
			['q', 'त्र']]
103
	};
104
105
	$.ime.register( neTrad );
106
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ne/ne-transliteration.js (+165 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var neTransliteration = {
5
		id: 'ne-transliteration',
6
		name: 'लिप्यंतरण',
7
		description: 'Nepali transliteration',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V ([[user:Junaidpv]]) and Bhawani Gautam ([[user:Bhawani Gautam]])',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 1,
15
		patterns: [
16
			['क्h','c','च्'],
17
			['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
18
19
			['([क-ह]़?)्a','$1'],
20
			['([क-ह]़?)्A','$1ा'],
21
			['([क-ह]़?)a','$1ा'],
22
			['([क-ह]़?)्i','$1ि'],
23
			['([क-ह]़?)(्I|िi|ेe)','$1ी'],
24
			['([क-ह]़?)्u','$1ु'],
25
			['([क-ह]़?)(ुu|्U|ोo)','$1ू'],
26
			['([क-ह]़?)्R','$1ृ'],
27
			['([क-ह]़?)ृR','$1ॄ'],
28
			['([क-ह]़?)्ळ्l','$1ॢ'],
29
			['([क-ह]़?)ॢl','$1ॣ'],
30
			['([क-ह]़?)ॆ\\^','$1ॅ'],
31
			['([क-ह]़?)्e','$1े'],
32
			['([क-ह]़?)्E','$1े'],
33
			['([क-ह]़?)ॊ\\^','$1ॉ'],
34
			['([क-ह]़?)i','$1ै'],
35
			['([क-ह]़?)्o','$1ो'],
36
			['([क-ह]़?)्O','$1ो'],
37
			['([क-ह]़?)u','$1ौ'],
38
			['([क-ह]़?)ृa','$1्ऱ'],
39
			['([क-ह]़?)ृA','$1्ऱा'],
40
			['([क-ह]़?)ृi','$1्ऱि'],
41
			['([क-ह]़?)ृI','$1्ऱी'],
42
			['([क-ह]़?)ृu','$1्ऱु'],
43
			['([क-ह]़?)ृU','$1्ऱू'],
44
			['([क-ह]़?)ृ\\^','$1्ऱॅ'],
45
			['([क-ह]़?)ृe','$1्ऱे'],
46
			['([क-ह]़?)ृE','$1्ऱे'],
47
			['([क-ह]़?)ृo','$1्ऱो'],
48
			['([क-ह]़?)ृO','$1्ऱो'],
49
			['([क-ह]़?)ृ\\~','$1्ऱ्'],
50
			['([क-ह])्\\`','$1़्'],
51
52
			['अa','आ'],
53
			['(ओo|उu)','ऊ'],
54
			['ऎ\\^','ए'],
55
			['अi','ऐ'],
56
			['अ\\^','अ'],
57
			['(इi|एe)','ई'],
58
			['ऒ\\^','ओ'],
59
			['अu','औ'],
60
			['र्र्r','\u0930\u094D\u200D'],
61
			['ड़्h','ढ्'],
62
			['ऋR','ॠ'],
63
			['ळ्l','ऌ'],
64
			['ऌl','ॡ'],
65
			['ं\\^','ँ'],
66
			['ंM','ँ'],
67
			['ओM','ॐ'],
68
			['ड्D','ड्'],
69
			['क्h','ख्'],
70
			['ग्h','घ्'],
71
			['G','ङ्'],
72
			['च्h','छ्'],
73
			['ज्h','झ्'],
74
			['न्j','ञ्'],
75
			['ट्h','ठ्'],
76
			['ड्h','ढ्'],
77
			['त्h','थ्'],
78
			['द्h','ध्'],
79
			['प्h','फ्'],
80
			['ब्h','भ्'],
81
			['ऋa','र'],
82
			['ऋA','रा'],
83
			['ऋi','रि'],
84
			['ऋI','री'],
85
			['ऋu','रु'],
86
			['ऋU','रू'],
87
			['ऋ\\^','ऋ'],
88
			['ऋe','रे'],
89
			['ऋE','रे'],
90
			['ऋo','रो'],
91
			['ऋO','रो'],
92
			['ऋ\\~','र्'],
93
94
			['स्h','श्'],
95
			['श्h','ष्'],
96
			['क़्h','ख्'],
97
			['ज़्h','ऴ्'],
98
			['।\\.','॥'],
99
100
			['a','अ'],
101
			['b','ब्'],
102
			['c','क्'],
103
			['d','द्'],
104
			['e','ए'],
105
			['(f|F)','फ्'],
106
			['g','ग्'],
107
			['h','ह्'],
108
			['i','इ'],
109
			['j','ज्'],
110
			['k','क्'],
111
			['l','ल्'],
112
			['m','म्'],
113
			['n','न्'],
114
			['o','ओ'],
115
			['p','प्'],
116
			['q','क़्'],
117
			['r','र्'],
118
			['s','स्'],
119
			['t','त्'],
120
			['u','उ'],
121
			['v','भ्'],
122
			['w','व्'],
123
			['x','क्ष्'],
124
			['y','य्'],
125
			['(z|Z)','ज़्'],
126
			['A','आ'],
127
			['B','ब्ब्'],
128
			['C','क्क्'],
129
			['D','ड्'],
130
			['E','ए'],
131
			['H','ः'],
132
			['I','ई'],
133
			['J','ज्ज्'],
134
			['K','क्क्'],
135
			['L','ळ्'],
136
			['M','ं'],
137
			['N','ण्'],
138
			['O','ओ'],
139
			['P','प्प्'],
140
			['Q','अ'],
141
			['R','ऋ'],
142
			['S','श्'],
143
			['T','ट्'],
144
			['U','ऊ'],
145
			['V','झ्'],
146
			['W','औ'],
147
			['X','क्ष्'],
148
			['Y','य्य्'],
149
			['0','०'],
150
			['1','१'],
151
			['2','२'],
152
			['3','३'],
153
			['4','४'],
154
			['5','५'],
155
			['6','६'],
156
			['7','७'],
157
			['8','८'],
158
			['9','९'],
159
			['\\.','।'],
160
			['//','ऽ'],
161
			['\\`','्']]
162
	};
163
164
	$.ime.register( neTransliteration );
165
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/or/or-inscript.js (+106 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var orInScript = {
5
		id: 'or-inscript',
6
		name: 'ଇନସ୍କ୍ରିପ୍ଟ',
7
		description: 'InScript keyboard for Odia script',
8
		date: '2012-10-14',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['X', '\u0B01'],
14
			['x', '\u0B02'],
15
			['_', '\u0B03'],
16
			['D', '\u0B05'],
17
			['E', '\u0B06'],
18
			['F', '\u0B07'],
19
			['R', '\u0B08'],
20
			['G', '\u0B09'],
21
			['T', '\u0B0A'],
22
			['\\+', '\u0B0B'],
23
			['S', '\u0B0F'],
24
			['W', '\u0B10'],
25
			['A', '\u0B13'],
26
			['Q', '\u0B14'],
27
			['k', '\u0B15'],
28
			['K', '\u0B16'],
29
			['i', '\u0B17'],
30
			['I', '\u0B18'],
31
			['U', '\u0B19'],
32
			[';', '\u0B1A'],
33
			['\\:', '\u0B1B'],
34
			['p', '\u0B1C'],
35
			['P', '\u0B1D'],
36
			['\\}', '\u0B1E'],
37
			['\'', '\u0B1F'],
38
			['"', '\u0B20'],
39
			['\\[', '\u0B21'],
40
			['\\{', '\u0B22'],
41
			['C', '\u0B23'],
42
			['l', '\u0B24'],
43
			['L', '\u0B25'],
44
			['o', '\u0B26'],
45
			['O', '\u0B27'],
46
			['v', '\u0B28'],
47
			['h', '\u0B2A'],
48
			['H', '\u0B2B'],
49
			['y', '\u0B2C'],
50
			['Y', '\u0B2D'],
51
			['c', '\u0B2E'],
52
			['\\?', '\u0B2F'],
53
			['j', '\u0B30'],
54
			['n', '\u0B32'],
55
			['N', '\u0B33'],
56
			['M', '\u0B36'],
57
			['\\<', '\u0B37'],
58
			['m', '\u0B38'],
59
			['u', '\u0B39'],
60
			['\\]', '\u0B3C'],
61
			['e', '\u0B3E'],
62
			['f', '\u0B3F'],
63
			['r', '\u0B40'],
64
			['g', '\u0B41'],
65
			['t', '\u0B42'],
66
			['\\=', '\u0B43'],
67
			['s', '\u0B47'],
68
			['w', '\u0B48'],
69
			['a', '\u0B4B'],
70
			['q', '\u0B4C'],
71
			['d', '\u0B4D'],
72
			['/', '\u0B5F'],
73
			['\\>', '\u0B64'],
74
			['0', '\u0B66'],
75
			['1', '\u0B67'],
76
			['2', '\u0B68'],
77
			['3', '\u0B69'],
78
			['4', '\u0B6A'],
79
			['5', '\u0B6B'],
80
			['6', '\u0B6C'],
81
			['7', '\u0B6D'],
82
			['8', '\u0B6E'],
83
			['9', '\u0B6F'],
84
			['b', '\u0B71'],
85
			['\\(', '\u200D'],
86
			['\\)', '\u200C']],
87
88
		patterns_x: [
89
			['F', '\u0B0C'],
90
			['b', '\u0B35'],
91
			['\\>', '\u0B3D'],
92
			['\\=', '\u0B44'],
93
			['\\[', '\u0B5C'],
94
			['\\{', '\u0B5D'],
95
			['\\+', '\u0B60'],
96
			['R', '\u0B61'],
97
			['f', '\u0B62'],
98
			['r', '\u0B63'],
99
			['\\.', '\u0B65'],
100
			['x', '\u0B70'],
101
			['\\$', '\u20B9']]
102
103
	};
104
105
	$.ime.register( orInScript );
106
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/or/or-inscript2.js (+116 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var orInScript2 = {
5
		id: 'or-inscript2',
6
		name: 'ଇନସ୍କ୍ରିପ୍ଟ2',
7
		description: 'Enhanced InScript keyboard for Odia language',
8
		date: '2013-02-09',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '୧'],
14
			['2', '୨'],
15
			['\\#', '୍ର'],
16
			['3', '୩'],
17
			['\\$', 'ର୍'],
18
			['4', '୪'],
19
			['5', '୫'],
20
			['6', '୬'],
21
			['7', '୭'],
22
			['8', '୮'],
23
			['\\(', '('],
24
			['9', '୯'],
25
			['\\)', ')'],
26
			['0', '୦'],
27
			['\\_', 'ଃ'],
28
			['\\-', '-'],
29
			['\\+', 'ଋ'],
30
			['\\=', 'ୃ'],
31
			['Q', 'ଔ'],
32
			['q', 'ୌ'],
33
			['W', 'ଐ'],
34
			['w', 'ୈ'],
35
			['E', 'ଆ'],
36
			['e', 'ା'],
37
			['R', 'ଈ'],
38
			['r', 'ୀ'],
39
			['T', 'ଊ'],
40
			['t', 'ୂ'],
41
			['Y', 'ଭ'],
42
			['y', 'ବ'],
43
			['U', 'ଙ'],
44
			['u', 'ହ'],
45
			['I', 'ଘ'],
46
			['i', 'ଗ'],
47
			['O', 'ଧ'],
48
			['o', 'ଦ'],
49
			['P', 'ଝ'],
50
			['p', 'ଜ'],
51
			['\\{', 'ଢ'],
52
			['\\[', 'ଡ'],
53
			['\\}', 'ଞ'],
54
			['\\]', '଼'],
55
			['A', 'ଓ'],
56
			['a', 'ୋ'],
57
			['S', 'ଏ'],
58
			['s', 'େ'],
59
			['D', 'ଅ'],
60
			['d', '୍'],
61
			['F', 'ଇ'],
62
			['f', 'ି'],
63
			['G', 'ଉ'],
64
			['g', 'ୁ'],
65
			['H', 'ଫ'],
66
			['h', 'ପ'],
67
			['j', 'ର'],
68
			['K', 'ଖ'],
69
			['k', 'କ'],
70
			['L', 'ଥ'],
71
			['l', 'ତ'],
72
			[':', 'ଛ'],
73
			[';', 'ଚ'],
74
			['\"', 'ଠ'],
75
			['\'', 'ଟ'],
76
			['X', 'ଁ'],
77
			['x', 'ଂ'],
78
			['C', 'ଣ'],
79
			['c', 'ମ'],
80
			['v', 'ନ'],
81
			['b', 'ୱ'],
82
			['N', 'ଳ'],
83
			['n', 'ଲ'],
84
			['M', 'ଶ'],
85
			['m', 'ସ'],
86
			['\\<', 'ଷ'],
87
			[',', ','],
88
			['\\>', '।'],
89
			['\\.', '.'],
90
			['\\?', 'ଯ'],
91
			['/', 'ୟ'],
92
			['\\%', 'ଜ୍ଞ'],
93
			['\\^', 'ତ୍ର'],
94
			['\\&', 'କ୍ଷ'],
95
			['\\*', 'ଶ୍ର']
96
		],
97
		patterns_x: [
98
			['1', '\u200d'],
99
			['2', '\u200c'],
100
			['4', '₹'],
101
			['\\+', 'ୠ'],
102
			['\\=', 'ୄ'],
103
			['R', 'ୡ'],
104
			['r', 'ୣ'],
105
			['\\{', 'ଢ଼'],
106
			['\\[', 'ଡ଼'],
107
			['F', 'ଌ'],
108
			['f', 'ୢ'],
109
			['b', 'ଵ'],
110
			['\\>', 'ଽ'],
111
			['\\.', '॥'],
112
			['x', '୰']]
113
	};
114
115
	$.ime.register( orInScript2 );
116
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/or/or-lekhani.js (+175 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var orLekhani = {
5
		id: 'or-lekhani',
6
		name: 'ଫୋନେଟିକ',
7
		description: 'Odia Lekhani phonetic input method',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V and Subhashish Panigrahi',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
17
18
			['([(କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍ଜ])a', '$1ା'],
19
			['([କ-ଳଲନ୍ଧଥଡ଼ଢ଼ହୟୱରକ୍ଷଶସଷଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍ଜ])i', '$1\u0b3f'],
20
			['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])I', '$1ୀ'],
21
			['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])u', '$1\u0b41'],
22
			['([କ-ହୟୱ])(U|\u0b41u)', '$1\u0b42'],
23
			['([କ-ହୟୱ])R', '$1\u0b43'],
24
			['([କ-ହୟୱ])\u0b43R', '$1\u0b44'],
25
			['([କ-ହୟୱ])୍ଳ୍l', '$1ୢ'],
26
			['([କ-ହୟୱ])ୢl', '$1ୣ'],
27
			['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])e', '$1େ'],
28
			['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])o', '$1ୋ'],
29
			['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])(ାu|ୋu)', '$1ୌ'],
30
			['([କ-ହୟୱ])E', '$1\u0B48'],
31
			['([କ-ହୟୱ])(w|v)', '$1୍ୱ'],
32
			['([କ-ହୟୱ])~', '$1\u200C'],
33
34
			['([କ-ହୟୱ])y', '$1୍ୟ'], // <consonant>y
35
36
			['z', '୍'], // halanta
37
			['\\.', '।'], //purnacheda
38
			['ଅa', 'ଆ'],
39
			['ଏe', 'ଐ'],
40
			['(ଅu|ଓo|ଓO)', 'ଔ'],
41
			['ଋR', 'ୠ'], // RR
42
			['ଳl', 'ଌ'], // Ll
43
			['ଌl', 'ୡ'], // Lll
44
			['ଞ୍ଚh', 'ଞ୍ଛ'], // nch
45
			['ଞ୍ଜh', 'ଞ୍ଝ'], // njh
46
			['ଙ୍କh', 'ଙ୍ଖ'], // nkh
47
			['ଙ୍ଗh', 'ଙ୍ଘ'], // ngh
48
			['ହm', 'ହ୍ମ'], // mh
49
			['ହn', 'ହ୍ନ'], // nh
50
			['ମ୍ବh', 'ମ୍ଭ'], // mbh or nbh
51
			['ଣ୍ଡai', 'ଣ୍ଡାଇ'], // NDai
52
			['ଜ୍ଜh', 'ଜ୍ଝ'], // jjh
53
			['ଚ୍ଚh', 'ଚ୍ଛ'], // cch
54
55
			['ଣG', 'ଙ'], // NG
56
			['ଣg', 'ଞ'], // Ng
57
			['କh', 'ଖ'], // kh
58
			['ଗh', 'ଘ'], // gh
59
			['ନc', 'ଞ୍ଚ'], // nc
60
			['ନg', 'ଙ୍ଗ'], // ng
61
			['ଚh', 'ଛ'], // ch
62
			['C', 'ଛ'], // ch
63
			['ଜh', 'ଝ'], // jh
64
			['ନj', 'ଞ୍ଜ'], // nj
65
			['ନk', 'ଙ୍କ'], // nk
66
			['ନd', 'ନ୍ଦ'], // nd
67
			['ନD|ଣD', 'ଣ୍ଡ'], // nd
68
			['ଣDh', 'ଣ୍ଢ'], //ndh
69
			['ନdh', 'ନ୍ଧ'], // ndht
70
			['ଷT', '$1୍ଟ'], // ST
71
			['ଟh', 'ଠ'], // Th
72
			['ଡh', 'ଢ'], // Dh
73
			['ତh', 'ଥ'], // th
74
			['ଦh', 'ଧ'], // dh
75
			['(f|ପh|P)', 'ଫ'], // ph or f
76
			['ବh', 'ଭ'], // bh
77
			['ସh', 'ଷ'], // sh
78
			['ମb', 'ମ୍ବ'], // mb or nb
79
			['ଣT', 'ଣ୍ଟ'], // NT
80
			['ଣTh', 'ଣ୍ଠ'], // NTh
81
			['(ଷ|ମ)p', '$1୍ପ'], // sp/shp
82
			['shp', 'ଷ୍ପ'], // sp
83
			['ଂM', 'ଁ'], // MM
84
85
			['କk', 'କ୍କ'], // kk
86
			['ଗg', 'ଗ୍ଗ'], // gg
87
			['ଚc', 'ଚ୍ଚ'], // cc
88
			['ଜj', 'ଜ୍ଜ'], // jj
89
			['ଦd', 'ଦ୍ଦ'], // dd
90
			['ଟT', 'ଟ୍ଟ'], // TT
91
			['ଡD', 'ଡ୍ଡ'], // DD
92
			['ତt', 'ତ୍ତ'], // tt
93
			['ଲl', 'ଲ୍ଲ'], // ll
94
			['ପp', 'ପ୍ପ'], //pp
95
			[ '_', '\u200c' ],
96
97
			['ଆ\\\\', '\u0B3E'], // aa sign
98
			['ଇ\\\\', '\u0B3F'], // i sign
99
			['ଈ\\\\', '\u0B40'], // I sign
100
			['ଉ\\\\', '\u0B41'], // u sign
101
			['ଉ\\\\', '\u0B42'], // U sign
102
			['ଋ\\\\', '\u0B43'], // R sign
103
			['ୠ\\\\', '\u0B44'], // RR sign
104
			['ଌ\\\\', '\u0B62'], // L sign
105
			['ୡ\\\\', '\u0B63'], // LL sign
106
			['ଏ\\\\', '\u0B47'], // e sign
107
			['ଐ\\\\', '\u0B48'], // ai sign
108
			['ଓ\\\\', '\u0B4B'], // o sign
109
			['ଔ\\\\', '\u0B4C'], // au sign
110
111
			['\u200c?a', 'ଅ'],
112
			['b', 'ବ'],
113
			['c', '', 'ଚ'],
114
			['d', 'ଦ'],
115
			['\u200c?e', 'ଏ'],
116
			['g', 'ଗ'],
117
			['G', 'ଘ'],
118
			['h', 'ହ'],
119
			['\u200c?i', 'ଇ'],
120
			['j', 'ଜ'],
121
			['k', 'କ'],
122
			['l', 'ଲ'],
123
			['m', 'ମ'],
124
			['n', 'ନ'],
125
			['\u200c?o', 'ଓ'],
126
			['p', 'ପ'],
127
			['q', 'ଡ଼'],
128
			['r', 'ର'],
129
			['s', 'ସ'],
130
			['t', 'ତ'],
131
			['\u200c?u', 'ଉ'],
132
			['[vwVW]', 'ୱ'],
133
			['x', 'କ୍ଷ'],
134
			['[Y]', 'ୟ'],
135
			['[y]', 'ଯ'],
136
			['\u200c?A', 'ଆ'],
137
			['B', 'ବ'],
138
			['C', 'ଛ'],
139
			['D', 'ଡ'],
140
			['\u200c?E', 'ଐ'],
141
			['F', 'ଫ'],
142
			['G', 'ଗ'],
143
			['H', 'ଃ'],
144
			['\u200c?I', 'ଈ'],
145
			['J', 'ଯ'],
146
			['K', 'ଖ'],
147
			['L', 'ଳ'],
148
			['M', 'ଂ'],
149
			['N', 'ଣ'],
150
			['\u200c?O', 'ଔ'],
151
			['P', 'ଫ'],
152
			['Q', 'ଢ଼'],
153
			['R', 'ଋ'],
154
			['S', 'ଶ'],
155
			['T', 'ଟ'],
156
			['\u200c?U', 'ଊ'],
157
			['X', 'ଁ'],
158
			['Z', 'ଜ୍ଞ'],
159
			['//', '୍ର'],
160
161
			['0', '୦'],
162
			['1', '୧'],
163
			['2', '୨'],
164
			['3', '୩'],
165
			['4', '୪'],
166
			['5', '୫'],
167
			['6', '୬'],
168
			['7', '୭'],
169
			['8', '୮'],
170
			['9', '୯']
171
		]
172
	};
173
174
	$.ime.register( orLekhani );
175
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/or/or-phonetic.js (+110 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var orPhonetic = {
5
		id: 'or-phonetic',
6
		name: 'ଫୋନେଟିକ',
7
		description: 'Phonetic keyboard for Odia script',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\~', 'ଐ'],
15
			['\\`', ' ୈ'],
16
			['\\!', 'ଏ'],
17
			['1', '୧'],
18
			['\\@', '@'],
19
			['2', '୨'],
20
			['\\#', 'ତ୍ର'],
21
			['3', '୩'],
22
			['\\$', '$'],
23
			['4', '୪'],
24
			['\\%', 'ଞ'],
25
			['5', '୫'],
26
			['6', '୬'],
27
			['7', '୭'],
28
			['8', '୮'],
29
			['\\(', '('],
30
			['9', '୯'],
31
			['\\)', ')'],
32
			['0', '୦'],
33
			['\\_', '_'],
34
			['\\-', '-'],
35
			['\\+', '+'],
36
			['\\=', '='],
37
			['Q', 'ଔ'],
38
			['q', 'ଓ'],
39
			['W', 'ଠ'],
40
			['w', 'ଟ'],
41
			['E', 'ୈ'],
42
			['e', 'େ'],
43
			['R', 'ୃ '],
44
			['r', 'ର'],
45
			['T', 'ଥ'],
46
			['t', 'ତ'],
47
			['Y', 'ୟ'],
48
			['y', 'ଯ'],
49
			['U', 'ୂ'],
50
			['u', 'ୁ'],
51
			['I', 'ୀ'],
52
			['i', 'ି'],
53
			['O', 'ୌ'],
54
			['o', 'ୋ'],
55
			['P', 'ଫ'],
56
			['p', 'ପ'],
57
			['\\{', 'ଢ'],
58
			['\\[', 'ଡ'],
59
			['\\}', 'ର୍'],
60
			['\\]', 'ଋ'],
61
			['A', 'ଆ'],
62
			['a', 'ା'],
63
			['S', 'ଶ'],
64
			['s', 'ସ'],
65
			['D', 'ଧ'],
66
			['d', 'ଦ'],
67
			['F', 'ଅ'],
68
			['f', '୍'],
69
			['G', 'ଘ'],
70
			['g', 'ଗ'],
71
			['H', 'ଃ'],
72
			['h', 'ହ'],
73
			['J', 'ଝ'],
74
			['j', 'ଜ'],
75
			['K', 'ଖ'],
76
			['k', 'କ'],
77
			['L', 'ଳ'],
78
			['l', 'ଲ'],
79
			[':', 'ଈ'],
80
			[';', 'ଇ'],
81
			['"', 'ଊ'],
82
			['\'', 'ଉ'],
83
			['\\|', '|'],
84
			['\\\\', '\\'],
85
			['Z', 'ଁ'],
86
			['z', 'ଙ'],
87
			['x', 'ଷ'],
88
			['C', 'ଛ'],
89
			['c', 'ଚ'],
90
			['V', 'ଵ'],
91
			['v', 'ୱ'],
92
			['B', 'ଭ'],
93
			['b', 'ବ'],
94
			['N', 'ଣ'],
95
			['n', 'ନ'],
96
			['M', 'ଂ'],
97
			['m', 'ମ'],
98
			['\\<', '<'],
99
			[',', ','],
100
			['\\>', '>'],
101
			['\\.', '।'],
102
			['\\?', 'ଐ'],
103
			['/', 'ଏ'],
104
			['\\^', 'ଜ୍ଞ'],
105
			['X', 'କ୍ଷ'],
106
			['\\*', 'ଶ୍ର']]
107
	};
108
109
	$.ime.register( orPhonetic );
110
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/or/or-transliteration.js (+146 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var orTransliteration = {
5
		id: 'or-transliteration',
6
		name: 'ଟ୍ରାନ୍ସଲିଟରେସନ',
7
		description: 'Odia Transliteration',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V and Subhashish Panigrahi',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 2,
15
		patterns: [
16
			[ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ],
17
18
			[ 'ଞ୍ଜ୍h', 'ଞ୍ଝ୍' ], // njh
19
			[ 'ଙ୍ଗ୍h', 'ଙ୍ଘ୍' ], // ngh
20
21
			[ '([କ-ହୟ])୍a', '$1' ],
22
			[ '([କ-ହୟ])(a|୍A)', '$1ା' ],
23
			[ '([କ-ହୟ])୍i', '$1\u0b3f' ],
24
			[ '([କ-ହୟ])୍I', '$1ୀ' ],
25
			[ '([କ-ହୟ])୍u', '$1\u0b41' ],
26
			[ '([କ-ହୟ])(୍U|\u0b41u)', '$1\u0b42' ],
27
			[ '([କ-ହୟ])୍R', '$1\u0b43' ],
28
			[ '([କ-ହୟ])\u0b43R', '$1\u0b44' ],
29
			[ '([କ-ହୟ])୍ଳ୍l', '$1ୢ' ],
30
			[ '([କ-ହୟ])ୢl', '$1ୣ' ],
31
			[ '([କ-ହୟ])୍e', '$1େ' ],
32
			[ '([କ-ହୟ])i', '$1ୈ' ],
33
			[ '([କ-ହୟ])୍o', '$1ୋ' ],
34
			[ '([କ-ହୟ])ୋu', '$1ୌ' ],
35
			[ '([କ-ହୟ])୍E', '$1\u0B48' ],
36
37
			[ 'ଅa', 'ଆ' ],
38
			[ '(ଅi|ଏe)', 'ଐ' ],
39
			[ '(ଅu|ଓo|ଓO)', 'ଔ' ],
40
			[ 'ଋR', 'ୠ' ],
41
			[ 'ଳ୍l', 'ଌ' ],
42
			[ 'ଌl', 'ୡ' ],
43
			[ 'ଞ୍ଚ୍h', 'ଞ୍ଛ୍' ], // nch
44
45
			[ 'ଣ୍G', 'ଙ୍' ], // NG
46
			[ 'ଣ୍g', 'ଞ୍' ], // Ng
47
			[ 'କ୍h', 'ଖ୍' ],
48
			[ 'ଗ୍h', 'ଘ୍' ],
49
			[ 'ନ୍c', 'ଞ୍ଚ୍' ], // nc
50
			[ 'ନ୍g', 'ଙ୍ଗ୍' ], // ng
51
			[ 'ଚ୍h', 'ଛ୍' ],
52
			[ 'ଜ୍h', 'ଝ୍' ],
53
			[ 'ନ୍j', 'ଞ୍ଜ୍' ], // nj
54
			[ 'ନ୍k', 'ଙ୍କ୍' ], // nk
55
			[ 'ଟ୍h', 'ଠ୍' ],
56
			[ 'ଡ୍h', 'ଢ୍' ],
57
			[ 'ତ୍h', 'ଥ୍' ],
58
			[ 'ଦ୍h', 'ଧ୍' ],
59
			[ 'ପ୍h', 'ଫ୍' ],
60
			[ 'ବ୍h', 'ଭ୍' ],
61
			[ 'ସ୍h', 'ଷ୍' ],
62
			[ '।Z', '॥' ],
63
64
			[ 'ଆ\\\\', '\u0B3E' ], // aa sign
65
			[ 'ଇ\\\\', '\u0B3F' ], // i sign
66
			[ 'ଈ\\\\', '\u0B40' ],// I sign
67
			[ 'ଉ\\\\', '\u0B41' ], // u sign
68
			[ 'ଉ\\\\', '\u0B42' ], // U sign
69
			[ 'ଋ\\\\', '\u0B43' ], // R sign
70
			[ 'ୠ\\\\', '\u0B44' ], // RR sign
71
			[ 'ଌ\\\\', '\u0B62' ], // L sign
72
			[ 'ୡ\\\\', '\u0B63' ], // LL sign
73
			[ 'ଏ\\\\', '\u0B47' ], // e sign
74
			[ 'ଐ\\\\', '\u0B48' ], // ai sign
75
			[ 'ଓ\\\\', '\u0B4B' ], // o sign
76
			[ 'ଔ\\\\', '\u0B4C' ], // au sign
77
78
			[ '\u200c?a', 'ଅ' ],
79
			[ 'b', 'ବ୍' ],
80
			[ 'c', '', 'ଚ୍' ],
81
			[ 'd', 'ଦ୍' ],
82
			[ '\u200c?e', 'ଏ' ],
83
			[ 'f', 'ଫ୍' ],
84
			[ 'g', 'ଗ୍' ],
85
			[ 'h', 'ହ୍' ],
86
			[ '\u200c?i', 'ଇ' ],
87
			[ 'j', 'ଜ୍' ],
88
			[ 'k', 'କ୍' ],
89
			[ 'l', 'ଲ୍' ],
90
			[ 'm', 'ମ୍' ],
91
			[ 'n', 'ନ୍' ],
92
			[ '\u200c?o', 'ଓ' ],
93
			[ 'p', 'ପ୍' ],
94
			[ 'q', 'ଜ୍ଞ୍' ],
95
			[ 'r', 'ର୍' ],
96
			[ 's', 'ସ୍' ],
97
			[ 't', 'ତ୍' ],
98
			[ '\u200c?u', 'ଉ' ],
99
			[ 'v', 'ୱ୍' ],
100
			[ 'w', 'ଵ୍' ],
101
			[ 'x', 'କ୍ଷ୍' ],
102
			[ 'y', 'ୟ୍' ],
103
			[ 'z', '\u0B3C' ],
104
			[ '\u200c?A', 'ଆ' ],
105
			[ 'B', 'ବ୍' ],
106
			[ 'C', 'ଛ୍' ],
107
			[ 'D', 'ଡ୍' ],
108
			[ '\u200c?E', 'ଐ' ],
109
			[ 'F', 'ଫ୍' ],
110
			[ 'G', 'ଗ୍' ],
111
			[ 'H', '', 'ଃ' ],
112
			[ '\u200c?I', 'ଈ' ],
113
			[ 'J', 'ଝ୍' ],
114
			[ 'K', 'କ୍' ],
115
			[ 'L', 'ଳ୍' ],
116
			[ 'M', '', 'ଂ' ],
117
			[ 'N', 'ଣ୍' ],
118
			[ '\u200c?O', 'ଔ' ],
119
			[ 'P', 'ଫ୍' ],
120
			[ 'Q', 'ଜ୍ଞ୍' ],
121
			[ 'R', 'ଋ' ],
122
			[ 'S', 'ଶ୍' ],
123
			[ 'T', 'ଟ୍' ],
124
			[ '\u200c?U', 'ଊ' ],
125
			[ 'V', 'ଵ୍' ],
126
			[ 'W', 'ଵ୍ଵ୍' ],
127
			[ 'X', 'ଁ' ],
128
			[ 'Y', 'ଯ୍' ],
129
			[ 'Z', '।' ],
130
			[ '\\~', '', '୍' ],
131
			[ '//', 'ଽ' ],
132
			[ '_', '\u200c' ],
133
			[ '0', '୦' ],
134
			[ '1', '୧' ],
135
			[ '2', '୨' ],
136
			[ '3', '୩' ],
137
			[ '4', '୪' ],
138
			[ '5', '୫' ],
139
			[ '6', '୬' ],
140
			[ '7', '୭' ],
141
			[ '8', '୮' ],
142
			[ '9', '୯' ] ]
143
	};
144
145
	$.ime.register( orTransliteration );
146
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/pa/pa-inscript.js (+97 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var paInScript = {
5
		id: 'pa-inscript',
6
		name: 'Punjabi InScript',
7
		description: 'InScript keyboard for Punjabi script',
8
		date: '2012-10-16',
9
		author: '',
10
		license: '',
11
		version: '1.0',
12
		patterns: [
13
			['1', '੧'],
14
			['2', '੨'],
15
			['3', '੩'],
16
			['4', '੪'],
17
			['5', '੫'],
18
			['6', '੬'],
19
			['7', '੭'],
20
			['8', '੮'],
21
			['9', '੯'],
22
			['0', '੦'],
23
			['\\_', '_'],
24
			['\\-', '-'],
25
			['\\+', '+'],
26
			['\\=', '='],
27
			['Q', 'ਔ'],
28
			['q', 'ੌ'],
29
			['W', 'ਐ'],
30
			['w', 'ੈ'],
31
			['E', 'ਆ'],
32
			['e', 'ਾ'],
33
			['R', 'ਈ'],
34
			['r', 'ੀ'],
35
			['T', 'ਊ'],
36
			['t', 'ੂ'],
37
			['Y', 'ਭ'],
38
			['y', 'ਬ'],
39
			['U', 'ਙ'],
40
			['u', 'ਹ'],
41
			['I', 'ਘ'],
42
			['i', 'ਗ'],
43
			['O', 'ਧ'],
44
			['o', 'ਦ'],
45
			['P', 'ਝ'],
46
			['p', 'ਜ'],
47
			['\\{', 'ਢ'],
48
			['\\[', 'ਡ'],
49
			['\\}', 'ਞ'],
50
			['\\]', '਼'],
51
			['A', 'ਓ'],
52
			['a', 'ੋ'],
53
			['S', 'ਏ'],
54
			['s', 'ੇ'],
55
			['D', 'ਅ'],
56
			['d', '੍'],
57
			['F', 'ਇ'],
58
			['f', 'ਿ'],
59
			['G', 'ਉ'],
60
			['g', 'ੁ'],
61
			['H', 'ਫ'],
62
			['h', 'ਪ'],
63
			['J', 'ੜ'],
64
			['j', 'ਰ'],
65
			['K', 'ਖ'],
66
			['k', 'ਕ'],
67
			['L', 'ਥ'],
68
			['l', 'ਤ'],
69
			['\\:', 'ਛ'],
70
			['\\;', 'ਚ'],
71
			['"', 'ਠ'],
72
			['\'', 'ਟ'],
73
			['Z', 'ੱ'],
74
			['z', 'ੰ'],
75
			['X', 'ਫ਼'],
76
			['x', 'ਜ਼'],
77
			['C', 'ਣ'],
78
			['c', 'ਮ'],
79
			['V', 'ਂ'],
80
			['v', 'ਨ'],
81
			['B', 'ਞ'],
82
			['b', 'ਵ'],
83
			['N', 'ਲ਼'],
84
			['n', 'ਲ'],
85
			['M', 'ਸ਼'],
86
			['m', 'ਸ'],
87
			['\\<', 'ੳ'],
88
			[',', ','],
89
			['\\>', 'ੲ'],
90
			['\\.', '.'],
91
			['\\?', '?'],
92
			['/', 'ਯ']]
93
94
	};
95
96
	$.ime.register( paInScript );
97
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/pa/pa-inscript2.js (+111 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var paInScript2 = {
5
		id: 'pa-inscript2',
6
		name: 'Punjabi InScript2',
7
		description: 'Enhanced InScript keyboard for Punjabi script',
8
		date: '2013-11-14',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '੧'],
14
			['2', '੨'],
15
			['3', '੩'],
16
			['4', '੪'],
17
			['5', '੫'],
18
			['6', '੬'],
19
			['7', '੭'],
20
			['8', '੮'],
21
			['9', '੯'],
22
			['0', '੦'],
23
			['\\(', '('],
24
			['\\)', ')'],
25
			['\\_', 'ਃ'],
26
			['\\-', '-'],
27
			['Q', 'ਔ'],
28
			['q', 'ੌ'],
29
			['W', 'ਐ'],
30
			['w', 'ੈ'],
31
			['E', 'ਆ'],
32
			['e', 'ਾ'],
33
			['R', 'ਈ'],
34
			['r', 'ੀ'],
35
			['T', 'ਊ'],
36
			['t', 'ੂ'],
37
			['Y', 'ਭ'],
38
			['y', 'ਬ'],
39
			['U', 'ਙ'],
40
			['u', 'ਹ'],
41
			['I', 'ਘ'],
42
			['i', 'ਗ'],
43
			['O', 'ਧ'],
44
			['o', 'ਦ'],
45
			['P', 'ਝ'],
46
			['p', 'ਜ'],
47
			['\\{', 'ਢ'],
48
			['\\[', 'ਡ'],
49
			['\\}', 'ਞ'],
50
			['\\]', '਼'],
51
			['A', 'ਓ'],
52
			['a', 'ੋ'],
53
			['S', 'ਏ'],
54
			['s', 'ੇ'],
55
			['D', 'ਅ'],
56
			['d', '੍'],
57
			['F', 'ਇ'],
58
			['f', 'ਿ'],
59
			['G', 'ਉ'],
60
			['g', 'ੁ'],
61
			['H', 'ਫ'],
62
			['h', 'ਪ'],
63
			['J', 'ੜ'],
64
			['j', 'ਰ'],
65
			['K', 'ਖ'],
66
			['k', 'ਕ'],
67
			['L', 'ਥ'],
68
			['l', 'ਤ'],
69
			[':', 'ਛ'],
70
			[';', 'ਚ'],
71
			['"', 'ਠ'],
72
			['\\\'', 'ਟ'],
73
			['X', 'ਂ'],
74
			['x', 'ੰ'],
75
			['C', 'ਣ'],
76
			['c', 'ਮ'],
77
			['v', 'ਨ'],
78
			['B', 'ਞ'],
79
			['b', 'ਵ'],
80
			['N', 'N'],
81
			['n', 'ਲ'],
82
			['M', 'ਸ਼'],
83
			['m', 'ਸ'],
84
			[',', ','],
85
			['\\>', '।'],
86
			['\\.', '.'],
87
			['/', 'ਯ']
88
		],
89
		patterns_x: [
90
			['1', '\u200d'],
91
			['2', '\u200c'],
92
			['4', '₹'],
93
			['i', 'ਗ਼'],
94
			['p', 'ਜ਼'],
95
			['\\[', 'ੜ'],
96
			['D', '☬'],
97
			['d', 'ੑ'],
98
			['F', 'ੲ'],
99
			['G', 'ੳ'],
100
			['H', 'ਫ਼'],
101
			['K', 'ਖ਼'],
102
			['X', 'ੴ'],
103
			['x', 'ਁ'],
104
			['N', 'ਲ਼'],
105
			['\\.', '॥'],
106
			['/', 'ੵ']
107
		]
108
	};
109
110
	$.ime.register( paInScript2 );
111
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/pa/pa-jhelum.js (+131 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var paJhelum = {
5
		id: 'pa-jhelum',
6
		name: 'Punjabi Jhelum',
7
		description: 'Jhelum keyboard for Punjabi script',
8
		date: '2013-11-14',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\~', '~'],
14
			['\\`', '`'],
15
			['\\!', '!'],
16
			['1', '1'],
17
			['\\@', '@'],
18
			['2', '2'],
19
			['\\#', '#'],
20
			['3', '3'],
21
			['\\$', '$'],
22
			['4', '4'],
23
			['\\%', '%'],
24
			['5', '5'],
25
			['\\^', 'ੳ'],
26
			['6', '6'],
27
			['\\&', 'ੲ'],
28
			['7', '7'],
29
			['8', '8'],
30
			['\\(', '('],
31
			['9', '9'],
32
			['\\)', ')'],
33
			['0', '0'],
34
			['\\_', '_'],
35
			['\\-', '-'],
36
			['\\+', '+'],
37
			['\\=', '='],
38
			['Q', 'ਔ'],
39
			['q', 'ੌ'],
40
			['W', 'ਐ'],
41
			['w', 'ੈ'],
42
			['E', 'ਆ'],
43
			['e', 'ਾ'],
44
			['R', 'ਈ'],
45
			['r', 'ੀ'],
46
			['T', 'ਊ'],
47
			['t', 'ੂ'],
48
			['Y', 'ੜ'],
49
			['y', 'ਰ'],
50
			['U', 'ਧ'],
51
			['u', 'ਦ'],
52
			['I', 'ਘ'],
53
			['i', 'ਗ'],
54
			['O', 'ਟ'],
55
			['o', 'ਤ'],
56
			['P', 'ਫ'],
57
			['p', 'ਪ'],
58
			['\\{', 'ਢ'],
59
			['\\[', 'ਡ'],
60
			['\\}', 'ਞ'],
61
			['\\]', 'ਙ'],
62
			['A', 'ਓ'],
63
			['a', 'ੋ'],
64
			['S', 'ਏ'],
65
			['s', 'ੇ'],
66
			['D', 'ਅ'],
67
			['d', '੍'],
68
			['F', 'ਇ'],
69
			['f', 'ਿ'],
70
			['G', 'ਉ'],
71
			['g', 'ੁ'],
72
			['H', 'ਠ'],
73
			['h', 'ਹ'],
74
			['J', 'ਝ'],
75
			['j', 'ਜ'],
76
			['K', 'ਖ'],
77
			['k', 'ਕ'],
78
			['L', 'ਥ'],
79
			['l', 'ਲ'],
80
			[':', ':'],
81
			[';', 'ਸ'],
82
			['"', '"'],
83
			['\\\'', '\''],
84
			['\\|', '।'],
85
			['\\', '\\'],
86
			['Z', '਼'],
87
			['z', 'ੱ'],
88
			['X', 'ੰ'],
89
			['x', 'ਂ'],
90
			['C', 'ਛ'],
91
			['c', 'ਚ'],
92
			['V', 'ਯ'],
93
			['v', 'ਵ'],
94
			['B', 'ਭ'],
95
			['b', 'ਬ'],
96
			['N', 'ਣ'],
97
			['n', 'ਨ'],
98
			['M', 'ਠ'],
99
			['m', 'ਮ'],
100
			['\\<', '<'],
101
			[',', ','],
102
			['\\>', '>'],
103
			['\\.', '.'],
104
			['\\?', '?'],
105
			['/', '/'],
106
			['\\*', '*']
107
		],
108
		patterns_x: [
109
			['1', '੧'],
110
			['2', '੨'],
111
			['3', '੩'],
112
			['4', '੪'],
113
			['5', '੫'],
114
			['6', '੬'],
115
			['7', '੭'],
116
			['8', '੮'],
117
			['9', '੯'],
118
			['0', '੦'],
119
			['y', '੍ਰ'],
120
			['i', 'ਗ਼'],
121
			['P', 'ਫ਼'],
122
			['h', '੍ਹ'],
123
			['j', 'ਜ਼'],
124
			['K', 'ਖ਼'],
125
			['l', 'ਲ਼'],
126
			[';', 'ਸ਼']
127
		]
128
	};
129
130
	$.ime.register( paJhelum );
131
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/pa/pa-phonetic.js (+99 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var paPhonetic = {
5
		id: 'pa-phonetic',
6
		name: 'Punjabi Phonetic',
7
		description: 'Punjabi Phonetic',
8
		date: '2012-10-16',
9
		URL: 'http://fedoraproject.org/wiki/I18N/Indic/PunjabiKeyboardLayouts',
10
		author: '',
11
		license: '',
12
		version: '1.0',
13
		patterns: [
14
			['!', '੧'],
15
			['1', '1'],
16
			['@', '੨'],
17
			['2', '2'],
18
			['#', '੩'],
19
			['3', '3'],
20
			['\\$', '੪'],
21
			['4', '4'],
22
			['5', '5'],
23
			['6', '6'],
24
			['7', '7'],
25
			['8', '8'],
26
			['\\(', '੯'],
27
			['9', '9'],
28
			['\\)', '੦'],
29
			['0', '0'],
30
			['Q', 'ਥ'],
31
			['q', 'ਤ'],
32
			['w', 'ਾ'],
33
			['E', 'ਓ'],
34
			['e', 'ੲ'],
35
			['r', 'ਰ'],
36
			['T', 'ਠ'],
37
			['t', 'ਟ'],
38
			['Y', 'ੈ'],
39
			['y', 'ੇ'],
40
			['U', 'ੂ'],
41
			['u', 'ੁ'],
42
			['I', 'ੀ'],
43
			['i', 'ਿ'],
44
			['O', 'ੌ'],
45
			['o', 'ੋ'],
46
			['P', 'ਫ'],
47
			['p', 'ਪ'],
48
			['\\{', '('],
49
			['\\}', ')'],
50
			['A', 'ਅ'],
51
			['a', 'ੳ'],
52
			['S', 'ਸ਼'],
53
			['s', 'ਸ'],
54
			['D', 'ਧ'],
55
			['d', 'ਦ'],
56
			['F', 'ਢ'],
57
			['f', 'ਡ'],
58
			['G', 'ਘ'],
59
			['g', 'ਗ'],
60
			['h', 'ਹ'],
61
			['J', 'ਝ'],
62
			['j', 'ਜ'],
63
			['K', 'ਖ'],
64
			['k', 'ਕ'],
65
			['L', 'ਲ਼'],
66
			['l', 'ਲ'],
67
			['\\', 'ਙ'],
68
			['\\~', '?ੱ'],
69
			['\\`', '?੍ '],
70
			['Z', 'ਗ਼'],
71
			['z', 'ਜ਼'],
72
			['X', 'ਯ'],
73
			['x', 'ਣ'],
74
			['C', 'ਛ'],
75
			['c', 'ਚ'],
76
			['V', 'ੜ'],
77
			['v', 'ਵ'],
78
			['B', 'ਭ'],
79
			['b', 'ਬ'],
80
			['N', 'ਂ'],
81
			['n', 'ਨ'],
82
			['M', 'ੰ'],
83
			['m', 'ਮ'],
84
			['\\<', 'ਖ਼'],
85
			['\\>', 'ੴ'],
86
			['\\.', '?਼'],
87
			['\\?', '?'],
88
			['\\/', 'ਞ'],
89
			['%', '੫'],
90
			['\\^', '੬'],
91
			['&', '੭'],
92
			['\\*', '੮'],
93
			['R', '੍ਰ'],
94
			['H', '੍ਹ'],
95
			['W', 'ਾਂ']]
96
	};
97
98
	$.ime.register( paPhonetic );
99
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/pa/pa-transliteration.js (+119 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var paTransliteration = {
5
		id: 'pa-transliteration',
6
		name: 'Punjabi Transliteration',
7
		description: 'Punjabi transliteration',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Amir E. Aharoni, inputs from Saurabh Choudhary and Surinder Wadhawan',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 2,
14
		maxKeyLength: 4,
15
		/* Semi-automatically created from the Hindi transliteration mapping using
16
		 * the following Perl substitution:
17
		 * s{(?<deva_letter>[ऀ-ॿ])}{chr(ord($+{deva_letter}) + 0x100)}xmsge;
18
		 */
19
		patterns: [
20
			['ਕ੍h', 'c', 'ਚ੍'],
21
			['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
22
23
			// ਕ-ਹ is the main range of Indic letters.
24
			// ੜ is an additional unique Gurmukhi letter.
25
			['([ਕ-ਹੜ]਼?)੍a', '$1'], // Short [a] after a consonant with virama removes the virama
26
			['([ਕ-ਹੜ]਼?)੍A', '$1ਾ'], // Long [a] after a consonant with virama removes the virama and adds long [a]
27
			['([ਕ-ਹੜ]਼?)a', '$1ਾ'], // 'aa' gives long [a] - short [a] after a consonant without virama adds long [a]
28
			['([ਕ-ਹੜ]਼?)੍i', '$1ਿ'],
29
			['([ਕ-ਹੜ]਼?)(ਿi|੍I|ੇe)', '$1ੀ'], // 'ii', 'I' and 'ee' give long [i].
30
			['([ਕ-ਹੜ]਼?)੍u', '$1ੁ'],
31
			['([ਕ-ਹੜ]਼?)(ੁu|੍U|ੋo)', '$1ੂ'], // 'uu', 'U' and 'oo' give long [u].
32
			['([ਕ-ਹੜ]਼?)੍e', '$1ੇ'],
33
			['([ਕ-ਹੜ]਼?)(i|੍E)', '$1ੈ'], // 'i' after a consonant without virama or 'E' after a consonant with Virama gives "ai"
34
			['([ਕ-ਹੜ]਼?)੍[oO]', '$1ੋ'],
35
			['([ਕ-ਹੜ]਼?)u', '$1ੌ'], // 'u' after a consonant without virama gives "au"
36
			['([ਕ-ਹੜ])੍\\`', '$1਼੍'], // '`' (backtick) after a consonant with virama adds a nukta before the virama
37
38
			['ਅa', 'ਆ'], // aa
39
			['(ਓo|ਉu)', 'ਊ'], //oo, uu
40
			['ਅi', 'ਐ'], // ai
41
			['ਅ\\^', 'ੲ'], // a^ (iri - base for vowels)
42
			['ਉ\\^', 'ੳ'], // u^ (ura - base for vowels)
43
			['(ਏe|ਇi)', 'ਈ'], // ee, ii
44
			['ਅu', 'ਔ'], // au
45
			['ਂ[Mm^]', 'ਁ'], // bindi + 'm', 'M', or '^' -> Adak bindi
46
			['ਣ੍N', 'ੰ'], // Tippi - nasalization
47
48
			['ਕ੍h', 'ਖ੍'], // kh
49
			['ਗ੍h', 'ਘ੍'], // gh
50
			['ਨ੍g', 'ਙ੍'], // ng
51
			['ਚ੍h', 'ਛ੍'], // ch
52
			['ਜ੍h', 'ਝ੍'], // jh
53
			['ਨ੍j', 'ਞ੍'], // nj
54
			['ਟ੍h', 'ਠ੍'], // Th
55
			['ਡ੍h', 'ਢ੍'], // Dh
56
			['ਤ੍h', 'ਥ੍'], // th
57
			['ਦ੍h', 'ਧ੍'], // dh
58
			['ਪ੍h', 'ਫ੍'], // ph
59
			['ਬ੍h', 'ਭ੍'], // bh
60
61
			['ਸ੍h', 'ਸ਼੍'], // sh
62
			['ਕ਼੍h', 'ਖ਼੍'], // k + nukta + h
63
64
			['a', 'ਅ'],
65
			['b', 'ਬ੍'],
66
			['c', 'ਚ੍'],
67
			['d', 'ਦ੍'],
68
			['e', 'ਏ'],
69
			['f', 'ਫ੍'],
70
			['F', 'ਫ਼੍'], // With nukta
71
			['g', 'ਗ੍'],
72
			['h', 'ਹ੍'],
73
			['i', 'ਇ'],
74
			['j', 'ਜ੍'],
75
			['k', 'ਕ੍'],
76
			['l', 'ਲ੍'],
77
			['m', 'ਮ੍'],
78
			['n', 'ਨ੍'],
79
			['o', 'ਓ'],
80
			['p', 'ਪ੍'],
81
			['q', 'ੑ'], // Udaat
82
			['r', 'ਰ੍'],
83
			['s', 'ਸ੍'],
84
			['t', 'ਤ੍'],
85
			['u', 'ਉ'],
86
			['(v|w)', 'ਵ੍'],
87
			['y', 'ਯ੍'],
88
			['z', 'ੱ'], // Addak - gemination
89
			['A', 'ਆ'],
90
			['D', 'ਡ੍'],
91
			['H', 'ਃ'], // Visarga
92
			['I', 'ਈ'],
93
			['M', 'ਂ'], // Bindi
94
			['N', 'ਣ੍'],
95
			['R', 'ੜ੍'], // Rra
96
			['S', 'ਸ਼੍'],
97
			['T', 'ਟ੍'],
98
			['U', 'ਊ'],
99
			['X', 'ੴ'], // Ek onkar
100
			['Y', 'ੵ'], // Yakash
101
			['0', '੦'],
102
			['1', '੧'],
103
			['2', '੨'],
104
			['3', '੩'],
105
			['4', '੪'],
106
			['5', '੫'],
107
			['6', '੬'],
108
			['7', '੭'],
109
			['8', '੮'],
110
			['9', '੯'],
111
			['~', '੍'], // Virama
112
			['\\`', '਼'], // Nukta
113
114
			['।\\.', '॥'], // Double danda, must be before single danda
115
			['\\.', '।']] // Danda
116
	};
117
118
	$.ime.register( paTransliteration );
119
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ru/ru-jcuken.js (+96 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ruJcuken = {
5
		id: 'ru-jcuken',
6
		name: 'Русский - ЙЦУКЕН',
7
		description: 'Стандартная русская раскладка',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Amir (Алексей) Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['Q', 'Й'],
15
			['W', 'Ц'],
16
			['E', 'У'],
17
			['R', 'К'],
18
			['T', 'Е'],
19
			['Y', 'Н'],
20
			['U', 'Г'],
21
			['I', 'Ш'],
22
			['O', 'Щ'],
23
			['P', 'З'],
24
			['{', 'Х'],
25
			['}', 'Ъ'],
26
			['A', 'Ф'],
27
			['S', 'Ы'],
28
			['D', 'В'],
29
			['F', 'А'],
30
			['G', 'П'],
31
			['H', 'Р'],
32
			['J', 'О'],
33
			['K', 'Л'],
34
			['L', 'Д'],
35
			[':', 'Ж'],
36
			['"', 'Э'],
37
			['Z', 'Я'],
38
			['X', 'Ч'],
39
			['C', 'С'],
40
			['V', 'М'],
41
			['B', 'И'],
42
			['N', 'Т'],
43
			['M', 'Ь'],
44
			['<', 'Б'],
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
			['`', 'ё'],
83
			['~', 'Ё'],
84
85
			// ! is the same // 1
86
			['@', '"'], // 2
87
			['#', '№'], // 3
88
			['\\$', ';'], // 4
89
			// '%' is the same // 5
90
			['^', ':'], // 6
91
			['&', '?']] // 7
92
			// '*', '(' and ')' are the same    // 8, 9, 0
93
	};
94
95
	$.ime.register( ruJcuken );
96
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ru/ru-kbd.js (+100 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ruKbd = {
5
		id: 'ru-kbd',
6
		name: 'Russian kbd',
7
		description: 'Russian kbd keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
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
			['\\\\', '\\'],
39
			['z', 'я'],
40
			['x', 'ч'],
41
			['c', 'с'],
42
			['v', 'м'],
43
			['b', 'и'],
44
			['n', 'т'],
45
			['m', 'ь'],
46
			[',', 'б'],
47
			['\\.', 'ю'],
48
			['/', '.'],
49
			['\\!', '!'],
50
			['\\@', '\"'],
51
			['\\#', '№'],
52
			['\\$', ';'],
53
			['\\%', '%'],
54
			['\\^', ':'],
55
			['\\&', '?'],
56
			['\\*', '*'],
57
			['\\(', '('],
58
			['\\)', ')'],
59
			['\\_', '_'],
60
			['\\+', '+'],
61
			['\\~', 'Ё'],
62
			['Q', 'Й'],
63
			['W', 'Ц'],
64
			['E', 'У'],
65
			['R', 'К'],
66
			['T', 'Е'],
67
			['Y', 'Н'],
68
			['U', 'Г'],
69
			['I', 'Ш'],
70
			['O', 'Щ'],
71
			['P', 'З'],
72
			['\\{', 'Х'],
73
			['\\}', 'Ъ'],
74
			['A', 'Ф'],
75
			['S', 'Ы'],
76
			['D', 'В'],
77
			['F', 'А'],
78
			['G', 'П'],
79
			['H', 'Р'],
80
			['J', 'О'],
81
			['K', 'Л'],
82
			['L', 'Д'],
83
			[':', 'Ж'],
84
			['\"', 'Э'],
85
			['\\|', '|'],
86
			['Z', 'Я'],
87
			['X', 'Ч'],
88
			['C', 'С'],
89
			['V', 'М'],
90
			['B', 'И'],
91
			['N', 'Т'],
92
			['M', 'Ь'],
93
			['\\<', 'Б'],
94
			['\\>', 'Ю'],
95
			['\\?', ',']
96
		]
97
	};
98
99
	$.ime.register( ruKbd );
100
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ru/ru-phonetic.js (+83 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ruPhonetic = {
5
		id: 'ru-phonetic',
6
		name: 'Russian phonetic',
7
		description: 'Russian phonetic keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\#', 'ё'],
15
			['\\$', 'Ё'],
16
			['\\%', 'ъ'],
17
			['\\^', 'Ъ'],
18
			['\\=', 'ч'],
19
			['\\+', 'Ч'],
20
			['`', 'ю'],
21
			['\\~', 'Ю'],
22
			['q', 'я'],
23
			['Q', 'Я'],
24
			['w', 'в'],
25
			['W', 'В'],
26
			['e', 'е'],
27
			['E', 'Е'],
28
			['r', 'р'],
29
			['R', 'Р'],
30
			['t', 'т'],
31
			['T', 'Т'],
32
			['y', 'ы'],
33
			['Y', 'Ы'],
34
			['u', 'у'],
35
			['U', 'У'],
36
			['i', 'и'],
37
			['I', 'И'],
38
			['o', 'о'],
39
			['O', 'О'],
40
			['p', 'п'],
41
			['P', 'П'],
42
			['\\[', 'ш'],
43
			['\\{', 'Ш'],
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
			['H', 'Х'],
58
			['j', 'й'],
59
			['J', 'Й'],
60
			['k', 'к'],
61
			['K', 'К'],
62
			['l', 'л'],
63
			['L', 'Л'],
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
	$.ime.register( ruPhonetic );
83
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ru/ru-yawerty.js (+109 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ruYawerty = {
5
		id: 'ru-yawerty',
6
		name: 'Russian YAWERTY',
7
		description: 'Russian YAWERTY keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['/q', 'ђ'],
15
			['/w', 'ѓ'],
16
			['/e', 'є'],
17
			['/r', 'ѕ'],
18
			['/t', 'і'],
19
			['/y', 'ї'],
20
			['/u', 'ј'],
21
			['/i', 'љ'],
22
			['/o', 'њ'],
23
			['/p', 'ћ'],
24
			['/a', 'ќ'],
25
			['/s', 'ў'],
26
			['/d', 'џ'],
27
			['/Q', 'Ђ'],
28
			['/W', 'Ѓ'],
29
			['/E', 'Є'],
30
			['/R', 'Ѕ'],
31
			['/T', 'І'],
32
			['/Y', 'Ї'],
33
			['/U', 'Ј'],
34
			['/I', 'Љ'],
35
			['/O', 'Њ'],
36
			['/P', 'Ћ'],
37
			['/A', 'Ќ'],
38
			['/S', 'Ў'],
39
			['/D', 'Џ'],
40
41
			['\\=', 'ч'],
42
			['`', 'ю'],
43
			['q', 'я'],
44
			['w', 'в'],
45
			['e', 'е'],
46
			['r', 'р'],
47
			['t', 'т'],
48
			['y', 'ы'],
49
			['u', 'у'],
50
			['i', 'и'],
51
			['o', 'о'],
52
			['p', 'п'],
53
			['\\[', 'ш'],
54
			['\\]', 'щ'],
55
			['a', 'а'],
56
			['s', 'с'],
57
			['d', 'д'],
58
			['f', 'ф'],
59
			['g', 'г'],
60
			['h', 'х'],
61
			['j', 'й'],
62
			['k', 'к'],
63
			['l', 'л'],
64
			['\\\\', 'э'],
65
			['z', 'з'],
66
			['x', 'ь'],
67
			['c', 'ц'],
68
			['v', 'ж'],
69
			['b', 'б'],
70
			['n', 'н'],
71
			['m', 'м'],
72
			['\\@', 'ё'],
73
			['\\#', 'ъ'],
74
			['\\$', 'Ё'],
75
			['\\+', 'Ч'],
76
			['\\~', 'Ю'],
77
			['Q', 'Я'],
78
			['W', 'В'],
79
			['E', 'Е'],
80
			['R', 'Р'],
81
			['T', 'Т'],
82
			['Y', 'Ы'],
83
			['U', 'У'],
84
			['I', 'И'],
85
			['O', 'О'],
86
			['P', 'П'],
87
			['\\{', 'Ш'],
88
			['\\}', 'Щ'],
89
			['A', 'А'],
90
			['S', 'С'],
91
			['D', 'Д'],
92
			['F', 'Ф'],
93
			['G', 'Г'],
94
			['H', 'Х'],
95
			['J', 'Й'],
96
			['K', 'К'],
97
			['L', 'Л'],
98
			['\\|', 'Э'],
99
			['Z', 'З'],
100
			['X', 'Ь'],
101
			['C', 'Ц'],
102
			['V', 'Ж'],
103
			['B', 'Б'],
104
			['N', 'Н'],
105
			['M', 'М']]
106
	};
107
108
	$.ime.register( ruYawerty );
109
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sa/sa-iast.js (+59 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var saIast = {
5
		id: 'sa-iast',
6
		name: 'Romanized',
7
		description: 'Romanized input method for Sanskrit with IAST/ISO 15919 convention. Original author William Giddings <wjgiddings@googlemail.com>',
8
		date: '2013-03-18',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Runa Bhattacharjee',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['aa', 'ā'],
17
			['AA', 'Ā'],
18
			['\\^a', 'â'],
19
			['\\^A', 'Â'],
20
			['ii', 'ī'],
21
			['II', 'Ī'],
22
			['uu', 'ū'],
23
			['UU', 'Ū'],
24
			['\\.r', 'ṛ'],
25
			['\\.R', 'Ṛ'],
26
			['ṛr', 'ṝ'],
27
			['ṚR', 'Ṝ'],
28
			['\\.l', 'ḷ'],
29
			['\\.L', 'Ḷ'],
30
			['ḷl', 'ḹ'],
31
			['ḶL', 'Ḹ'],
32
			['\\.M', 'Ṃ'],
33
			['\\.m', 'ṃ'],
34
			['\\.h', 'ḥ'],
35
			['\\.H', 'Ḥ'],
36
			[';n', 'ṅ'],
37
			[';N', 'Ṅ'],
38
			['~n', 'ñ'],
39
			['~N', 'Ñ'],
40
			['\\.t', 'ṭ'],
41
			['\\.T', 'Ṭ'],
42
			['\\.d', 'ḍ'],
43
			['\\.D', 'Ḍ'],
44
			['\\.n', 'ṇ'],
45
			['\\.N', 'Ṇ'],
46
			[';s', 'ś'],
47
			[';S', 'Ś'],
48
			['\\.s', 'ṣ'],
49
			['\\.S', 'Ṣ'],
50
			['ee', 'ē'],
51
			['oo', 'ō'],
52
			[';m', 'ṁ'],
53
			[',r', 'r̥'],
54
			['r̥r', 'r̥̄']
55
		]
56
	};
57
58
	$.ime.register( saIast );
59
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sa/sa-inscript.js (+113 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var saInScript = {
5
		id: 'sa-inscript',
6
		name: 'Sanskrit InScript',
7
		description: 'Inscript keyboard for Sanskrit script',
8
		date: '2012-10-16',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['X', 'ँ'],
14
			['x', 'ं'],
15
			['_', 'ः'],
16
			['D', 'अ'],
17
			['E', 'आ'],
18
			['F', 'इ'],
19
			['R', 'ई'],
20
			['G', 'उ'],
21
			['T', 'ऊ'],
22
			['\\+', 'ृ'],
23
			['S', 'ए'],
24
			['W', 'ऐ'],
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
		patterns_x: [
98
			['F', 'ऌ'],
99
			['\\>', 'ऽ'],
100
			['X', 'ॐ'],
101
			['e', '\u0951'],
102
			['d', '\u0952'],
103
			['R', 'ॡ'],
104
			['f', 'ॢ'],
105
			['r', 'ॣ'],
106
			['\\.', '॥'],
107
			['\\@', '','ॅ'],
108
			['4', '₹']]
109
110
	};
111
112
	$.ime.register( saInScript );
113
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sa/sa-inscript2.js (+117 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var saInScript2 = {
5
		id: 'sa-inscript2',
6
		name: 'संस्कृत इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Sanskrit language',
8
		date: '2012-11-06',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['\\@', 'ॅ'],
15
			['2', '२'],
16
			['\\#', '्र'],
17
			['3', '३'],
18
			['\\$', 'र्'],
19
			['4', '४'],
20
			['5', '५'],
21
			['6', '६'],
22
			['7', '७'],
23
			['8', '८'],
24
			['\\(', '('],
25
			['9', '९'],
26
			['\\]', ']'],
27
			['0', '०'],
28
			['\\_', 'ः'],
29
			['\\-', '-'],
30
			['\\+', 'ऋ'],
31
			['\\=', 'ृ'],
32
			['Q', 'औ'],
33
			['q', 'ौ'],
34
			['W', 'ऐ'],
35
			['w', 'ै'],
36
			['E', 'आ'],
37
			['e', 'ा'],
38
			['R', 'ई'],
39
			['r', 'ी'],
40
			['T', 'ऊ'],
41
			['t', 'ू'],
42
			['Y', 'भ'],
43
			['y', 'ब'],
44
			['U', 'ङ'],
45
			['u', 'ह'],
46
			['I', 'घ'],
47
			['i', 'ग'],
48
			['O', 'ध'],
49
			['o', 'द'],
50
			['P', 'झ'],
51
			['p', 'ज'],
52
			['\\{', 'ढ'],
53
			['\\[', 'ड'],
54
			['\\}', 'ञ'],
55
			['\\]', '़'],
56
			['\\|', 'ॠ'],
57
			['\\\\', 'ॄ'],
58
			['A', 'ओ'],
59
			['a', 'ो'],
60
			['S', 'ए'],
61
			['s', 'े'],
62
			['D', 'अ'],
63
			['d', '्'],
64
			['F', 'इ'],
65
			['f', 'ि'],
66
			['G', 'उ'],
67
			['g', 'ु'],
68
			['H', 'फ'],
69
			['h', 'प'],
70
			['j', 'र'],
71
			['K', 'ख'],
72
			['k', 'क'],
73
			['L', 'थ'],
74
			['l', 'त'],
75
			[':', 'छ'],
76
			[';', 'च'],
77
			['"', 'ठ'],
78
			['\\\'', 'ट'],
79
			['X', 'ँ'],
80
			['x', 'ं'],
81
			['C', 'ण'],
82
			['c', 'म'],
83
			['v', 'न'],
84
			['b', 'व'],
85
			['N', 'ळ'],
86
			['n', 'ल'],
87
			['M', 'श'],
88
			['m', 'स'],
89
			['\\<', 'ष'],
90
			[',', ','],
91
			['\\>', '।'],
92
			['\\.', '.'],
93
			['/', 'य'],
94
			['\\%', 'ज्ञ'],
95
			['\\^', 'त्र'],
96
			['\\&', 'क्ष'],
97
			['\\*', 'श्र']
98
		],
99
		patterns_x: [
100
			['1', '\u200d'],
101
			['2', '\u200c'],
102
			['4', '₹'],
103
			['e', '॑'],
104
			['R', 'ॡ'],
105
			['r', 'ॣ'],
106
			['d', '॒'],
107
			['F', 'ऌ'],
108
			['f', 'ॢ'],
109
			['H', 'फ़'],
110
			['X', 'ॐ'],
111
			['\\>', 'ऽ'],
112
			['\\.', '॥']
113
		]
114
	};
115
116
	$.ime.register( saInScript2 );
117
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sa/sa-transliteration.js (+165 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var saTransliteration = {
5
		id: 'sa-transliteration',
6
		name: 'Sanskrit Transliteration',
7
		description: 'Sanskrit transliteration',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V and Naveen Shankar',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['क्h','c','च्'],
17
			['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
18
19
			['([क-ह]़?)्a','$1'],
20
			['([क-ह]़?)्A','$1ा'],
21
			['([क-ह]़?)a','$1ा'],
22
			['([क-ह]़?)्i','$1ि'],
23
			['([क-ह]़?)(्I|िi|ॆe)','$1ी'],
24
			['([क-ह]़?)्u','$1ु'],
25
			['([क-ह]़?)(ुu|्U|ॊo)','$1ू'],
26
			['([क-ह]़?)्R','$1ृ'],
27
			['([क-ह]़?)ृR','$1ॄ'],
28
			['([क-ह]़?)्ळ्l','$1ॢ'],
29
			['([क-ह]़?)ॢl','$1ॣ'],
30
			['([क-ह]़?)ॆ\\^','$1ॅ'],
31
			['([क-ह]़?)्e','$1े'],
32
			['([क-ह]़?)्E','$1ॅ'],
33
			['([क-ह]़?)ॊ\\^','$1ॉ'],
34
			['([क-ह]़?)i','$1ै'],
35
			['([क-ह]़?)्o','$1ो'],
36
			['([क-ह]़?)्O','$1ॉ'],
37
			['([क-ह]़?)u','$1ौ'],
38
			['([क-ह]़?)ृa','$1्ऱ'],
39
			['([क-ह]़?)ृA','$1्ऱा'],
40
			['([क-ह]़?)ृi','$1्ऱि'],
41
			['([क-ह]़?)ृI','$1्ऱी'],
42
			['([क-ह]़?)ृu','$1्ऱु'],
43
			['([क-ह]़?)ृU','$1्ऱू'],
44
			['([क-ह]़?)ृ\\^','$1्ऱॅ'],
45
			['([क-ह]़?)ृe','$1्ऱे'],
46
			['([क-ह]़?)ृE','1्ऱॅ'],
47
			['([क-ह]़?)ृo','$1्ऱो'],
48
			['([क-ह]़?)ृO','$1्ऱौ'],
49
			['([क-ह]़?)ृ\\~','$1्ऱ्'],
50
			['([क-ह])्\\`','$1़्'],
51
52
			['अa','आ'],
53
			['(ऒo|उu)','ऊ'],
54
			['ऎ\\^','ऍ'],
55
			['अi','ऐ'],
56
			['अ\\^','ॲ'],
57
			['(इi|ऎe)','ई'],
58
			['ऒ\\^','ऑ'],
59
			['अu','औ'],
60
			['ऋR','ॠ'],
61
			['ळ्l','ऌ'],
62
			['ऌl','ॡ'],
63
			['ं\\^','ँ'],
64
			['ंm','ँ'],
65
			['ओM','ॐ'],
66
67
			['क्h','ख्'],
68
			['ग्h','घ्'],
69
			['न्g','ङ्'],
70
			['च्h','छ्'],
71
			['ज्h','झ्'],
72
			['न्j','ञ्'],
73
			['ट्h','ठ्'],
74
			['ड्h','ढ्'],
75
			['त्h','थ्'],
76
			['द्h','ध्'],
77
			['प्h','फ्'],
78
			['ब्h','भ्'],
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','ब्ब्'],
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
			['(\u200C)*_', '\u200c']]
162
	};
163
	$.ime.register( saTransliteration );
164
165
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sah/sah-transliteration.js (+103 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var sahTransliteration = {
5
		id: 'sah-transliteration',
6
		name: 'Sakha Transliteration',
7
		description: 'Sakha transliteration',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Amir (Алексей) Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['Q', 'Й'],
15
			['W', 'Ц'],
16
			['E', 'У'],
17
			['R', 'К'],
18
			['T', 'Е'],
19
			['Y', 'Н'],
20
			['U', 'Г'],
21
			['I', 'Ш'],
22
			['O', 'Щ'],
23
			['P', 'З'],
24
			['{', 'Х'],
25
			['}', 'Ъ'],
26
			['A', 'Ф'],
27
			['S', 'Ы'],
28
			['D', 'В'],
29
			['F', 'А'],
30
			['G', 'П'],
31
			['H', 'Р'],
32
			['J', 'О'],
33
			['K', 'Л'],
34
			['L', 'Д'],
35
			[':', 'Ж'],
36
			['"', 'Э'],
37
			['Z', 'Я'],
38
			['X', 'Ч'],
39
			['C', 'С'],
40
			['V', 'М'],
41
			['B', 'И'],
42
			['N', 'Т'],
43
			['M', 'Ь'],
44
			['<', 'Б'],
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
			['`', '"'],
83
			['~', '№'],
84
85
			['1', '!'], // 1
86
			['!', '?'], // 1
87
			// 2, 3 - ?
88
			['4', 'ҥ'], // 4
89
			['\\$', 'Ҥ'], // 4
90
			['5', 'ҕ'], // 5
91
			['%', 'Ҕ'], // 5
92
			['6', 'ө'], // 6
93
			['\\^', 'Ө'], // 6
94
			['7', 'һ'], // 7
95
			['&', 'Һ'], // 7
96
			['8', 'ү'], // 8
97
			['\\*', 'Ү'], // 8
98
			['9', ';'], // 9
99
			['0', ':']] // 0
100
	};
101
102
	$.ime.register( sahTransliteration );
103
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sat/sat-inscript2.js (+107 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var satInScript2 = {
5
		id: 'sat-inscript2',
6
		name: 'संताली इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Santali language',
8
		date: '2013-20-13',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['2', '२'],
15
			['\\#', '्र'],
16
			['3', '३'],
17
			['\\$', 'र्'],
18
			['4', '४'],
19
			['5', '५'],
20
			['6', '६'],
21
			['7', '७'],
22
			['8', '८'],
23
			['\\(', '('],
24
			['9', '९'],
25
			['\\]', ']'],
26
			['0', '०'],
27
			['\\_', 'ः'],
28
			['\\-', '-'],
29
			['Q', 'औ'],
30
			['q', 'ौ'],
31
			['W', 'ऐ'],
32
			['w', 'ै'],
33
			['E', 'आ'],
34
			['e', 'ा'],
35
			['R', 'ई'],
36
			['r', 'ी'],
37
			['T', 'ऊ'],
38
			['t', 'ू'],
39
			['Y', 'भ'],
40
			['y', 'ब'],
41
			['U', 'ङ'],
42
			['u', 'ह'],
43
			['I', 'घ'],
44
			['i', 'ग'],
45
			['O', 'ध'],
46
			['o', 'द'],
47
			['P', 'झ'],
48
			['p', 'ज'],
49
			['\\{', 'ढ'],
50
			['\\[', 'ड'],
51
			['\\}', 'ञ'],
52
			['\\]', '़'],
53
			['A', 'ओ'],
54
			['a', 'ो'],
55
			['S', 'ए'],
56
			['s', 'े'],
57
			['D', 'अ'],
58
			['d', '्'],
59
			['F', 'इ'],
60
			['f', 'ि'],
61
			['G', 'उ'],
62
			['g', 'ु'],
63
			['H', 'फ'],
64
			['h', 'प'],
65
			['j', 'र'],
66
			['K', 'ख'],
67
			['k', 'क'],
68
			['L', 'थ'],
69
			['l', 'त'],
70
			[':', 'छ'],
71
			[';', 'च'],
72
			['\"', 'ठ'],
73
			['\'', 'ट'],
74
			['z', 'ʼ'],
75
			['X', 'ँ'],
76
			['x', 'ं'],
77
			['C', 'ण'],
78
			['c', 'म'],
79
			['v', 'न'],
80
			['b', 'व'],
81
			['n', 'ल'],
82
			['m', 'स'],
83
			[',', ','],
84
			['\\>', '।'],
85
			['\\.', '.'],
86
			['\\?', '?'],
87
			['/', 'य'],
88
			['\\%', 'ज्ञ'],
89
			['\\^', 'त्र'],
90
			['\\&', 'क्ष'],
91
			['\\*', 'श्र']
92
		],
93
		patterns_x: [
94
			['1', '\u200d'],
95
			['2', '\u200c'],
96
			['4', '₹'],
97
			['F', 'ऌ'],
98
			['X', 'ॐ'],
99
			['N', 'ळ'],
100
			[',', '॰'],
101
			['\\>', 'ऽ'],
102
			['\\.', '॥']
103
		]
104
	};
105
	$.ime.register( satInScript2 );
106
107
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sd/sd-inscript2.js (+124 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var sdInScript2 = {
5
		id: 'sd-inscript2',
6
		name: 'सिंधी इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Sindhi language',
8
		date: '2013-20-13',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['2', '२'],
15
			['\\#', '्र'],
16
			['3', '३'],
17
			['\\$', 'र्'],
18
			['4', '४'],
19
			['5', '५'],
20
			['6', '६'],
21
			['7', '७'],
22
			['8', '८'],
23
			['\\(', '('],
24
			['9', '९'],
25
			['\\]', ']'],
26
			['0', '०'],
27
			['\\-', '-'],
28
			['\\+', 'ऋ'],
29
			['\\=', 'ृ'],
30
			['Q', 'औ'],
31
			['q', 'ौ'],
32
			['W', 'ऐ'],
33
			['w', 'ै'],
34
			['E', 'आ'],
35
			['e', 'ा'],
36
			['R', 'ई'],
37
			['r', 'ी'],
38
			['T', 'ऊ'],
39
			['t', 'ू'],
40
			['Y', 'भ'],
41
			['y', 'ब'],
42
			['U', 'ङ'],
43
			['u', 'ह'],
44
			['I', 'घ'],
45
			['i', 'ग'],
46
			['O', 'ध'],
47
			['o', 'द'],
48
			['P', 'झ'],
49
			['p', 'ज'],
50
			['\\{', 'ढ'],
51
			['\\[', 'ड'],
52
			['\\}', 'ञ'],
53
			['\\]', '़'],
54
			['A', 'ओ'],
55
			['a', 'ो'],
56
			['S', 'ए'],
57
			['s', 'े'],
58
			['D', 'अ'],
59
			['d', '्'],
60
			['F', 'इ'],
61
			['f', 'ि'],
62
			['G', 'उ'],
63
			['g', 'ु'],
64
			['H', 'फ'],
65
			['h', 'प'],
66
			['j', 'र'],
67
			['K', 'ख'],
68
			['k', 'क'],
69
			['L', 'थ'],
70
			['l', 'त'],
71
			[':', 'छ'],
72
			[';', 'च'],
73
			['\"', 'ठ'],
74
			['\'', 'ट'],
75
			['X', 'ँ'],
76
			['C', 'ण'],
77
			['c', 'म'],
78
			['v', 'न'],
79
			['b', 'व'],
80
			['n', 'ल'],
81
			['M', 'श'],
82
			['m', 'स'],
83
			['\\<', 'ष'],
84
			[',', ','],
85
			['\\>', '।'],
86
			['\\.', '.'],
87
			['/', 'य'],
88
			['\\%', 'ज्ञ'],
89
			['\\^', 'त्र'],
90
			['\\&', 'क्ष'],
91
			['\\*', 'श्र']
92
		],
93
		patterns_x: [
94
			['1', '\u200d'],
95
			['2', '\u200c'],
96
			['4', '₹'],
97
			['\\+', 'ॠ'],
98
			['\\=', 'ृ'],
99
			['e', '॑'],
100
			['i', 'ग़'],
101
			['R', 'ॡ'],
102
			['r', 'ॣ'],
103
			['p', 'ज़'],
104
			['\\{', 'ढ़'],
105
			['\\[', 'ड़'],
106
			['H', 'फ़'],
107
			['J', 'ॻ'],
108
			['K', 'ख़'],
109
			['k', 'क़'],
110
			['d', '॒'],
111
			['F', 'ऌ'],
112
			['f', 'ॢ'],
113
			['x', 'ॐ'],
114
			['V', 'ॾ'],
115
			['B', 'ॿ'],
116
			['N', 'ॼ'],
117
			[',', '॰'],
118
			['\\>', 'ऽ'],
119
			['\\.', '॥']
120
		]
121
	};
122
123
	$.ime.register( sdInScript2 );
124
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/se/se-normforms.js (+38 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'se-normforms',
6
		name: 'Davvisámegiella',
7
		description: 'Northern Sami input method',
8
		date: '2012-12-04',
9
		URL: 'http://giellatekno.uit.no/doc/infra/samihtml.html',
10
		author: 'John Erling Blad',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		//contextLength: 1,
14
		maxKeyLength: 3,
15
		patterns: [
16
			// Uses "~" as "approximatly similar to"
17
			[ '\'a', 'á' ], // The simple ~a does not work as there is a "ã"
18
			[ '\'A', 'Á' ], // The simple ~A does not work as there is a "Ã"
19
			[ '~c', 'č' ],
20
			[ '~C', 'Č' ],
21
			[ '~d', 'đ' ],
22
			[ '~D', 'Đ' ],
23
			//[ '~ng', 'ŋ' ], // The simple ~n does not work as there is a "ñ"
24
			//[ '~NG', 'Ŋ' ], // The simple ~N does not work as there is a "Ñ"
25
			[ '~g', 'ŋ' ],
26
			[ '~G', 'Ŋ' ],
27
			[ '~s', 'š' ],
28
			[ '~S', 'Š' ],
29
			[ '~t', 'ŧ' ],
30
			[ '~T', 'Ŧ' ],
31
			[ '~z', 'ž' ],
32
			[ '~Z', 'Ž' ]
33
			// historically similar forms
34
		]
35
	};
36
37
	$.ime.register( defs );
38
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/si/si-singlish.js (+110 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var siSinglish = {
5
		id: 'si-singlish',
6
		name: 'Sinhalese Singlish',
7
		description: 'Singlish',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V and Nishantha Anuruddha',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 5,
14
		maxKeyLength: 2,
15
		patterns: [
16
			//['ඬ්හ්a', 'ඳ'],	// nndha
17
			['ඬ්h', 'ඳ්'], // nndh
18
			['න්න්d', 'ඬ්'], // nnd
19
			['න්න්g', 'ඟ්'],// nng
20
			['\\u0DC1\\u0DCA\\u200D\\u0DBB\\u0DD2i', '\u0DC1\u0DCA\u200D\u0DBB\u0DD3'],// shrii
21
			['\\u0DC1\\u0DCA\\u200D\\u0DBBi', '\u0DC1\u0DCA\u200D\u0DBB\u0DD2'],// shri
22
			['ශ්r', '\u0DC1\u0DCA\u200D\u0DBB'], // shr
23
24
			['([\\u0D9A-\\u0DC6])්\\u200Dර්u', '$1ෘ'],    // <consonant>ru
25
			['([\\u0D9A-\\u0DC6])ෘu', '$1ෲ'],    // <consonant>ruu
26
27
			['([\\u0D9A-\\u0DC6])්a', '$1'],    // <consonant>a
28
			['([\\u0D9A-\\u0DC6])a', '$1ා'],    // <consonant>aa
29
			['([\\u0D9A-\\u0DC6])්A', '$1ැ'],    // <consonant>A
30
			['([\\u0D9A-\\u0DC6])ැa', '$1ෑ'],    // <consonant>Aa
31
			['([\\u0D9A-\\u0DC6])්i', '$1ි'],    // <consonant>i
32
			['([\\u0D9A-\\u0DC6])ි[ei]', '$1ී'],    // <consonant>ie
33
			['([\\u0D9A-\\u0DC6])්u', '$1ු'],    // <consonant>u
34
			['([\\u0D9A-\\u0DC6])ුu', '$1ූ'],    // <consonant>u
35
			['([\\u0D9A-\\u0DC6])්e', '$1ෙ'],    // <consonant>e
36
			['([\\u0D9A-\\u0DC6])ෙ[ai]', '$1ේ'],    // <consonant>ei
37
			['([\\u0D9A-\\u0DC6])්o', '$1ො'],    // <consonant>o
38
			['([\\u0D9A-\\u0DC6])ොe', '$1ෝ'],    // <consonant>oe
39
			['([\\u0D9A-\\u0DC6])u', '$1ෞ'],    // <consonant>au
40
			['([\\u0D9A-\\u0DC6])්I', '$1ෛ'],    // <consonant>I
41
42
			['([\\u0D9A-\\u0DC6]්)r', '$1\u200Dර්'],    // <consonant>r
43
44
			['ළුu', 'ළුු'], // Luu
45
46
			['(ක්h|K)', 'ඛ්'],  // kh K
47
			['(ග්h|G)', 'ඝ්'],  // gh G
48
			['ස්h', 'ශ්'],  // sh
49
			['ch', 'ච්'],
50
			['Ch', 'ඡ්'],
51
			['Sh', 'ෂ්'],
52
			['ඝ්N', 'ඥ්'],  // GN
53
			['ඨ්h', 'ථ්'],  // Th
54
			['ඛ්N', 'ඤ්'],  // KN
55
			['ට්h', 'ත්'],  // th
56
			['ඪ්h', 'ධ්'],  // Dh
57
			['ඩ්h', 'ද්'],  // dh
58
			['(ප්h|P)', 'ඵ්'],  // ph P
59
			['ළ්u', 'ළු'],  // Lu
60
			['බ්h', 'භ්'],  // bh
61
62
			['(\\\\r|R)', '\u0DBB\u0DCA\u200D'],   // \r R
63
			['(\\\\y|Y)', '\u200D\u0DBA\u0DCA'],   // \y Y
64
65
			['අ(a|\\))', 'ආ'],  // aa a)
66
			['ඇ(a|\\))', 'ඈ'],  // Aa A) ae
67
			['(ඉ[i\\)e]|එe)', 'ඊ'], // ii i) ie ee
68
			['එ[a\\)i]', 'ඒ'], // ea e) ei
69
			['ඔ[e\\)]', 'ඕ'], // oe o)
70
			['(උ[u\\)]|ඔo)', 'ඌ'],  // uu u) oo
71
			['අu', 'ඖ'], // au
72
73
			['\\\\n', 'ං'],
74
			['\\\\h', 'ඃ'],
75
			['\\\\N', 'ඞ'],
76
			['\\\\R', 'ඍ'],
77
78
			['a', 'අ'],
79
			['A', 'ඇ'],
80
			['i', 'ඉ'],
81
			['e', 'එ'],
82
			['o', 'ඔ'],
83
			['u', 'උ'],
84
85
			['k', 'ක්'],
86
			['b', 'බ්'],
87
			['B', 'ඹ්'],
88
			['g', 'ග්'],
89
			['m', 'ම්'],
90
			['y', 'ය්'],
91
			['j', 'ජ්'],
92
			['r', 'ර්'],
93
			['T', 'ඨ්'],
94
			['f', 'ෆ්'],
95
			['t', 'ට්'],
96
			['l', 'ල්'],
97
			['D', 'ඪ්'],
98
			['d', 'ඩ්'],
99
			['(w|v)', 'ව්'],
100
			['s', 'ස්'],
101
			['q', 'ඣ්'],
102
			['h', 'හ්'],
103
			['n', 'න්'],
104
			['N', 'ණ්'],
105
			['p', 'ප්'],
106
			['L', 'ළ්']]
107
	};
108
109
	$.ime.register( siSinglish );
110
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/si/si-wijesekara.js (+105 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var siWijesekara = {
5
		id: 'si-wijesekara',
6
		name: 'Sinhalese Wijesekara',
7
		description: 'Wijesekara layout for Sinhalese',
8
		date: '2012-10-16',
9
		URL: 'http://www.ucsc.lk/ltrl/services/layout/',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['`', '\u0DCA\u200D\u0DBB'],
17
			['~', '\u0DBB\u0DCA\u200D'],
18
			['q', 'ු'],
19
			['w', 'අ'],
20
			['අe', 'ඇ'],
21
			['e', 'ැ'],
22
			['r', 'ර'],
23
			['ෙt', 'ඓ'],
24
			['t', 'එ'],
25
			['y', 'හ'],
26
			['u', 'ම'],
27
			['i', 'ස'],
28
			['o', 'ද'],
29
			['p', 'ච'],
30
			['\\[', 'ඤ'],
31
			['\\]', ';'],
32
			['එa', 'ඒ'],
33
			['ඔa', 'ඕ'],
34
			['a', '්'],
35
			['s', 'ි'],
36
			['අd', 'ආ'],
37
			['d', 'ා'],
38
			['f', 'ෙ'],
39
			['g', 'ට'],
40
			['h', 'ය'],
41
			['j', 'ව'],
42
			['k', 'න'],
43
			['l', 'ක'],
44
			[';', 'ත'],
45
			['\'', '.'],
46
			['z', '\''],
47
			['x', 'ං'],
48
			['c', 'ජ'],
49
			['v', 'ඩ'],
50
			['b', 'ඉ'],
51
			['n', 'බ'],
52
			['m', 'ප'],
53
			['\\,', 'ල'],
54
			['\\.', 'ග'],
55
56
			['Q', 'ූ'],
57
			['W', 'උ'],
58
			['අE', 'ඈ'],
59
			['E', 'ෑ'],
60
			['R', 'ඍ'],
61
			['T', 'ඔ'],
62
			['Y', 'ශ'],
63
			['U', 'ඹ'],
64
			['I', 'ෂ'],
65
			['O', 'ධ'],
66
			['P', 'ඡ'],
67
			['\\{', 'ඥ'],
68
			['\\}', ':'],
69
			['උA', 'ඌ'],
70
			['ඏA', 'ඐ'],
71
			['ඔA', 'ඖ'],
72
			['A', 'ෟ'],
73
			['S', 'ී'],
74
			['ඍD', 'ඎ'],
75
			['ෘD', 'ෲ'],
76
			['D', 'ෘ'],
77
			['F', 'ෆ'],
78
			['G', 'ඨ'],
79
			['H', 'ය'],
80
			['J', 'ළ'],
81
			['K', 'ණ'],
82
			['L', 'ඛ'],
83
			['\\:', 'ථ'],
84
			['\"', ','],
85
			['Z', '"'],
86
			['X', 'ඃ'],
87
			['C', 'ඣ'],
88
			['V', 'ඪ'],
89
			['B', 'ඊ'],
90
			['N', 'භ'],
91
			['M', 'ඵ'],
92
			['\\<', 'ළ'],
93
			['\\>', 'ඝ']],
94
		patterns_x: [
95
			['o', 'ඳ'],
96
			['v', 'ඬ'],
97
			['\'', '෴'],
98
			['a', 'ෳ'],
99
			['\\.', 'ඟ'],
100
			['x', 'ඦ'],
101
			[',', 'ඏ']]
102
	};
103
104
	$.ime.register( siWijesekara );
105
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sk/sk-kbd.js (+105 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var skKbd = {
5
		id: 'sk-kbd',
6
		name: 'Slovak kbd',
7
		description: 'Slovak kbd keyboard layout',
8
		date: '2013-06-26',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.1',
13
		patterns: [
14
			['1', '+'],
15
			['2', 'ľ'],
16
			['3', 'š'],
17
			['4', 'č'],
18
			['5', 'ť'],
19
			['6', 'ž'],
20
			['7', 'ý'],
21
			['8', 'á'],
22
			['9', 'í'],
23
			['0', 'é'],
24
			['!', '1'],
25
			['@', '2'],
26
			['#', '3'],
27
			['\\$', '4'],
28
			['%', '5'],
29
			['\\^', '6'],
30
			['&', '7'],
31
			['\\*', '8'],
32
			['\\(', '9'],
33
			['\\)', '0'],
34
			['-', '='],
35
			['_', '%'],
36
			['=', '´'],
37
			['\\+', 'ˇ'],
38
			['\\[', 'ú'],
39
			['\\{', '/'],
40
			['\\]', 'ä'],
41
			['\\}', '('],
42
			['\\\\', 'ň'],
43
			['\\|', ')'],
44
			[';', 'ô'],
45
			[':', '\"'],
46
			['\'', '§'],
47
			['\"', '!'],
48
			['\\<', '?'],
49
			['\\>', ':'],
50
			['/', '-'],
51
			['\\?', '_'],
52
			['`', ';'],
53
			['~', '°'],
54
55
			['´a', 'á'],
56
			['´A', 'Á'],
57
			['´e', 'é'],
58
			['´E', 'É'],
59
			['´i', 'í'],
60
			['´I', 'Í'],
61
			['´l', 'ĺ'],
62
			['´L', 'Ĺ'],
63
			['´o', 'ó'],
64
			['´O', 'Ó'],
65
			['´r', 'ŕ'],
66
			['´R', 'Ŕ'],
67
			['´u', 'ú'],
68
			['´U', 'Ú'],
69
			['´y', 'ý'],
70
			['´Y', 'Ý'],
71
72
			['¨a', 'ä'],
73
			['¨A', 'Ä'],
74
			['\\^o', 'ô'],
75
			['\\^O', 'Ô'],
76
77
			['ˇc', 'č'],
78
			['ˇC', 'Č'],
79
			['ˇd', 'ď'],
80
			['ˇD', 'Ď'],
81
			['ˇl', 'ľ'],
82
			['ˇL', 'Ľ'],
83
			['ˇn', 'ň'],
84
			['ˇN', 'Ň'],
85
			['ˇs', 'š'],
86
			['ˇS', 'Š'],
87
			['ˇt', 'ť'],
88
			['ˇT', 'Ť'],
89
			['ˇz', 'ž'],
90
			['ˇZ', 'Ž'],
91
92
			// It's QWERTZ
93
			['y', 'z'],
94
			['z', 'y'],
95
			['Y', 'Z'],
96
			['Z', 'Y']
97
		],
98
		patterns_x: [
99
			['3', '^'],
100
			['=', '¨']
101
		]
102
	};
103
104
	$.ime.register( skKbd );
105
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sr/sr-kbd.js (+98 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var srKbd = {
5
		id: 'sr-kbd',
6
		name: 'Serbian keyboard',
7
		description: 'Serbian keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\'g', 'ѓ'],
15
			['\'G', 'Ѓ'],
16
			['\'k', 'ќ'],
17
			['\'K', 'Ќ'],
18
			['\\@', '\"'],
19
			['\\^', '&'],
20
			['\\&', '/'],
21
			['\\*', '('],
22
			['\\(', ')'],
23
			['\\)', '='],
24
			['\\-', '\''],
25
			['\\_', '?'],
26
			['\\=', '+'],
27
			['\\+', '*'],
28
			['q', 'љ'],
29
			['Q', 'Љ'],
30
			['w', 'њ'],
31
			['W', 'Њ'],
32
			['e', 'е'],
33
			['E', 'Е'],
34
			['r', 'р'],
35
			['R', 'Р'],
36
			['t', 'т'],
37
			['T', 'Т'],
38
			['y', 'з'],
39
			['Y', 'З'],
40
			['u', 'у'],
41
			['U', 'У'],
42
			['i', 'и'],
43
			['I', 'И'],
44
			['o', 'о'],
45
			['O', 'О'],
46
			['p', 'п'],
47
			['P', 'П'],
48
			['\\[', 'ш'],
49
			['\\{', 'Ш'],
50
			['\\]', 'ђ'],
51
			['\\}', 'Ђ'],
52
			['a', 'а'],
53
			['A', 'А'],
54
			['s', 'с'],
55
			['S', 'С'],
56
			['d', 'д'],
57
			['D', 'Д'],
58
			['f', 'ф'],
59
			['F', 'Ф'],
60
			['g', 'г'],
61
			['G', 'Г'],
62
			['h', 'х'],
63
			['H', 'Х'],
64
			['j', 'ј'],
65
			['J', 'Ј'],
66
			['k', 'к'],
67
			['K', 'К'],
68
			['l', 'л'],
69
			['L', 'Л'],
70
			[';', 'ч'],
71
			[':', 'Ч'],
72
			['\'', 'ћ'],
73
			['\"', 'Ћ'],
74
			['\\', 'ж'],
75
			['\\|', 'Ж'],
76
			['z', 'ѕ'],
77
			['Z', 'Ѕ'],
78
			['x', 'џ'],
79
			['X', 'Џ'],
80
			['c', 'ц'],
81
			['C', 'Ц'],
82
			['v', 'в'],
83
			['V', 'В'],
84
			['b', 'б'],
85
			['B', 'Б'],
86
			['n', 'н'],
87
			['N', 'Н'],
88
			['m', 'м'],
89
			['M', 'М'],
90
			['\\<', ';'],
91
			['\\>', ':'],
92
			['/', '-'],
93
			['\\?', '_']
94
		]
95
	};
96
97
	$.ime.register( srKbd );
98
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sv/sv-normforms.js (+50 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'sv-normforms',
6
		name: 'Svenska',
7
		description: 'Swedish input method with most common form transliterated',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/swedish.pdf',
10
		author: 'John Erling Blad',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 3,
15
		patterns: [
16
			// The most common transliterations
17
			[ 'aa', 'å' ],
18
			[ 'AA', 'Å' ],
19
			[ 'Aa', 'Å' ],
20
			[ 'ae', 'ä' ],
21
			[ 'AE', 'Ä' ],
22
			[ 'Ae', 'Ä' ],
23
			[ 'oe', 'ö' ],
24
			[ 'OE', 'Ö' ],
25
			[ 'Oe', 'Ö' ],
26
			// The previous as negated transliterations, mostly for names
27
			[ 'åa', 'a', 'aa' ],
28
			[ 'ÅA', 'A', 'AA' ],
29
			[ 'Åa', 'A', 'Aa' ],
30
			[ 'åA', 'a', 'aA' ],
31
			[ 'äe', 'e', 'ae' ],
32
			[ 'ÄE', 'E', 'AE' ],
33
			[ 'Äe', 'E', 'Ae' ],
34
			[ 'äE', 'e', 'aE' ],
35
			[ 'öe', 'e', 'oe' ],
36
			[ 'ÖE', 'E', 'OE' ],
37
			[ 'Öe', 'E', 'Oe' ], // this fails for some names like "Øen"
38
			[ 'öE', 'e', 'oE' ]
39
			// historically similar forms
40
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
41
			// it is not generally acceptable to use this transliteration. The
42
			// same is the case for "Ô" vs "Oe". To
43
			// handle those situations we need some oposite forms.
44
			// There is a similar character "Å" for the length unit Angstrom,
45
			// but this is not the upper case letter Å.
46
		]
47
	};
48
49
	$.ime.register( defs );
50
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ta/ta-99.js (+193 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ta99 = {
5
		id: 'ta-99',
6
		name: 'தமிழ்99',
7
		description: 'Tamil 99 Keyboard',
8
		date: '2012-11-20',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 4,
15
		patterns: [
16
			[ '([க-ஹ])h', 'a', '$1க' ],
17
			[ '([க-ஹ])b', 'a', '$1ங' ],
18
			[ '([க-ஹ])\\[', 'a', '$1ச' ],
19
			[ '([க-ஹ])E', 'a', '$1ஜ' ],
20
			[ '([க-ஹ])\\]', 'a', '$1ஞ' ],
21
			[ '([க-ஹ])o', 'a', '$1ட' ],
22
			[ '([க-ஹ])p', 'a', '$1ண' ],
23
			[ '([க-ஹ])l', 'a', '$1த' ],
24
			[ '([க-ஹ]);', 'a', '$1ந' ],
25
			[ '([க-ஹ])i', 'a', '$1ன' ],
26
			[ '([க-ஹ])j', 'a', '$1ப' ],
27
			[ '([க-ஹ])k', 'a', '$1ம' ],
28
			[ '([க-ஹ])\'', 'a', '$1ய' ],
29
			[ '([க-ஹ])m', 'a', '$1ர' ],
30
			[ '([க-ஹ])u', 'a', '$1ற' ],
31
			[ '([க-ஹ])n', 'a', '$1ல' ],
32
			[ '([க-ஹ])y', 'a', '$1ள' ],
33
			[ '([க-ஹ])/', 'a', '$1ழ' ],
34
			[ '([க-ஹ])v', 'a', '$1வ' ],
35
			// void
36
			[ '([க-ஹ])W', 'a', '$1ஷ' ],
37
			[ '([க-ஹ])Q', 'a', '$1ஸ' ],
38
			[ '([க-ஹ])R', 'a', '$1ஹ' ],
39
40
			[ 'க்கh', 'க்கக' ],
41
			[ 'ங்ஙb', 'ங்ஙங' ],
42
			[ 'ச்ச\\[', 'ச்சச' ],
43
			[ 'ஜ்ஜE', 'ஜ்ஜஜ' ],
44
			[ 'ஞ்ஞ\\]', 'ஞ்ஞஞ' ],
45
			[ 'ட்டo', 'ட்டட' ],
46
			[ 'ண்ணp', 'ண்ணண' ],
47
			[ 'த்தl', 'த்தத' ],
48
			[ 'ந்ந;', 'ந்நந' ],
49
			[ 'ன்னi', 'ன்னன' ],
50
			[ 'ப்பj', 'ப்பப' ],
51
			[ 'ம்மk', 'ம்மம' ],
52
			[ 'ய்ய\'', 'ய்யய' ],
53
			[ 'ர்ரm', 'ர்ரர' ],
54
			[ 'ற்றu', 'ற்றற' ],
55
			[ 'ல்லn', 'ல்லல' ],
56
			[ 'ள்ளy', 'ள்ளள' ],
57
			[ 'ழ்ழ/', 'ழ்ழழ' ],
58
			[ 'வ்வv', 'வ்வவ' ],
59
			// void
60
			[ 'ஷ்ஷW', 'ஷ்ஷஷ' ],
61
			[ 'ஸ்ஸQ', 'ஸ்ஸஸ' ],
62
			[ 'ஹ்ஹR', 'ஹ்ஹஹ' ],
63
64
			[ '([க-ஹ])q', '$1ா' ],
65
			[ '([க-ஹ])s', '$1ி' ],
66
			[ '([க-ஹ])w', '$1ீ' ],
67
			[ '([க-ஹ])d', '$1ு' ],
68
			[ '([க-ஹ])e', '$1ூ' ],
69
			[ '([க-ஹ])g', '$1ெ' ],
70
			[ '([க-ஹ])t', '$1ே' ],
71
			[ '([க-ஹ])r', '$1ை' ],
72
			[ '([க-ஹ])c', '$1ொ' ],
73
			[ '([க-ஹ])x', '$1ோ' ],
74
			[ '([க-ஹ])z', '$1ௌ' ],
75
76
			[ '([க-ஹ])a', '$1' ],
77
78
			[ 'கh', 'க்க' ],
79
			[ 'ஙb', 'ங்ங' ],
80
			[ 'ச\\[', 'ச்ச' ],
81
			[ 'ஜE', 'ஜ்ஜ' ],
82
			[ 'ஞ\\]', 'ஞ்ஞ' ],
83
			[ 'டo', 'ட்ட' ],
84
			[ 'ணp', 'ண்ண' ],
85
			[ 'தl', 'த்த' ],
86
			[ 'ந;', 'ந்ந' ],
87
			[ 'னi', 'ன்ன' ],
88
			[ 'பj', 'ப்ப' ],
89
			[ 'மk', 'ம்ம' ],
90
			[ 'ய\'', 'ய்ய' ],
91
			[ 'ரm', 'ர்ர' ],
92
			[ 'றu', 'ற்ற' ],
93
			[ 'லn', 'ல்ல' ],
94
			[ 'ளy', 'ள்ள' ],
95
			[ 'ழ/', 'ழ்ழ' ],
96
			[ 'வv', 'வ்வ' ],
97
			// void
98
			[ 'ஷW', 'ஷ்ஷ' ],
99
			[ 'ஸQ', 'ஸ்ஸ' ],
100
			[ 'ஹR', 'ஹ்ஹ' ],
101
102
			[ 'நl', 'ந்த' ],
103
			[ 'ஙh', 'ங்க' ],
104
			[ 'னu', 'ன்ற' ],
105
			[ 'ணo', 'ண்ட' ],
106
			[ 'ஞ\\[', 'ஞ்ச' ],
107
			[ 'மj', 'ம்ப' ],
108
109
			[ 'q', 'ஆ' ],
110
			[ 'w', 'ஈ' ],
111
			[ 'e', 'ஊ' ],
112
			[ 'r', 'ஐ' ],
113
			[ 't', 'ஏ' ],
114
			[ 'y', 'ள' ],
115
			[ 'u', 'ற' ],
116
			[ 'i', 'ன' ],
117
			[ 'o', 'ட' ],
118
			[ 'p', 'ண' ],
119
			[ '\\[', 'ச' ],
120
			[ '\\]', 'ஞ' ],
121
122
			[ 'a', 'அ' ],
123
			[ 's', 'இ' ],
124
			[ 'd', 'உ' ],
125
			[ 'f', '்' ],
126
			[ 'g', 'எ' ],
127
			[ 'h', 'க' ],
128
			[ 'j', 'ப' ],
129
			[ 'k', 'ம' ],
130
			[ 'l', 'த' ],
131
			[ ';', 'ந' ],
132
			[ '\'', 'ய' ],
133
134
			[ 'z', 'ஔ' ],
135
			[ 'x', 'ஓ' ],
136
			[ 'c', 'ஒ' ],
137
			[ 'v', 'வ' ],
138
			[ 'b', 'ங' ],
139
			[ 'n', 'ல' ],
140
			[ 'm', 'ர' ],
141
			// ',', 'ஆ'],
142
			// '\\.', 'ஆ'],
143
			[ '/', 'ழ' ],
144
145
			// ksha in non-conjunct form with ZWNJ.
146
			[ 'க்W', 'க்\u200Cஷ' ],
147
			[ 'Q', 'ஸ' ],
148
			[ 'W', 'ஷ' ],
149
			[ 'E', 'ஜ' ],
150
			[ 'R', 'ஹ' ],
151
			[ 'T', 'க்ஷ' ],
152
			[ 'Y', 'ஸ்ரீ' ],
153
			[ 'U', 'ற' ],
154
			[ 'I', 'ன' ],
155
			[ 'O', '[' ],
156
			[ 'P', ']' ],
157
			// '\\{', 'ஆ'],
158
			// '\\}', 'ஆ'],
159
160
			[ 'A', '௹' ],
161
			[ 'S', '௺' ],
162
			[ 'D', '௸' ],
163
			[ 'F', 'ஃ' ],
164
			[ 'G', 'எ' ],
165
			[ 'H', 'க' ],
166
			[ 'J', 'ப' ],
167
			[ 'K', '"' ],
168
			[ 'L', ':' ],
169
			[ '\\:', ';' ],
170
			[ '\'', '\'' ],
171
172
			[ 'Z', '௳' ],
173
			[ 'X', '௴' ],
174
			[ 'C', '௵' ],
175
			[ 'V', '௶' ],
176
			[ 'B', '௷' ],
177
			[ 'N', 'ல' ],
178
			[ 'M', '/' ],
179
180
			[ '\\\\0', '\u0be6' ],
181
			[ '\\\\1', '௧' ],
182
			[ '\\\\2', '௨' ],
183
			[ '\\\\3', '௩' ],
184
			[ '\\\\4', '௪' ],
185
			[ '\\\\5', '௫' ],
186
			[ '\\\\6', '௬' ],
187
			[ '\\\\7', '௭' ],
188
			[ '\\\\8', '௮' ],
189
			[ '\\\\9', '௯' ] ]
190
	};
191
192
	$.ime.register( ta99 );
193
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ta/ta-bamini.js (+90 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var taBamini = {
5
		id: 'ta-bamini',
6
		name: 'பாமினி',
7
		description: 'Tamil Bamini input method',
8
		date: '2012-10-03',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			[ '`', 'ஹ' ],
17
			[ 'q', 'ங' ],
18
			[ 'w', 'ற' ],
19
			[ 'e', 'ந' ],
20
			[ 'r', 'ச' ],
21
			[ 't', 'வ' ],
22
			[ 'y', 'ல' ],
23
			[ 'u', 'ர' ],
24
			[ 'i', 'ை' ],
25
			[ 'o', 'ழ' ],
26
			[ 'p', 'ி' ],
27
			[ '\\[', 'ஜ' ],
28
			[ '\\]', 'ஸ' ],
29
			[ '\\\\', 'ஷ' ],
30
			[ 'a', 'ய' ],
31
			[ 's', 'ள' ],
32
			[ 'd', 'ன' ],
33
			[ 'f', 'க' ],
34
			[ 'g', 'ப' ],
35
			[ 'h', 'ா' ],
36
			[ 'j', 'த' ],
37
			[ 'k', 'ம' ],
38
			[ 'l', 'ட' ],
39
			[ ';', '்' ],
40
			[ 'z', 'ண' ],
41
			[ 'x', 'ஒ' ],
42
			[ 'c', 'உ' ],
43
			[ 'v', 'எ' ],
44
			[ 'b', 'டி' ],
45
			[ 'n', 'ெ' ],
46
			[ 'N', 'ே' ],
47
			[ 'm', 'அ' ],
48
			[ ',', 'இ' ],
49
			[ '/', 'ஃ' ],
50
			[ '@', ';' ],
51
			[ '#', 'சூ' ],
52
			[ '\\$', 'கூ' ],
53
			[ '%', 'மூ' ],
54
			[ '\\^', 'டூ' ],
55
			[ '&', 'ரூ' ],
56
			[ '\\*', 'ழூ' ],
57
			[ '=', 'ஸ்ரீ' ],
58
			[ 'Q', 'ஞ' ],
59
			[ 'W', 'று' ],
60
			[ 'E', 'நு' ],
61
			[ 'R', 'சு' ],
62
			[ 'T', 'வு' ],
63
			[ 'Y', 'லு' ],
64
			[ 'U', 'ரு' ],
65
			[ 'I', 'ஐ' ],
66
			[ 'O', 'ழு' ],
67
			[ 'P', 'ீ' ],
68
			[ '\\|', '\'' ],
69
			[ 'A', 'யு' ],
70
			[ 'S', 'ளு' ],
71
			[ 'D', 'னு' ],
72
			[ 'F', 'கு' ],
73
			[ 'G', 'பு' ],
74
			[ 'H', 'ர்' ],
75
			[ 'J', 'து' ],
76
			[ 'K', 'மு' ],
77
			[ 'L', 'டு' ],
78
			[ 'Z', 'ணு' ],
79
			[ 'X', 'ஓ' ],
80
			[ 'C', 'ஊ' ],
81
			[ 'V', 'ஏ' ],
82
			[ 'B', 'டீ' ],
83
			[ 'M', 'ஆ' ],
84
			[ '\\<', 'ஈ' ],
85
			[ '\\>', ',' ],
86
			[ '([ஜஷஸஹ])\\{', '$1ு' ],
87
			[ '([ஜஷஸஹ])\\_', '$1ூ' ] ]
88
	};
89
	$.ime.register( taBamini );
90
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ta/ta-inscript.js (+103 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var taInScript = {
5
		id: 'ta-inscript',
6
		name: 'இன்ஸ்கிரிப்ட்',
7
		description: 'Tamil InScript Keyboard',
8
		date: '2012-11-20',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 4,
15
		patterns: [
16
			[ '`', 'ொ' ],
17
			[ '~', 'ஒ' ],
18
19
			[ '&', 'க்ஷ' ],
20
			[ '\\*', 'ஷ்ர' ],
21
22
			// ['\\(', '\u200D'], // ZWJ is not used in Tamil.
23
			[ '\\)', '\u200C' ], // ZWNJ
24
25
			[ '_', 'ஃ' ],
26
27
			[ 'q', 'ௌ' ],
28
			[ 'Q', 'ஔ' ],
29
			[ 'w', 'ை' ],
30
			[ 'W', 'ஐ' ],
31
			[ 'e', 'ா' ],
32
			[ 'E', 'ஆ' ],
33
			[ 'r', 'ீ' ],
34
			[ 'R', 'ஈ' ],
35
			[ 't', 'ூ' ],
36
			[ 'T', 'ஊ' ],
37
			[ 'u', 'ஹ' ],
38
			[ 'U', 'ங' ],
39
			[ 'p', 'ஜ' ],
40
			[ '\\}', 'ஞ' ],
41
42
			[ 'a', 'ோ' ],
43
			[ 'A', 'ஓ' ],
44
			[ 's', 'ே' ],
45
			[ 'S', 'ஏ' ],
46
			[ 'd', '்' ],
47
			[ 'D', 'அ' ],
48
			[ 'f', 'ி' ],
49
			[ 'F', 'இ' ],
50
			[ 'g', 'ு' ],
51
			[ 'G', 'உ' ],
52
			[ 'h', 'ப' ],
53
			[ 'j', 'ர' ],
54
			[ 'J', 'ற' ],
55
			[ 'k', 'க' ],
56
			[ 'l', 'த' ],
57
			[ ';', 'ச' ],
58
			[ '\'', 'ட' ],
59
60
			[ 'z', 'ெ' ],
61
			[ 'Z', 'எ' ],
62
			// ['x', 'ஂ'], -- Anusvara is not used in Tamil.
63
			[ 'c', 'ம' ],
64
			[ 'C', 'ண' ],
65
			[ 'v', 'ந' ],
66
			[ 'V', 'ன' ],
67
			[ 'b', 'வ' ],
68
			[ 'B', 'ழ' ],
69
			[ 'n', 'ல' ],
70
			[ 'N', 'ள' ],
71
			[ 'm', 'ஸ' ],
72
			[ 'M', 'ஶ' ],
73
			[ '<', 'ஷ' ],
74
			[ '/', 'ய' ],
75
76
			[ '1', '௧' ],
77
			[ '2', '௨' ],
78
			[ '3', '௩' ],
79
			[ '4', '௪' ],
80
			[ '5', '௫' ],
81
			[ '6', '௬' ],
82
			[ '7', '௭' ],
83
			[ '8', '௮' ],
84
			[ '9', '௯' ],
85
			[ '0', '௦' ] ],
86
87
		patterns_x: [
88
			[ 'X', 'ௐ' ],
89
			[ '\\)', '௰' ],
90
			[ '-', '௱' ],
91
			[ '=', '௲' ],
92
			[ 'n', '௳' ],
93
			[ 'c', '௴' ],
94
			[ 'b', '௵' ],
95
			[ 'h', '௶' ],
96
			[ 'y', '௷' ],
97
			[ 'C', '௸' ],
98
			[ ',', '௹' ],
99
			[ 'V', '௺' ],
100
			[ '4', '₹' ] ]
101
	};
102
	$.ime.register( taInScript );
103
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ta/ta-inscript2.js (+107 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var taInScript2 = {
5
		id: 'ta-inscript2',
6
		name: 'இன்ஸ்கிரிப்ட் 2',
7
		description: 'Enhanced InScript Keyboard for Tamil',
8
		date: '2013-01-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['1', '௧'],
15
			['2', '௨'],
16
			['3', '௩'],
17
			['4', '௪'],
18
			['5', '௫'],
19
			['\\^', 'த்ர'],
20
			['6', '௬'],
21
			['\\&', 'க்ஷ'],
22
			['7', '௭'],
23
			['\\*', 'ஷ்ர'],
24
			['8', '௮'],
25
			['\\(', '('],
26
			['9', '௯'],
27
			['\\)', ')'],
28
			['0', '௦'],
29
			['\\_', 'ஃ'],
30
			['\\-', '-'],
31
			['\\=','='],
32
			['Q', 'ஔ'],
33
			['q', 'ௌ'],
34
			['W', 'ஐ'],
35
			['w', 'ை'],
36
			['E', 'ஆ'],
37
			['e', 'ா'],
38
			['R', 'ஈ'],
39
			['r', 'ீ'],
40
			['T', 'ஊ'],
41
			['t', 'ூ'],
42
			['y', 'y'],
43
			['U', 'ங'],
44
			['u', 'ஹ'],
45
			['p', 'ஜ'],
46
			['\\}', 'ஞ'],
47
			['A', 'ஓ'],
48
			['a', 'ோ '],
49
			['S', 'ஏ'],
50
			['s', 'ே'],
51
			['D', 'அ'],
52
			['d', '்'],
53
			['F', 'இ'],
54
			['f', 'ி'],
55
			['G', 'உ'],
56
			['g', 'ு'],
57
			['h', 'ப'],
58
			['J', 'ற'],
59
			['j', 'ர'],
60
			['k', 'க'],
61
			['l', 'த'],
62
			[';', 'ச'],
63
			['\\\'', 'ட'],
64
			['\\~', 'ஒ'],
65
			['\\`', 'ொ'],
66
			['Z', 'எ'],
67
			['z', 'ெ'],
68
			['x', 'ஂ'],
69
			['X', '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
		patterns_x: [
87
			['1', '\u200d'],
88
			['2', '\u200c'],
89
			['4', '₹'],
90
			['0', '௰'],
91
			['\\-', '௱'],
92
			['\\=', '௲'],
93
			['y', '௷'],
94
			['h', '௶'],
95
			['X', 'ௐ'],
96
			['C', '௸'],
97
			['c', '௴'],
98
			['V', '௺'],
99
			['v', '௳'],
100
			['b', '௵'],
101
			[',', '௹'],
102
			['\\.', '॥']
103
		]
104
	};
105
106
	$.ime.register( taInScript2 );
107
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ta/ta-transliteration.js (+120 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var taTransliteration = {
5
		id: 'ta-transliteration',
6
		name: 'எழுத்துப்பெயர்ப்பு',
7
		description: 'Tamil Transliteration based input method',
8
		date: '2012-10-03',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 4,
15
		patterns: [
16
			[ 'ச்h', 'h', 'ச்ஹ்' ],
17
			[ 'ழ்h', 'h', 'ழ்ஹ்' ],
18
19
			// '(ஸ்ரிi|ஸ்ர்I)',
20
			[ 'ஸ்ர்i', 'ஸ்ரீ' ],
21
22
			[ 'க்(ச்|ஸ்)h', 'க்\u200Cஷ்' ], // with ZWNJ
23
			[ 'க்(ச்|ஸ்)H', 'க்ஷ்' ],
24
25
			[ '([க-ஹ])்a', '$1' ],
26
			[ '([க-ஹ])(்A|a)', '$1ா' ],
27
			[ '([க-ஹ])்i', '$1ி' ],
28
			[ '([க-ஹ])(்I|ிi)', '$1ீ' ],
29
			[ '([க-ஹ])்u', '$1ு' ],
30
			[ '([க-ஹ])(்U|ுu)', '$1ூ' ],
31
			[ '([க-ஹ])்e', '$1ெ' ],
32
			[ '([க-ஹ])(்E|ெe)', '$1ே' ],
33
			[ '([க-ஹ])i', '$1ை' ],
34
			[ '([க-ஹ])்o', '$1ொ' ],
35
			[ '([க-ஹ])(்O|ொo)', '$1ோ' ],
36
			[ '([க-ஹ])u', '$1ௌ' ],
37
38
			[ '([அ-ஹ][ெ-்]?)n', '$1ன்' ],
39
40
			[ 'அa', 'ஆ' ],
41
			[ 'இi', 'ஈ' ],
42
			[ 'உu', 'ஊ' ],
43
			[ 'எe', 'ஏ' ],
44
			[ 'அi', 'ஐ' ],
45
			[ 'ஒo', 'ஓ' ],
46
			[ 'அu', 'ஔ' ],
47
48
			[ '(ந்|ன்)g', 'ங்' ],
49
			[ '(ந்|ன்)j', 'ஞ்' ],
50
			[ 'ச்h', 'ஷ்' ],
51
			[ 'ழ்h', 'ழ்' ],
52
			[ 'ட்h', 'த்' ],
53
			[ 'ஸ்h', 'ஷ்' ],
54
55
			[ 'a', 'அ' ],
56
			[ 'b', 'ப்' ],
57
			[ 'c', 'ச்' ],
58
			[ 'd', 'ட்' ],
59
			[ 'e', 'எ' ],
60
			[ 'f', 'ஃப்' ],
61
			[ 'g', 'க்' ],
62
			[ 'h', 'ஹ்' ],
63
			[ 'i', 'இ' ],
64
			[ 'j', 'ஜ்' ],
65
			[ 'k', 'க்' ],
66
			[ 'l', 'ல்' ],
67
			[ 'm', 'ம்' ],
68
			[ 'n', 'ன்' ],
69
			[ 'o', 'ஒ' ],
70
			[ 'p', 'ப்' ],
71
			[ 'q', 'ஃ' ],
72
			[ 'r', 'ர்' ],
73
			[ 's', 'ச்' ],
74
			[ 't', 'ட்' ],
75
			[ 'u', 'உ' ],
76
			[ 'v', 'வ்' ],
77
			[ 'w', 'ந்' ],
78
			[ 'y', 'ய்' ],
79
			[ 'z', 'ழ்' ],
80
			[ 'A', 'ஆ' ],
81
			[ 'B', 'ப்' ],
82
			[ 'C', 'க்க்' ],
83
			[ 'E', 'ஏ' ],
84
			[ 'F', 'ஃப்' ],
85
			[ 'G', 'க்' ],
86
			[ 'H', 'ஃ' ],
87
			[ 'I', 'ஈ' ],
88
			[ 'J', 'ஜ்ஜ்' ],
89
			[ 'K', 'க்' ],
90
			[ 'L', 'ள்' ],
91
			[ 'M', 'ம்ம்' ],
92
			[ 'N', 'ண்' ],
93
			[ 'O', 'ஓ' ],
94
			[ 'P', 'ப்ப்' ],
95
			[ 'Q', 'ஃ' ],
96
			[ 'R', 'ற்' ],
97
			[ 'S', 'ஸ்' ],
98
			[ 'T', 'ட்' ],
99
			[ 'U', 'ஊ' ],
100
			[ '(V|W)', 'வ்வ்' ],
101
			[ 'Y', 'ய்ய்' ],
102
			[ 'Z', 'ஶ்' ],
103
104
			[ '\\\\0', '\u0be6' ],
105
			[ '\\\\1', '௧' ],
106
			[ '\\\\2', '௨' ],
107
			[ '\\\\3', '௩' ],
108
			[ '\\\\4', '௪' ],
109
			[ '\\\\5', '௫' ],
110
			[ '\\\\6', '௬' ],
111
			[ '\\\\7', '௭' ],
112
			[ '\\\\8', '௮' ],
113
			[ '\\\\9', '௯' ],
114
			[ '10\\\\', '\u0BF0' ],
115
			[ '100\\\\', '\u0BF1' ],
116
			[ '1000\\\\', '\u0BF2' ] ]
117
	};
118
119
	$.ime.register( taTransliteration );
120
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/te/te-inscript.js (+122 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var teInScript = {
5
		id: 'te-inscript',
6
		name: 'ఇన్\u200dస్క్రిప్ట్',
7
		description: 'Inscript keyboard for Telugu script',
8
		date: '2012-10-16',
9
		author: 'Veeven',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['D', 'అ'],
14
			['E', 'ఆ'],
15
			['F', 'ఇ'],
16
			['R', 'ఈ'],
17
			['G', 'ఉ'],
18
			['T', 'ఊ'],
19
			['\\+', 'ఋ'],
20
			['Z', 'ఎ'],
21
			['S', 'ఏ'],
22
			['W', 'ఐ'],
23
			['~', 'ఒ'],
24
			['A', 'ఓ'],
25
			['Q', 'ఔ'],
26
27
			['k', 'క'],
28
			['K', 'ఖ'],
29
			['i', 'గ'],
30
			['I', 'ఘ'],
31
			['U', 'ఙ'],
32
33
			['\\;', 'చ'],
34
			['\\:', 'ఛ'],
35
			['p', 'జ'],
36
			['P', 'ఝ'],
37
			['\\}', 'ఞ'],
38
39
			['\'', 'ట'],
40
			['"', 'ఠ'],
41
			['\\[', '','డ'],
42
			['\\{', '','ఢ'],
43
			['C', 'ణ'],
44
45
			['l', 'త'],
46
			['L', 'థ'],
47
			['o', 'ద'],
48
			['O', 'ధ'],
49
			['v', 'న'],
50
51
			['h', 'ప'],
52
			['H', 'ఫ'],
53
			['y', 'బ'],
54
			['Y', 'భ'],
55
			['c', 'మ'],
56
57
			['/', 'య'],
58
			['j', 'ర'],
59
			['J', 'ఱ'],
60
			['n', 'ల'],
61
			['N', 'ళ'],
62
			['b', 'వ'],
63
64
			['M', 'శ'],
65
			['\\<', '','ష'],
66
			['m', 'స'],
67
			['u', 'హ'],
68
69
			['e', 'ా'],
70
			['f', 'ి'],
71
			['r', 'ీ'],
72
			['g', 'ు'],
73
			['t', 'ూ'],
74
			['\\=', 'ృ'],
75
			['z', 'ె'],
76
			['s', 'ే'],
77
			['w', 'ై'],
78
			['`', 'ొ'],
79
			['a', 'ో'],
80
			['q', 'ౌ'],
81
			['x', 'ం'],
82
			['\\-', 'ః'],
83
			['X', 'ఁ'],
84
			['d', '్'],
85
86
			['0', '','౦'],
87
			['1', '','౧'],
88
			['2', '౨'],
89
			['3', '౩'],
90
			['4', '౪'],
91
			['5', '౫'],
92
			['6', '౬'],
93
			['7', '౭'],
94
			['8', '౮'],
95
			['9', '౯'],
96
97
			['\\@', '\u200C'], // In cases where extended rules do not work
98
			['\\#', '్ర'],
99
			['\\$', 'ర్'],
100
			['\\%', 'జ్ఞ'],
101
			['\\^', 'త్ర'],
102
			['\\&', 'క్ష'],
103
			['\\*', 'శ్ర'],
104
			['\\>', '।']],
105
106
		patterns_x: [
107
			['X', 'ॐ'],
108
			['\\;', 'ౘ'],
109
			['p', 'ౙ'],
110
			['f', '\u0C62'], // vowel sign of alu (volic l)
111
			['r', '\u0C63'], // vowel sign of aluu (volic ll)
112
			['F', 'ఌ'],
113
			['R', 'ౡ'],
114
			['\\.', '॥'],
115
			['\\>', 'ఽ'],
116
			['2', '\u200C'], // ZWNJ
117
			['4', '₹'],
118
			['\\=', 'ౄ'],
119
			['\\+', 'ౠ']]
120
	};
121
	$.ime.register( teInScript );
122
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/te/te-inscript2.js (+126 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var teInScript2 = {
5
		id: 'te-inscript2',
6
		name: 'ఇన్\u200dస్క్రిప్ట్ 2',
7
		description: 'Enhanced InScript keyboard for Telugu script',
8
		date: '2013-01-16',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '౧'],
14
			['2', '౨'],
15
			['3', '౩'],
16
			['4', '౪'],
17
			['5', '౫'],
18
			['6', '౬'],
19
			['7', '౭'],
20
			['8', '౮'],
21
			['\\(', '('],
22
			['9', '౯'],
23
			['\\)', ')'],
24
			['0', '౦'],
25
			['\\_', 'ః'],
26
			['\\-', '-'],
27
			['\\+', 'ఋ'],
28
			['\\=', 'ృ'],
29
			['Q', 'ఔ'],
30
			['q', 'ౌ'],
31
			['W', 'ఐ'],
32
			['w', 'ై'],
33
			['E', 'ఆ'],
34
			['e', 'ా'],
35
			['R', 'ఈ'],
36
			['r', 'ీ'],
37
			['T', 'ఊ'],
38
			['t', 'ూ'],
39
			['Y', 'భ'],
40
			['y', 'బ'],
41
			['U', 'ఙ'],
42
			['u', 'హ'],
43
			['I', 'ఘ'],
44
			['i', 'గ'],
45
			['O', 'ధ'],
46
			['o', 'ద'],
47
			['P', 'ఝ'],
48
			['p', 'జ'],
49
			['\\{', 'ఢ'],
50
			['\\[', 'డ'],
51
			['\\}', 'ఞ'],
52
			['A', 'ఓ'],
53
			['a', 'ో'],
54
			['S', 'ఏ'],
55
			['s', 'ే'],
56
			['D', 'అ'],
57
			['d', '్'],
58
			['F', 'ఇ'],
59
			['f', 'ి'],
60
			['G', 'ఉ'],
61
			['g', 'ు'],
62
			['H', 'ఫ'],
63
			['h', 'ప'],
64
			['J', 'ఱ'],
65
			['j', 'ర'],
66
			['K', 'ఖ'],
67
			['k', 'క'],
68
			['L', 'థ'],
69
			['l', 'త'],
70
			[':', 'ఛ'],
71
			[';', 'చ'],
72
			['"', 'ఠ'],
73
			['\\\'', 'ట'],
74
			['\\~', 'ఒ'],
75
			['\\`', 'ొ'],
76
			['Z', 'ఎ'],
77
			['z', 'ె'],
78
			['X', 'ఁ'],
79
			['x', 'ం'],
80
			['C', 'ణ'],
81
			['c', 'మ'],
82
			['v', 'న'],
83
			['b', 'వ'],
84
			['N', 'ళ'],
85
			['n', 'ల'],
86
			['M', 'శ'],
87
			['m', 'స'],
88
			['\\<', 'ష'],
89
			[',', ','],
90
			['\\>', '।'],
91
			['\\.', '.'],
92
			['/', 'య'],
93
			['\\%', 'జ్ఞ'],
94
			['\\^', 'త్ర'],
95
			['\\&', 'క్ష'],
96
			['\\*', 'శ్ర']
97
		],
98
		patterns_x: [
99
			['\\!', '౹'],
100
			['\\@', '౼'],
101
			['\\#', '౺'],
102
			['\\$', '౽'],
103
			['4', '₹'],
104
			['\\%', '౻'],
105
			['\\^', '౾'],
106
			['1', '\u200d'],
107
			['2', '\u200c'],
108
			['0', '౸'],
109
			['\\-', '౿'],
110
			['\\+', 'ౠ'],
111
			['\\=', 'ౄ'],
112
			['R', 'ౣ'],
113
			['r', 'ౡ'],
114
			['p', 'ౙ'],
115
			['F', 'ఌ'],
116
			['f', 'ౢ'],
117
			[';', 'ౘ'],
118
			['Z', 'ౖ'],
119
			['z', 'ౕ'],
120
			['\\>', 'ఽ'],
121
			['\\.', '॥']
122
		]
123
	};
124
125
	$.ime.register( teInScript2 );
126
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/te/te-transliteration.js (+221 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var teTransliteration = {
5
		id: 'te-transliteration',
6
		name: 'లిప్యంతరీకరణ',
7
		description: 'Telugu Transliteration based on RTS',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Veeven and Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 4,
15
		patterns: [
16
			['(మ్|న్)b', 'ంబ్'],
17
			['(మ్|న్)B', 'ంభ్'],
18
			['(మ్|న్)c', 'ంచ్'],
19
			['(మ్|న్)C', 'ంఛ్'],
20
			['(మ్|న్)d', 'ంద్'],
21
			['(మ్|న్)D', 'ండ్'],
22
			['(మ్|న్)[fFP]', 'ంఫ్'],
23
			['(మ్|న్)g', 'ంగ్'],
24
			['(మ్|న్)h', 'ంహ్'],
25
			['(మ్|న్)j', 'ంజ్'],
26
			['(మ్|న్)J', 'ంఝ్'],
27
			['(మ్|న్)k', 'ంక్'],
28
			['(మ్|న్)L', 'ంళ్'],
29
			['(మ్|న్)p', 'ంప్'],
30
			['(మ్|న్)r', 'ంర్'],
31
			['(మ్|న్)s', 'ంస్'],
32
			['(మ్|న్)t', 'ంత్'],
33
			['(మ్|న్)T', 'ంట్'],
34
			['(మ్|న్)[vwVW]', 'ంవ్'],
35
			['(మ్|న్)[xX]', 'ంక్ష్'],
36
37
			// & for forcing combination
38
			['(మ్|న్)&b', '$1బ్'],
39
			['(మ్|న్)&B', '$1బ్'],
40
			['(మ్|న్)&c', '$1చ్'],
41
			['(మ్|న్)&C', '$1ఛ్'],
42
			['(మ్|న్)&d', '$1ద్'],
43
			['(మ్|న్)&D', '$1డ్'],
44
			['(మ్|న్)&[fFP]', '$1ఫ్'],
45
			['(మ్|న్)&g', '$1గ్'],
46
			['(మ్|న్)&h', '$1హ్'],
47
			['(మ్|న్)&j', '$1జ్'],
48
			['(మ్|న్)&J', '$1ఝ్'],
49
			['(మ్|న్)&k', '$1క్'],
50
			['(మ్|న్)&L', '$1ళ్'],
51
			['(మ్|న్)&p', '$1ప్'],
52
			['(మ్|న్)&r', '$1ర్'],
53
			['(మ్|న్)&s', '$1స్'],
54
			['(మ్|న్)&t', '$1త్'],
55
			['(మ్|న్)&T', '$1ట్'],
56
			['(మ్|న్)&[vwVW]', '$1వ్'],
57
			['(మ్|న్)&[xX]', '$1క్ష్'],
58
			['(మ్|న్)&(\\s|\\.|\\, |\\))', '$1$2'],
59
			// అ
60
			['([క-హ]|ౘ|ౙ)్a', '$1'],
61
			// ఆ
62
			['([క-హ])(్A|a|\')', '$1ా'],
63
			// ఇ
64
			['([క-హ])్i', '$1ి'],
65
			// ఈ
66
			['([క-హ])(్I|ిi|ి\'|ెe)', '$1ీ'],
67
			// ఉ
68
			['([క-హ])్u', '$1ు'],
69
			// ఊ
70
			['([క-హ])(ుu|ు\'|ుa|్U)', '$1ూ'],
71
			['([క-హ])ొo', 'o', '$1ూ'],
72
			// ఋ
73
			['([క-హ])్R', '$1ృ'],
74
			['([క-హ])్ర్\'', '$1ృ'],
75
			// ౠ
76
			['([క-హ])ృu', '$1ౄ'],
77
			// ఌ
78
			['([క-హ])్~l', '$1ౢ'],
79
			// ౡ
80
			['([క-హ])ౢ(l|\')', '$1ౣ'],
81
			// ఎ
82
			['([క-హ])్e', '$1ె'],
83
			// ఏ
84
			['([క-హ])(్E|ెa|ె\')', '$1ే'],
85
			['([క-హ])e', 'a', '$1ే'],
86
			// ఐ
87
			['([క-హ])ెi', '$1ై'],
88
			['([క-హ])i', 'a', '$1ై'],
89
			// ఒ
90
			['([క-హ])్o', '$1ొ'],
91
			// ఓ
92
			['([క-హ])(్O|ొa|ొ\')', '$1ో'],
93
			// ఔ
94
			['([క-హ])(ొu|ొw)', '$1ౌ'],
95
			['([క-హ])u', 'a', '$1ౌ'],
96
97
			// TODO: handle back corrections
98
			/* not working			['([క-హ])u', '$1ు'],
99
			['([క-హ])U', '$1ూ'],
100
			['([క-హ])E', '$1ే'],
101
			*/
102
103
			// zwnj
104
			['(్)\\^', '$1\u200c'],
105
106
			// sunna ending
107
			['మ్(\\s|\\.|\\, |\\))', 'ం$1'],
108
109
			// standalone vowels
110
			['అ(a|\')', 'ఆ'],
111
			['ఇ(i|\')', 'ఈ'],
112
			['ఎe', 'ఈ'],
113
			['ఉ(u|\')', 'ఊ'],
114
			['ఒo', 'ఊ'],
115
			['ఎ(a|\')', 'ఏ'],
116
			['అe', 'a', 'ఏ'],
117
			['ఎi', 'ఐ'],
118
			['అi', 'a', 'ఐ'],
119
			['ఒ(a|\')', '', 'ఓ'],
120
			['అo', 'a', 'ఓ'],
121
			['ఒ(u|w)', 'ఔ'],
122
			['అu', 'a', 'ఔ'],
123
			['ఋ(u|\')', 'ౠ'],
124
			['ర్\'', 'ఋ'],
125
126
			// mahaa prana
127
			['క్h', 'ఖ్'],
128
			['గ్h', 'ఘ్'],
129
			['జ్h', 'ఝ్'],
130
			['చ్\'', 'ఛ్'],
131
			['చ్h', 'చ్'],
132
			['స్h', 'ష్'],
133
			['స్\'', 'శ్'],
134
			['త్\'', 'ట్'],
135
			['ట్h', 'ఠ్'],
136
			['ద్\'', 'డ్'],
137
			['డ్h', 'ఢ్'],
138
			['న్\'', 'ణ్'],
139
			['త్h', 'థ్'],
140
			['ద్h', 'ధ్'],
141
			['ప్h', 'ఫ్'],
142
			['బ్h', 'భ్'],
143
			['ల్\'', 'ళ్'],
144
145
			// basic
146
			['a', 'అ'],
147
			['b', 'బ్'],
148
			['~c', 'ౘ్'],
149
			['c', 'చ్'],
150
			['d', 'ద్'],
151
			['e', 'ఎ'],
152
			['(f|F|P)', 'ఫ్'],
153
			['g', 'గ్'],
154
			['@h', 'ః'],
155
			['h', 'హ్'],
156
			['i', 'ఇ'],
157
			['~j', 'ౙ్'],
158
			['j', 'జ్'],
159
			['k', 'క్'],
160
			['~l', 'ఌ'],
161
			['l', 'ల్'],
162
			['@m', 'ఁ'],
163
			['~m', 'ఙ'],
164
			['m', 'మ్'],
165
			['~n', 'ఞ'],
166
			['n', 'న్'],
167
			['o', 'ఒ'],
168
			['p', 'ప్'],
169
			['q', 'క్వ్'],
170
			['~r', 'ఱ్'],
171
			['r', 'ర్'],
172
			['s', 'స్'],
173
			['t', 'త్'],
174
			['u', 'ఉ'],
175
			['(v|w|V|W)', 'వ్'],
176
			['(x|X)', 'క్ష్'],
177
			['(y|Y)', 'య్'],
178
			['(z|Z)', 'జ్'],
179
			['A', 'ఆ'],
180
			['B', 'భ్'],
181
			['C', 'ఛ్'],
182
			['D', 'డ్'],
183
			['E', 'ఏ'],
184
			['G', 'ఘ్'],
185
			['H', 'ః'],
186
			['I', 'ఈ'],
187
			['J', 'ఝ్'],
188
			['K', 'ఖ్'],
189
			['L', 'ళ్'],
190
			['M', 'ం'],
191
			['N', 'ణ్'],
192
			['O', 'ఓ'],
193
			['Q', 'క్వ్'],
194
			['R', 'ఋ'],
195
			['S', 'శ్'],
196
			['T', 'ట్'],
197
			['U', 'ఊ'],
198
199
			/**
200
			 * Telugu numbers
201
			 */
202
			['~0', '౦'],
203
			['~1', '౧'],
204
			['~2', '౨'],
205
			['~3', '౩'],
206
			['~4', '౪'],
207
			['~5', '౫'],
208
			['~6', '౬'],
209
			['~7', '౭'],
210
			['~8', '౮'],
211
			['~9', '౯'],
212
213
			// others
214
			['।~\\.', '॥'], // double danda
215
			['~\\.', '।'], // danda
216
			['//', 'ఽ'], // avagraha
217
			['~\\$', '₹']] // rupee
218
	};
219
220
	$.ime.register( teTransliteration );
221
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/th/th-kedmanee.js (+115 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kedmanee = {
5
		id: 'th-kedmanee',
6
		name: 'Thai Kedmanee',
7
		description: 'Thai Kedmanee Input Method',
8
		date: '2012-10-25',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Kevin K.S. Leung, <sprconan@gmail.com>',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['Q', '๐'],
15
			['W', '"'],
16
			['E', 'ฎ'],
17
			['R', 'ฑ'],
18
			['T', 'ธ'],
19
			['Y', 'ํ'],
20
			['U', '๊'],
21
			['I', 'ณ'],
22
			['O', 'ฯ'],
23
			['P', 'ญ'],
24
			['{', 'ฐ'],
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
49
			['q', 'ๆ'],
50
			['w', 'ไ'],
51
			['e', 'ำ'],
52
			['r', 'พ'],
53
			['t', 'ะ'],
54
			['y', 'ั'],
55
			['u', 'ี'],
56
			['i', 'ร'],
57
			['o', 'น'],
58
			['p', 'ย'],
59
			['\\[', 'บ'],
60
			['\\]', 'ล'],
61
			['\\\\', 'ฃ'],
62
			['a', 'ฟ'],
63
			['s', 'ห'],
64
			['d', 'ก'],
65
			['f', 'ด'],
66
			['g', 'เ'],
67
			['h', '้'],
68
			['j', '่'],
69
			['k', 'า'],
70
			['l', 'ส'],
71
			[';', 'ว'],
72
			['\'', 'ง'],
73
			['z', 'ผ'],
74
			['x', 'ป'],
75
			['c', 'แ'],
76
			['v', 'อ'],
77
			['b', 'ิ'],
78
			['n', 'ื'],
79
			['m', 'ท'],
80
			[',', 'ม'],
81
			['\\.', 'ใ'],
82
			['/', 'ฝ'],
83
84
			['`', '_'],
85
			['1', 'ๅ'],
86
			['2', '/'],
87
			['3', '-'],
88
			['4', 'ภ'],
89
			['5', 'ถ'],
90
			['6', 'ุ'],
91
			['7', 'ึ'],
92
			['8', 'ค'],
93
			['9', 'ต'],
94
			['0', 'จ'],
95
			['\\-', 'ข'],
96
			['=', 'ช'],
97
			['~', '%'],
98
			['!', '+'],
99
			['@', '๑'],
100
			['#', '๒'],
101
			['\\$', '๓'],
102
			['%', '๔'],
103
			['\\^', 'ู'],
104
			['&', '฿'],
105
			['\\*', '๕'],
106
			['\\(', '๖'],
107
			['\\)', '๗'],
108
			['_', '๘'],
109
			['\\+', '๙']
110
		]
111
	};
112
113
	$.ime.register( kedmanee );
114
115
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/th/th-pattachote.js (+115 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var pattachote = {
5
		id: 'th-pattachote',
6
		name: 'Thai Pattachote',
7
		description: 'Thai Pattachote Input Method',
8
		date: '2012-10-25',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Kevin K.S. Leung, <sprconan@gmail.com>',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['Q', '๊'],
15
			['W', 'ฤ'],
16
			['E', 'ๆ'],
17
			['R', 'ญ'],
18
			['T', 'ษ'],
19
			['Y', 'ึ'],
20
			['U', 'ฝ'],
21
			['I', 'ซ'],
22
			['O', 'ถ'],
23
			['P', 'ฒ'],
24
			['{', 'ฯ'],
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
49
			['q', '็'],
50
			['w', 'ต'],
51
			['e', 'ย'],
52
			['r', 'อ'],
53
			['t', 'ร'],
54
			['y', '่'],
55
			['u', 'ด'],
56
			['i', 'ม'],
57
			['o', 'ว'],
58
			['p', 'แ'],
59
			['\\[', 'ใ'],
60
			['\\]', 'ฌ'],
61
			['\\\\', ''],
62
			['a', '้'],
63
			['s', 'ท'],
64
			['d', 'ง'],
65
			['f', 'ก'],
66
			['g', 'ั'],
67
			['h', 'ี'],
68
			['j', 'า'],
69
			['k', 'น'],
70
			['l', 'เ'],
71
			[';', 'ไ'],
72
			['\'', 'ข'],
73
			['z', 'บ'],
74
			['x', 'ป'],
75
			['c', 'ล'],
76
			['v', 'ห'],
77
			['b', 'ิ'],
78
			['n', 'ค'],
79
			['m', 'ส'],
80
			[',', 'ะ'],
81
			['\\.', 'จ'],
82
			['/', 'พ'],
83
84
			['`', '_'],
85
			['1', '='],
86
			['2', '๒'],
87
			['3', '๓'],
88
			['4', '๔'],
89
			['5', '๕'],
90
			['6', 'ู'],
91
			['7', '๗'],
92
			['8', '๘'],
93
			['9', '๙'],
94
			['0', '๐'],
95
			['\\-', '๑'],
96
			['=', '๖'],
97
			['~', '฿'],
98
			['!', '+'],
99
			['@', '"'],
100
			['#', '/'],
101
			['\\$', ','],
102
			['%', '?'],
103
			['\\^', 'ุ'],
104
			['&', '_'],
105
			['\\*', '.'],
106
			['\\(', '('],
107
			['\\)', ')'],
108
			['_', '-'],
109
			['\\+', '%']
110
		]
111
	};
112
113
	$.ime.register( pattachote );
114
115
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/udm/udm-alt.js (+40 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var udmAlt = {
5
		id: 'udm-alt',
6
		name: 'Удмурт ALT',
7
		description: 'Удмурт ALT',
8
		date: '2013-03-17',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Amir (Алексей) Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ц', 'ӵ'],
15
			['Ц', 'Ӵ'],
16
			['щ', 'ӥ'],
17
			['Щ', 'Ӥ'],
18
			['х', 'ӟ'],
19
			['Х', 'Ӟ'],
20
			['ф', 'ӝ'],
21
			['Ф', 'Ӝ']
22
		],
23
		patterns_x: [
24
			['ё', 'ӧ'],
25
			['Ё', 'Ӧ'],
26
27
			// Allow typing the Russian letters using Alt
28
			['ц', 'ц'],
29
			['Ц', 'Ц'],
30
			['щ', 'щ'],
31
			['Щ', 'Щ'],
32
			['х', 'х'],
33
			['Х', 'Х'],
34
			['ф', 'ф'],
35
			['Ф', 'Ф']
36
		]
37
	};
38
39
	$.ime.register( udmAlt );
40
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ug/ug-kbd.js (+79 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ugKbd = {
5
		id: 'ug-kbd',
6
		name: 'Uyghur kbd',
7
		description: 'Uyghur kbd keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['q', '\u0686'],
15
			['w', '\u06CB'],
16
			['e', '\u06D0'],
17
			['r', '\u0631'],
18
			['t', '\u062A'],
19
			['y', '\u064A'],
20
			['u', '\u06C7'],
21
			['i', '\u06AD'],
22
			['o', '\u0648'],
23
			['p', '\u067E'],
24
			['a', '\u06BE'],
25
			['s', '\u0633'],
26
			['d', '\u062F'],
27
			['f', '\u0627'],
28
			['g', '\u06D5'],
29
			['h', '\u0649'],
30
			['j', '\u0642'],
31
			['k', '\u0643'],
32
			['l', '\u0644'],
33
			[';', '\u061B'],
34
			['z', '\u0632'],
35
			['x', '\u0634'],
36
			['c', '\u063A'],
37
			['v', '\u06C8'],
38
			['b', '\u0628'],
39
			['n', '\u0646'],
40
			['m', '\u0645'],
41
			[',', '\u060C'],
42
			['/', '\u0626'],
43
			['Q', '\u0686'],
44
			['W', '\u06CB'],
45
			['E', '\u06D0'],
46
			['R', '\u0631'],
47
			['T', '\u062A'],
48
			['Y', '\u064A'],
49
			['U', '\u06C7'],
50
			['I', '\u06AD'],
51
			['O', '\u0648'],
52
			['P', '\u067E'],
53
			['\\{', '\u00AB'],
54
			['\\}', '\u00BB'],
55
			['A', '\u06BE'],
56
			['S', '\u0633'],
57
			['D', '\u0698'],
58
			['F', '\u0641'],
59
			['G', '\u06AF'],
60
			['H', '\u062E'],
61
			['J', '\u062C'],
62
			['K', '\u06C6'],
63
			['L', '\u0644'],
64
			['Z', '\u0632'],
65
			['X', '\u0634'],
66
			['C', '\u063A'],
67
			['V', '\u06C8'],
68
			['B', '\u0628'],
69
			['N', '\u0646'],
70
			['M', '\u0645'],
71
			['\\?', '\u061F'],
72
			['\\<', '\u2039'],
73
			['\\>', '\u203A'],
74
			['\\_', '\u2014']
75
		]
76
	};
77
78
	$.ime.register( ugKbd );
79
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/uk/uk-kbd.js (+101 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ukKbd = {
5
		id: 'uk-kbd',
6
		name: 'Українська',
7
		description: 'Ukrainian kbd keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
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
			['\\\\', '\\'],
39
			['z', 'я'],
40
			['x', 'ч'],
41
			['c', 'с'],
42
			['v', 'м'],
43
			['b', 'и'],
44
			['n', 'т'],
45
			['m', 'ь'],
46
			[',', 'б'],
47
			['\\.', 'ю'],
48
			['/', '.'],
49
			['\\!', '!'],
50
			['\\@', '"'],
51
			['\\#', '№'],
52
			['\\$', ';'],
53
			['\\%', '%'],
54
			['\\^', ':'],
55
			['\\&', '?'],
56
			['\\*', '*'],
57
			['\\(', '('],
58
			['\\)', ')'],
59
			['\\_', '_'],
60
			['\\+', '+'],
61
			['\\~', 'Ґ'],
62
			['Q', 'Й'],
63
			['W', 'Ц'],
64
			['E', 'У'],
65
			['R', 'К'],
66
			['T', 'Е'],
67
			['Y', 'Н'],
68
			['U', 'Г'],
69
			['I', 'Ш'],
70
			['O', 'Щ'],
71
			['P', 'З'],
72
			['\\{', 'Х'],
73
			['\\}', 'Ї'],
74
			['A', 'Ф'],
75
			['S', 'І'],
76
			['D', 'В'],
77
			['F', 'А'],
78
			['G', 'П'],
79
			['H', 'Р'],
80
			['J', 'О'],
81
			['K', 'Л'],
82
			['L', 'Д'],
83
			[':', 'Ж'],
84
			['\"', 'Є'],
85
			['\\|', '|'],
86
			['Z', 'Я'],
87
			['X', 'Ч'],
88
			['C', 'С'],
89
			['V', 'М'],
90
			['B', 'И'],
91
			['N', 'Т'],
92
			['M', 'Ь'],
93
			['\\<', 'Б'],
94
			['\\>', 'Ю'],
95
			['\\?', ',']
96
		]
97
98
	};
99
	$.ime.register( ukKbd );
100
101
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ur/ur-phonetic.js (+108 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var urPhonetic = {
5
		id: 'ur-phonetic',
6
		name: 'صوتی',
7
		description: 'Phonetic keyboard for Urdu script',
8
		date: '2013-02-18',
9
		URL: 'http://cvs.savannah.gnu.org/viewvc/m17n-contrib/im/ur-phonetic.mim?root=m17n&view=markup',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['!', '!'],
15
			['1', '۱'],
16
			['2', '۲'],
17
			['\\#', '/'],
18
			['3', '۳'],
19
			/* Yeh with hamza above */ ['\\$', 'ئ'],
20
			['4', '۴'],
21
			['5', '۵'],
22
			['6', '۶'],
23
			['7', '۷'],
24
			['8', '۸'],
25
			['\\(', ')'],
26
			['9', '۹'],
27
			['\\)', '('],
28
			['0', '۰'],
29
			['\\_" "ّ'],
30
			/* Alef with hamza above */ ['\\-', 'أ'],
31
			/* Alef with madda above */ ['\\+', 'آ'],
32
			/* Waw with hamza above */ ['\\=', 'ؤ'],
33
			['Q', 'ْ'],
34
			['q', 'ق'],
35
			['W', 'ﷺ'],
36
			['w', 'و'],
37
			['E', '¥'],
38
			['e', 'ع'],
39
			['R', 'ڑ'],
40
			['r', 'ر'],
41
			['T', 'ٹ'],
42
			['t', 'ت'],
43
			['Y', '\u0601'],
44
			['y', 'ے'],
45
			['U', '،'],
46
			['u', 'ء'],
47
			['I', 'ٰ'],
48
			['i', 'ی'],
49
			/* Teh marbuta goal */ ['O', 'ۃ'],
50
			['o', 'ہ'],
51
			['P', 'ُ'],
52
			['p', 'پ'],
53
			['\\{', 'ٰ'],
54
			['\\[', ']'],
55
			['\\}', 'ٰٰ'],
56
			['\\]', '['],
57
			['A', 'ٓ'],
58
			['a', 'ا'],
59
			['S', 'ص'],
60
			['s', 'س'],
61
			['D', 'ڈ'],
62
			['d', 'د'],
63
			['F', ''],
64
			['f', 'ف'],
65
			['G', 'غ'],
66
			['g', 'گ'],
67
			['H', 'ح'],
68
			['h', 'ھ'],
69
			['J', 'ض'],
70
			['j', 'ج'],
71
			['K', 'خ'],
72
			['k', 'ک'],
73
			['L', '\u0613'],
74
			['l', 'ل'],
75
			[':', ':'],
76
			/* Arabic semicolon */ [';', '؛'],
77
			['\"', '؎'],
78
			['\'', 'ٰ'],
79
			['\\|', 'ؔ'],
80
			['\\', '؎'],
81
			['\\~', 'ً'],
82
			['\\`', 'ٍ'],
83
			['Z', 'ذ'],
84
			['z', 'ز'],
85
			['X', 'ژ'],
86
			['x', 'ش'],
87
			['C', 'ث'],
88
			['c', 'چ'],
89
			['V', 'ظ'],
90
			['v', 'ط'],
91
			['B', 'ؒ'],
92
			['b', 'ب'],
93
			['N', 'ں'],
94
			['n', 'ن'],
95
			['M', ''],
96
			['m', 'م'],
97
			['\\<', 'ِ'],
98
			[',', '،'],
99
			['\\>', 'َ'],
100
			/* Arabic full stop */ ['\\.', '۔'],
101
			/* Arabic question mark */ ['\\?', '؟'],
102
			['\\^', 'ۖ'],
103
			['\\&', 'ٔ'],
104
			['\\*', 'ٌ']]
105
	};
106
107
	$.ime.register( urPhonetic );
108
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ur/ur-transliteration.js (+98 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var urTransliteration = {
5
		id: 'ur-transliteration',
6
		name: 'Urdu Transliteration',
7
		description: 'Urdu Transliteration based on RTS',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Mohammed Imran Tabani',
11
		license: '',
12
		version: '1.0',
13
		patterns: [
14
			['x', 'ف'],
15
			['_', '_'],
16
			['D', 'ڑ'],
17
			['E', 'ذ'],
18
			['F', 'ں'],
19
			['R', 'ڈ'],
20
			['G', 'ۂ'],
21
			['T', 'ث'],
22
			['\\+', '+'],
23
			['S', 'ز'],
24
			['W', 'ض'],
25
			['A', 'ژ'],
26
			['Q', 'ظ'],
27
			['k', 'ک'],
28
			['K', 'گ'],
29
			['i', 'ب'],
30
			['I', 'ـ'],
31
			['U', 'ۃ'],
32
			/* Arabic semicolon */ ['\\;', '؛'],
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', '\u0651\u00AD'],
51
			['c', 'ے'],
52
			/* Arabic question mark */ ['\\?','؟'],
53
			['j', 'ا'],
54
			['n', 'غ'],
55
			['N', 'ئ'],
56
			['b', 'ش'],
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', '0'],
77
			['1', '1'],
78
			['2', '2'],
79
			['3', '3'],
80
			['4', '4'],
81
			['5', '5'],
82
			['6', '6'],
83
			['7', '7'],
84
			['8', '8'],
85
			['9', '9'],
86
			['\\@', '@'],
87
			['\\#', '','#'],
88
			['\\$', '','$'],
89
			['\\%', '','٪'],
90
			['\\^', '','^'],
91
			['\\&', 'ۖ'],
92
			/* Arabic star */ ['\\*', '٭'],
93
			['\\(', '('],
94
			['\\)', ')']]
95
	};
96
97
	$.ime.register( urTransliteration );
98
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/uz/uz-kbd.js (+102 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var uzKbd = {
5
		id: 'uz-kbd',
6
		name: 'Uzbek keyboard',
7
		description: 'Uzbek input method with Russian keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
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
			['\\\\', '\\'],
39
			['z', 'я'],
40
			['x', 'ч'],
41
			['c', 'с'],
42
			['v', 'м'],
43
			['b', 'и'],
44
			['n', 'т'],
45
			['m', 'ь'],
46
			[',', 'б'],
47
			['\\.', 'ю'],
48
			['/', '.'],
49
			['\\!', '!'],
50
			['\\@', '\"'],
51
			['\\#', '№'],
52
			['\\$', ';'],
53
			['\\%', '%'],
54
			['\\^', ':'],
55
			['\\&', '?'],
56
			['\\*', '*'],
57
			['\\(', '('],
58
			['\\)', ')'],
59
			['\\-', 'ғ'],
60
			['\\_', 'Ғ'],
61
			['\\=', 'ҳ'],
62
			['\\+', 'Ҳ'],
63
			['\\~', 'Ё'],
64
			['Q', 'Й'],
65
			['W', 'Ц'],
66
			['E', 'У'],
67
			['R', 'К'],
68
			['T', 'Е'],
69
			['Y', 'Н'],
70
			['U', 'Г'],
71
			['I', 'Ш'],
72
			['O', 'Ў'],
73
			['P', 'З'],
74
			['\\{', 'Х'],
75
			['\\}', 'Ъ'],
76
			['A', 'Ф'],
77
			['S', 'Қ'],
78
			['D', 'В'],
79
			['F', 'А'],
80
			['G', 'П'],
81
			['H', 'Р'],
82
			['J', 'О'],
83
			['K', 'Л'],
84
			['L', 'Д'],
85
			[':', 'Ж'],
86
			['\"', 'Э'],
87
			['\\|', '|'],
88
			['Z', 'Я'],
89
			['X', 'Ч'],
90
			['C', 'С'],
91
			['V', 'М'],
92
			['B', 'И'],
93
			['N', 'Т'],
94
			['M', 'Ь'],
95
			['\\<', 'Б'],
96
			['\\>', 'Ю'],
97
			['\\?', ',']
98
		]
99
	};
100
	$.ime.register( uzKbd );
101
102
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/vec/vec-GVU.js (+32 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var vec = {
5
		id: 'vec-GVU',
6
		name: 'Venetian GVU',
7
		description: 'Venetian input method.',
8
		date: '2013-08-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Vec.wiki community',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['dh', 'đ'],
15
			['lh', 'ƚ'],
16
			['òò', 'ó'],
17
			['zh', 'ẑ'],
18
			['đh', 'dh'],
19
			['ƚh', 'lh'],
20
			['ẑh', 'zh'],
21
			['Dh', 'Đ'],
22
			['Lh', 'Ƚ'],
23
			['Òò', 'Ó'],
24
			['Zh', 'Ẑ'],
25
			['Đh', 'Dh'],
26
			['Ƚh', 'Lh'],
27
			['Ẑh', 'Zh']
28
		]
29
	};
30
31
	$.ime.register( vec );
32
}( jQuery ) );
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc (+6 lines)
Lines 3-8 Link Here
3
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui.css" />
3
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui.css" />
4
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/bootstrap/bootstrap.min.css" />
4
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/bootstrap/bootstrap.min.css" />
5
<link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" />
5
<link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" />
6
7
[% INCLUDE 'jquery.ime.stylesheet.inc' %]
8
6
[% INCLUDE intranetstylesheet.inc %]
9
[% INCLUDE intranetstylesheet.inc %]
7
[% IF ( bidi ) %]
10
[% IF ( bidi ) %]
8
   <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" />
11
   <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" />
Lines 16-21 Link Here
16
<script type="text/javascript" src="[% interface %]/lib/bootstrap/bootstrap.min.js"></script>
19
<script type="text/javascript" src="[% interface %]/lib/bootstrap/bootstrap.min.js"></script>
17
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.validate.min.js"></script>
20
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.validate.min.js"></script>
18
21
22
[% INCLUDE 'jquery.ime.inc' %]
23
19
[% IF ( login ) %]
24
[% IF ( login ) %]
20
    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/login.css" />
25
    <link rel="stylesheet" type="text/css" href="[% themelang %]/css/login.css" />
21
[% END %]
26
[% END %]
Lines 48-53 Link Here
48
    </script>
53
    </script>
49
<script type="text/javascript" src="[% themelang %]/js/basket.js"></script>
54
<script type="text/javascript" src="[% themelang %]/js/basket.js"></script>
50
[% END %]
55
[% END %]
56
51
[% IF LocalCoverImages %]
57
[% IF LocalCoverImages %]
52
<script type="text/javascript" src="[% themelang %]/js/localcovers.js"></script>
58
<script type="text/javascript" src="[% themelang %]/js/localcovers.js"></script>
53
<script type="text/javascript">
59
<script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/jquery.ime.inc (+14 lines)
Line 0 Link Here
1
[% USE Koha %]
2
[% IF ( Koha.Preference('UsejQueryIMEonStaff') ) %]
3
<!-- Bug 12815 - Adding browser based multi-lingual jquery.ime input method support to Koha -->
4
<script type="text/javascript" src="[% interface %]/lib/jquery.ime/jquery.ime.min.js"></script>
5
6
<script type="text/javascript">
7
//<![CDATA[
8
    $( document ).ready( function () {
9
        $( "input:text, textarea" ).ime();
10
    } );
11
//]]>
12
</script>
13
[% END %]
14
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/jquery.ime.stylesheet.inc (+5 lines)
Line 0 Link Here
1
[% USE Koha %]
2
[% IF ( Koha.Preference('UsejQueryIMEonStaff') ) %]
3
<!-- Bug 12815 - Adding browser based multi-lingual jquery.ime input method support to Koha -->
4
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery.ime/css/jquery.ime.css" />
5
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref (-45 / +67 lines)
Lines 1-46 Link Here
1
I18N/L10N:
1
I18N/L10N:
2
    -
2
    Date and Time:
3
        - Format dates like
3
        -
4
        - pref: dateformat
4
            - Format dates like
5
          default: us
5
            - pref: dateformat
6
          choices:
6
              default: us
7
              us: mm/dd/yyyy
7
              choices:
8
              metric: dd/mm/yyyy
8
                  us: mm/dd/yyyy
9
              iso: yyyy-mm-dd
9
                  metric: dd/mm/yyyy
10
        - .
10
                  iso: yyyy-mm-dd
11
    -
11
            - .
12
        - Format times in
12
        -
13
        - pref: TimeFormat
13
            - Format times in
14
          default: 24hr
14
            - pref: TimeFormat
15
          choices:
15
              default: 24hr
16
              24hr: 24 hour format ( e.g. "14:18" )
16
              choices:
17
              12hr: 12 hour format ( e.g. "02:18 PM" )
17
                  24hr: 24 hour format ( e.g. "14:18" )
18
        - .
18
                  12hr: 12 hour format ( e.g. "02:18 PM" )
19
    -
19
            - .
20
        - Use
20
        -
21
        - pref: CalendarFirstDayOfWeek
21
            - Use
22
          default: Sunday
22
            - pref: CalendarFirstDayOfWeek
23
          choices:
23
              default: Sunday
24
              Sunday: Sunday
24
              choices:
25
              Monday: Monday
25
                  Sunday: Sunday
26
        - as the first day of week in the calendar.
26
                  Monday: Monday
27
    -
27
            - as the first day of week in the calendar.
28
        - "Enable the following languages on the staff interface:"
28
        -
29
        - pref: language
29
    Language Support:
30
          type: staff-languages
30
        -
31
    -
31
            - "Enable the following languages on the staff interface:"
32
        - pref: opaclanguagesdisplay
32
            - pref: language
33
          default: 0
33
              type: staff-languages
34
          choices:
34
        -
35
              yes: Allow
35
            - pref: opaclanguagesdisplay
36
              no: "Don't allow"
36
              default: 0
37
        - patrons to change the language they see on the OPAC.
37
              choices:
38
    -
38
                  yes: Allow
39
        - "Enable the following languages on the OPAC:"
39
                  no: "Don't allow"
40
        - pref: opaclanguages
40
            - patrons to change the language they see on the OPAC.
41
          type: opac-languages
41
        -
42
    -
42
            - "Enable the following languages on the OPAC:"
43
        - "Use the alphabet"
43
            - pref: opaclanguages
44
        - pref: alphabet
44
              type: opac-languages
45
          class: long
45
        -
46
        - for lists of browsable letters. This should be a space separated list of uppercase letters.
46
            - "Use the alphabet"
47
            - pref: alphabet
48
              class: long
49
            - for lists of browsable letters. This should be a space separated list of uppercase letters.
50
    Multi-lingual keyboard:
51
        -
52
            - <strong>NOTE:</strong> <a href="https://github.com/wikimedia/jquery.ime" target="_blank">jQuery.IME</a> is a jQuery based input method editor supporting over 135 input methods across more than 62 languages.
53
        -
54
            - "Enable jQuery.IME "
55
            - pref: UsejQueryIMEonStaff
56
              default: 0
57
              choices:
58
                  yes: Enable
59
                  no: "Do no enable"
60
            - on the staff client.
61
        -
62
            - "Enable jQuery.IME "
63
            - pref: UsejQueryIMEonOPAC
64
              default: 0
65
              choices:
66
                  yes: Enable
67
                  no: "Do no enable"
68
            - on the OPAC.
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc (+3 lines)
Lines 41-46 Link Here
41
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %]
41
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %]
42
<link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" />
42
<link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" />
43
[% PROCESS cssinclude %]
43
[% PROCESS cssinclude %]
44
45
[% INCLUDE 'jquery.ime.stylesheet.inc' %]
46
44
<!-- Respond.js brings responsive layout behavior to IE < v.9 -->
47
<!-- Respond.js brings responsive layout behavior to IE < v.9 -->
45
<!--[if lt IE 9]>
48
<!--[if lt IE 9]>
46
    <script src="[% interface %]/[% theme %]/lib/respond.min.js"></script>
49
    <script src="[% interface %]/[% theme %]/lib/respond.min.js"></script>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/jquery.ime.stylesheet.inc (+4 lines)
Line 0 Link Here
1
[% IF ( Koha.Preference('UsejQueryIMEonOPAC') ) %]
2
<!-- Bug 12815 - Adding browser based multi-lingual jquery.ime input method support to Koha -->
3
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery.ime/css/jquery.ime.css" />
4
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (+14 lines)
Lines 95-100 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
95
        "[% interface %]/[% theme %]/js/script.js"
95
        "[% interface %]/[% theme %]/js/script.js"
96
    ]);
96
    ]);
97
</script>
97
</script>
98
98
[% IF ( OPACAmazonCoverImages || SyndeticsCoverImages ) %]
99
[% IF ( OPACAmazonCoverImages || SyndeticsCoverImages ) %]
99
<script type="text/javascript">//<![CDATA[
100
<script type="text/javascript">//<![CDATA[
100
        var NO_AMAZON_IMAGE = _("No cover image available");
101
        var NO_AMAZON_IMAGE = _("No cover image available");
Lines 202-207 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
202
    <script type="text/javascript" src="http://www.google.com/jsapi"></script>
203
    <script type="text/javascript" src="http://www.google.com/jsapi"></script>
203
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/googleindictransliteration.js"></script>
204
    <script type="text/javascript" src="[% interface %]/[% theme %]/js/googleindictransliteration.js"></script>
204
[% END %]
205
[% END %]
206
207
[% IF ( Koha.Preference('UsejQueryIMEonOPAC') ) %]
208
    <!-- Bug 12815 - Adding browser based multi-lingual jquery.ime input method support to Koha -->
209
    <script type="text/javascript" src="[% interface %]/lib/jquery.ime/jquery.ime.min.js"></script>
210
    <script type="text/javascript">
211
        //<![CDATA[
212
            $( document ).ready( function () {
213
                $( "input:text, textarea" ).ime();
214
            } );
215
        //]]>
216
    </script>
217
[% END %]
218
205
[% IF persona %]
219
[% IF persona %]
206
    <script src="https://login.persona.org/include.js"></script>
220
    <script src="https://login.persona.org/include.js"></script>
207
    <script type="text/javascript">
221
    <script type="text/javascript">
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/css/jquery.ime.css (+220 lines)
Line 0 Link Here
1
.imeselector {
2
	position: absolute;
3
	/* @embed */
4
	background: url('../images/ime-active.png') no-repeat left center;
5
	/* @embed */
6
	background-image: -webkit-linear-gradient(transparent, transparent), url('../images/ime-active.svg');
7
	/* @embed */
8
	background-image: linear-gradient(transparent, transparent), url('../images/ime-active.svg');
9
	background-color: rgba(255,255,255,0.75);
10
	background-position: left 3px center;
11
	background-position-x: 3px;
12
	height: 15px;
13
	font-size: small;
14
	padding: 2px 2px 1px 20px;
15
	box-shadow: 0 1px 3px 0 #777;
16
	margin-top: 0;
17
	text-align: left;
18
	font-family: sans-serif;
19
	white-space: nowrap;
20
	z-index: 1000;
21
}
22
23
.imeselector:hover {
24
	box-shadow: 0 1px 3px 0 #565656;
25
	border-top: none;
26
	background-color: rgba(255,255,255,0.85);
27
}
28
29
.imeselector a,
30
.ime-disable {
31
	cursor: pointer;
32
	text-decoration: none;
33
	outline: none;
34
	color: #222222;
35
	line-height: 1em;
36
	padding-top: 4px;
37
	padding-bottom: 4px;
38
}
39
40
.ime-setting-caret {
41
	margin-left: 2px;
42
	margin-top: 8px;
43
	border-left: 4px solid transparent;
44
	border-right: 4px solid transparent;
45
	border-top: 4px solid #565656;
46
	content: "";
47
	display: inline-block;
48
	height: 0;
49
	vertical-align: top;
50
	width: 0;
51
52
}
53
54
span.ime-disable-link {
55
	padding-left: 20px;
56
	white-space: nowrap;
57
}
58
59
span.ime-disable-shortcut {
60
	text-align: right;
61
	margin-left: 10px;
62
	color: #888;
63
	font-size: smaller;
64
	padding-right: 4px;
65
}
66
67
.ime-list-title,
68
.ime-lang-title {
69
	color: #39d;
70
	border-bottom: solid 1px #39d;
71
	text-align: left;
72
	font-size: larger;
73
	font-weight: normal;
74
	padding-bottom: 5px;
75
	padding-left: 20px;
76
	padding-top: 9px;
77
	margin: 0 0 1px;
78
}
79
80
.ime-language-list-wrapper {
81
	position: relative;
82
	padding: 0;
83
	display: block;
84
	overflow-y: auto;
85
	max-height: 150px;
86
}
87
88
.imeselector-menu {
89
	position: absolute;
90
	top: 14px;
91
	right: 0;
92
	z-index: 1000;
93
	display: none;
94
	float: left;
95
	margin-top: 13px;
96
	min-width: 160px;
97
	padding: 0;
98
	border: 1px solid #888;
99
	background-color: #FFFFFF;
100
	border-radius: 5px;
101
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
102
	-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
103
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
104
	-webkit-background-clip: padding-box;
105
	-moz-background-clip: padding;
106
	background-clip: padding-box;
107
	text-align: left;
108
}
109
110
.imeselector-menu.ime-right {
111
	right: auto;
112
}
113
114
.imeselector-menu ul {
115
	width: 100%;
116
	padding: 0;
117
	margin: 0;
118
	list-style: none;
119
}
120
121
/* The triangle shaped callout */
122
.imeselector-menu:before {
123
	border-bottom: 7px solid #888;
124
	border-left: 7px solid transparent;
125
	border-right: 7px solid transparent;
126
	content: "";
127
	display: inline-block;
128
	right: 9px;
129
	position: absolute;
130
	top: -7px;
131
}
132
133
.imeselector-menu.ime-right:before {
134
	right: auto;
135
	left: 9px;
136
}
137
138
.imeselector-menu:after {
139
	border-bottom: 6px solid #FFFFFF;
140
	border-left: 6px solid transparent;
141
	border-right: 6px solid transparent;
142
	content: "";
143
	display: inline-block;
144
	right: 10px;
145
	position: absolute;
146
	top: -6px;
147
}
148
149
150
.imeselector-menu.ime-right:after {
151
	right: auto;
152
	left: 10px;
153
}
154
155
.imeselector-menu.ime-position-top:before {
156
	border-bottom: 0 none;
157
	border-top: 7px solid #888;
158
	top: auto;
159
	bottom: -7px;
160
}
161
162
.imeselector-menu.ime-position-top:after {
163
	border-bottom: 0 none;
164
	border-top: 6px solid #FFFFFF;
165
	top: auto;
166
	bottom: -6px;
167
}
168
169
.imeselector-menu .ime-checked {
170
	/* @embed */
171
	background: url(../images/tick.png) no-repeat left center;
172
	/* @embed */
173
	background-image: -webkit-linear-gradient(transparent, transparent), url('../images/tick.svg');
174
	/* @embed */
175
	background-image: linear-gradient(transparent, transparent), url('../images/tick.svg');
176
	background-position: left 4px center;
177
	background-position-x: 4px;
178
}
179
180
.imeselector-menu .ime-help-link {
181
	background-color: #f0f0f0;
182
	border-radius: 0 0 5px 5px;
183
	border-top: 1px solid #ddd;
184
	margin-top: 6px;
185
	padding: 2px 0;
186
	color: #444;
187
}
188
189
.imeselector-menu .ime-help-link > a:hover {
190
	background-color: #f0f0f0;
191
	color: #000;
192
}
193
194
.imeselector-menu .selectable-row-item {
195
	display: block;
196
	padding-left: 20px;
197
	padding-right: 20px;
198
	font-weight: normal;
199
	color: #333333;
200
	outline: none;
201
	white-space: nowrap;
202
	position: relative;
203
}
204
205
.imeselector-menu .selectable-row {
206
	cursor: pointer;
207
}
208
209
.imeselector-menu .selectable-row:hover {
210
	background-color: #f0f0f0;
211
}
212
213
.ime-open {
214
	*z-index: 1000;
215
	display: block;
216
}
217
218
.imeselector-menu li {
219
	position: relative;
220
}
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/images/ime-active.svg (+1 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="15" height="11"><path d="M9 1.281c-.124.259-.185.599-.5.688-.55.081-1.133.018-1.688 0-.866-.032-1.733-.148-2.594 0-.588.157-.953.727-1.188 1.25-.178.416-.271.836-.344 1.281h-2.688v11.5h20v-11.5h-16.344c.109-.52.203-1.057.563-1.469.222-.231.587-.17.875-.188 1.212.003 2.415.179 3.625.063.463-.058.812-.455.969-.875l.188-.438-.875-.313zm-7.125 5.844h1.563c.094 0 .188.093.188.188v1.531c0 .094-.093.188-.188.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188h-1.563c-.094 0-.188-.093-.188-.188v-1.531c0-.094.093-.188.188-.188zm2.813 0h1.563c.094 0 .188.093.188.188v1.531c0 .094-.093.188-.188.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.531c.094 0 .188.093.188.188v1.531c0 .094-.093.188-.188.188h-1.531c-.094 0-.188-.093-.188-.188v-1.531c0-.094.093-.188.188-.188zm-12.844 3h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm2.906 0h1.563c.094 0 .188.093.188.188v1.563c0 .094-.093.156-.188.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm2.938 0h1.531c.094 0 .188.093.188.188v1.563c0 .094-.093.156-.188.156h-1.531c-.094 0-.188-.062-.188-.156v-1.563c0-.094.093-.188.188-.188zm2.906 0h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.188-.062-.188-.156v-1.563c0-.094.093-.188.188-.188zm2.906 0h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm-10.875 3.563h12c.088 0 .156.068.156.156v.844c0 .088-.068.156-.156.156h-12c-.088 0-.156-.068-.156-.156v-.844c0-.088.068-.156.156-.156z" fill="#565656" transform="scale(.75) translate(0 -1.3)"/></svg>
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/images/tick.svg (+1 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="12" height="9"><path d="M11.226.257l-6.718 6.453-2.699-2.575-1.292 1.302c1.33 1.273 2.65 2.557 3.99 3.821 2.654-2.591 5.337-5.153 8.01-7.726z" fill="#222"/></svg>
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/jquery.ime.min.js (+6 lines)
Line 0 Link Here
1
/*! jquery.ime - v0.1.0+20140825
2
* https://github.com/wikimedia/jquery.ime
3
* Copyright (c) 2014 Santhosh Thottingal; Licensed GPL, MIT */
4
(function(e){"use strict";function t(t,n){this.$element=e(t),e.ime.defaults.languages=d(e.ime.languages),this.options=e.extend({},e.ime.defaults,n),this.active=!1,this.shifted=!1,this.inputmethod=null,this.language=null,this.context="",this.selector=this.$element.imeselector(this.options),this.listen()}function n(e){window.console&&window.console.log&&window.console.log(e)}function i(e){var t,n,i,r,s,a,u=e.get(0),c=0,l=0;return e.is("[contenteditable]")?o(u):("number"==typeof u.selectionStart&&"number"==typeof u.selectionEnd?(c=u.selectionStart,l=u.selectionEnd):(n=document.selection.createRange(),n&&n.parentElement()===u&&(r=u.value.length,t=u.value.replace(/\r\n/g,"\n"),s=t.match(/\n/g),i=u.createTextRange(),i.moveToBookmark(n.getBookmark()),a=u.createTextRange(),a.collapse(!1),i.compareEndPoints("StartToEnd",a)>-1?c=l=s?r-s.length:r:(c=-i.moveStart("character",-r),l=i.compareEndPoints("EndToEnd",a)>-1?r:-i.moveEnd("character",-r)))),[c,l])}function r(e){var t;return"input"===e.nodeName.toLowerCase()?t=e.createTextRange():(t=document.body.createTextRange(),t.moveToElementText(e)),t}function s(e,t,n,i){var s,o,u,c,l,d,h,m=e.get(0);return e.is("[contenteditable]")?(d=a(e,{start:n,end:i}),s=rangy.getSelection(),l=s.getRangeAt(0),d[0]>0&&(t=(""+s).substring(0,d[0])+t),h=document.createTextNode(t),l.deleteContents(),l.insertNode(h),l.commonAncestorContainer.normalize(),n=i=n+t.length-d[0],a(e,{start:n,end:i}),void 0):("number"==typeof m.selectionStart&&"number"==typeof m.selectionEnd?(c=m.scrollTop,m.value=m.value.substring(0,n)+t+m.value.substring(i,m.value.length),m.scrollTop=c,m.selectionStart=m.selectionEnd=n+t.length):(s=r(m),o=m.value.length,u=m.value.match(/\n/g),u&&(o-=u.length),s.moveStart("character",n),s.moveEnd("character",i-o),s.text=t,s.collapse(!1),s.select()),void 0)}function o(e){function t(e,a){var u,c;if(e.nodeType===Node.TEXT_NODE)s||e!==a.startContainer||(i=n+a.startOffset,s=!0),s&&e===a.endContainer&&(r=n+a.endOffset,o=!0),n+=e.length;else for(c=e.childNodes.length,u=0;c>u&&(t(e.childNodes[u],a),!o);++u);}var n=0,i=0,r=0,s=!1,o=!1,a=rangy.getSelection();return a.rangeCount&&t(e,a.getRangeAt(0)),[i,r]}function a(e,t){var n,i=0,r=0,s=e[0];for(u(s,t),n=o(s);t.start!==n[0]&&(t.start-=1,!(0>t.start));)u(s,t),n=o(s),i+=1;for(;t.end!==n[1]&&(t.end+=1,u(s,t),n=o(s),r+=1,!(r>10)););return[i,r]}function u(e,t){function n(e){var u,c;if(3===e.nodeType)i=r+e.length,!o&&t.start>=r&&i>=t.start&&(s.setStart(e,t.start-r),o=!0),o&&t.end>=r&&i>=t.end&&(s.setEnd(e,t.end-r),a=!0),r=i;else for(u=0,c=e.childNodes.length;c>u;++u)if(n(e.childNodes[u]),a){rangy.getSelection().setSingleRange(s);break}}var i,r=0,s=rangy.createRange(),o=!1,a=!1;s.collapseToPoint(e,0),n(e)}function c(e,t){var n,i;for(n=e.length<t.length?e.length:t.length,i=0;n>i;i++)if(e.charCodeAt(i)!==t.charCodeAt(i))return i;return-1}function l(e,t,n){return 0===n?"":n>=t?e.substr(0,t):e.substr(t-n,n)}function d(t){return e.map(t,function(e,t){return t})}t.prototype={constructor:t,listen:function(){this.$element.on("keypress.ime",e.proxy(this.keypress,this)),this.$element.on("keyup.ime",e.proxy(this.keyup,this)),this.$element.on("keydown.ime",e.proxy(this.keydown,this)),this.$element.on("destroy.ime",e.proxy(this.destroy,this)),this.$element.on("enable.ime",e.proxy(this.enable,this)),this.$element.on("disable.ime",e.proxy(this.disable,this))},transliterate:function(t,n,i){var r,s,o,a,u,c;if(r=i?this.inputmethod.patterns_x||[]:this.inputmethod.patterns||[],this.shifted&&(r=(this.inputmethod.patterns_shift||[]).concat(r)),e.isFunction(r))return c=r.call(this,t,n),"string"==typeof c?{noop:t===c,output:c}:c;for(u=0;r.length>u;u++)if(o=r[u],s=RegExp(o[0]+"$"),a=o.slice(-1)[0],s.test(t)){if(3!==o.length)return{noop:!1,output:t.replace(s,a)};if(RegExp(o[1]+"$").test(n))return{noop:!1,output:t.replace(s,a)}}return{noop:!0,output:t}},keyup:function(e){16===e.which&&(this.shifted=!1)},keydown:function(e){16===e.which&&(this.shifted=!0)},keypress:function(e){var t,n,i,r,o,a,u,c=!1;return this.active?this.inputmethod?8===e.which?(this.context="",!0):((e.altKey||e.altGraphKey)&&(c=!0),32>e.which&&13!==e.which&&!c||e.ctrlKey||e.metaKey?(this.context="",!0):(t=String.fromCharCode(e.which),i=this.getCaretPosition(this.$element),n=i[0],r=i[1],a=this.lastNChars(this.$element.val()||this.$element.text(),n,this.inputmethod.maxKeyLength),a+=t,u=this.transliterate(a,this.context,c),this.context+=t,this.context.length>this.inputmethod.contextLength&&(this.context=this.context.substring(this.context.length-this.inputmethod.contextLength)),u.noop?!0:(o=this.firstDivergence(a,u.output),a=a.substring(o),u.output=u.output.substring(o),s(this.$element,u.output,n-a.length+1,r),e.stopPropagation(),!1))):!0:!0},isActive:function(){return this.active},disable:function(){this.active=!1,e.ime.preferences.setIM("system")},enable:function(){this.active=!0},toggle:function(){this.active=!this.active},destroy:function(){e("body").off(".ime"),this.$element.off(".ime").removeData("ime").removeData("imeselector")},getIM:function(){return this.inputmethod},setIM:function(t){this.inputmethod=e.ime.inputmethods[t],e.ime.preferences.setIM(t)},setLanguage:function(t){return e.ime.languages[t]?(this.language=t,e.ime.preferences.setLanguage(t),!0):(n("Language "+t+" is not known to jquery.ime."),!1)},getLanguage:function(){return this.language},load:function(t){var i,r=this,s=e.Deferred();return e.ime.inputmethods[t]?s.resolve():e.ime.sources[t]?(i=e.ime.sources[t].depends,i&&!e.ime.inputmethods[i]?(r.load(i).done(function(){r.load(t).done(function(){s.resolve()})}),s):(n("Loading "+t),s=e.ajax({url:r.options.imePath+e.ime.sources[t].source,dataType:"script",cache:!0}).done(function(){n(t+" loaded")}).fail(function(e,i,r){n("Error in loading inputmethod "+t+" Exception: "+r)}),s.promise())):s.reject()},getCaretPosition:function(e){return i(e)},setCaretPosition:function(e,t){return a(e,t)},firstDivergence:function(e,t){return c(e,t)},lastNChars:function(e,t,n){return l(e,t,n)}},e.fn.ime=function(n){return this.each(function(){var i,r=e(this),s="object"==typeof n&&n;r.prop("readonly")||r.prop("disabled")||r.hasClass("noime")||(i=r.data("ime"),i||(i=new t(this,s),r.data("ime",i)),"string"==typeof n&&i[n]())})},e.ime={},e.ime.inputmethods={},e.ime.sources={},e.ime.preferences={},e.ime.languages={};var h={contextLength:0,maxKeyLength:1};e.ime.register=function(t){e.ime.inputmethods[t.id]=e.extend({},h,t)},e.ime.defaults={imePath:"/opac-tmpl/lib/jquery.ime/",languages:[],helpHandler:null}})(jQuery),function(e){"use strict";function t(n,i){this.$element=e(n),this.options=e.extend({},t.defaults,i),this.active=!1,this.$imeSetting=null,this.$menu=null,this.inputmethod=null,this.timer=null,this.init(),this.listen()}function n(){return e("<h3>").addClass("ime-lang-title").attr("data-i18n","jquery-ime-other-languages").text("Other languages")}function i(){return e("<ul>").addClass("ime-list")}function r(){return e("<h3>").addClass("ime-list-title autonym")}function s(){return e('<div class="ime-disable selectable-row">').append(e("<span>").attr({"class":"ime-disable-link","data-i18n":"jquery-ime-disable-text"}).addClass("ime-checked").text("System input method"),e("<span>").addClass("ime-disable-shortcut").text("CTRL+M"))}function o(e){return e.ctrlKey&&!e.altKey&&(77===e.which||13===e.which)}function a(){var e=document.createElement("p"),t=!1;if(e.addEventListener)e.addEventListener("DOMAttrModified",function(){t=!0},!1);else{if(!e.attachEvent)return!1;e.attachEvent("onDOMAttrModified",function(){t=!0})}return e.setAttribute("id","target"),t}var u,c;t.prototype={constructor:t,init:function(){this.prepareSelectorMenu(),this.position(),this.$imeSetting.hide()},prepareSelectorMenu:function(){this.$imeSetting=e(u),this.$menu=e('<div class="imeselector-menu" role="menu">'),this.$menu.append(r(),i(),s(),n()),this.prepareLanguageList(),this.$menu.append(this.helpLink()),e.i18n&&this.$menu.i18n(),this.$imeSetting.append(this.$menu),e("body").append(this.$imeSetting)},stopTimer:function(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.$imeSetting.stop(!0,!0)},resetTimer:function(){var e=this;this.stopTimer(),this.timer=setTimeout(function(){e.$imeSetting.animate({opacity:0,marginTop:"-20px"},500,function(){e.$imeSetting.hide(),e.$imeSetting.css("opacity",1),e.$imeSetting.css("margin-top",0)})},this.options.timeout)},focus:function(){e("div.imeselector").hide(),e("div.imeselector-menu").removeClass("ime-open"),this.$imeSetting.show(),this.resetTimer()},show:function(){return this.$menu.addClass("ime-open"),this.stopTimer(),this.$imeSetting.show(),!1},hide:function(){return this.$menu.removeClass("ime-open"),this.resetTimer(),!1},toggle:function(){this.$menu.hasClass("ime-open")?this.hide():this.show()},listen:function(){var t=this;t.$imeSetting.on("click.ime",function(n){var i=e(n.target);return i.hasClass("imeselector-toggle")&&t.toggle(),!1}),t.$element.on("blur.ime",function(){t.$imeSetting.hasClass("ime-onfocus")||(t.$imeSetting.hide(),t.hide())}),e("html").click(function(){t.hide()}),this.$menu.on("click",function(e){e.stopPropagation()}),t.$imeSetting.mouseenter(function(){t.stopTimer(),t.$imeSetting.addClass("ime-onfocus")}).mouseleave(function(){t.resetTimer(),t.$imeSetting.removeClass("ime-onfocus")}),t.$menu.on("click.ime","li",function(){return t.$element.focus(),!1}),t.$menu.on("click.ime","li.ime-im",function(){return t.selectIM(e(this).data("ime-inputmethod")),t.$element.trigger("setim.ime",e(this).data("ime-inputmethod")),!1}),t.$menu.on("click.ime","li.ime-lang",function(){var n=t.selectLanguage(e(this).attr("lang"));return t.$element.trigger("setim.ime",n),!1}),t.$menu.on("click.ime","div.ime-disable",function(){return t.disableIM(),!1}),t.$menu.on("click.ime",".ime-help-link",function(e){e.stopPropagation()}),t.$element.on("focus.ime",function(e){t.selectLanguage(t.decideLanguage()),t.focus(),e.stopPropagation()}),t.$element.attrchange(function(){t.$element.is(":hidden")&&t.$imeSetting.hide()}),t.$element.on("mouseup.ime",e.proxy(this.position,this)),t.$element.on("keydown.ime",e.proxy(this.keydown,this)),e(window).resize(function(){t.position()})},keydown:function(t){var n,i,r,s=e(t.target).data("ime");return this.focus(),o(t)?(s.isActive()?(this.disableIM(),this.$element.trigger("setim.ime","system")):null!==this.inputmethod?(this.selectIM(this.inputmethod.id),this.$element.trigger("setim.ime",this.inputmethod.id)):(r=this.decideLanguage(),this.selectLanguage(r),!s.isActive()&&e.ime.languages[r]&&(i=e.ime.preferences.getPreviousInputMethods(),i[0]?this.selectIM(i[0]):(n=e.ime.languages[r].inputmethods[0],this.selectIM(n)))),t.preventDefault(),t.stopPropagation(),!1):!0},position:function(){var t,n,i,r,s,o,a,u,c=this,l="rtl"===this.$element.css("direction"),d=e(window);this.focus(),r=this.$element.offset(),s=r.top+this.$element.outerHeight(),o=r.left,l||(o=r.left+this.$element.outerWidth()-this.$imeSetting.outerWidth()),a=d.height()+e(document).scrollTop()-s,this.$imeSetting.outerHeight()>a&&(s=r.top-this.$imeSetting.outerHeight(),n=this.$menu.outerHeight()+this.$imeSetting.outerHeight(),s>n&&this.$menu.addClass("ime-position-top").css("top",-n)),this.$element.parents().each(function(){return"fixed"===e(this).css("position")?(c.$imeSetting.css("position","fixed"),!1):void 0}),this.$imeSetting.css({top:s,left:o}),t=this.$menu.width(),u=o+t>d.width(),(t>o||l&&u)&&(l?u?(this.$menu.addClass("ime-right"),i=this.$imeSetting.outerWidth()-t):i=0:(this.$menu.addClass("ime-right"),i=r.left),this.$menu.css("left",i))},selectLanguage:function(t){var n,i,r;return t=t&&t.toLowerCase(),n=this.$element.data("ime"),i=e.ime.preferences.getIM(t),r=e.ime.languages[t],this.setMenuTitle(this.getAutonym(t)),r?n.getLanguage()===t?(n.inputmethod&&n.inputmethod.id!==i&&this.selectIM(e.ime.preferences.getIM(t)),e.ime.preferences.getIM(t)):(this.$menu.find("li.ime-lang").show(),this.$menu.find("li[lang="+t+"]").hide(),this.prepareInputMethods(t),this.hide(),n.setLanguage(t),this.inputmethod=null,this.selectIM(e.ime.preferences.getIM(t)),e.ime.preferences.getIM(t)):!1},getAutonym:function(t){return e.ime.languages[t]&&e.ime.languages[t].autonym},setMenuTitle:function(e){this.$menu.find(".ime-list-title").text(e)},decideLanguage:function(){return e.ime.preferences.getLanguage()?e.ime.preferences.getLanguage():this.$element.attr("lang")&&e.ime.languages[this.$element.attr("lang")]?this.$element.attr("lang"):e.ime.preferences.getDefaultLanguage()},selectIM:function(t){var n,i=this;if(t)return this.$menu.find(".ime-checked").removeClass("ime-checked"),this.$menu.find("li[data-ime-inputmethod="+t+"]").addClass("ime-checked"),n=this.$element.data("ime"),"system"===t?(this.disableIM(),void 0):(n.load(t).done(function(){i.inputmethod=e.ime.inputmethods[t],i.hide(),n.enable(),n.setIM(t),i.$imeSetting.find("a.ime-name").text(e.ime.sources[t].name),i.position(),e.ime.preferences.save()}),void 0)},disableIM:function(){this.$menu.find(".ime-checked").removeClass("ime-checked"),this.$menu.find("div.ime-disable").addClass("ime-checked"),this.$element.data("ime").disable(),this.$imeSetting.find("a.ime-name").text(""),this.hide(),this.position(),e.ime.preferences.save()},prepareLanguageList:function(){var t,n,i,r,s,o,a,u;n=e('<div class="ime-language-list-wrapper">'),i=e('<ul class="ime-language-list">'),r=e.isFunction(this.options.languages)?this.options.languages():this.options.languages;for(t in r)a=r[t],u=e.ime.languages[a],u&&(s=e("<a>").attr("href","#").text(this.getAutonym(a)).addClass("selectable-row-item autonym"),o=e('<li class="ime-lang selectable-row">').attr("lang",a),o.append(s),i.append(o));n.append(i),this.$menu.append(n),this.options.languageSelector&&this.$menu.append(this.options.languageSelector())},prepareInputMethods:function(t){var n=e.ime.languages[t],i=this.$menu.find(".ime-list"),r=this;i.empty(),e.each(n.inputmethods,function(t,n){var s,o,a,u;a=e.ime.sources[n],a&&(u=a.name,s=e("<a>").attr("href","#").text(u).addClass("selectable-row-item"),o=e("<li>").attr("data-ime-inputmethod",n).addClass("ime-im selectable-row").append('<span class="ime-im-check"></span>',s),r.options.helpHandler&&o.append(r.options.helpHandler.call(r,n)),i.append(o))})},helpLink:function(){return e('<div class="ime-help-link selectable-row">').append(e("<a>").text("Help").addClass("selectable-row-item").attr({href:"http://github.com/wikimedia/jquery.ime",target:"_blank","data-i18n":"jquery-ime-help"}))}},t.defaults={defaultLanguage:"en",timeout:2500},e.fn.imeselector=function(n){return this.each(function(){var i=e(this),r=i.data("imeselector");r||i.data("imeselector",r=new t(this,n)),"string"==typeof n&&r[n].call(i)})},e.fn.imeselector.Constructor=t,u='<div class="imeselector imeselector-toggle"><a class="ime-name imeselector-toggle" href="#"></a><b class="ime-setting-caret imeselector-toggle"></b></div>',c=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,e.fn.attrchange=function(e){if(c){var t;return t=new c(function(t){t.forEach(function(t){e.call(t.target,t.attributeName)})}),this.each(function(){t.observe(this,{subtree:!1,attributes:!0})})}return a()?this.on("DOMAttrModified",function(t){e.call(this,t.originalEvent.attrName)}):"onpropertychange"in document.body?this.on("propertychange",function(){e.call(this,window.event.propertyName)}):void 0}}(jQuery),function(e){"use strict";e.extend(e.ime.preferences,{registry:{isDirty:!1,language:null,previousLanguages:[],previousInputMethods:[],imes:{en:"system"}},setLanguage:function(t){t!==this.registry.language&&(this.registry.language=t,this.registry.isDirty=!0,this.registry.previousLanguages||(this.registry.previousLanguages=[]),-1===e.inArray(t,this.registry.previousLanguages)&&(this.registry.previousLanguages.unshift(t),this.registry.previousLanguages=this.registry.previousLanguages.slice(0,5)))},getLanguage:function(){return this.registry.language},getDefaultLanguage:function(){return"en"},getPreviousLanguages:function(){return this.registry.previousLanguages},getPreviousInputMethods:function(){return this.registry.previousInputMethods},setIM:function(e){this.registry.imes||(this.registry.imes={}),e!==this.registry.imes[this.registry.language]&&(this.registry.imes[this.getLanguage()]=e,this.registry.isDirty=!0,this.registry.previousInputMethods||(this.registry.previousInputMethods=[]),"system"!==e&&(this.registry.previousInputMethods.unshift(e),this.registry.previousInputMethods=this.registry.previousInputMethods.slice(0,5)))},getIM:function(e){return this.registry.imes||(this.registry.imes={}),this.registry.imes[e]||"system"},save:function(){},load:function(){}})}(jQuery),function(e){"use strict";e.extend(e.ime.sources,{"am-transliteration":{name:"ትራንስልተራትዖን",source:"rules/am/am-transliteration.js"},"ar-kbd":{name:"أرابيك",source:"rules/ar/ar-kbd.js"},"as-avro":{name:"অভ্ৰ",source:"rules/as/as-avro.js"},"as-bornona":{name:"বৰ্ণনা",source:"rules/as/as-bornona.js"},"as-inscript":{name:"ইনস্ক্ৰিপ্ট",source:"rules/as/as-inscript.js"},"as-inscript2":{name:"ইনস্ক্ৰিপ্ট ২",source:"rules/as/as-inscript2.js"},"as-phonetic":{name:"ফনেটিক",source:"rules/as/as-phonetic.js"},"as-transliteration":{name:"প্ৰতিৰূপান্তৰণ",source:"rules/as/as-transliteration.js"},"batak-qwerty":{name:"Batak QWERTY",source:"rules/bbc/batak-qwerty.js"},"be-kbd":{name:"Стандартная",source:"rules/be/be-kbd.js"},"be-latin":{name:"Łacinka",source:"rules/be/be-latin.js"},"be-transliteration":{name:"Транслітэрацыя",source:"rules/be/be-transliteration.js"},"ber-tfng":{name:"Tifinagh",source:"rules/ber/ber-tfng.js"},"bn-avro":{name:"অভ্র",source:"rules/bn/bn-avro.js"},"bn-inscript":{name:"ইনস্ক্ৰিপ্ট",source:"rules/bn/bn-inscript.js"},"bn-inscript2":{name:"ইনস্ক্ৰিপ্ট ২",source:"rules/bn/bn-inscript2.js"},"bn-nkb":{name:"ন্যাশনাল কিবোর্ড",source:"rules/bn/bn-nkb.js"},"bn-probhat":{name:"প্রভাত",source:"rules/bn/bn-probhat.js"},"bo-ewts":{name:"Tibetan EWTS",source:"rules/bo/bo-ewts.js"},"brx-inscript":{name:"इनस्क्रिप्ट",source:"rules/brx/brx-inscript.js"},"brx-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/brx/brx-inscript2.js"},"ckb-transliteration-arkbd":{name:"باشووری",source:"rules/ckb/ckb-transliteration-arkbd.js"},"ckb-transliteration-fakbd":{name:"ڕۆژھەڵاتی",source:"rules/ckb/ckb-transliteration-fakbd.js"},"ckb-transliteration-lakbd":{name:"لاتینی",source:"rules/ckb/ckb-transliteration-lakbd.js"},"cv-cyr-altgr":{name:"Чăвашла (AltGr)",source:"rules/cv/cv-cyr-altgr.js"},"cv-lat-altgr":{name:"Căvašla (AltGr)",source:"rules/cv/cv-lat-altgr.js"},"cv-cyr-numbers":{name:"Чăвашла (цифрилисем)",source:"rules/cv/cv-cyr-numbers.js"},"cyrl-palochka":{name:"Palochka",source:"rules/cyrl/cyrl-palochka.js"},"da-normforms":{name:"normalformer",source:"rules/da/da-normforms.js"},"doi-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/doi/doi-inscript2.js"},"eo-transliteration":{name:"transliterigo",source:"rules/eo/eo-transliteration.js"},"eo-h":{name:"Esperanto h",source:"rules/eo/eo-h.js"},"eo-h-f":{name:"Esperanto h fundamente",source:"rules/eo/eo-h-f.js"},"eo-plena":{name:"Esperanto plena",source:"rules/eo/eo-plena.js"},"eo-q":{name:"Esperanto q sistemo",source:"rules/eo/eo-q.js"},"eo-vi":{name:"Esperanto vi sistemo",source:"rules/eo/eo-vi.js"},"eo-x":{name:"Esperanto x sistemo",source:"rules/eo/eo-x.js"},"fa-kbd":{name:"فارسی",source:"rules/fa/fa-kbd.js"},"fo-normforms":{name:"Føroyskt",source:"rules/fo/fo-normforms.js"},"fi-transliteration":{name:"translitterointi",source:"rules/fi/fi-transliteration.js"},"lud-transliteration":{name:"lud",source:"rules/lud/lud-transliteration.js"},"hi-transliteration":{name:"लिप्यंतरण",source:"rules/hi/hi-transliteration.js"},"hi-inscript":{name:"इनस्क्रिप्ट",source:"rules/hi/hi-inscript.js"},"hi-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/hi/hi-inscript2.js"},"hi-phonetic":{name:"फोनेटिक",source:"rules/hi/hi-phonetic.js"},"is-normforms":{name:"Venjuleg eyðublöð",source:"rules/is/is-normforms.js"},"jv-transliteration":{name:"Transliteration",source:"rules/jv/jv-transliteration.js"},"mai-inscript":{name:"इनस्क्रिप्ट",source:"rules/mai/mai-inscript.js",depends:"hi-inscript"},"mai-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/mai/mai-inscript2.js",depends:"hi-inscript2"},"hi-bolnagri":{name:"बोलनागरी",source:"rules/hi/hi-bolnagri.js"},"ml-transliteration":{name:"ലിപ്യന്തരണം",source:"rules/ml/ml-transliteration.js"},"ml-inscript":{name:"ഇൻസ്ക്രിപ്റ്റ്",source:"rules/ml/ml-inscript.js"},"ml-inscript2":{name:"ഇൻസ്ക്രിപ്റ്റ് 2",source:"rules/ml/ml-inscript2.js"},"sv-normforms":{name:"Normal forms",source:"rules/sv/sv-normforms.js"},"ta-inscript":{name:"இன்ஸ்கிரிப்ட்",source:"rules/ta/ta-inscript.js"},"ta-inscript2":{name:"இன்ஸ்கிரிப்ட் 2",source:"rules/ta/ta-inscript2.js"},"ta-transliteration":{name:"எழுத்துப்பெயர்ப்பு",source:"rules/ta/ta-transliteration.js"},"ta-99":{name:"தமிழ்99",source:"rules/ta/ta-99.js"},"ta-bamini":{name:"பாமினி",source:"rules/ta/ta-bamini.js"},"th-kedmanee":{name:"เกษมณี",source:"rules/th/th-kedmanee.js"},"th-pattachote":{name:"ปัตตะโชติ",source:"rules/th/th-pattachote.js"},"de-transliteration":{name:"Deutsch Tilde",source:"rules/de/de-transliteration.js"},"el-kbd":{name:"Τυπική πληκτρολόγιο",source:"rules/el/el-kbd.js"},"he-standard-2012":{name:"עברית עם ניקוד על בסיס אנגלית",source:"rules/he/he-standard-2012.js"},"he-standard-2012-extonly":{name:"עברית עם ניקוד",source:"rules/he/he-standard-2012-extonly.js"},"hr-kbd":{name:"Croatian kbd",source:"rules/hr/hr-kbd.js"},"hy-ephonetic":{name:"Հնչյունային դասավորություն",source:"rules/hy/hy-ephonetic.js"},"hy-typewriter":{name:"Գրամեքենայի դասավորություն",source:"rules/hy/hy-typewriter.js"},"hy-ephoneticalt":{name:"Հնչյունային նոր (R→Ր, F→Թ)",source:"rules/hy/hy-ephoneticalt.js"},"hy-emslegacy":{name:"Մայքրոսոֆթի հին արևելահայերեն",source:"rules/hy/hy-emslegacy.js"},"hy-wmslegacy":{name:"Մայքրոսոֆթի հին արևմտահայերեն",source:"rules/hy/hy-wmslegacy.js"},"gu-inscript":{name:"ઇનસ્ક્રિપ્ટ",source:"rules/gu/gu-inscript.js"},"gu-inscript2":{name:"ઇનસ્ક્રિપ્ટ ૨",source:"rules/gu/gu-inscript2.js"},"gu-phonetic":{name:"ફોનૅટિક",source:"rules/gu/gu-phonetic.js"},"gu-transliteration":{name:"લિપ્યાંતરણ",source:"rules/gu/gu-transliteration.js"},"ka-transliteration":{name:"ტრანსლიტერაცია",source:"rules/ka/ka-transliteration.js"},"ka-kbd":{name:"სტანდარტული კლავიატურის",source:"rules/ka/ka-kbd.js"},"kk-arabic":{name:"Kazakh Arabic transliteration",source:"rules/kk/kk-arabic.js"},"kk-kbd":{name:"Кирил",source:"rules/kk/kk-kbd.js"},"kn-inscript":{name:"ಇನ್ಸ್ಕ್ರಿಪ್ಟ್",source:"rules/kn/kn-inscript.js"},"kn-inscript2":{name:"ಇನ್‌ಸ್ಕ್ರಿಪ್ಟ್ ೨",source:"rules/kn/kn-inscript2.js"},"kn-transliteration":{name:"ಲಿಪ್ಯಂತರಣ",source:"rules/kn/kn-transliteration.js"},"kn-kgp":{name:"KGP/Nudi/KP Rao",source:"rules/kn/kn-kgp.js"},"ky-cyrl-alt":{name:"Кыргыз Alt",source:"rules/ky/ky-cyrl-alt.js"},"gom-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/gom/gom-inscript2.js"},"ks-inscript":{name:"इनस्क्रिप्ट",source:"rules/ks/ks-inscript.js"},"ks-kbd":{name:"Kashmiri Arabic",source:"rules/ks/ks-kbd.js"},"ku-h":{name:"Kurdî-h",source:"rules/ku/ku-h.js"},"ku-tr":{name:"Kurdî-tr",source:"rules/ku/ku-tr.js"},"lo-kbd":{name:"າຶກ",source:"rules/lo/lo-kbd.js"},mh:{name:"Kajin M̧ajeļ",source:"rules/mh/mh.js"},"mn-cyrl":{name:"Кирилл",source:"rules/mn/mn-cyrl.js"},"mni-inscript2":{name:"ইনস্ক্ৰিপ্ট ২",source:"rules/mni/mni-inscript2.js"},"mr-inscript":{name:"मराठी लिपी",source:"rules/mr/mr-inscript.js"},"mr-inscript2":{name:"मराठी इनस्क्रिप्ट २",source:"rules/mr/mr-inscript2.js"},"mr-transliteration":{name:"अक्षरांतरण",source:"rules/mr/mr-transliteration.js"},"mr-phonetic":{name:"फोनेटिक",source:"rules/mr/mr-phonetic.js"},"my-xkb":{name:"မြန်မာဘာသာ xkb",source:"rules/my/my-xkb.js"},"ne-inscript":{name:"इनस्क्रिप्ट",source:"rules/ne/ne-inscript.js"},"ne-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/ne/ne-inscript2.js"},"ne-transliteration":{name:"ट्रांस्लितेरेशन",source:"rules/ne/ne-transliteration.js"},"ne-rom":{name:"Romanized",source:"rules/ne/ne-rom.js"},"ne-trad":{name:"Traditional",source:"rules/ne/ne-trad.js"},"nb-normforms":{name:"Normal transliterasjon",source:"rules/nb/nb-normforms.js"},"nb-tildeforms":{name:"Tildemerket transliterasjon",source:"rules/nb/nb-tildeforms.js"},"nn-tildeforms":{name:"Tildemerkt transliterasjon",source:"rules/nb/nb-tildeforms.js"},"or-transliteration":{name:"ଟ୍ରାନ୍ସଲିଟରେସନ",source:"rules/or/or-transliteration.js"},"or-inscript":{name:"ଇନସ୍କ୍ରିପ୍ଟ",source:"rules/or/or-inscript.js"},"or-inscript2":{name:"ଇନସ୍କ୍ରିପ୍ଟ2",source:"rules/or/or-inscript2.js"},"or-lekhani":{name:"ଲେଖନୀ",source:"rules/or/or-lekhani.js"},"or-phonetic":{name:"ଫୋନେଟିକ",source:"rules/or/or-phonetic.js"},"sd-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/sd/sd-inscript2.js"},"se-normforms":{name:"Normal forms",source:"rules/se/se-normforms.js"},"sk-kbd":{name:"Štandardná",source:"rules/sk/sk-kbd.js"},"sr-kbd":{name:"Стандардна",source:"rules/sr/sr-kbd.js"},"te-inscript":{name:"ఇన్‍స్క్రిప్ట్",source:"rules/te/te-inscript.js"},"te-inscript2":{name:"ఇన్‍స్క్రిప్ట్ 2",source:"rules/te/te-inscript2.js"},"te-transliteration":{name:"లిప్యంతరీకరణ",source:"rules/te/te-transliteration.js"},"pa-inscript":{name:"ਇਨਸ੍ਕ੍ਰਿਪ੍ਟ",source:"rules/pa/pa-inscript.js"},"pa-inscript2":{name:"ਇਨਸ੍ਕ੍ਰਿਪ੍ਟ2",source:"rules/pa/pa-inscript2.js"},"pa-jhelum":{name:"ਜੇਹਲਮ",source:"rules/pa/pa-jhelum.js"},"pa-transliteration":{name:"ਤ੍ਰਾਨ੍ਸ੍ਲਿਤੇਰਾਤਿਓਂ",source:"rules/pa/pa-transliteration.js"},"pa-phonetic":{name:"ਫੋਨੇਟਿਕ",source:"rules/pa/pa-phonetic.js"},"ru-jcuken":{name:"ЙЦУКЕН",source:"rules/ru/ru-jcuken.js"},"ru-kbd":{name:"кбд",source:"rules/ru/ru-kbd.js"},"ru-phonetic":{name:"фонетический",source:"rules/ru/ru-phonetic.js"},"ru-yawerty":{name:"yawerty",source:"rules/ru/ru-yawerty.js"},"sa-iast":{name:"Romanized",source:"rules/sa/sa-iast.js"},"sa-inscript":{name:"इनस्क्रिप्ट",source:"rules/sa/sa-inscript.js"},"sa-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/sa/sa-inscript2.js"},"sa-transliteration":{name:"ट्रन्स्लितेरतिओन्",source:"rules/sa/sa-transliteration.js"},"sah-transliteration":{name:"Transliteration",source:"rules/sah/sah-transliteration.js"},"sat-inscript2":{name:"इनस्क्रिप्ट २",source:"rules/sat/sat-inscript2.js"},"si-singlish":{name:"සිංග්ලිෂ්",source:"rules/si/si-singlish.js"},"si-wijesekara":{name:"විජේසේකර",source:"rules/si/si-wijesekara.js"},"ur-phonetic":{name:"صوتی",source:"rules/ur/ur-phonetic.js"},"ur-transliteration":{name:"ٹرانسلٹریشن",source:"rules/ur/ur-transliteration.js"},"ipa-sil":{name:"International Phonetic Alphabet - SIL",source:"rules/fonipa/ipa-sil.js"},"ipa-x-sampa":{name:"International Phonetic Alphabet - X-SAMPA",source:"rules/fonipa/ipa-x-sampa.js"},"udm-alt":{name:"Удмурт ALT",source:"rules/udm/udm-alt.js"},"uk-kbd":{name:"кбд",source:"rules/uk/uk-kbd.js"},"ug-kbd":{name:"Uyghur kbd",source:"rules/ug/ug-kbd.js"},"uz-kbd":{name:"Uzbek kbd",source:"rules/uz/uz-kbd.js"},"vec-GVU":{name:"Venetian",source:"rules/vec/vec-GVU.js"}}),e.extend(e.ime.languages,{ady:{autonym:"адыгэбзэ",inputmethods:["cyrl-palochka"]},ahr:{autonym:"अहिराणी",inputmethods:["mr-transliteration","mr-inscript"]},am:{autonym:"አማርኛ",inputmethods:["am-transliteration"]},ar:{autonym:"العربية",inputmethods:["ar-kbd"]},as:{autonym:"অসমীয়া",inputmethods:["as-transliteration","as-avro","as-bornona","as-inscript","as-phonetic","as-inscript2"]},av:{autonym:"авар",inputmethods:["cyrl-palochka"]},bbc:{autonym:"Batak",inputmethods:["batak-qwerty"]},be:{autonym:"беларуская",inputmethods:["be-transliteration","be-latin","be-kbd"]},"be-tarask":{autonym:"беларуская (тарашкевіца)",inputmethods:["be-transliteration","be-latin"]},bh:{autonym:"भोजपुरी",inputmethods:["hi-transliteration"]},bho:{autonym:"भोजपुरी",inputmethods:["hi-transliteration"]},bn:{autonym:"বাংলা",inputmethods:["bn-avro","bn-inscript","bn-nkb","bn-probhat","bn-inscript2"]},bo:{autonym:"བོད་ཡིག།",inputmethods:["bo-ewts"]},brx:{autonym:"बोड़ो",inputmethods:["brx-inscript","brx-inscript2"]},ckb:{autonym:"کوردی",inputmethods:["ckb-transliteration-arkbd","ckb-transliteration-fakbd","ckb-transliteration-lakbd"]},ce:{autonym:"нохчийн",inputmethods:["cyrl-palochka"]},cv:{autonym:"Чăвашла",inputmethods:["cv-cyr-altgr","cv-lat-altgr","cv-cyr-numbers"]},da:{autonym:"Dansk",inputmethods:["da-normforms"]},de:{autonym:"Deutsch",inputmethods:["de-transliteration"]},diq:{autonym:"Kirdkî",inputmethods:["ku-h","ku-tr"]},doi:{autonym:"डोगरी",inputmethods:["doi-inscript2"]},en:{autonym:"English",inputmethods:["ipa-sil","ipa-x-sampa"]},el:{autonym:"Ελληνικά",inputmethods:["el-kbd"]},eo:{autonym:"Esperanto",inputmethods:["eo-transliteration","eo-h","eo-h-f","eo-plena","eo-q","eo-vi","eo-x"]},fa:{autonym:"فارسی",inputmethods:["fa-kbd"]},fo:{autonym:"Føroyskt",inputmethods:["fo-normforms"]},fi:{autonym:"Suomi",inputmethods:["fi-transliteration"]},lud:{autonym:"lüüdi",inputmethods:["lud-transliteration"]},gom:{autonym:"कोंकणी",inputmethods:["hi-transliteration","hi-inscript","gom-inscript2"]},gu:{autonym:"ગુજરાતી",inputmethods:["gu-transliteration","gu-inscript","gu-inscript2","gu-phonetic"]},he:{autonym:"עברית",inputmethods:["he-standard-2012-extonly","he-standard-2012"]},hi:{autonym:"हिन्दी",inputmethods:["hi-transliteration","hi-inscript","hi-bolnagri","hi-phonetic","hi-inscript2"]},hr:{autonym:"Hrvatski",inputmethods:["hr-kbd"]},hy:{autonym:"հայերեն",inputmethods:["hy-ephonetic","hy-typewriter","hy-ephoneticalt","hy-emslegacy","hy-wmslegacy"]},hne:{autonym:"छत्तीसगढ़ी",inputmethods:["hi-transliteration"]},is:{autonym:"Íslenska",inputmethods:["is-normforms"]},fonipa:{autonym:"International Phonetic Alphabet",inputmethods:["ipa-sil","ipa-x-sampa"]},jv:{autonym:"ꦧꦱꦗꦮ",inputmethods:["jv-transliteration"]},ka:{autonym:"ქართული ენა",inputmethods:["ka-transliteration","ka-kbd"]},kbd:{autonym:"адыгэбзэ (къэбэрдеибзэ)",inputmethods:["cyrl-palochka"]},kk:{autonym:"Қазақша",inputmethods:["kk-kbd","kk-arabic"]},kn:{autonym:"ಕನ್ನಡ",inputmethods:["kn-transliteration","kn-inscript","kn-kgp","kn-inscript2"]},ks:{autonym:"कॉशुर / کٲشُر",inputmethods:["ks-inscript","ks-kbd"]},ky:{autonym:"Кыргыз",inputmethods:["ky-cyrl-alt"]},kab:{autonym:"ⵜⴰⵇⴱⴰⵢⵍⵉⵜ",inputmethods:["ber-tfng"]},ku:{autonym:"Kurdî",inputmethods:["ku-h","ku-tr"]},lbe:{autonym:"лакку",inputmethods:["cyrl-palochka"]},lez:{autonym:"лезги",inputmethods:["cyrl-palochka"]},lo:{autonym:"ລາວ",inputmethods:["lo-kbd"]},mai:{autonym:"मैथिली",inputmethods:["mai-inscript","mai-inscript2"]},mh:{autonym:"Kajin M̧ajeļ",inputmethods:["mh"]},ml:{autonym:"മലയാളം",inputmethods:["ml-transliteration","ml-inscript","ml-inscript2"]},mn:{autonym:"Монгол",inputmethods:["mn-cyrl"]},mni:{autonym:"Manipuri",inputmethods:["mni-inscript2"]},mr:{autonym:"मराठी",inputmethods:["mr-transliteration","mr-inscript2","mr-inscript","mr-phonetic"]},my:{autonym:"မြန်မာ",inputmethods:["my-xkb"]},ne:{autonym:"नेपाली",inputmethods:["ne-transliteration","ne-inscript2","ne-inscript","ne-rom","ne-trad"]},"new":{autonym:"नेपाल भाषा",inputmethods:["hi-transliteration","hi-inscript"]},nb:{autonym:"Norsk (bokmål)",inputmethods:["nb-normforms","nb-tildeforms"]},nn:{autonym:"Norsk (nynorsk)",inputmethods:["nb-normforms","nn-tildeforms"]},or:{autonym:"ଓଡ଼ିଆ",inputmethods:["or-phonetic","or-transliteration","or-inscript","or-inscript2","or-lekhani"]},pa:{autonym:"ਪੰਜਾਬੀ",inputmethods:["pa-transliteration","pa-inscript","pa-phonetic","pa-inscript2","pa-jhelum"]},rif:{autonym:"ⵜⴰⵔⵉⴼⵉⵜ",inputmethods:["ber-tfng"]},ru:{autonym:"русский",inputmethods:["ru-jcuken","ru-kbd","ru-phonetic","ru-yawerty"]},sah:{autonym:"саха тыла",inputmethods:["sah-transliteration"]},sa:{autonym:"संस्कृत",inputmethods:["sa-transliteration","sa-inscript2","sa-inscript","sa-iast"]},sat:{autonym:"संताली",inputmethods:["sat-inscript2"]},sd:{autonym:"सिंधी",inputmethods:["sd-inscript2"]},se:{autonym:"Davvisámegiella",inputmethods:["se-normforms"]},shi:{autonym:"ⵜⴰⵛⵍⵃⵉⵜ",inputmethods:["ber-tfng"]},si:{autonym:"සිංහල",inputmethods:["si-singlish","si-wijesekara"]},sk:{autonym:"Slovenčina",inputmethods:["sk-kbd"]},sr:{autonym:"Српски / srpski",inputmethods:["sr-kbd"]},sv:{autonym:"Svenska",inputmethods:["sv-normforms"]},ta:{autonym:"தமிழ்",inputmethods:["ta-transliteration","ta-99","ta-inscript","ta-bamini","ta-inscript2"]},tcy:{autonym:"ತುಳು",inputmethods:["kn-transliteration"]},te:{autonym:"తెలుగు",inputmethods:["te-transliteration","te-inscript","te-inscript2"]},th:{autonym:"ไทย",inputmethods:["th-kedmanee","th-pattachote"]},tkr:{autonym:"цӀаӀхна миз",inputmethods:["cyrl-palochka"]},tzm:{autonym:"ⵜⴰⵎⴰⵣⵉⵖⵜ",inputmethods:["ber-tfng"]},udm:{autonym:"удмурт",inputmethods:["udm-alt"]},uk:{autonym:"Українська",inputmethods:["uk-kbd"]},ug:{autonym:"ئۇيغۇرچە / Uyghurche",inputmethods:["ug-kbd"]},ur:{autonym:"اردو",inputmethods:["ur-transliteration","ur-phonetic"]},uz:{autonym:"Oʻzbekcha",inputmethods:["uz-kbd"]},vec:{autonym:"Venetian",inputmethods:["vec-GVU"]}})
5
}(jQuery),function(e){function t(e,t){var n=typeof e[t];return n==C||!(n!=R||!e[t])||"unknown"==n}function n(e,t){return!(typeof e[t]!=R||!e[t])}function i(e,t){return typeof e[t]!=b}function r(e){return function(t,n){for(var i=n.length;i--;)if(!e(t,n[i]))return!1;return!0}}function s(e){return e&&S(e,w)&&O(e,E)}function o(e){return n(e,"body")?e.body:e.getElementsByTagName("body")[0]}function a(e){n(window,"console")&&t(window.console,"log")&&window.console.log(e)}function u(e,t){t?window.alert(e):a(e)}function c(e){x.initialized=!0,x.supported=!1,u("Rangy is not supported on this page in your browser. Reason: "+e,x.config.alertOnFail)}function l(e){u("Rangy warning: "+e,x.config.alertOnWarn)}function d(e){return e.message||e.description||e+""}function h(){if(!x.initialized){var e,n=!1,i=!1;t(document,"createRange")&&(e=document.createRange(),S(e,k)&&O(e,N)&&(n=!0),e.detach());var r=o(document);if(!r||"body"!=r.nodeName.toLowerCase())return c("No body element found"),void 0;if(r&&t(r,"createTextRange")&&(e=r.createTextRange(),s(e)&&(i=!0)),!n&&!i)return c("Neither Range nor TextRange are available"),void 0;x.initialized=!0,x.features={implementsDomRange:n,implementsTextRange:i};var u,l;for(var h in j)(u=j[h])instanceof f&&u.init(u,x);for(var m=0,p=D.length;p>m;++m)try{D[m](x)}catch(g){l="Rangy init listener threw an exception. Continuing. Detail: "+d(g),a(l)}}}function m(e){e=e||window,h();for(var t=0,n=A.length;n>t;++t)A[t](e)}function f(e,t,n){this.name=e,this.dependencies=t,this.initialized=!1,this.supported=!1,this.initializer=n}function p(e,t,n,i){var r=new f(t,n,function(e){if(!e.initialized){e.initialized=!0;try{i(x,e),e.supported=!0}catch(n){var r="Module '"+t+"' failed to load: "+d(n);a(r)}}});j[t]=r}function g(){}function v(){}var y="function"==typeof e.define&&e.define.amd,R="object",C="function",b="undefined",N=["startContainer","startOffset","endContainer","endOffset","collapsed","commonAncestorContainer"],k=["setStart","setStartBefore","setStartAfter","setEnd","setEndBefore","setEndAfter","collapse","selectNode","selectNodeContents","compareBoundaryPoints","deleteContents","extractContents","cloneContents","insertNode","surroundContents","cloneRange","toString","detach"],E=["boundingHeight","boundingLeft","boundingTop","boundingWidth","htmlText","text"],w=["collapse","compareEndPoints","duplicate","moveToElementText","parentElement","select","setEndPoint","getBoundingClientRect"],S=r(t),T=r(n),O=r(i),j={},x={version:"1.3alpha.804",initialized:!1,supported:!0,util:{isHostMethod:t,isHostObject:n,isHostProperty:i,areHostMethods:S,areHostObjects:T,areHostProperties:O,isTextRange:s,getBody:o},features:{},modules:j,config:{alertOnFail:!0,alertOnWarn:!1,preferTextRange:!1}};x.fail=c,x.warn=l,{}.hasOwnProperty?x.util.extend=function(e,t,n){var i,r;for(var s in t)t.hasOwnProperty(s)&&(i=e[s],r=t[s],n&&null!==i&&"object"==typeof i&&null!==r&&"object"==typeof r&&x.util.extend(i,r,!0),e[s]=r);return e}:c("hasOwnProperty not supported"),function(){var e=document.createElement("div");e.appendChild(document.createElement("span"));var t,n=[].slice;try{1==n.call(e.childNodes,0)[0].nodeType&&(t=function(e){return n.call(e,0)})}catch(i){}t||(t=function(e){for(var t=[],n=0,i=e.length;i>n;++n)t[n]=e[n];return t}),x.util.toArray=t}();var _;t(document,"addEventListener")?_=function(e,t,n){e.addEventListener(t,n,!1)}:t(document,"attachEvent")?_=function(e,t,n){e.attachEvent("on"+t,n)}:c("Document does not have required addEventListener or attachEvent method"),x.util.addListener=_;var D=[];x.init=h,x.addInitListener=function(e){x.initialized?e(x):D.push(e)};var A=[];x.addCreateMissingNativeApiListener=function(e){A.push(e)},x.createMissingNativeApi=m,f.prototype={init:function(){for(var e,t,n=this.dependencies||[],i=0,r=n.length;r>i;++i){if(t=n[i],e=j[t],!(e&&e instanceof f))throw Error("required module '"+t+"' not found");if(e.init(),!e.supported)throw Error("required module '"+t+"' not supported")}this.initializer(this)},fail:function(e){throw this.initialized=!0,this.supported=!1,Error("Module '"+this.name+"' failed to load: "+e)},warn:function(e){x.warn("Module "+this.name+": "+e)},deprecationNotice:function(e,t){x.warn("DEPRECATED: "+e+" in module "+this.name+"is deprecated. Please use "+t+" instead")},createError:function(e){return Error("Error in Rangy "+this.name+" module: "+e)}},x.createModule=function(e){var t,n;2==arguments.length?(t=arguments[1],n=[]):(t=arguments[2],n=arguments[1]),p(!1,e,n,t)},x.createCoreModule=function(e,t,n){p(!0,e,t,n)},x.RangePrototype=g,x.rangePrototype=new g,x.selectionPrototype=new v;var I=!1,M=function(){I||(I=!0,x.initialized||h())};return typeof window==b?(c("No window found"),void 0):typeof document==b?(c("No document found"),void 0):(t(document,"addEventListener")&&document.addEventListener("DOMContentLoaded",M,!1),_(window,"load",M),y&&e.define(function(){return x.amd=!0,x}),e.rangy=x,void 0)}(this),rangy.createCoreModule("DomUtil",[],function(e,t){function n(e){var t;return typeof e.namespaceURI==j||null===(t=e.namespaceURI)||"http://www.w3.org/1999/xhtml"==t}function i(e){var t=e.parentNode;return 1==t.nodeType?t:null}function r(e){for(var t=0;e=e.previousSibling;)++t;return t}function s(e){switch(e.nodeType){case 7:case 10:return 0;case 3:case 8:return e.length;default:return e.childNodes.length}}function o(e,t){var n,i=[];for(n=e;n;n=n.parentNode)i.push(n);for(n=t;n;n=n.parentNode)if(A(i,n))return n;return null}function a(e,t,n){for(var i=n?t:t.parentNode;i;){if(i===e)return!0;i=i.parentNode}return!1}function u(e,t){return a(e,t,!0)}function c(e,t,n){for(var i,r=n?e:e.parentNode;r;){if(i=r.parentNode,i===t)return r;r=i}return null}function l(e){var t=e.nodeType;return 3==t||4==t||8==t}function d(e){if(!e)return!1;var t=e.nodeType;return 3==t||8==t}function h(e,t){var n=t.nextSibling,i=t.parentNode;return n?i.insertBefore(e,n):i.appendChild(e),e}function m(e,t,n){var i=e.cloneNode(!1);if(i.deleteData(0,t),e.deleteData(t,e.length-t),h(i,e),n)for(var s,o=0;s=n[o++];)s.node==e&&s.offset>t?(s.node=i,s.offset-=t):s.node==e.parentNode&&s.offset>r(e)&&++s.offset;return i}function f(e){if(9==e.nodeType)return e;if(typeof e.ownerDocument!=j)return e.ownerDocument;if(typeof e.document!=j)return e.document;if(e.parentNode)return f(e.parentNode);throw t.createError("getDocument: no document found for node")}function p(e){var n=f(e);if(typeof n.defaultView!=j)return n.defaultView;if(typeof n.parentWindow!=j)return n.parentWindow;throw t.createError("Cannot get a window object for node")}function g(e){if(typeof e.contentDocument!=j)return e.contentDocument;if(typeof e.contentWindow!=j)return e.contentWindow.document;throw t.createError("getIframeDocument: No Document object found for iframe element")}function v(e){if(typeof e.contentWindow!=j)return e.contentWindow;if(typeof e.contentDocument!=j)return e.contentDocument.defaultView;throw t.createError("getIframeWindow: No Window object found for iframe element")}function y(e){return e&&x.isHostMethod(e,"setTimeout")&&x.isHostObject(e,"document")}function R(e,t,n){var i;if(e?x.isHostProperty(e,"nodeType")?i=1==e.nodeType&&"iframe"==e.tagName.toLowerCase()?g(e):f(e):y(e)&&(i=e.document):i=document,!i)throw t.createError(n+"(): Parameter must be a Window object or DOM node");return i}function C(e){for(var t;t=e.parentNode;)e=t;return e}function b(e,n,i,s){var a,u,l,d,h;if(e==i)return n===s?0:s>n?-1:1;if(a=c(i,e,!0))return r(a)>=n?-1:1;if(a=c(e,i,!0))return s>r(a)?-1:1;if(u=o(e,i),!u)throw Error("comparePoints error: nodes have no common ancestor");if(l=e===u?u:c(e,u,!0),d=i===u?u:c(i,u,!0),l===d)throw t.createError("comparePoints got to case 4 and childA and childB are the same!");for(h=u.firstChild;h;){if(h===l)return-1;if(h===d)return 1;h=h.nextSibling}}function N(e){try{return e.parentNode,!1}catch(t){return!0}}function k(e){if(!e)return"[No node]";if(I&&N(e))return"[Broken node]";if(l(e))return'"'+e.data+'"';if(1==e.nodeType){var t=e.id?' id="'+e.id+'"':"";return"<"+e.nodeName+t+">["+r(e)+"]["+e.childNodes.length+"]["+(e.innerHTML||"[innerHTML not supported]").slice(0,25)+"]"}return e.nodeName}function E(e){for(var t,n=f(e).createDocumentFragment();t=e.firstChild;)n.appendChild(t);return n}function w(e){this.root=e,this._next=e}function S(e){return new w(e)}function T(e,t){this.node=e,this.offset=t}function O(e){this.code=this[e],this.codeName=e,this.message="DOMException: "+this.codeName}var j="undefined",x=e.util;x.areHostMethods(document,["createDocumentFragment","createElement","createTextNode"])||t.fail("document missing a Node creation method"),x.isHostMethod(document,"getElementsByTagName")||t.fail("document missing getElementsByTagName method");var _=document.createElement("div");x.areHostMethods(_,["insertBefore","appendChild","cloneNode"]||!x.areHostObjects(_,["previousSibling","nextSibling","childNodes","parentNode"]))||t.fail("Incomplete Element implementation"),x.isHostProperty(_,"innerHTML")||t.fail("Element is missing innerHTML property");var D=document.createTextNode("test");x.areHostMethods(D,["splitText","deleteData","insertData","appendData","cloneNode"]||!x.areHostObjects(_,["previousSibling","nextSibling","childNodes","parentNode"])||!x.areHostProperties(D,["data"]))||t.fail("Incomplete Text Node implementation");var A=function(e,t){for(var n=e.length;n--;)if(e[n]===t)return!0;return!1},I=!1;(function(){var t=document.createElement("b");t.innerHTML="1";var n=t.firstChild;t.innerHTML="<br>",I=N(n),e.features.crashyTextNodes=I})();var M;typeof window.getComputedStyle!=j?M=function(e,t){return p(e).getComputedStyle(e,null)[t]}:typeof document.documentElement.currentStyle!=j?M=function(e,t){return e.currentStyle[t]}:t.fail("No means of obtaining computed style properties found"),w.prototype={_current:null,hasNext:function(){return!!this._next},next:function(){var e,t,n=this._current=this._next;if(this._current)if(e=n.firstChild)this._next=e;else{for(t=null;n!==this.root&&!(t=n.nextSibling);)n=n.parentNode;this._next=t}return this._current},detach:function(){this._current=this._next=this.root=null}},T.prototype={equals:function(e){return!!e&&this.node===e.node&&this.offset==e.offset},inspect:function(){return"[DomPosition("+k(this.node)+":"+this.offset+")]"},toString:function(){return this.inspect()}},O.prototype={INDEX_SIZE_ERR:1,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INVALID_STATE_ERR:11},O.prototype.toString=function(){return this.message},e.dom={arrayContains:A,isHtmlNamespace:n,parentElement:i,getNodeIndex:r,getNodeLength:s,getCommonAncestor:o,isAncestorOf:a,isOrIsAncestorOf:u,getClosestAncestorIn:c,isCharacterDataNode:l,isTextOrCommentNode:d,insertAfter:h,splitDataNode:m,getDocument:f,getWindow:p,getIframeWindow:v,getIframeDocument:g,getBody:x.getBody,isWindow:y,getContentDocument:R,getRootContainer:C,comparePoints:b,isBrokenNode:N,inspectNode:k,getComputedStyleProperty:M,fragmentFromNodeChildren:E,createIterator:S,DomPosition:T},e.DOMException=O}),rangy.createCoreModule("DomRange",["DomUtil"],function(e){function t(e,t){return 3!=e.nodeType&&(F(e,t.startContainer)||F(e,t.endContainer))}function n(e){return e.document||z(e.startContainer)}function i(e){return new L(e.parentNode,W(e))}function r(e){return new L(e.parentNode,W(e)+1)}function s(e,t,n){var i=11==e.nodeType?e.firstChild:e;return B(t)?n==t.length?P.insertAfter(e,t):t.parentNode.insertBefore(e,0==n?t:q(t,n)):n>=t.childNodes.length?t.appendChild(e):t.insertBefore(e,t.childNodes[n]),i}function o(e,t,i){if(S(e),S(t),n(t)!=n(e))throw new H("WRONG_DOCUMENT_ERR");var r=U(e.startContainer,e.startOffset,t.endContainer,t.endOffset),s=U(e.endContainer,e.endOffset,t.startContainer,t.startOffset);return i?0>=r&&s>=0:0>r&&s>0}function a(e){for(var t,i,r,s=n(e.range).createDocumentFragment();i=e.next();){if(t=e.isPartiallySelectedSubtree(),i=i.cloneNode(!t),t&&(r=e.getSubtreeIterator(),i.appendChild(a(r)),r.detach(!0)),10==i.nodeType)throw new H("HIERARCHY_REQUEST_ERR");s.appendChild(i)}return s}function u(e,t,n){var i,r;n=n||{stop:!1};for(var s,o;s=e.next();)if(e.isPartiallySelectedSubtree()){if(t(s)===!1)return n.stop=!0,void 0;if(o=e.getSubtreeIterator(),u(o,t,n),o.detach(!0),n.stop)return}else for(i=P.createIterator(s);r=i.next();)if(t(r)===!1)return n.stop=!0,void 0}function c(e){for(var t;e.next();)e.isPartiallySelectedSubtree()?(t=e.getSubtreeIterator(),c(t),t.detach(!0)):e.remove()}function l(e){for(var t,i,r=n(e.range).createDocumentFragment();t=e.next();){if(e.isPartiallySelectedSubtree()?(t=t.cloneNode(!1),i=e.getSubtreeIterator(),t.appendChild(l(i)),i.detach(!0)):e.remove(),10==t.nodeType)throw new H("HIERARCHY_REQUEST_ERR");r.appendChild(t)}return r}function d(e,t,n){var i,r=!(!t||!t.length),s=!!n;r&&(i=RegExp("^("+t.join("|")+")$"));var o=[];return u(new m(e,!1),function(t){if(!(r&&!i.test(t.nodeType)||s&&!n(t))){var a=e.startContainer;if(t!=a||!B(a)||e.startOffset!=a.length){var u=e.endContainer;t==u&&B(u)&&0==e.endOffset||o.push(t)}}}),o}function h(e){var t=e.getName===void 0?"Range":e.getName();return"["+t+"("+P.inspectNode(e.startContainer)+":"+e.startOffset+", "+P.inspectNode(e.endContainer)+":"+e.endOffset+")]"}function m(e,t){if(this.range=e,this.clonePartiallySelectedTextNodes=t,!e.collapsed){this.sc=e.startContainer,this.so=e.startOffset,this.ec=e.endContainer,this.eo=e.endOffset;var n=e.commonAncestorContainer;this.sc===this.ec&&B(this.sc)?(this.isSingleCharacterDataNode=!0,this._first=this._last=this._next=this.sc):(this._first=this._next=this.sc!==n||B(this.sc)?V(this.sc,n,!0):this.sc.childNodes[this.so],this._last=this.ec!==n||B(this.ec)?V(this.ec,n,!0):this.ec.childNodes[this.eo-1])}}function f(e){this.code=this[e],this.codeName=e,this.message="RangeException: "+this.codeName}function p(e){return function(t,n){for(var i,r=n?t:t.parentNode;r;){if(i=r.nodeType,G(e,i))return r;r=r.parentNode}return null}}function g(e,t){if(rt(e,t))throw new f("INVALID_NODE_TYPE_ERR")}function v(e){if(!e.startContainer)throw new H("INVALID_STATE_ERR")}function y(e,t){if(!G(t,e.nodeType))throw new f("INVALID_NODE_TYPE_ERR")}function R(e,t){if(0>t||t>(B(e)?e.length:e.childNodes.length))throw new H("INDEX_SIZE_ERR")}function C(e,t){if(nt(e,!0)!==nt(t,!0))throw new H("WRONG_DOCUMENT_ERR")}function b(e){if(it(e,!0))throw new H("NO_MODIFICATION_ALLOWED_ERR")}function N(e,t){if(!e)throw new H(t)}function k(e){return Q&&P.isBrokenNode(e)||!G(Z,e.nodeType)&&!nt(e,!0)}function E(e,t){return(B(e)?e.length:e.childNodes.length)>=t}function w(e){return!!e.startContainer&&!!e.endContainer&&!k(e.startContainer)&&!k(e.endContainer)&&E(e.startContainer,e.startOffset)&&E(e.endContainer,e.endOffset)}function S(e){if(v(e),!w(e))throw Error("Range error: Range is no longer valid after DOM mutation ("+e.inspect()+")")}function T(e,t){S(e);var n=e.startContainer,i=e.startOffset,r=e.endContainer,s=e.endOffset,o=n===r;B(r)&&s>0&&r.length>s&&q(r,s,t),B(n)&&i>0&&n.length>i&&(n=q(n,i,t),o?(s-=i,r=n):r==n.parentNode&&s>=W(n)&&s++,i=0),e.setStartAndEnd(n,i,r,s)}function O(e){e.START_TO_START=lt,e.START_TO_END=dt,e.END_TO_END=ht,e.END_TO_START=mt,e.NODE_BEFORE=ft,e.NODE_AFTER=pt,e.NODE_BEFORE_AND_AFTER=gt,e.NODE_INSIDE=vt}function j(e){O(e),O(e.prototype)}function x(e,t){return function(){S(this);var n,i,s=this.startContainer,o=this.startOffset,a=this.commonAncestorContainer,c=new m(this,!0);s!==a&&(n=V(s,a,!0),i=r(n),s=i.node,o=i.offset),u(c,b),c.reset();var l=e(c);return c.detach(),t(this,s,o,s,o),l}}function _(n,s,o){function a(e,t){return function(n){v(this),y(n,X),y(Y(n),Z);var s=(e?i:r)(n);(t?u:d)(this,s.node,s.offset)}}function u(e,t,n){var i=e.endContainer,r=e.endOffset;(t!==e.startContainer||n!==e.startOffset)&&((Y(t)!=Y(i)||1==U(t,n,i,r))&&(i=t,r=n),s(e,t,n,i,r))}function d(e,t,n){var i=e.startContainer,r=e.startOffset;(t!==e.endContainer||n!==e.endOffset)&&((Y(t)!=Y(i)||-1==U(t,n,i,r))&&(i=t,r=n),s(e,i,r,t,n))}var h=function(){};h.prototype=e.rangePrototype,n.prototype=new h,$.extend(n.prototype,{setStart:function(e,t){v(this),g(e,!0),R(e,t),u(this,e,t)},setEnd:function(e,t){v(this),g(e,!0),R(e,t),d(this,e,t)},setStartAndEnd:function(){v(this);var e=arguments,t=e[0],n=e[1],i=t,r=n;switch(e.length){case 3:r=e[2];break;case 4:i=e[2],r=e[3]}s(this,t,n,i,r)},setBoundary:function(e,t,n){this["set"+(n?"Start":"End")](e,t)},setStartBefore:a(!0,!0),setStartAfter:a(!1,!0),setEndBefore:a(!0,!1),setEndAfter:a(!1,!1),collapse:function(e){S(this),e?s(this,this.startContainer,this.startOffset,this.startContainer,this.startOffset):s(this,this.endContainer,this.endOffset,this.endContainer,this.endOffset)},selectNodeContents:function(e){v(this),g(e,!0),s(this,e,0,e,K(e))},selectNode:function(e){v(this),g(e,!1),y(e,X);var t=i(e),n=r(e);s(this,t.node,t.offset,n.node,n.offset)},extractContents:x(l,s),deleteContents:x(c,s),canSurroundContents:function(){S(this),b(this.startContainer),b(this.endContainer);var e=new m(this,!0),n=e._first&&t(e._first,this)||e._last&&t(e._last,this);return e.detach(),!n},detach:function(){o(this)},splitBoundaries:function(){T(this)},splitBoundariesPreservingPositions:function(e){T(this,e)},normalizeBoundaries:function(){S(this);var e=this.startContainer,t=this.startOffset,n=this.endContainer,i=this.endOffset,r=function(e){var t=e.nextSibling;t&&t.nodeType==e.nodeType&&(n=e,i=e.length,e.appendData(t.data),t.parentNode.removeChild(t))},o=function(r){var s=r.previousSibling;if(s&&s.nodeType==r.nodeType){e=r;var o=r.length;if(t=s.length,r.insertData(0,s.data),s.parentNode.removeChild(s),e==n)i+=t,n=e;else if(n==r.parentNode){var a=W(r);i==a?(n=r,i=o):i>a&&i--}}},a=!0;if(B(n))n.length==i&&r(n);else{if(i>0){var u=n.childNodes[i-1];u&&B(u)&&r(u)}a=!this.collapsed}if(a){if(B(e))0==t&&o(e);else if(e.childNodes.length>t){var c=e.childNodes[t];c&&B(c)&&o(c)}}else e=n,t=i;s(this,e,t,n,i)},collapseToPoint:function(e,t){v(this),g(e,!0),R(e,t),this.setStartAndEnd(e,t)}}),j(n)}function D(e){e.collapsed=e.startContainer===e.endContainer&&e.startOffset===e.endOffset,e.commonAncestorContainer=e.collapsed?e.startContainer:P.getCommonAncestor(e.startContainer,e.endContainer)}function A(e,t,n,i,r){e.startContainer=t,e.startOffset=n,e.endContainer=i,e.endOffset=r,e.document=P.getDocument(t),D(e)}function I(e){v(e),e.startContainer=e.startOffset=e.endContainer=e.endOffset=e.document=null,e.collapsed=e.commonAncestorContainer=null}function M(e){this.startContainer=e,this.startOffset=0,this.endContainer=e,this.endOffset=0,this.document=e,D(this)}var P=e.dom,$=e.util,L=P.DomPosition,H=e.DOMException,B=P.isCharacterDataNode,W=P.getNodeIndex,F=P.isOrIsAncestorOf,z=P.getDocument,U=P.comparePoints,q=P.splitDataNode,V=P.getClosestAncestorIn,K=P.getNodeLength,G=P.arrayContains,Y=P.getRootContainer,Q=e.features.crashyTextNodes;m.prototype={_current:null,_next:null,_first:null,_last:null,isSingleCharacterDataNode:!1,reset:function(){this._current=null,this._next=this._first},hasNext:function(){return!!this._next},next:function(){var e=this._current=this._next;return e&&(this._next=e!==this._last?e.nextSibling:null,B(e)&&this.clonePartiallySelectedTextNodes&&(e===this.ec&&(e=e.cloneNode(!0)).deleteData(this.eo,e.length-this.eo),this._current===this.sc&&(e=e.cloneNode(!0)).deleteData(0,this.so))),e},remove:function(){var e,t,n=this._current;!B(n)||n!==this.sc&&n!==this.ec?n.parentNode&&n.parentNode.removeChild(n):(e=n===this.sc?this.so:0,t=n===this.ec?this.eo:n.length,e!=t&&n.deleteData(e,t-e))},isPartiallySelectedSubtree:function(){var e=this._current;return t(e,this.range)},getSubtreeIterator:function(){var e;if(this.isSingleCharacterDataNode)e=this.range.cloneRange(),e.collapse(!1);else{e=new M(n(this.range));var t=this._current,i=t,r=0,s=t,o=K(t);F(t,this.sc)&&(i=this.sc,r=this.so),F(t,this.ec)&&(s=this.ec,o=this.eo),A(e,i,r,s,o)}return new m(e,this.clonePartiallySelectedTextNodes)},detach:function(e){e&&this.range.detach(),this.range=this._current=this._next=this._first=this._last=this.sc=this.so=this.ec=this.eo=null}},f.prototype={BAD_BOUNDARYPOINTS_ERR:1,INVALID_NODE_TYPE_ERR:2},f.prototype.toString=function(){return this.message};var X=[1,3,4,5,7,8,10],Z=[2,9,11],J=[5,6,10,12],et=[1,3,4,5,7,8,10,11],tt=[1,3,4,5,7,8],nt=p([9,11]),it=p(J),rt=p([6,10,12]),st=document.createElement("style"),ot=!1;try{st.innerHTML="<b>x</b>",ot=3==st.firstChild.nodeType}catch(at){}e.features.htmlParsingConforms=ot;var ut=ot?function(e){var t=this.startContainer,n=z(t);if(!t)throw new H("INVALID_STATE_ERR");var i=null;return 1==t.nodeType?i=t:B(t)&&(i=P.parentElement(t)),i=null===i||"HTML"==i.nodeName&&P.isHtmlNamespace(z(i).documentElement)&&P.isHtmlNamespace(i)?n.createElement("body"):i.cloneNode(!1),i.innerHTML=e,P.fragmentFromNodeChildren(i)}:function(e){v(this);var t=n(this),i=t.createElement("body");return i.innerHTML=e,P.fragmentFromNodeChildren(i)},ct=["startContainer","startOffset","endContainer","endOffset","collapsed","commonAncestorContainer"],lt=0,dt=1,ht=2,mt=3,ft=0,pt=1,gt=2,vt=3;$.extend(e.rangePrototype,{compareBoundaryPoints:function(e,t){S(this),C(this.startContainer,t.startContainer);var n,i,r,s,o=e==mt||e==lt?"start":"end",a=e==dt||e==lt?"start":"end";return n=this[o+"Container"],i=this[o+"Offset"],r=t[a+"Container"],s=t[a+"Offset"],U(n,i,r,s)},insertNode:function(e){if(S(this),y(e,et),b(this.startContainer),F(e,this.startContainer))throw new H("HIERARCHY_REQUEST_ERR");var t=s(e,this.startContainer,this.startOffset);this.setStartBefore(t)},cloneContents:function(){S(this);var e,t;if(this.collapsed)return n(this).createDocumentFragment();if(this.startContainer===this.endContainer&&B(this.startContainer))return e=this.startContainer.cloneNode(!0),e.data=e.data.slice(this.startOffset,this.endOffset),t=n(this).createDocumentFragment(),t.appendChild(e),t;var i=new m(this,!0);return e=a(i),i.detach(),e},canSurroundContents:function(){S(this),b(this.startContainer),b(this.endContainer);var e=new m(this,!0),n=e._first&&t(e._first,this)||e._last&&t(e._last,this);return e.detach(),!n},surroundContents:function(e){if(y(e,tt),!this.canSurroundContents())throw new f("BAD_BOUNDARYPOINTS_ERR");var t=this.extractContents();if(e.hasChildNodes())for(;e.lastChild;)e.removeChild(e.lastChild);s(e,this.startContainer,this.startOffset),e.appendChild(t),this.selectNode(e)},cloneRange:function(){S(this);for(var e,t=new M(n(this)),i=ct.length;i--;)e=ct[i],t[e]=this[e];return t},toString:function(){S(this);var e=this.startContainer;if(e===this.endContainer&&B(e))return 3==e.nodeType||4==e.nodeType?e.data.slice(this.startOffset,this.endOffset):"";var t=[],n=new m(this,!0);return u(n,function(e){(3==e.nodeType||4==e.nodeType)&&t.push(e.data)}),n.detach(),t.join("")},compareNode:function(e){S(this);var t=e.parentNode,n=W(e);if(!t)throw new H("NOT_FOUND_ERR");var i=this.comparePoint(t,n),r=this.comparePoint(t,n+1);return 0>i?r>0?gt:ft:r>0?pt:vt},comparePoint:function(e,t){return S(this),N(e,"HIERARCHY_REQUEST_ERR"),C(e,this.startContainer),0>U(e,t,this.startContainer,this.startOffset)?-1:U(e,t,this.endContainer,this.endOffset)>0?1:0},createContextualFragment:ut,toHtml:function(){S(this);var e=this.commonAncestorContainer.parentNode.cloneNode(!1);return e.appendChild(this.cloneContents()),e.innerHTML},intersectsNode:function(e,t){if(S(this),N(e,"NOT_FOUND_ERR"),z(e)!==n(this))return!1;var i=e.parentNode,r=W(e);N(i,"NOT_FOUND_ERR");var s=U(i,r,this.endContainer,this.endOffset),o=U(i,r+1,this.startContainer,this.startOffset);return t?0>=s&&o>=0:0>s&&o>0},isPointInRange:function(e,t){return S(this),N(e,"HIERARCHY_REQUEST_ERR"),C(e,this.startContainer),U(e,t,this.startContainer,this.startOffset)>=0&&0>=U(e,t,this.endContainer,this.endOffset)},intersectsRange:function(e){return o(this,e,!1)},intersectsOrTouchesRange:function(e){return o(this,e,!0)},intersection:function(e){if(this.intersectsRange(e)){var t=U(this.startContainer,this.startOffset,e.startContainer,e.startOffset),n=U(this.endContainer,this.endOffset,e.endContainer,e.endOffset),i=this.cloneRange();return-1==t&&i.setStart(e.startContainer,e.startOffset),1==n&&i.setEnd(e.endContainer,e.endOffset),i}return null},union:function(e){if(this.intersectsOrTouchesRange(e)){var t=this.cloneRange();return-1==U(e.startContainer,e.startOffset,this.startContainer,this.startOffset)&&t.setStart(e.startContainer,e.startOffset),1==U(e.endContainer,e.endOffset,this.endContainer,this.endOffset)&&t.setEnd(e.endContainer,e.endOffset),t}throw new f("Ranges do not intersect")},containsNode:function(e,t){return t?this.intersectsNode(e,!1):this.compareNode(e)==vt},containsNodeContents:function(e){return this.comparePoint(e,0)>=0&&0>=this.comparePoint(e,K(e))},containsRange:function(e){var t=this.intersection(e);return null!==t&&e.equals(t)},containsNodeText:function(e){var t=this.cloneRange();t.selectNode(e);var n=t.getNodes([3]);if(n.length>0){t.setStart(n[0],0);var i=n.pop();t.setEnd(i,i.length);var r=this.containsRange(t);return t.detach(),r}return this.containsNodeContents(e)},getNodes:function(e,t){return S(this),d(this,e,t)},getDocument:function(){return n(this)},collapseBefore:function(e){v(this),this.setEndBefore(e),this.collapse(!1)},collapseAfter:function(e){v(this),this.setStartAfter(e),this.collapse(!0)},getBookmark:function(t){var i=n(this),r=e.createRange(i);t=t||P.getBody(i),r.selectNodeContents(t);var s=this.intersection(r),o=0,a=0;return s&&(r.setEnd(s.startContainer,s.startOffset),o=(""+r).length,a=o+(""+s).length,r.detach()),{start:o,end:a,containerNode:t}},moveToBookmark:function(e){var t=e.containerNode,n=0;this.setStart(t,0),this.collapse(!0);for(var i,r,s,o,a=[t],u=!1,c=!1;!c&&(i=a.pop());)if(3==i.nodeType)r=n+i.length,!u&&e.start>=n&&r>=e.start&&(this.setStart(i,e.start-n),u=!0),u&&e.end>=n&&r>=e.end&&(this.setEnd(i,e.end-n),c=!0),n=r;else for(o=i.childNodes,s=o.length;s--;)a.push(o[s])},getName:function(){return"DomRange"},equals:function(e){return M.rangesEqual(this,e)},isValid:function(){return w(this)},inspect:function(){return h(this)}}),_(M,A,I),$.extend(M,{rangeProperties:ct,RangeIterator:m,copyComparisonConstants:j,createPrototypeRange:_,inspect:h,getRangeDocument:n,rangesEqual:function(e,t){return e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset}}),e.DomRange=M,e.RangeException=f}),rangy.createCoreModule("WrappedRange",["DomRange"],function(e,t){var n,i,r=e.dom,s=e.util,o=r.DomPosition,a=e.DomRange,u=r.getBody,c=r.getContentDocument,l=r.isCharacterDataNode;if(e.features.implementsDomRange&&function(){function i(e){for(var t,n=m.length;n--;)t=m[n],e[t]=e.nativeRange[t];e.collapsed=e.startContainer===e.endContainer&&e.startOffset===e.endOffset}function o(e,t,n,i,r){var s=e.startContainer!==t||e.startOffset!=n,o=e.endContainer!==i||e.endOffset!=r,a=!e.equals(e.nativeRange);(s||o||a)&&(e.setEnd(i,r),e.setStart(t,n))}function l(e){e.nativeRange.detach(),e.detached=!0;for(var t=m.length;t--;)e[m[t]]=null}var d,h,m=a.rangeProperties;n=function(e){if(!e)throw t.createError("WrappedRange: Range must be specified");this.nativeRange=e,i(this)},a.createPrototypeRange(n,o,l),d=n.prototype,d.selectNode=function(e){this.nativeRange.selectNode(e),i(this)},d.cloneContents=function(){return this.nativeRange.cloneContents()},d.surroundContents=function(e){this.nativeRange.surroundContents(e),i(this)},d.collapse=function(e){this.nativeRange.collapse(e),i(this)},d.cloneRange=function(){return new n(this.nativeRange.cloneRange())},d.refresh=function(){i(this)},d.toString=function(){return""+this.nativeRange};var f=document.createTextNode("test");u(document).appendChild(f);var p=document.createRange();p.setStart(f,0),p.setEnd(f,0);try{p.setStart(f,1),d.setStart=function(e,t){this.nativeRange.setStart(e,t),i(this)},d.setEnd=function(e,t){this.nativeRange.setEnd(e,t),i(this)},h=function(e){return function(t){this.nativeRange[e](t),i(this)}}}catch(g){d.setStart=function(e,t){try{this.nativeRange.setStart(e,t)}catch(n){this.nativeRange.setEnd(e,t),this.nativeRange.setStart(e,t)}i(this)},d.setEnd=function(e,t){try{this.nativeRange.setEnd(e,t)}catch(n){this.nativeRange.setStart(e,t),this.nativeRange.setEnd(e,t)}i(this)},h=function(e,t){return function(n){try{this.nativeRange[e](n)}catch(r){this.nativeRange[t](n),this.nativeRange[e](n)}i(this)}}}d.setStartBefore=h("setStartBefore","setEndBefore"),d.setStartAfter=h("setStartAfter","setEndAfter"),d.setEndBefore=h("setEndBefore","setStartBefore"),d.setEndAfter=h("setEndAfter","setStartAfter"),d.selectNodeContents=function(e){this.setStartAndEnd(e,0,r.getNodeLength(e))},p.selectNodeContents(f),p.setEnd(f,3);var v=document.createRange();v.selectNodeContents(f),v.setEnd(f,4),v.setStart(f,2),d.compareBoundaryPoints=-1==p.compareBoundaryPoints(p.START_TO_END,v)&&1==p.compareBoundaryPoints(p.END_TO_START,v)?function(e,t){return t=t.nativeRange||t,e==t.START_TO_END?e=t.END_TO_START:e==t.END_TO_START&&(e=t.START_TO_END),this.nativeRange.compareBoundaryPoints(e,t)}:function(e,t){return this.nativeRange.compareBoundaryPoints(e,t.nativeRange||t)};var y=document.createElement("div");y.innerHTML="123";var R=y.firstChild,C=u(document);C.appendChild(y),p.setStart(R,1),p.setEnd(R,2),p.deleteContents(),"13"==R.data&&(d.deleteContents=function(){this.nativeRange.deleteContents(),i(this)},d.extractContents=function(){var e=this.nativeRange.extractContents();return i(this),e}),C.removeChild(y),C=null,s.isHostMethod(p,"createContextualFragment")&&(d.createContextualFragment=function(e){return this.nativeRange.createContextualFragment(e)}),u(document).removeChild(f),p.detach(),v.detach(),d.getName=function(){return"WrappedRange"},e.WrappedRange=n,e.createNativeRange=function(e){return e=c(e,t,"createNativeRange"),e.createRange()}}(),e.features.implementsTextRange){var d=function(e){var t=e.parentElement(),n=e.duplicate();n.collapse(!0);var i=n.parentElement();n=e.duplicate(),n.collapse(!1);var s=n.parentElement(),o=i==s?i:r.getCommonAncestor(i,s);return o==t?o:r.getCommonAncestor(t,o)},h=function(e){return 0==e.compareEndPoints("StartToEnd",e)},m=function(e,t,n,i,s){var a=e.duplicate();a.collapse(n);var u=a.parentElement();if(r.isOrIsAncestorOf(t,u)||(u=t),!u.canHaveHTML){var c=new o(u.parentNode,r.getNodeIndex(u));return{boundaryPosition:c,nodeInfo:{nodeIndex:c.offset,containerElement:c.node}}}var d=r.getDocument(u).createElement("span");d.parentNode&&d.parentNode.removeChild(d);for(var h,m,f,p,g,v=n?"StartToStart":"StartToEnd",y=s&&s.containerElement==u?s.nodeIndex:0,R=u.childNodes.length,C=R,b=C;;){if(b==R?u.appendChild(d):u.insertBefore(d,u.childNodes[b]),a.moveToElementText(d),h=a.compareEndPoints(v,e),0==h||y==C)break;if(-1==h){if(C==y+1)break;y=b}else C=C==y+1?y:b;b=Math.floor((y+C)/2),u.removeChild(d)}if(g=d.nextSibling,-1==h&&g&&l(g)){a.setEndPoint(n?"EndToStart":"EndToEnd",e);var N;if(/[\r\n]/.test(g.data)){var k=a.duplicate(),E=k.text.replace(/\r\n/g,"\r").length;for(N=k.moveStart("character",E);-1==(h=k.compareEndPoints("StartToEnd",k));)N++,k.moveStart("character",1)}else N=a.text.length;p=new o(g,N)}else m=(i||!n)&&d.previousSibling,f=(i||n)&&d.nextSibling,p=f&&l(f)?new o(f,0):m&&l(m)?new o(m,m.data.length):new o(u,r.getNodeIndex(d));return d.parentNode.removeChild(d),{boundaryPosition:p,nodeInfo:{nodeIndex:b,containerElement:u}}},f=function(e,t){var n,i,s,o,a=e.offset,c=r.getDocument(e.node),d=u(c).createTextRange(),h=l(e.node);return h?(n=e.node,i=n.parentNode):(o=e.node.childNodes,n=o.length>a?o[a]:null,i=e.node),s=c.createElement("span"),s.innerHTML="&#feff;",n?i.insertBefore(s,n):i.appendChild(s),d.moveToElementText(s),d.collapse(!t),i.removeChild(s),h&&d[t?"moveStart":"moveEnd"]("character",a),d};if(i=function(e){this.textRange=e,this.refresh()},i.prototype=new a(document),i.prototype.refresh=function(){var e,t,n,i=d(this.textRange);h(this.textRange)?t=e=m(this.textRange,i,!0,!0).boundaryPosition:(n=m(this.textRange,i,!0,!1),e=n.boundaryPosition,t=m(this.textRange,i,!1,!1,n.nodeInfo).boundaryPosition),this.setStart(e.node,e.offset),this.setEnd(t.node,t.offset)},i.prototype.getName=function(){return"WrappedTextRange"
6
},a.copyComparisonConstants(i),i.rangeToTextRange=function(e){if(e.collapsed)return f(new o(e.startContainer,e.startOffset),!0);var t=f(new o(e.startContainer,e.startOffset),!0),n=f(new o(e.endContainer,e.endOffset),!1),i=u(a.getRangeDocument(e)).createTextRange();return i.setEndPoint("StartToStart",t),i.setEndPoint("EndToEnd",n),i},e.WrappedTextRange=i,!e.features.implementsDomRange||e.config.preferTextRange){var p=function(){return this}();p.Range===void 0&&(p.Range=i),e.createNativeRange=function(e){return e=c(e,t,"createNativeRange"),u(e).createTextRange()},e.WrappedRange=i}}e.createRange=function(n){return n=c(n,t,"createRange"),new e.WrappedRange(e.createNativeRange(n))},e.createRangyRange=function(e){return e=c(e,t,"createRangyRange"),new a(e)},e.createIframeRange=function(n){return t.deprecationNotice("createIframeRange()","createRange(iframeEl)"),e.createRange(n)},e.createIframeRangyRange=function(n){return t.deprecationNotice("createIframeRangyRange()","createRangyRange(iframeEl)"),e.createRangyRange(n)},e.addCreateMissingNativeApiListener(function(t){var n=t.document;n.createRange===void 0&&(n.createRange=function(){return e.createRange(n)}),n=t=null})}),rangy.createCoreModule("WrappedSelection",["DomRange","WrappedRange"],function(e,t){function n(e){return"string"==typeof e?/^backward(s)?$/i.test(e):!!e}function i(e,n){if(e){if(O.isWindow(e))return e;if(e instanceof v)return e.win;var i=O.getContentDocument(e,t,n);return O.getWindow(i)}return window}function r(e){return i(e,"getWinSelection").getSelection()}function s(e){return i(e,"getDocSelection").document.selection}function o(e){var t=!1;return e.anchorNode&&(t=1==O.comparePoints(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset)),t}function a(e,t,n){var i=n?"end":"start",r=n?"start":"end";e.anchorNode=t[i+"Container"],e.anchorOffset=t[i+"Offset"],e.focusNode=t[r+"Container"],e.focusOffset=t[r+"Offset"]}function u(e){var t=e.nativeSelection;e.anchorNode=t.anchorNode,e.anchorOffset=t.anchorOffset,e.focusNode=t.focusNode,e.focusOffset=t.focusOffset}function c(e){e.anchorNode=e.focusNode=null,e.anchorOffset=e.focusOffset=0,e.rangeCount=0,e.isCollapsed=!0,e._ranges.length=0}function l(t){var n;return t instanceof _?(n=e.createNativeRange(t.getDocument()),n.setEnd(t.endContainer,t.endOffset),n.setStart(t.startContainer,t.startOffset)):t instanceof D?n=t.nativeRange:M.implementsDomRange&&t instanceof O.getWindow(t.startContainer).Range&&(n=t),n}function d(e){if(!e.length||1!=e[0].nodeType)return!1;for(var t=1,n=e.length;n>t;++t)if(!O.isAncestorOf(e[0],e[t]))return!1;return!0}function h(e){var n=e.getNodes();if(!d(n))throw t.createError("getSingleElementFromRange: range "+e.inspect()+" did not consist of a single element");return n[0]}function m(e){return!!e&&e.text!==void 0}function f(e,t){var n=new D(t);e._ranges=[n],a(e,n,!1),e.rangeCount=1,e.isCollapsed=n.collapsed}function p(t){if(t._ranges.length=0,"None"==t.docSelection.type)c(t);else{var n=t.docSelection.createRange();if(m(n))f(t,n);else{t.rangeCount=n.length;for(var i,r=$(n.item(0)),s=0;t.rangeCount>s;++s)i=e.createRange(r),i.selectNode(n.item(s)),t._ranges.push(i);t.isCollapsed=1==t.rangeCount&&t._ranges[0].collapsed,a(t,t._ranges[t.rangeCount-1],!1)}}}function g(e,n){for(var i=e.docSelection.createRange(),r=h(n),s=$(i.item(0)),o=L(s).createControlRange(),a=0,u=i.length;u>a;++a)o.add(i.item(a));try{o.add(r)}catch(c){throw t.createError("addRange(): Element within the specified Range could not be added to control selection (does it have layout?)")}o.select(),p(e)}function v(e,t,n){this.nativeSelection=e,this.docSelection=t,this._ranges=[],this.win=n,this.refresh()}function y(e){e.win=e.anchorNode=e.focusNode=e._ranges=null,e.rangeCount=e.anchorOffset=e.focusOffset=0,e.detached=!0}function R(e,t){for(var n,i,r=tt.length;r--;)if(n=tt[r],i=n.selection,"deleteAll"==t)y(i);else if(n.win==e)return"delete"==t?(tt.splice(r,1),!0):i;return"deleteAll"==t&&(tt.length=0),null}function C(e,n){for(var i,r=$(n[0].startContainer),s=L(r).createControlRange(),o=0,a=n.length;a>o;++o){i=h(n[o]);try{s.add(i)}catch(u){throw t.createError("setRanges(): Element within one of the specified Ranges could not be added to control selection (does it have layout?)")}}s.select(),p(e)}function b(e,t){if(e.win.document!=$(t))throw new A("WRONG_DOCUMENT_ERR")}function N(t){return function(n,i){var r;this.rangeCount?(r=this.getRangeAt(0),r["set"+(t?"Start":"End")](n,i)):(r=e.createRange(this.win.document),r.setStartAndEnd(n,i)),this.setSingleRange(r,this.isBackward())}}function k(e){var t=[],n=new I(e.anchorNode,e.anchorOffset),i=new I(e.focusNode,e.focusOffset),r="function"==typeof e.getName?e.getName():"Selection";if(e.rangeCount!==void 0)for(var s=0,o=e.rangeCount;o>s;++s)t[s]=_.inspect(e.getRangeAt(s));return"["+r+"(Ranges: "+t.join(", ")+")(anchor: "+n.inspect()+", focus: "+i.inspect()+"]"}e.config.checkSelectionRanges=!0;var E,w,S="boolean",T="number",O=e.dom,j=e.util,x=j.isHostMethod,_=e.DomRange,D=e.WrappedRange,A=e.DOMException,I=O.DomPosition,M=e.features,P="Control",$=O.getDocument,L=O.getBody,H=_.rangesEqual,B=x(window,"getSelection"),W=j.isHostObject(document,"selection");M.implementsWinGetSelection=B,M.implementsDocSelection=W;var F=W&&(!B||e.config.preferTextRange);F?(E=s,e.isSelectionValid=function(e){var t=i(e,"isSelectionValid").document,n=t.selection;return"None"!=n.type||$(n.createRange().parentElement())==t}):B?(E=r,e.isSelectionValid=function(){return!0}):t.fail("Neither document.selection or window.getSelection() detected."),e.getNativeSelection=E;var z=E(),U=e.createNativeRange(document),q=L(document),V=j.areHostProperties(z,["anchorNode","focusNode","anchorOffset","focusOffset"]);M.selectionHasAnchorAndFocus=V;var K=x(z,"extend");M.selectionHasExtend=K;var G=typeof z.rangeCount==T;M.selectionHasRangeCount=G;var Y=!1,Q=!0,X=K?function(t,n){var i=_.getRangeDocument(n),r=e.createRange(i);r.collapseToPoint(n.endContainer,n.endOffset),t.addRange(l(r)),t.extend(n.startContainer,n.startOffset)}:null;j.areHostMethods(z,["addRange","getRangeAt","removeAllRanges"])&&typeof z.rangeCount==T&&M.implementsDomRange&&function(){var t=window.getSelection();if(t){for(var n=t.rangeCount,i=n>1,r=[],s=o(t),a=0;n>a;++a)r[a]=t.getRangeAt(a);var u=L(document),c=u.appendChild(document.createElement("div"));c.contentEditable="false";var l=c.appendChild(document.createTextNode("   ")),d=document.createRange();if(d.setStart(l,1),d.collapse(!0),t.addRange(d),Q=1==t.rangeCount,t.removeAllRanges(),!i){var h=d.cloneRange();d.setStart(l,0),h.setEnd(l,3),h.setStart(l,2),t.addRange(d),t.addRange(h),Y=2==t.rangeCount,h.detach()}for(u.removeChild(c),t.removeAllRanges(),d.detach(),a=0;n>a;++a)0==a&&s?X?X(t,r[a]):(e.warn("Rangy initialization: original selection was backwards but selection has been restored forwards because browser does not support Selection.extend"),t.addRange(r[a])):t.addRange(r[a])}}(),M.selectionSupportsMultipleRanges=Y,M.collapsedNonEditableSelectionsSupported=Q;var Z,J=!1;q&&x(q,"createControlRange")&&(Z=q.createControlRange(),j.areHostProperties(Z,["item","add"])&&(J=!0)),M.implementsControlRange=J,w=V?function(e){return e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset}:function(e){return e.rangeCount?e.getRangeAt(e.rangeCount-1).collapsed:!1};var et;x(z,"getRangeAt")?et=function(e,t){try{return e.getRangeAt(t)}catch(n){return null}}:V&&(et=function(t){var n=$(t.anchorNode),i=e.createRange(n);return i.setStartAndEnd(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),i.collapsed!==this.isCollapsed&&i.setStartAndEnd(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset),i}),v.prototype=e.selectionPrototype;var tt=[],nt=function(e){if(e&&e instanceof v)return e.refresh(),e;e=i(e,"getNativeSelection");var t=R(e),n=E(e),r=W?s(e):null;return t?(t.nativeSelection=n,t.docSelection=r,t.refresh()):(t=new v(n,r,e),tt.push({win:e,selection:t})),t};e.getSelection=nt,e.getIframeSelection=function(n){return t.deprecationNotice("getIframeSelection()","getSelection(iframeEl)"),e.getSelection(O.getIframeWindow(n))};var it=v.prototype;if(!F&&V&&j.areHostMethods(z,["removeAllRanges","addRange"])){it.removeAllRanges=function(){this.nativeSelection.removeAllRanges(),c(this)};var rt=function(e,t){X(e.nativeSelection,t),e.refresh()};it.addRange=G?function(t,i){if(J&&W&&this.docSelection.type==P)g(this,t);else if(n(i)&&K)rt(this,t);else{var r;if(Y?r=this.rangeCount:(this.removeAllRanges(),r=0),this.nativeSelection.addRange(l(t).cloneRange()),this.rangeCount=this.nativeSelection.rangeCount,this.rangeCount==r+1){if(e.config.checkSelectionRanges){var s=et(this.nativeSelection,this.rangeCount-1);s&&!H(s,t)&&(t=new D(s))}this._ranges[this.rangeCount-1]=t,a(this,t,at(this.nativeSelection)),this.isCollapsed=w(this)}else this.refresh()}}:function(e,t){n(t)&&K?rt(this,e):(this.nativeSelection.addRange(l(e)),this.refresh())},it.setRanges=function(e){if(J&&e.length>1)C(this,e);else{this.removeAllRanges();for(var t=0,n=e.length;n>t;++t)this.addRange(e[t])}}}else{if(!(x(z,"empty")&&x(U,"select")&&J&&F))return t.fail("No means of selecting a Range or TextRange was found"),!1;it.removeAllRanges=function(){try{if(this.docSelection.empty(),"None"!=this.docSelection.type){var e;if(this.anchorNode)e=$(this.anchorNode);else if(this.docSelection.type==P){var t=this.docSelection.createRange();t.length&&(e=$(t.item(0)))}if(e){var n=L(e).createTextRange();n.select(),this.docSelection.empty()}}}catch(i){}c(this)},it.addRange=function(t){this.docSelection.type==P?g(this,t):(e.WrappedTextRange.rangeToTextRange(t).select(),this._ranges[0]=t,this.rangeCount=1,this.isCollapsed=this._ranges[0].collapsed,a(this,t,!1))},it.setRanges=function(e){this.removeAllRanges();var t=e.length;t>1?C(this,e):t&&this.addRange(e[0])}}it.getRangeAt=function(e){if(0>e||e>=this.rangeCount)throw new A("INDEX_SIZE_ERR");return this._ranges[e].cloneRange()};var st;if(F)st=function(t){var n;e.isSelectionValid(t.win)?n=t.docSelection.createRange():(n=L(t.win.document).createTextRange(),n.collapse(!0)),t.docSelection.type==P?p(t):m(n)?f(t,n):c(t)};else if(x(z,"getRangeAt")&&typeof z.rangeCount==T)st=function(t){if(J&&W&&t.docSelection.type==P)p(t);else if(t._ranges.length=t.rangeCount=t.nativeSelection.rangeCount,t.rangeCount){for(var n=0,i=t.rangeCount;i>n;++n)t._ranges[n]=new e.WrappedRange(t.nativeSelection.getRangeAt(n));a(t,t._ranges[t.rangeCount-1],at(t.nativeSelection)),t.isCollapsed=w(t)}else c(t)};else{if(!V||typeof z.isCollapsed!=S||typeof U.collapsed!=S||!M.implementsDomRange)return t.fail("No means of obtaining a Range or TextRange from the user's selection was found"),!1;st=function(e){var t,n=e.nativeSelection;n.anchorNode?(t=et(n,0),e._ranges=[t],e.rangeCount=1,u(e),e.isCollapsed=w(e)):c(e)}}it.refresh=function(e){var t=e?this._ranges.slice(0):null,n=this.anchorNode,i=this.anchorOffset;if(st(this),e){var r=t.length;if(r!=this._ranges.length)return!0;if(this.anchorNode!=n||this.anchorOffset!=i)return!0;for(;r--;)if(!H(t[r],this._ranges[r]))return!0;return!1}};var ot=function(e,t){var n=e.getAllRanges();e.removeAllRanges();for(var i=0,r=n.length;r>i;++i)H(t,n[i])||e.addRange(n[i]);e.rangeCount||c(e)};it.removeRange=J?function(e){if(this.docSelection.type==P){for(var t,n=this.docSelection.createRange(),i=h(e),r=$(n.item(0)),s=L(r).createControlRange(),o=!1,a=0,u=n.length;u>a;++a)t=n.item(a),t!==i||o?s.add(n.item(a)):o=!0;s.select(),p(this)}else ot(this,e)}:function(e){ot(this,e)};var at;!F&&V&&M.implementsDomRange?(at=o,it.isBackward=function(){return at(this)}):at=it.isBackward=function(){return!1},it.isBackwards=it.isBackward,it.toString=function(){for(var e=[],t=0,n=this.rangeCount;n>t;++t)e[t]=""+this._ranges[t];return e.join("")},it.collapse=function(t,n){b(this,t);var i=e.createRange(t);i.collapseToPoint(t,n),this.setSingleRange(i),this.isCollapsed=!0},it.collapseToStart=function(){if(!this.rangeCount)throw new A("INVALID_STATE_ERR");var e=this._ranges[0];this.collapse(e.startContainer,e.startOffset)},it.collapseToEnd=function(){if(!this.rangeCount)throw new A("INVALID_STATE_ERR");var e=this._ranges[this.rangeCount-1];this.collapse(e.endContainer,e.endOffset)},it.selectAllChildren=function(t){b(this,t);var n=e.createRange(t);n.selectNodeContents(t),this.setSingleRange(n)},it.deleteFromDocument=function(){if(J&&W&&this.docSelection.type==P){for(var e,t=this.docSelection.createRange();t.length;)e=t.item(0),t.remove(e),e.parentNode.removeChild(e);this.refresh()}else if(this.rangeCount){var n=this.getAllRanges();if(n.length){this.removeAllRanges();for(var i=0,r=n.length;r>i;++i)n[i].deleteContents();this.addRange(n[r-1])}}},it.eachRange=function(e,t){for(var n=0,i=this._ranges.length;i>n;++n)if(e(this.getRangeAt(n)))return t},it.getAllRanges=function(){var e=[];return this.eachRange(function(t){e.push(t)}),e},it.setSingleRange=function(e,t){this.removeAllRanges(),this.addRange(e,t)},it.callMethodOnEachRange=function(e,t){var n=[];return this.eachRange(function(i){n.push(i[e].apply(i,t))}),n},it.setStart=N(!0),it.setEnd=N(!1),e.rangePrototype.select=function(e){nt(this.getDocument()).setSingleRange(this,e)},it.changeEachRange=function(e){var t=[],n=this.isBackward();this.eachRange(function(n){e(n),t.push(n)}),this.removeAllRanges(),n&&1==t.length?this.addRange(t[0],"backward"):this.setRanges(t)},it.containsNode=function(e,t){return this.eachRange(function(n){return n.containsNode(e,t)},!0)},it.getBookmark=function(e){return{backward:this.isBackward(),rangeBookmarks:this.callMethodOnEachRange("getBookmark",[e])}},it.moveToBookmark=function(t){for(var n,i,r=[],s=0;n=t.rangeBookmarks[s++];)i=e.createRange(this.win),i.moveToBookmark(n),r.push(i);t.backward?this.setSingleRange(r[0],"backward"):this.setRanges(r)},it.toHtml=function(){return this.callMethodOnEachRange("toHtml").join("")},it.getName=function(){return"WrappedSelection"},it.inspect=function(){return k(this)},it.detach=function(){R(this.win,"delete"),y(this)},v.detachAll=function(){R(null,"deleteAll")},v.inspect=k,v.isDirectionBackward=n,e.Selection=v,e.selectionPrototype=it,e.addCreateMissingNativeApiListener(function(e){e.getSelection===void 0&&(e.getSelection=function(){return nt(e)}),e=null})});
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/README.md (+107 lines)
Line 0 Link Here
1
jQuery.ime Input method specification
2
=====================================
3
4
Input methods are defined in javascript files. An input method is a javascript
5
object and it is passed to $.ime.register() method to register with jquery.ime
6
7
eg: $.ime.register( hebrewStandardKeyboard );
8
9
Metadata fields
10
---------------
11
12
id: A mandatory unique identifier that represents the input method.
13
eg: "hindi-inscript"
14
15
name: A mandatory short name for the input method. eg: Hindi InScript
16
17
description: An optional short description about the input method.
18
eg: "keyboard layout as per inscript standard"
19
20
date: An optional string to represent when this input method was written.
21
Format should be: yyyy-mm-dd
22
23
author: An optional string containing the authors name. Can contain email
24
address as well. eg: "Santhosh Thottingal, <santhosh.thottingal@gmail.com>"
25
26
URL: A mandatory string containing URL for source where keyboard is defined,
27
information about trademark restrictions if any, layout and help.
28
29
license: An optional string containing licence information. Eg: "CC-BY-SA" or
30
"GPLv3".
31
32
version: An optional string containing version information.
33
34
Input method definition
35
-----------------------
36
37
patterns: A regular expression table that maps the original inputs to the
38
target language.
39
40
eg:
41
patterns: [
42
		[ 'q', '/' ],
43
		[ 'w', '\'' ],
44
		[ 'e', 'ק' ],
45
		[ 'r', 'ר' ],
46
		[ 't', 'א' ],
47
		[ 'y', 'ט' ],
48
		[ 'u', 'ו' ],
49
		[ 'i', 'ן' ],
50
		[ 'o', 'ם' ],
51
		[ 'p', 'פ' ]
52
		...
53
		// These characters are mirrored in RTL languages
54
		[ '\\(', ')' ],
55
		[ '\\)', '(' ],
56
		[ '\\[', ']' ],
57
		[ '\\]', '[' ]
58
	]
59
60
Any valid regular expression is possible as first element of each array item.
61
More examples
62
	[ '([ക-ഹ])a', '$1ാ' ]
63
	[ '(([ൺ-ൿം])\u200c+)?I', '$2ഐ' ]
64
65
In the above example, $1, $1 etc are according to the normal regular expression
66
replace syntax.
67
68
The second member of pattern can be a function as well. For eg:
69
70
patterns: [ [ '[a-z]', function ( $1 ) {
71
			return $1.toUpperCase();
72
		} ] ]
73
74
This rule replace all key strokes to its upper case character.
75
76
contextLength: Length of the context to remember. jquery.ime can replace the
77
text based on the previously typed characters. eg:
78
79
	[ 'ൿh', 'c', 'ച്' ]
80
81
Note that this pattern definition has 3 members, the middle one is the context.
82
This rule is interpreted as 
83
84
The current key is h, previous key is c. For the previous key press c, we have
85
a transliteration ൿ. But if it is followed by h and ൿ is indeed from key press
86
c, replace ൿh with ച്
87
88
To make this work, we need to remember the previous key strokes. How many of
89
them we need to remember? contextLength should have that value.
90
91
This is optional field with default value 0. ie, we don't remember previous key
92
strokes by default.
93
94
maxKeyLength: While trying to find possible matches, we need to know how many
95
characters from the current typing location(cursor) should be used before
96
giving up.
97
98
maxKeyLength defines it. Normally it is the length of largest regex sequence in
99
the patterns.
100
101
This field is optional and default value is 1.
102
103
Examples
104
--------
105
106
For complete examples, please refer the existing input method definitions.
107
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/am/am-transliteration.js (+432 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var amTransliteration = {
5
		id: 'am-transliteration',
6
		name: 'Amharic Transliteration',
7
		description: 'Amharic Transliteration',
8
		date: '2012-09-09',
9
		URL: 'http://am.wikipedia.org/wiki/%E1%8A%A5%E1%88%AD%E1%8B%B3%E1%89%B3:%E1%8A%A2%E1%89%B5%E1%8B%AE%E1%8D%92%E1%8A%AD_%E1%88%B4%E1%88%AB',
10
		author: 'Elfalem [[User:Elfalem]])',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 2,
15
		patterns: [
16
			[ '\\\\([A-Za-z\\>\\<_~ ])', '\\\\', '$1' ], // include space also
17
18
			[ '፼0', '፲፼' ], // 10000 and 0 becomes 10 10000
19
			[ '፲፻0', '፼' ], // 10x100 and 0 becomes 10000
20
			[ '፻0', '፲፻' ], // NUM_100 and 0 becomes 10 100
21
22
			[ '፻0', '፲፻' ], // 1000
23
24
			[ '፳0', '፪፻' ], // 200
25
			[ '፴0', '፫፻' ], // 300
26
			[ '፵0', '፬፻' ], // 400
27
			[ '፶0', '፭፻' ], // 500
28
			[ '፷0', '፮፻' ], // 600
29
			[ '፸0', '፯፻' ], // 700
30
			[ '፹0', '፰፻' ], // 800
31
			[ '፺0', '፱፻' ], // 900
32
33
			[ '፩0', '፲' ], // 10
34
			[ '፪0', '፳' ], // 20
35
			[ '፫0', '፴' ], // 30
36
			[ '፬0', '፵' ], // 40
37
			[ '፭0', '፶' ], // 50
38
			[ '፮0', '፷' ], // 60
39
			[ '፯0', '፸' ], // 70
40
			[ '፰0', '፹' ], // 80
41
			[ '፱0', '፺' ], // 90
42
			[ '፲0', '፻' ], // 100
43
44
			[ '1', '፩' ],
45
			[ '2', '፪' ],
46
			[ '3', '፫' ],
47
			[ '4', '፬' ],
48
			[ '5', '፭' ],
49
			[ '6', '፮' ],
50
			[ '7', '፯' ],
51
			[ '8', '፰' ],
52
			[ '9', '፱' ],
53
54
			[ 'ህe', 'ሀ' ],
55
			[ 'ህu', 'ሁ' ],
56
			[ 'ህi', 'ሂ' ],
57
			[ 'ህa', 'ሃ' ],
58
			[ '(ሀe|ህE)', 'ሄ' ],
59
			[ 'ህo', 'ሆ' ],
60
			[ 'ህW', 'ኋ' ],
61
62
			[ 'ልe', 'ለ' ],
63
			[ 'ልu', 'ሉ' ],
64
			[ 'ልi', 'ሊ' ],
65
			[ 'ልa', 'ላ' ],
66
			[ '(ለe|ልE)', 'ሌ' ],
67
			[ 'ልo', 'ሎ' ],
68
			[ 'ልW', 'ሏ' ],
69
70
			[ 'ሕe', 'ሐ' ],
71
			[ 'ሕu', 'ሑ' ],
72
			[ 'ሕi', 'ሒ' ],
73
			[ 'ሕa', 'ሓ' ],
74
			[ '(ሐe|ሕE)', 'ሔ' ],
75
			[ 'ሕo', 'ሖ' ],
76
			[ 'ሕW', 'ሗ' ],
77
78
			[ 'ምe', 'መ' ],
79
			[ 'ምu', 'ሙ' ],
80
			[ 'ምi', 'ሚ' ],
81
			[ 'ምa', 'ማ' ],
82
			[ '(መe|ምE)', 'ሜ' ],
83
			[ 'ምo', 'ሞ' ],
84
			[ 'ምW', 'ሟ' ],
85
86
			[ 'ርe', 'ረ' ],
87
			[ 'ርu', 'ሩ' ],
88
			[ 'ርi', 'ሪ' ],
89
			[ 'ርa', 'ራ' ],
90
			[ '(ረe|ርE)', 'ሬ' ],
91
			[ 'ርo', 'ሮ' ],
92
			[ 'ርW', 'ሯ' ],
93
94
			[ 'ስe', 'ሰ' ],
95
			[ 'ስu', 'ሱ' ],
96
			[ 'ስi', 'ሲ' ],
97
			[ 'ስa', 'ሳ' ],
98
			[ '(ሰe|ስE)', 'ሴ' ],
99
			[ 'ስo', 'ሶ' ],
100
			[ 'ስW', 'ሷ' ],
101
102
			[ 'ሥe', 'ሠ' ],
103
			[ 'ሥu', 'ሡ' ],
104
			[ 'ሥi', 'ሢ' ],
105
			[ 'ሥa', 'ሣ' ],
106
			[ '(ሠe|ሥE)', 'ሤ' ],
107
			[ 'ሥo', 'ሦ' ],
108
			[ 'ሥW', 'ሧ' ],
109
110
			[ 'ሽe', 'ሸ' ],
111
			[ 'ሽu', 'ሹ' ],
112
			[ 'ሽi', 'ሺ' ],
113
			[ 'ሽa', 'ሻ' ],
114
			[ '(ሸe|ሽE)', 'ሼ' ],
115
			[ 'ሽo', 'ሾ' ],
116
			[ 'ሽW', 'ሿ' ],
117
118
			[ 'ቅe', 'ቀ' ],
119
			[ 'ቅu', 'ቁ' ],
120
			[ 'ቅi', 'ቂ' ],
121
			[ 'ቅa', 'ቃ' ],
122
			[ '(ቀe|ቅE)', 'ቄ' ],
123
			[ 'ቅo', 'ቆ' ],
124
125
			[ 'ቋe', 'ቈ' ],
126
			[ '(ቋu|ቋW)', 'ቍ' ],
127
			[ 'ቋi', 'ቊ' ],
128
			[ 'ቋa', 'ቋ' ],
129
			[ 'ቋo', 'ቌ' ],
130
131
			[ 'ቕe', 'ቐ' ],
132
			[ 'ቕu', 'ቑ' ],
133
			[ 'ቕi', 'ቒ' ],
134
			[ 'ቕa', 'ቓ' ],
135
			[ '(ቐe|ቕE)', 'ቔ' ],
136
			[ 'ቕo', 'ቖ' ],
137
			[ 'ቕW', 'ቛ' ],
138
139
			[ '(ቛe|ቛee)', 'ቜ' ], // the second pattern probably won't be invoked in any case
140
			[ 'ቛu', 'ቘ' ],
141
			[ 'ቛi', 'ቚ' ],
142
			[ 'ቛa', 'ቝ' ],
143
144
			[ 'ብe', 'በ' ],
145
			[ 'ብu', 'ቡ' ],
146
			[ 'ብi', 'ቢ' ],
147
			[ 'ብa', 'ባ' ],
148
			[ '(በe|ብE)', 'ቤ' ],
149
			[ 'ብo', 'ቦ' ],
150
			[ 'ብW', 'ቧ' ],
151
152
			[ 'ቭe', 'ቨ' ],
153
			[ 'ቭu', 'ቩ' ],
154
			[ 'ቭi', 'ቪ' ],
155
			[ 'ቭa', 'ቫ' ],
156
			[ '(ቨe|ቭE)', 'ቬ' ],
157
			[ 'ቭo', 'ቮ' ],
158
			[ 'ቭW', 'ቯ' ],
159
160
			[ 'ትe', 'ተ' ],
161
			[ 'ትu', 'ቱ' ],
162
			[ 'ትi', 'ቲ' ],
163
			[ 'ትa', 'ታ' ],
164
			[ '(ተe|ትE)', 'ቴ' ],
165
			[ 'ትo', 'ቶ' ],
166
			[ 'ትW', 'ቷ' ],
167
168
			[ 'ችe', 'ቸ' ],
169
			[ 'ችu', 'ቹ' ],
170
			[ 'ችi', 'ቺ' ],
171
			[ 'ችa', 'ቻ' ],
172
			[ '(ቸe|ችE)', 'ቼ' ],
173
			[ 'ችo', 'ቾ' ],
174
			[ 'ችW', 'ቿ' ],
175
176
			[ 'ንe', 'ነ' ],
177
			[ 'ንu', 'ኑ' ],
178
			[ 'ንi', 'ኒ' ],
179
			[ 'ንa', 'ና' ],
180
			[ '(ነe|ንE)', 'ኔ' ],
181
			[ 'ንo', 'ኖ' ],
182
			[ 'ንW', 'ኗ' ],
183
184
			[ 'ኝe', 'ኘ' ],
185
			[ 'ኝu', 'ኙ' ],
186
			[ 'ኝi', 'ኚ' ],
187
			[ 'ኝa', 'ኛ' ],
188
			[ '(ኘe|ኝE)', 'ኜ' ],
189
			[ 'ኝo', 'ኞ' ],
190
			[ 'ኝW', 'ኟ' ],
191
192
			[ 'ክe', 'ከ' ],
193
			[ 'ክu', 'ኩ' ],
194
			[ 'ክi', 'ኪ' ],
195
			[ 'ክa', 'ካ' ],
196
			[ '(ከe|ክE)', 'ኬ' ],
197
			[ 'ክo', 'ኮ' ],
198
			[ 'ክW', 'ኳ' ],
199
200
			[ 'ኳe', 'ኰ' ],
201
			[ '(ኳu|ኳ\')', 'ኵ' ],
202
			[ 'ኳi', 'ኲ' ],
203
			[ '(ኰe|ኳE)', 'ኴ' ],
204
205
			[ 'ኽe', 'ኸ' ],
206
			[ 'ኽu', 'ኹ' ],
207
			[ 'ኽi', 'ኺ' ],
208
			[ 'ኽa', 'ኻ' ],
209
			[ '(ኸe|ኽE)', 'ኼ' ],
210
			[ 'ኽo', 'ኾ' ],
211
			[ 'ኽW', 'ዃ' ],
212
213
			[ 'ዃe', 'ዀ' ],
214
			[ '(ዃu|ዃ\')', 'ዅ' ],
215
			[ 'ዃi', 'ዂ' ],
216
			[ 'ዃE', 'ዄ' ],
217
218
			[ 'ውe', 'ወ' ],
219
			[ 'ውu', 'ዉ' ],
220
			[ 'ውi', 'ዊ' ],
221
			[ 'ውa', 'ዋ' ],
222
			[ '(ወe|ውE)', 'ዌ' ],
223
			[ 'ውo', 'ዎ' ],
224
225
			[ 'ዝe', 'ዘ' ],
226
			[ 'ዝu', 'ዙ' ],
227
			[ 'ዝi', 'ዚ' ],
228
			[ 'ዝa', 'ዛ' ],
229
			[ '(ዘe|ዝE)', 'ዜ' ],
230
			[ 'ዝo', 'ዞ' ],
231
			[ 'ዝW', 'ዟ' ],
232
233
			[ 'ዥe', 'ዠ' ],
234
			[ 'ዥu', 'ዡ' ],
235
			[ 'ዥi', 'ዢ' ],
236
			[ 'ዥa', 'ዣ' ],
237
			[ '(ዠe|ዥE)', 'ዤ' ],
238
			[ 'ዥo', 'ዦ' ],
239
			[ 'ዥW', 'ዧ' ],
240
241
			[ 'ይe', 'የ' ],
242
			[ 'ይu', 'ዩ' ],
243
			[ 'ይi', 'ዪ' ],
244
			[ 'ይa', 'ያ' ],
245
			[ '(የe|ይE)', 'ዬ' ],
246
			[ 'ይo', 'ዮ' ],
247
248
			[ 'ድe', 'ደ' ],
249
			[ 'ድu', 'ዱ' ],
250
			[ 'ድi', 'ዲ' ],
251
			[ 'ድa', 'ዳ' ],
252
			[ '(ደe|ድE)', 'ዴ' ],
253
			[ 'ድo', 'ዶ' ],
254
			[ 'ድW', 'ዷ' ],
255
256
			[ 'ዽe', 'ዸ' ],
257
			[ 'ዽu', 'ዹ' ],
258
			[ 'ዽi', 'ዺ' ],
259
			[ 'ዽa', 'ዻ' ],
260
			[ '(ዸe|ዽE)', 'ዼ' ],
261
			[ 'ዽo', 'ዾ' ],
262
			[ 'ዽW', 'ዿ' ],
263
264
			[ 'ጅe', 'ጀ' ],
265
			[ 'ጅu', 'ጁ' ],
266
			[ 'ጅi', 'ጂ' ],
267
			[ 'ጅa', 'ጃ' ],
268
			[ '(ጀe|ጅE)', 'ጄ' ],
269
			[ 'ጅo', 'ጆ' ],
270
			[ 'ጅW', 'ጇ' ],
271
272
			[ 'ግe', 'ገ' ],
273
			[ 'ግu', 'ጉ' ],
274
			[ 'ግi', 'ጊ' ],
275
			[ 'ግa', 'ጋ' ],
276
			[ '(ገe|ግE)', 'ጌ' ],
277
			[ 'ግo', 'ጎ' ],
278
279
			[ 'ጓe', 'ጐ' ],
280
			[ '(ጓu|ጓ\')', 'ጕ' ],
281
			[ 'ጓi', 'ጒ' ],
282
			[ '(ጐe|ጓE)', 'ጔ' ],
283
284
			[ 'ጝe', 'ጘ' ],
285
			[ 'ጝu', 'ጙ' ],
286
			[ 'ጝi', 'ጚ' ],
287
			[ 'ጝa', 'ጛ' ],
288
			[ '(ጘe|ጝE)', 'ጜ' ],
289
			[ 'ጝo', 'ጞ' ],
290
291
			[ 'ጥe', 'ጠ' ],
292
			[ 'ጥu', 'ጡ' ],
293
			[ 'ጥi', 'ጢ' ],
294
			[ 'ጥa', 'ጣ' ],
295
			[ '(ጠe|ጥE)', 'ጤ' ],
296
			[ 'ጥo', 'ጦ' ],
297
			[ 'ጥW', 'ጧ' ],
298
299
			[ 'ጭe', 'ጨ' ],
300
			[ 'ጭu', 'ጩ' ],
301
			[ 'ጭi', 'ጪ' ],
302
			[ 'ጭa', 'ጫ' ],
303
			[ '(ጨe|ጭE)', 'ጬ' ],
304
			[ 'ጭo', 'ጮ' ],
305
			[ 'ጭW', 'ጯ' ],
306
307
			[ 'ጵe', 'ጰ' ],
308
			[ 'ጵu', 'ጱ' ],
309
			[ 'ጵi', 'ጲ' ],
310
			[ 'ጵa', 'ጳ' ],
311
			[ '(ጰe|ጵE)', 'ጴ' ],
312
			[ 'ጵo', 'ጶ' ],
313
			[ 'ጵW', 'ጷ' ],
314
315
			[ 'ጽe', 'ጸ' ],
316
			[ 'ጽu', 'ጹ' ],
317
			[ 'ጽi', 'ጺ' ],
318
			[ 'ጽa', 'ጻ' ],
319
			[ '(ጸe|ጽE)', 'ጼ' ],
320
			[ 'ጽo', 'ጾ' ],
321
			[ 'ጽW', 'ጿ' ],
322
323
			[ 'ፅe', 'ፀ' ],
324
			[ 'ፅu', 'ፁ' ],
325
			[ 'ፅi', 'ፂ' ],
326
			[ 'ፅa', 'ፃ' ],
327
			[ '(ፀe|ፅE)', 'ፄ' ],
328
			[ 'ፅo', 'ፆ' ],
329
330
			[ 'ፍe', 'ፈ' ],
331
			[ 'ፍu', 'ፉ' ],
332
			[ 'ፍi', 'ፊ' ],
333
			[ 'ፍa', 'ፋ' ],
334
			[ '(ፈe|ፍE)', 'ፌ' ],
335
			[ 'ፍo', 'ፎ' ],
336
			[ 'ፍW', 'ፏ' ],
337
			[ 'ፍY', 'ፚ' ],
338
339
			[ 'ፕe', 'ፐ' ],
340
			[ 'ፕu', 'ፑ' ],
341
			[ 'ፕi', 'ፒ' ],
342
			[ 'ፕa', 'ፓ' ],
343
			[ '(ፐe|ፕE)', 'ፔ' ],
344
			[ 'ፕo', 'ፖ' ],
345
			[ 'ፕW', 'ፗ' ],
346
347
			// the following mappings are not documented in Ethiopic sera
348
			[ 'ኅu', 'ኁ' ],
349
			[ 'ኅi', 'ኂ' ],
350
			[ 'ኅa', 'ኃ' ],
351
			[ 'ኅE', 'ኄ' ],
352
			[ 'ኅo', 'ኆ' ],
353
			[ 'ኅW', 'ኋ' ],
354
			//end
355
356
			[ 'ህh', 'ኅ' ],
357
			[ 'h', 'ህ' ],
358
			[ '(l|L)', 'ል' ],
359
			[ 'H', 'ሕ' ],
360
			[ '(m|M)', 'ም' ],
361
			[ '(r|R)', 'ር' ],
362
			[ 'ስs', 'ሥ' ],
363
			[ 's', 'ስ' ],
364
			[ '(x|X)', 'ሽ' ],
365
			[ 'q', 'ቅ' ],
366
			[ 'ቅW', 'ቋ' ],
367
			[ 'Q', 'ቕ' ],
368
			[ 'ቕW', 'ቛ' ],
369
			[ '(b|B)', 'ብ' ],
370
			[ '(v|V)', 'ቭ' ],
371
			[ 't', 'ት' ],
372
			[ 'c', 'ች' ],
373
			[ 'n', 'ን' ],
374
			[ 'N', 'ኝ' ],
375
			[ 'k', 'ክ' ],
376
			[ '(ክW|ኳa)', 'ኳ' ],
377
			[ 'K', 'ኽ' ],
378
			[ '(ኽW|ዃa)', 'ዃ' ],
379
			[ 'z', 'ዝ' ],
380
			[ 'Z', 'ዥ' ],
381
			[ '(y|Y)', 'ይ' ],
382
			[ 'd', 'ድ' ],
383
			[ 'D', 'ዽ' ],
384
			[ '(j|J)', 'ጅ' ],
385
			[ 'g', 'ግ' ],
386
			[ '(ግW|ጓa)', 'ጓ' ],
387
			[ 'G', 'ጝ' ],
388
			[ 'T', 'ጥ' ],
389
			[ 'C', 'ጭ' ],
390
			[ 'P', 'ጵ' ],
391
			[ 'ጽS', 'ፅ' ],
392
			[ 'S', 'ጽ' ],
393
			[ '(f|F)', 'ፍ' ],
394
			[ 'p', 'ፕ' ],
395
			[ '(w|W)', 'ው' ],
396
397
			// vowels
398
			// the following mappings are not documented in Ethiopic sera
399
			[ 'አa', 'ዓ' ],
400
			[ 'A', 'ኣ' ],
401
			[ 'አe', 'ዐ' ],
402
			[ 'ኡu', 'ዑ' ],
403
			[ 'ኢi', 'ዒ' ],
404
			[ 'ኤE', 'ዔ' ],
405
			[ 'እe', 'ዕ' ],
406
			[ 'ኦo', 'ዖ' ],
407
			//end undocumented
408
409
			[ 'እa', 'ኧ' ],
410
			[ 'e', 'እ' ],
411
			[ 'u', 'ኡ' ],
412
			[ 'i', 'ኢ' ],
413
			[ 'a', 'አ' ],
414
			[ 'E', 'ኤ' ],
415
			[ 'o', 'ኦ' ],
416
			//end vowels
417
418
			[ '\\<\\<', '«' ],
419
			[ '\\>\\>', '»' ],
420
			[ '\\?\\?', '፧' ],
421
			[ '\\*\\*', '፨' ],
422
			[ '\\;', '፤' ],
423
			[ '፡\\:', '።' ],
424
			[ ',', '፣' ],
425
			[ '፡-', '፦' ],
426
			[ '\\:', '፡' ]
427
428
		]
429
	};
430
431
	$.ime.register( amTransliteration );
432
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ar/ar-kbd.js (+115 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var arKbd = {
5
		id: 'ar-kbd',
6
		name: 'kbd',
7
		description: 'Arabic keyboard layout',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['1', '١'],
15
			['2', '٢'],
16
			['3', '٣'],
17
			['4', '٤'],
18
			['5', '٥'],
19
			['6', '٦'],
20
			['7', '٧'],
21
			['8', '٨'],
22
			['9', '٩'],
23
			['0', '٠'],
24
			['`', 'ذ'],
25
26
			['q', 'ض'],
27
			['w', 'ص'],
28
			['e', 'ث'],
29
			['r', 'ق'],
30
			['t', 'ف'],
31
			['y', 'غ'],
32
			['u', 'ع'],
33
			['i', 'ه'],
34
			['o', 'خ'],
35
			['p', 'ح'],
36
			['\\[', 'ج'],
37
			['\\]', 'د'],
38
39
			['a', 'ش'],
40
			['s', 'س'],
41
			['d', 'ي'],
42
			['f', 'ب'],
43
			['g', 'ل'],
44
			['h', 'ا'],
45
			['j', 'ت'],
46
			['k', 'ن'],
47
			['l', 'م'],
48
			[';', 'ك'],
49
			['\'', 'ط'],
50
51
			['z', 'ئ'],
52
			['x', 'ء'],
53
			['c', 'ؤ'],
54
			['v', 'ر'],
55
			['b', 'لا'],
56
			['n', 'ى'],
57
			['m', 'ة'],
58
			[',', 'و'],
59
			['\\.', 'ز'],
60
			['/', 'ظ'],
61
62
			['\\(', ')'],
63
			['\\)', '('],
64
			['\\~', 'ّ'],
65
66
			['Q', 'َ'],
67
			['W', 'ً'],
68
			['E', 'ُ'],
69
			['R', 'ٌ'],
70
			['T', 'لإ'],
71
			['Y', 'إ'],
72
			['U', '`'],
73
			['I', '÷'],
74
			['O', '×'],
75
			['P', '؛'],
76
			['\\{', '>'],
77
			['\\}', '<'],
78
79
			['A', 'ِ'],
80
			['S', 'ٍ'],
81
			['D', ']'],
82
			['F', '['],
83
			['G', 'لأ'],
84
			['H', 'أ'],
85
			['J', 'ـ'],
86
			['K', '،'],
87
			['L', '/'],
88
89
			['Z', '~'],
90
			['X', 'ْ'],
91
			['C', '}'],
92
			['V', '{'],
93
			['B', 'لآ'],
94
			['N', 'آ'],
95
			['M', '\''],
96
			['\\<', ','],
97
			['\\>', '.'],
98
			['\\?', '؟']
99
		],
100
		patterns_x: [
101
			[',', '>'],
102
			['\\.', '<'],
103
			['\\[', ']'],
104
			['\\]', '['],
105
			['J', '\u200d'],
106
			['L', '\u200e'],
107
			['N', '\u200c'],
108
			['R', '\u200f'],
109
			['\\{', '}'],
110
			['\\}', '{']
111
		]
112
	};
113
114
	$.ime.register( arKbd );
115
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-avro.js (+168 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asAvro = {
5
		id: 'as-avro',
6
		name: 'অভ্ৰ',
7
		description: 'Assamese Avro layout based on Bengali Avro input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['([ক-হড়ঢ়য়ৰ])্?ৰৰi', '[^o`]', '$1ৃ'],
17
			['ৰৰi', '[^o`]', 'ঋ'],
18
19
			['(([ক-হড়ঢ়য়ৰ])|য়)o', '[^o`]', '$1'], // য় cannot be included in the range, why? everywhere else it is OK!
20
			['([ক-হড়ঢ়য়ৰ])a', '[^o`]', '$1া'],
21
			['([ক-হড়ঢ়য়ৰ])i', '[^o`]', '$1ি'],
22
			['([ক-হড়ঢ়য়ৰ])I', '[^o`]', '$1ী'],
23
			['([ক-হড়ঢ়য়ৰ])u', '[^o`]', '$1ু'],
24
			['([ক-হড়ঢ়য়ৰ])U', '[^o`]', '$1ূ'],
25
			['([ক-হড়ঢ়য়ৰ])o', '[o`]', '$1ু'],
26
			['([ক-হড়ঢ়য়ৰ])e', '[^o`]', '$1ে'],
27
			['([ক-হড়ঢ়য়ৰ])োI', '[^o`]', '$1ৈ'],
28
			['([ক-হড়ঢ়য়ৰ])O', '[^o`]', '$1ো'],
29
			['([ক-হড়ঢ়য়ৰ])োU', '[^o`]', '$1ৌ'],
30
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
			['([বমল])b', '[^o`]', '$1্ব'],
47
			['([দম])(v|V)', '[^o`]', '$1্ভ'],
48
			['([কগঙটণতদধনমলশষসহ])m', '[^o`]', '$1্ম'],
49
			['([ক-ঘচ-ঝট-যলশ-হড়ঢ়য়])r', '[^o`]', '$1্ৰ'],
50
			['([কগপ-বমলশসহ])l', '[^o`]', '$1্ল'],
51
			['([কনপ])s', '[^o`]', '$1্স'],
52
			['([ক-হড়ঢ়য়ৰ])w', '[^o`]', '$1্ব'],
53
			['([ক-হড়ঢ়য়ৰ])y', '[^o`]', '$1্য'],
54
			['নc', '[^o`]', 'ঞ্চ'],
55
56
			['ত`', '`', 'ৎ'],
57
58
			['ক্ক(h|H)', '[^o`]', 'ক্ষ'],
59
			['কশ(h|H)', '[^o`]', 'ক্ষ'],
60
			//'([অ-ঔা-ৌ])ৰৰk', '[^o]', '$1র্ক'],
61
62
			['ৰৰk', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ক'],
63
			['ৰৰg', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্গ'],
64
			['ৰৰc', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্চ'],
65
			['ৰৰj', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্জ'],
66
			['ৰৰT', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ট'],
67
			['ৰৰD', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ড'],
68
			['ৰৰN', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ণ'],
69
			['ৰৰt', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ত'],
70
			['ৰৰd', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্দ'],
71
			['ৰৰn', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ন'],
72
			['ৰৰp', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্প'],
73
			['ৰৰf', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ফ'],
74
			['ৰৰb', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ব'],
75
			['ৰৰv', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ভ'],
76
			['ৰৰm', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ম'],
77
			['ৰৰz', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্য'],
78
			['ৰৰl', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ল'],
79
			['ৰৰS', '(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
			['ৰৰh', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্হ'],
82
			['ৰৰR', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্ড়'],
83
			['ৰৰ(y|Y)', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'র্য়'],
84
85
			['শ(h|H)', 'S', 'ষ'],
86
87
			['অo', '[^`]', 'উ'],
88
			['এe', '[^o`]', 'ঈ'],
89
90
			['কh', '[^o`]', 'খ'],
91
			['গh', '[^o`]', 'ঘ'],
92
			['ণg', '[^o`]', 'ঙ'],
93
			['চh', '[^o`]', 'ছ'],
94
			['জh', '[^o`]', 'ঝ'],
95
			['ণG', '[^o`]', 'ঞ'],
96
			['টh', '[^o`]', 'ঠ'],
97
			['ডh', '[^o`]', 'ঢ'],
98
			['তh', '[^o`]', 'থ'],
99
			['দh', '[^o`]', 'ধ'],
100
			['পh', '[^o`]', 'ফ'],
101
			['বh', '[^o`]', 'ভ'],
102
			['(সh)', '[^o`]', 'শ'],
103
			['ড়h', '[^o`]', 'ঢ়'],
104
			['ত্`', '[^o`]', 'ৎ'],
105
			['নg', '[^o`]', 'ং'],
106
			['ঃ`', '[^o`]', ':'],
107
			['ৰৰi', '[^o`]', 'ঋ'],
108
			['ওI', '[^o`]', 'ঐ'],
109
			['ওU', '[^o`]', 'ঔ'],
110
			['(k|K)', 'ক'],
111
			['(g|G)', 'গ'],
112
			['(c|C)', 'চ'],
113
			['j', 'জ'],
114
			['T', 'ট'],
115
			['D', 'ড'],
116
			['N', 'ণ'],
117
			['t', 'ত'],
118
			['d', 'দ'],
119
			['n', 'ন'],
120
			['(p|P)', 'প'],
121
			['f', 'ফ'],
122
			['(b|B)', 'ব'],
123
			['(v|V)', 'ভ'],
124
			['(m|M)', 'ম'],
125
			['z', 'য'],
126
			['r', 'ৰ'],
127
			['(l|L)', 'ল'],
128
			['S', 'শ'],
129
			['s', 'স'],
130
			['(h|H)', 'হ'],
131
			['R', 'ড়'],
132
			['(y|Y)', 'য়'],
133
134
			['Z','্য'],
135
136
			['o', 'অ'],
137
			['(a|A)', 'আ'],
138
			['i', 'ই'],
139
			['I', 'ঈ'],
140
			['u', 'উ'],
141
			['U', 'ঊ'],
142
			['e', 'এ'],
143
			['O', 'ও'],
144
145
			['0', '০'],
146
			['1', '১'],
147
			['2', '২'],
148
			['3', '৩'],
149
			['4', '৪'],
150
			['5', '৫'],
151
			['6', '৬'],
152
			['7', '৭'],
153
			['8', '৮'],
154
			['9', '৯'],
155
156
			['\\\\\\.', '.'],
157
158
			[',,','্'],
159
			['\\:','ঃ'],
160
			['\\^','ঁ'],
161
			['\\.', '।'],
162
			['\\$', '৳'],
163
			['ঃ`', ':'],
164
			['`', '']]
165
	};
166
167
	$.ime.register( asAvro );
168
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-bornona.js (+84 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asBornona = {
5
		id: 'as-bornona',
6
		name: 'বৰ্ণনা',
7
		description: 'Bornona input method for Assamese',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['q', 'ং'],
17
			['Q', 'ঙ'],
18
			['w', 'ঢ'],
19
			['W', 'ঠ'],
20
			['e', 'ে'],
21
			['E', 'ৈ'],
22
			['r', 'ৰ'],
23
			['R', 'ৃ'],
24
			['t', 'ত'],
25
			['T', 'ট'],
26
			['y', 'ধ'],
27
			['Y', 'থ'],
28
			['u', 'ু'],
29
			['U', 'ূ'],
30
			['i', 'ি'],
31
			['I', 'ী'],
32
			['o', 'ো'],
33
			['O', 'ৌ'],
34
			['p', 'প'],
35
			['P', '্ৰ'],
36
			['\\|', 'র'],
37
			['\\\\', 'ৱ'],
38
			['a', 'া'],
39
			['A', 'অ'],
40
			['s', 'স'],
41
			['S', 'শ'],
42
			['d', 'দ'],
43
			['D', 'ড'],
44
			['f', 'ফ'],
45
			['F', 'ৰ্ফ'],
46
			['g', 'গ'],
47
			['G', 'ঘ'],
48
			['h', '্'],
49
			['H', 'হ'],
50
			['j', 'জ'],
51
			['J', 'ঝ'],
52
			['k', 'ক'],
53
			['K', 'খ'],
54
			['l', 'ল'],
55
			['L', '।'],
56
			['z', 'য'],
57
			['Z', 'ড়'],
58
			['x', 'ষ'],
59
			['X', 'ঢ়'],
60
			['c', 'চ'],
61
			['C', 'ছ'],
62
			['v', 'ভ'],
63
			['V', '্য'],
64
			['b', 'ব'],
65
			['B', 'য়'],
66
			['n', 'ন'],
67
			['N', 'ণ'],
68
			['m', 'ম'],
69
			['M', 'ঞ'],
70
			['0', '০'],
71
			['1', '১'],
72
			['2', '২'],
73
			['3', '৩'],
74
			['4', '৪'],
75
			['5', '৫'],
76
			['6', '৬'],
77
			['7', '৭'],
78
			['8', '৮'],
79
			['9', '৯'],
80
			['\\`', '\u200C']]
81
	};
82
83
	$.ime.register( asBornona );
84
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-inscript.js (+124 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asInScript = {
5
		id: 'as-inscript',
6
		name: 'ইনস্ক্ৰিপ্ট',
7
		description: 'InScript input method for Assamese according to CDAC\'s Enhanced InScript Keyboard Layout 5.2',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['X', 'ঁ'],
17
			['x', 'ং'],
18
			['_', 'ঃ'],
19
			['D', 'অ'],
20
			['E', 'আ'],
21
			['F', 'ই'],
22
			['R', 'ঈ'],
23
			['G', 'উ'],
24
			['T', 'ঊ'],
25
			['\\+', 'ঋ'],
26
			['S', 'এ'],
27
			['W', 'ঐ'],
28
			['A', 'ও'],
29
			['Q', 'ঔ'],
30
			['k', 'ক'],
31
			['K', 'খ'],
32
			['i', 'গ'],
33
			['I', 'ঘ'],
34
			['U', 'ঙ'],
35
			[';', 'চ'],
36
			['\\:', 'ছ'],
37
			['p', 'জ'],
38
			['P', 'ঝ'],
39
			['\\}', 'ঞ'],
40
			['\'', 'ট'],
41
			['\"', 'ঠ'],
42
			['\\[', 'ড'],
43
			['\\{', 'ঢ'],
44
			['C', 'ণ'],
45
			['l', 'ত'],
46
			['L', 'থ'],
47
			['o', 'দ'],
48
			['O', 'ধ'],
49
			['v', 'ন'],
50
			['h', 'প'],
51
			['H', 'ফ'],
52
			['y', 'ব'],
53
			['Y', 'ভ'],
54
			['c', 'ম'],
55
			['\\?', 'য'],
56
			['j', '\u09F0'],
57
			['J', 'ৎ'],
58
			['n', 'ল'],
59
			['M', 'শ'],
60
			['\\<', 'ষ'],
61
			['m', 'স'],
62
			['u', 'হ'],
63
			['\\]', '়'],
64
			['e', 'া'],
65
			['f', 'ি'],
66
			['r', 'ী'],
67
			['g', 'ু'],
68
			['t', 'ূ'],
69
			['\\=', 'ৃ'],
70
			['s', 'ে'],
71
			['w', 'ৈ'],
72
			['a', 'ো'],
73
			['q', 'ৌ'],
74
			['d', '্'],
75
			['/', 'য়'],
76
			['\\>', '৤'],
77
			['0', '০'],
78
			['1', '১'],
79
			['2', '২'],
80
			['3', '৩'],
81
			['4', '৪'],
82
			['5', '৫'],
83
			['6', '৬'],
84
			['7', '৭'],
85
			['8', '৮'],
86
			['9', '৯'],
87
			['z', 'ʼ'],
88
			['\\!', 'অ্যা'],
89
			['\\#', '্\u09F0'],
90
			['\\$', '\u09F0্'],
91
			['\\%', 'জ্ঞ'],
92
			['\\^', 'ত্র'],
93
			['\\&', 'ক্ষ'],
94
			['\\*', 'শ্র'],
95
			['\\(', '\u200D'],
96
			['\\)', '\u200C']],
97
		patterns_x: [
98
			['F', 'ঌ'],
99
			['\\>', 'ঽ'],
100
			['\\=', 'ৠ'],
101
			['l', 'ৎ'],
102
			['\\[', 'ড়'],
103
			['\\{', 'ঢ়'],
104
			['\\+', 'ৠ'],
105
			['R', 'ৡ'],
106
			['f', 'ৢ'],
107
			['r', 'ৣ'],
108
			['\\.', '৥'],
109
			['x', '৺'],
110
			['\\<', '৲'],
111
			[',', '৳'],
112
			['\\!', '৴'],
113
			['\\@', '৵'],
114
			['\\#', '৶'],
115
			['\\$', '৷'],
116
			['\\%', '৸'],
117
			['\\^', '৹'],
118
			['\\?', '৻'],
119
			['4', '₹']]
120
121
	};
122
123
	$.ime.register( asInScript );
124
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-inscript2.js (+128 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asInScript2 = {
5
		id: 'as-inscript2',
6
		name: 'ইনস্ক্ৰিপ্ট ২',
7
		description: 'Enhanced InScript keyboard for Assamese language',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\!', 'অ্যা'],
15
			['1', '১'],
16
			['2', '২'],
17
			['\\#', '্ৰ'],
18
			['3', '৩'],
19
			['\\$', 'ৰ্'],
20
			['4', '৪'],
21
			['\\%', 'জ্ঞ'],
22
			['5', '৫'],
23
			['\\^', 'ত্র'],
24
			['6', '৬'],
25
			['\\&', 'ক্ষ'],
26
			['7', '৭'],
27
			['\\*', 'শ্র'],
28
			['8', '৮'],
29
			['9', '৯'],
30
			['\\(', '('],
31
			['\\)', ')'],
32
			['0', '০'],
33
			['\"', 'ঠ'],
34
			['\'', 'ট'],
35
			[',', ','],
36
			['-', '-'],
37
			['\\.', '.'],
38
			['/', 'য়'],
39
			[':', 'ছ'],
40
			[';', 'চ'],
41
			['\\<', 'ষ'],
42
			['\\=', 'ৃ'],
43
			['\\+', 'ঋ'],
44
			['\\>', '।'],
45
			['\\?', 'য'],
46
			['A', 'ও'],
47
			['C', 'ণ'],
48
			['D', 'অ'],
49
			['E', 'আ'],
50
			['F', 'ই'],
51
			['G', 'উ'],
52
			['H', 'ফ'],
53
			['I', 'ঘ'],
54
			['K', 'খ'],
55
			['L', 'থ'],
56
			['M', 'শ'],
57
			['O', 'ধ'],
58
			['P', 'ঝ'],
59
			['Q', 'ঔ'],
60
			['R', 'ঈ'],
61
			['S', 'এ'],
62
			['T', 'ঊ'],
63
			['U', 'ঙ'],
64
			['W', 'ঐ'],
65
			['X', 'ঁ'],
66
			['Y', 'ভ'],
67
			['\\{', 'ঢ'],
68
			['\\[', 'ড'],
69
			['\\}', 'ঞ'],
70
			['\\]', '়'],
71
			['\\_', 'ঃ'],
72
			['a', 'ো'],
73
			['b', 'ৱ'],
74
			['c', 'ম'],
75
			['d', '্'],
76
			['e', 'া'],
77
			['f', 'ি'],
78
			['g', 'ু'],
79
			['h', 'প'],
80
			['i', 'গ'],
81
			['j', 'ৰ'],
82
			['k', 'ক'],
83
			['l', 'ত'],
84
			['m', 'স'],
85
			['n', 'ল'],
86
			['o', 'দ'],
87
			['p', 'জ'],
88
			['q', 'ৌ'],
89
			['r', 'ী'],
90
			['s', 'ে'],
91
			['t', 'ূ'],
92
			['u', 'হ'],
93
			['v', 'ন'],
94
			['w', 'ৈ'],
95
			['x', 'ং'],
96
			['y', 'ব'],
97
			['z', 'ʼ']
98
		],
99
		patterns_x: [
100
			['\\!', '৴'],
101
			['1', '\u200d'],
102
			['\\@', '৵'],
103
			['2', '\u200c'],
104
			['\\#', '৶'],
105
			['\\$', '৷'],
106
			['4', '₹'],
107
			['\\%', '৸'],
108
			['\\^', '৹'],
109
			[',', '৳'],
110
			['\\.', '॥'],
111
			['/', '্য'],
112
			['\\<', '৲'],
113
			['\\=', 'ৄ'],
114
			['\\+', 'ৠ'],
115
			['\\>', 'ঽ'],
116
			['F', 'ঌ'],
117
			['R', 'ৡ'],
118
			['\\{', 'ঢ়'],
119
			['\\[', 'ড়'],
120
			['f', 'ৢ'],
121
			['l', 'ৎ'],
122
			['r', 'ৣ'],
123
			['x', '৺']
124
		]
125
	};
126
127
	$.ime.register( asInScript2 );
128
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-phonetic.js (+112 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asPhonetic = {
5
		id: 'as-phonetic',
6
		name: 'phonetic',
7
		description: 'Phonetic keyboard for Assamese script',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\!', '!'],
15
			['1', '১'],
16
			['\\@', '@'],
17
			['2', '২'],
18
			['\\#', '#'],
19
			['3', '৩'],
20
			['\\$', 'ৎ'],
21
			['4', '৪'],
22
			['\\%', '%'],
23
			['5', '৫'],
24
			['\\^', 'ঞ'],
25
			['6', '৬'],
26
			['\\&', '&'],
27
			['7', '৭'],
28
			['\\*', '*'],
29
			['8', '৮'],
30
			['\\(', '('],
31
			['9', '৯'],
32
			['\\)', ')'],
33
			['0', '০'],
34
			['\\_', '_'],
35
			['\\-', '-'],
36
			['\\+', '+'],
37
			['\\=', '='],
38
			['Q', 'ধ'],
39
			['q', 'দ'],
40
			['W', 'ঊ'],
41
			['w', 'ূ'],
42
			['E', 'ঈ'],
43
			['e', 'ী'],
44
			['R', 'ড়'],
45
			['r', 'ৰ'],
46
			['T', 'ঠ'],
47
			['t', 'ট'],
48
			['Y', 'ঐ'],
49
			['y', 'এ'],
50
			['U', 'উ'],
51
			['u', 'ু'],
52
			['I', 'ই'],
53
			['i', 'ি'],
54
			['O', 'ঔ'],
55
			['o', 'ও'],
56
			['P', 'ফ'],
57
			['p', 'প'],
58
			['\\{', 'ৈ'],
59
			['\\[', 'ে'],
60
			['\\}', 'ৌ'],
61
			['\\]', 'ো'],
62
			['A', 'অ'],
63
			['a', 'া'],
64
			['S', 'ষ'],
65
			['s', 'স'],
66
			['D', 'ঢ'],
67
			['d', 'ড'],
68
			['F', 'থ'],
69
			['f', 'ত'],
70
			['G', 'ঘ'],
71
			['g', 'গ'],
72
			['H', 'ঃ'],
73
			['h', 'হ'],
74
			['J', 'ঝ'],
75
			['j', 'জ'],
76
			['K', 'খ'],
77
			['k', 'ক'],
78
			['L', 'ং'],
79
			['l', 'ল'],
80
			[':', ':'],
81
			[';', ';'],
82
			['"', '"'],
83
			['\'', '\''],
84
			['\\|', '৺'],
85
			['\\\\', 'ৱ'],
86
			['\\~', '\u200c'],
87
			['\\`', '\u200d'],
88
			['Z', 'য'],
89
			['z', 'য়'],
90
			['X', 'ঢ়'],
91
			['x', 'শ'],
92
			['C', 'ছ'],
93
			['c', 'চ'],
94
			['V', 'ঋ'],
95
			['v', 'আ'],
96
			['B', 'ভ'],
97
			['b', 'ব'],
98
			['N', 'ণ'],
99
			['n', 'ন'],
100
			['M', 'ঙ'],
101
			['m', 'ম'],
102
			['\\<', 'ৃ'],
103
			[',', ','],
104
			['\\>', 'ঁ'],
105
			['\\.', '।'],
106
			['\\?', '?'],
107
			['/', '্']
108
		]
109
	};
110
111
	$.ime.register( asPhonetic );
112
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-transliteration.js (+114 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var asTransliteration = {
5
		id: 'as-transliteration',
6
		name: 'প্ৰতিৰূপান্তৰণ',
7
		description: 'Assamese Transliteration input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 8,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['([ক-হড়-য়ৰৱ])(্ড়্ড়্i|্q)', '$1ৃ'], // <consonant>RRi or <consonant>q
17
18
			['(ড়্ড়্i|q)', 'ঋ'], // RRi or q
19
20
			['([ক-হড়-য়ৰৱ])্o', '$1'], // <consonant>o
21
			['([ক-হড়-য়ৰৱ])্a', '$1া'], // <consonant>a
22
			['([ক-হড়-য়ৰৱ])্i', '$1ি'], // <consonant>i
23
			['([ক-হড়-য়ৰৱ])(িi|্I)', '$1ী'], // <consonant>ii or <consonant>I
24
			['([ক-হড়-য়ৰৱ])্u', '$1ু'], // <consonant>u
25
			['([ক-হড়-য়ৰৱ])(ুu|্U)', '$1ূ'], // <consonant>uu or <consonant>U
26
27
			['([ক-হড়-য়ৰৱ])্e', '$1ে'], // <consonant>e
28
			['([ক-হড়-য়ৰৱ])i', '$1ৈ'], // <consonant>oi
29
			['([ক-হড়-য়ৰৱ])্O', '$1ো'], // <consonant>O
30
			['([ক-হড়-য়ৰৱ])u', '$1ৌ'], // <consonant>ou
31
32
			['(খ্y|c)', 'ক্ষ্'], // khy or c
33
34
			['ইi', 'ঈ'], // ii
35
			['উu', 'ঊ'], // uu
36
			['অi', 'ঐ'], // oi
37
			['অu', 'ঔ'], // ou
38
			['ত্~', 'ৎ'], // t~
39
40
			['ক্h', 'খ্'], // kh
41
			['গ্h', 'ঘ্'], // gh
42
			['ন্g', 'ঙ্'], // ng
43
			['জ্h', 'ঝ্'], // jh
44
			['(ন্~|Y)', 'ঞ্'], // n~ or Y
45
			['ট্h', 'ঠ্'], // Th
46
			['ড্h', 'ঢ্'], // Dh
47
			['ত্h', 'থ্'], // th
48
			['দ্h', 'ধ্'], // dh
49
			['(প্h|f)', 'ফ্'], // ph or f
50
			['(ব্h|v)', 'ভ্'], // bh or v
51
			['শ্h', 'ষ্'], // Xh
52
			['ড়্h', 'ঢ়্'], // Rh
53
54
			['(M|ন্G)', 'ং'], // M or nG
55
56
			['o', 'অ'],
57
			['a', 'আ'],
58
			['i', 'ই'],
59
			['I', 'ঈ'],
60
			['u', 'উ'],
61
			['U', 'ঊ'],
62
			['e', 'এ'],
63
			['O', 'ও'],
64
65
			['H', 'ঃ'],
66
			['\\^', 'ঁ'],
67
			['ণ্~', 'ঁ'], // N~
68
			['C', '৺'],
69
70
			['k', 'ক্'],
71
			['g', 'গ্'],
72
			['s', 'চ্'],
73
			['S', 'ছ্'],
74
			['j', 'জ্'],
75
			['T', 'ট্'],
76
			['D', 'ড্'],
77
			['N', 'ণ্'],
78
			['t', 'ত্'],
79
			['d', 'দ্'],
80
			['n', 'ন্'],
81
			['p', 'প্'],
82
			['b', 'ব্'],
83
			['m', 'ম্'],
84
			['z', 'য্'],
85
			['r', 'ৰ্'],
86
			['l', 'ল্'],
87
			['w', 'ৱ্'],
88
			['X', 'শ্'],
89
			['x', 'স্'],
90
			['h', 'হ্'],
91
			['R', 'ড়্'],
92
			['y', 'য়্'],
93
94
			['\\\\\\.', '.'],
95
			['।\\.', '॥'],
96
			['\\.', '।'],
97
98
			['0', '০'],
99
			['1', '১'],
100
			['2', '২'],
101
			['3', '৩'],
102
			['4', '৪'],
103
			['5', '৫'],
104
			['6', '৬'],
105
			['7', '৭'],
106
			['8', '৮'],
107
			['9', '৯'],
108
109
			['(\u200C)*_', '\u200C'],
110
			['(\u200D)*`', '\u200D']]
111
	};
112
113
	$.ime.register( asTransliteration );
114
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bbc/batak-qwerty.js (+89 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var batakQwertyKbd = {
5
		id: 'batak-qwerty',
6
		name: 'Batak QWERTY',
7
		description: 'QWERTY-based Batak keyboard',
8
		date: '2014-04-20',
9
		URL: 'http://evertype.com/fonts/batak/',
10
		author: 'design by Michael Everson, implementation by Amir E. Aharoni',
11
		version: '1.0',
12
		patterns: [
13
			[ 'q', 'ᯥ' ],
14
			[ 'w', 'ᯋ' ],
15
			[ 'e', 'ᯧ' ],
16
			[ 'r', 'ᯒ' ],
17
			[ 't', 'ᯖ' ],
18
			[ 'y', 'ᯛ' ],
19
			[ 'u', 'ᯮ' ],
20
			[ 'i', 'ᯪ' ],
21
			[ 'o', 'ᯬ' ],
22
			[ 'p', 'ᯇ' ],
23
24
			[ 'a', 'ᯀ' ],
25
			[ 's', 'ᯘ' ],
26
			[ 'd', 'ᯑ' ],
27
			[ 'f', '᯲' ],
28
			[ 'g', 'ᯎ' ],
29
			[ 'h', 'ᯂ' ],
30
			[ 'j', 'ᯐ' ],
31
			[ 'k', 'ᯤ' ],
32
			[ 'l', 'ᯞ' ],
33
34
			[ 'z', 'ᯝ' ],
35
			[ 'x', 'ᯢ' ],
36
			[ 'c', 'ᯡ' ],
37
			[ 'v', 'ᯣ' ],
38
			[ 'b', 'ᯅ' ],
39
			[ 'n', 'ᯉ' ],
40
			[ 'm', 'ᯔ' ],
41
42
			[ 'Q', 'ᯍ' ],
43
			[ 'W', 'ᯌ' ],
44
			[ 'E', 'ᯨ' ],
45
			[ 'R', 'ᯓ' ],
46
			[ 'T', 'ᯗ' ],
47
			[ 'Y', 'ᯜ' ],
48
			[ 'U', 'ᯯ' ],
49
			[ 'I', 'ᯫ' ],
50
			[ 'O', 'ᯭ' ],
51
			[ 'P', 'ᯈ' ],
52
53
			[ 'A', 'ᯁ' ],
54
			[ 'S', 'ᯙ' ],
55
56
			[ 'F', '᯳' ],
57
			[ 'G', 'ᯏ' ],
58
			[ 'H', 'ᯃ' ],
59
			[ 'J', 'ᯄ' ],
60
61
			[ 'L', 'ᯟ' ],
62
63
			[ 'Z', 'ᯚ' ],
64
65
			[ 'B', 'ᯆ' ],
66
			[ 'N', 'ᯊ' ],
67
			[ 'M', 'ᯕ' ],
68
69
			[ '`', 'ᯠ' ],
70
			[ '=', 'ᯱ' ],
71
			[ '\\+', '᯦' ],
72
			[ '-', '' ],
73
			[ '_', 'ᯩ' ],
74
75
			[ 'B', 'ᯆ' ]
76
		],
77
		patterns_x: [
78
			[ '4', '᯼' ],
79
			[ '5', '᯽' ],
80
			[ '6', '᯾' ],
81
			[ '7', '᯿' ],
82
83
			[ 'w', 'ᯍ' ],
84
			[ '`', '`' ]
85
		]
86
	};
87
88
	$.ime.register( batakQwertyKbd );
89
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-kbd.js (+101 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var beKbd = {
5
		id: 'be-kbd',
6
		name: 'Belarusian kbd',
7
		description: 'Belarusian keyboard layout',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
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
			['\\\\', '\\'],
39
			['z', 'я'],
40
			['x', 'ч'],
41
			['c', 'с'],
42
			['v', 'м'],
43
			['b', 'і'],
44
			['n', 'т'],
45
			['m', 'ь'],
46
			[',', 'б'],
47
			['\\.', 'ю'],
48
			['/', '.'],
49
			['\\!', '!'],
50
			['\\@', '\"'],
51
			['\\#', '№'],
52
			['\\$', ';'],
53
			['\\%', '%'],
54
			['\\^', ':'],
55
			['\\&', '?'],
56
			['\\*', '*'],
57
			['\\(', '('],
58
			['\\)', ')'],
59
			['\\_', '_'],
60
			['\\+', '+'],
61
			['\\~', 'Ё'],
62
			['Q', 'Й'],
63
			['W', 'Ц'],
64
			['E', 'У'],
65
			['R', 'К'],
66
			['T', 'Е'],
67
			['Y', 'Н'],
68
			['U', 'Г'],
69
			['I', 'Ш'],
70
			['O', 'Ў'],
71
			['P', 'З'],
72
			['\\{', 'Х'],
73
			['\\}', '\''],
74
			['A', 'Ф'],
75
			['S', 'Ы'],
76
			['D', 'В'],
77
			['F', 'А'],
78
			['G', 'П'],
79
			['H', 'Р'],
80
			['J', 'О'],
81
			['K', 'Л'],
82
			['L', 'Д'],
83
			[':', 'Ж'],
84
			['\"', 'Э'],
85
			['\\|', '|'],
86
			['Z', 'Я'],
87
			['X', 'Ч'],
88
			['C', 'С'],
89
			['V', 'М'],
90
			['B', 'І'],
91
			['N', 'Т'],
92
			['M', 'Ь'],
93
			['\\<', 'Б'],
94
			['\\>', 'Ю'],
95
			['\\?', ',']
96
		]
97
98
	};
99
	$.ime.register( beKbd );
100
101
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-latin.js (+38 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var beLatin = {
5
		id: 'be-latin',
6
		name: 'Belarusian Łacinka',
7
		description: 'Belarusian Latin alphabet input method',
8
		date: '2012-11-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Pavel Selitskas',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 1,
15
		patterns: [
16
			[ '=S', 'Š' ],
17
			[ '=U', 'Ŭ' ],
18
			[ '-S', 'Ś' ],
19
			[ '-L', 'Ł' ],
20
			[ '-Z', 'Ź' ],
21
			[ '=Z', 'Ž' ],
22
			[ '-C', 'Ć' ],
23
			[ '=C', 'Č' ],
24
			[ '-N', 'Ń' ],
25
			[ '=s', 'š' ],
26
			[ '=u', 'ŭ' ],
27
			[ '-s', 'ś' ],
28
			[ '-l', 'ł' ],
29
			[ '-z', 'ź' ],
30
			[ '=z', 'ž' ],
31
			[ '-c', 'ć' ],
32
			[ '=c', 'č' ],
33
			[ '-n', 'ń' ]
34
		]
35
	};
36
37
	$.ime.register( beLatin );
38
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-transliteration.js (+94 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var beTransliteration = {
5
		id: 'be-transliteration',
6
		name: 'Belarusian Transliteration',
7
		description: 'Belarusian transliteration per Belarusian winkeys',
8
		date: '2012-11-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Pavel Selitskas',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
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
49
			['`', 'ё'],
50
			['q', 'й'],
51
			['w', 'ц'],
52
			['e', 'у'],
53
			['r', 'к'],
54
			['t', 'е'],
55
			['y', 'н'],
56
			['u', 'г'],
57
			['i', 'ш'],
58
			['o', 'ў'],
59
			['p', 'з'],
60
			['\\[', 'х'],
61
			['\\]', '\''],
62
			['a', 'ф'],
63
			['s', 'ы'],
64
			['d', 'в'],
65
			['f', 'а'],
66
			['g', 'п'],
67
			['h', 'р'],
68
			['j', 'о'],
69
			['k', 'л'],
70
			['l', 'д'],
71
			[';', 'ж'],
72
			['\'', 'э'],
73
			['z', 'я'],
74
			['x', 'ч'],
75
			['c', 'с'],
76
			['v', 'м'],
77
			['b', 'і'],
78
			['n', 'т'],
79
			['m', 'ь'],
80
			[',', 'б'],
81
			['\\.', 'ю'],
82
			['/', '.'],
83
84
			['@', '"'], // 2
85
			['#', '№'], // 3
86
			['\\$', ';'], // 4
87
			// '%' is the same // 5
88
			['^', ':'], // 6
89
			['&', '?']] // 7
90
			// '*', '(' and ')' are the same    // 8, 9, 0
91
	};
92
93
	$.ime.register( beTransliteration );
94
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ber/ber-tfng.js (+54 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var berTfng = {
5
		id: 'ber-tfng',
6
		name: 'Tifinagh Transliteration',
7
		description: 'Transliteration input method for Tifinagh script',
8
		date: '2012-10-10',
9
		URL: 'http://www.ircam.ma/fr/index.php?soc=telec&rd=2',
10
		author: '',
11
		license: '',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['a', 'ⴰ'],
17
			['b', 'ⴱ'],
18
			['c', 'ⵛ'],
19
			['d', 'ⴷ'],
20
			['D', 'ⴹ'],
21
			['e', 'ⴻ'],
22
			['f', 'ⴼ'],
23
			['F', 'ⴼⵯ'],
24
			['g', 'ⴳ'],
25
			['G', 'ⴳⵯ'],
26
			['h', 'ⵀ'],
27
			['i', 'ⵉ'],
28
			['j', 'ⵊ'],
29
			['k', 'ⴽ'],
30
			['K', 'ⴽⵯ'],
31
			['l', 'ⵍ'],
32
			['m', 'ⵎ'],
33
			['n', 'ⵏ'],
34
			['o', 'ⵄ'],
35
			['p', 'ⵃ'],
36
			['q', 'ⵇ'],
37
			['Q', 'ⵈ'],
38
			['r', 'ⵔ'],
39
			['R', 'ⵕ'],
40
			['s', 'ⵙ'],
41
			['S', 'ⵚ'],
42
			['t', 'ⵜ'],
43
			['T', 'ⵟ'],
44
			['v', 'ⵖ'],
45
			['u', 'ⵓ'],
46
			['w', 'ⵡ'],
47
			['y', 'ⵢ'],
48
			['x', 'ⵅ'],
49
			['z', 'ⵣ'],
50
			['Z', 'ⵥ']]
51
		};
52
	$.ime.register( berTfng );
53
54
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-avro.js (+194 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var bnAvro = {
5
		id: 'bn-avro',
6
		name: 'অভ্র',
7
		description: 'Bengali Avro input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 5,
15
		patterns: [
16
			['([ক-হড়ঢ়য়])্?ররi','[^o`]', '$1ৃ'],
17
			['ররi','[^o`]', 'ঋ'],
18
			['ঙহo', 'ঙ্ঘ'],
19
			['([ক-হড়ঢ়য়])াZ', '[^o`]', '$1্যা'],
20
			['(([ক-হড়ঢ়য়])|য়)o','[^o`]', '$1'], // য় cannot be included in the range, why? everywhere else it is OK!
21
			['([ক-হড়ঢ়য়])a','[^o`]', '$1া'],
22
			['([ক-হড়ঢ়য়])i','[^o`]', '$1ি'],
23
			['([ক-হড়ঢ়য়])(I|েe)','[^o`]', '$1ী'],
24
			['([ক-হড়ঢ়য়])u','[^o`]', '$1ু'],
25
			['([ক-হড়ঢ়য়])U','[^o`]', '$1ূ'],
26
			['([ক-হড়ঢ়য়])o','[o`]', '$1ু'],
27
			['([ক-হড়ঢ়য়])e','[^o`]', '$1ে'],
28
			['([ক-হড়ঢ়য়])োI','[^o`]', '$1ৈ'],
29
			['([ক-হড়ঢ়য়])O','[^o`]', '$1ো'],
30
			['([ক-হড়ঢ়য়])োU','[^o`]', '$1ৌ'],
31
32
			['([ক-হড়ঢ়য়][িুেো]|[এইওউ])a','[^o`]', '$1য়া'],
33
			['([ক-হড়ঢ়য়][াে]|[আএ])o', '[^o`]', '$1ও'],
34
35
			['([কঙলষস])(k|K)','[^o`]','$1্ক'],
36
			['([ঙদল])(g|G)','[^o`]','$1্গ'],
37
			['গg','[^o`]','জ্ঞ'],
38
			['([চশ])c','[^o`]','$1্চ'],
39
			['([জঞব])j','[^o`]','$1্জ'],
40
			['নj','[^o`]','ঞ্জ'],
41
			['([কটণনপলষস])T','[^o`]','$1্ট'],
42
			['([ডণনল])D','[^o`]','$1্ড'],
43
			['([গষহ])N','[^o`]','$1্ণ'],
44
			['([কতনপশসহ])t','[^o`]','$1্ত'],
45
			['([দনব])d','[^o`]','$1্দ'],
46
			['([গঘণতধনপমশসহ])n','[^o`]','$1্ন'],
47
			['([পমলষস])p','[^o`]','$1্প'],
48
			['([স])f', '[^o`]', '$1্ফ'],
49
			['([বমল])b','[^o`]','$1্ব'],
50
			['([দম])(v|V)','[^o`]','$1্ভ'],
51
			['([কগঙটণতদধনমলশষসহ])m','[^o`]','$1্ম'],
52
			['([ক-ঘচ-ঝট-যলশ-হড়ঢ়য়])r','[^o`]','$1্র'],
53
			['([কগপ-বমলশসহ])l','[^o`]','$1্ল'],
54
			['([কনপ])s','[^o`]','$1্স'],
55
			['([ক-হড়ঢ়য়])w','[^o`]','$1্ব'],
56
			['([ক-হড়ঢ়য়])y','[^o`]','$1্য'],
57
			['নc','[^o`]','ঞ্চ'],
58
59
			['ত`','`', 'ৎ'],
60
61
			['ক্ক(h|H)','[^o`]','ক্ষ'],
62
			['কশ(h|H)','[^o`]','ক্ষ'],
63
64
			['ররk','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ক'],
65
			['ররg','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্গ'],
66
			['ররc','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্চ'],
67
			['ররj','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্জ'],
68
			['ররT','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ট'],
69
			['ররD','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড'],
70
			['ররN','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ণ'],
71
			['ররt','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ত'],
72
			['ররd','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্দ'],
73
			['ররn','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ন'],
74
			['ররp','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্প'],
75
			['ররf','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ফ'],
76
			['ররb','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ব'],
77
			['ররv','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ভ'],
78
			['ররm','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ম'],
79
			['ররz','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য'],
80
			['ররl','(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
			['ররs','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্স'],
83
			['ররh','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্হ'],
84
			['ররR','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্ড়'],
85
			['রর(y|Y)','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','র্য়'],
86
87
			['ংo', 'ঙ্গ'],
88
			['ংi', 'ঙ্গি'],
89
			['ংI', 'ঙ্গী'],
90
			['(ংu|ঙ্গo)', 'ঙ্গু'],
91
			['ংU', 'ঙ্গূ'],
92
			['ং', 'ঙ্গি'],
93
			['ং', 'ঙ্গি'],
94
95
			['শ(h|H)','S', 'ষ'],
96
97
			['অo','[^`]', 'উ'],
98
			['এe','[^o`]', 'ঈ'],
99
100
			['ক(h|H)','[^o`]', 'খ'],
101
			['গ(h|H)','[^o`]', 'ঘ'],
102
			['ণg','[^o`]', 'ঙ'],
103
			['চ(h|H)','[^o`]', 'ছ'],
104
			['জ(h|H)','[^o`]', 'ঝ'],
105
			['ণG','[^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
			['ড়(h|H)','[^o`]', 'ঢ়'],
114
			['ত্`','[^o`]', 'ৎ'],
115
			['নg','[^o`]', 'ং'],
116
			['ঃ`','[^o`]', ':'],
117
			['ররi','[^o`]', 'ঋ'],
118
			['ওI','[^o`]', 'ঐ'],
119
			['ওU','[^o`]', 'ঔ'],
120
121
			['আ`', 'া'],
122
			['ই`', 'ি'],
123
			['ঈ`', 'ী'],
124
			['উ`', 'ু'],
125
			['ঊ`', 'ূ'],
126
			['এ`', 'ে'],
127
			['আ`', 'া'],
128
			['আ`', 'া'],
129
			['আ`', 'া'],
130
			['আ`', 'া'],
131
			['আ`', 'া'],
132
			['আ`', 'া'],
133
134
			['([kKqQ])', 'ক'],
135
			['(g|G)', 'গ'],
136
			['(c|C)', 'চ'],
137
			['(j|J)', 'জ'],
138
			['T', 'ট'],
139
			['D', 'ড'],
140
			['N', 'ণ'],
141
			['t', 'ত'],
142
			['d', 'দ'],
143
			['n', 'ন'],
144
			['(p|P)', 'প'],
145
			['f', 'ফ'],
146
			['(b|B)', 'ব'],
147
			['(v|V)', 'ভ'],
148
			['(m|M)', 'ম'],
149
			['z', 'য'],
150
			['r', 'র'],
151
			['(l|L)', 'ল'],
152
			['S', 'শ'],
153
			['s', 'স'],
154
			['(h|H)', 'হ'],
155
			['R', 'ড়'],
156
			['w', 'ও'],
157
			['x', 'ক্স'],
158
			['(y|Y)', 'য়'],
159
160
			['Z', '্য'],
161
162
			['o', 'অ'],
163
			['(a|A)', 'আ'],
164
			['i', 'ই'],
165
			['I', 'ঈ'],
166
			['u', 'উ'],
167
			['U', 'ঊ'],
168
			['(e|E)', 'এ'],
169
			['O', 'ও'],
170
171
			['0', '০'],
172
			['1', '১'],
173
			['2', '২'],
174
			['3', '৩'],
175
			['4', '৪'],
176
			['5', '৫'],
177
			['6', '৬'],
178
			['7', '৭'],
179
			['8', '৮'],
180
			['9', '৯'],
181
182
			['\\\\\\.', '.'],
183
184
			[',,', '্'],
185
			['\\:', 'ঃ'],
186
			['\\^', 'ঁ'],
187
			['\\.', '।'],
188
			['\\$', '৳'],
189
			['ঃ`', ':'],
190
			['`', '']]
191
	};
192
193
	$.ime.register( bnAvro );
194
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-inscript.js (+123 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var bnInScript = {
5
		id: 'bn-inscript',
6
		name: 'ইনস্ক্ৰিপ্ট',
7
		description: 'Bengali InScript input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['X', 'ঁ'],
17
			['x', 'ং'],
18
			['_', 'ঃ'],
19
			['D', 'অ'],
20
			['E', 'আ'],
21
			['F', 'ই'],
22
			['R', 'ঈ'],
23
			['G', 'উ'],
24
			['T', 'ঊ'],
25
			['\\+', 'ঋ'],
26
			['S', 'এ'],
27
			['W', 'ঐ'],
28
			['A', 'ও'],
29
			['Q', 'ঔ'],
30
			['k', 'ক'],
31
			['K', 'খ'],
32
			['i', 'গ'],
33
			['I', 'ঘ'],
34
			['U', 'ঙ'],
35
			[';', 'চ'],
36
			['\\:', 'ছ'],
37
			['p', 'জ'],
38
			['P', 'ঝ'],
39
			['\\}', 'ঞ'],
40
			['\'', 'ট'],
41
			['\"', 'ঠ'],
42
			['\\[', 'ড'],
43
			['\\{', 'ঢ'],
44
			['C', 'ণ'],
45
			['l', 'ত'],
46
			['L', 'থ'],
47
			['o', 'দ'],
48
			['O', 'ধ'],
49
			['v', 'ন'],
50
			['h', 'প'],
51
			['H', 'ফ'],
52
			['y', 'ব'],
53
			['Y', 'ভ'],
54
			['c', 'ম'],
55
			['\\?', 'য'],
56
			['j', 'র'],
57
			['J', 'ৎ'],
58
			['n', 'ল'],
59
			['M', 'শ'],
60
			['\\<', 'ষ'],
61
			['m', 'স'],
62
			['u', 'হ'],
63
			['\\]', '়'],
64
			['e', 'া'],
65
			['f', 'ি'],
66
			['r', 'ী'],
67
			['g', 'ু'],
68
			['t', 'ূ'],
69
			['\\=', 'ৃ'],
70
			['s', 'ে'],
71
			['w', 'ৈ'],
72
			['a', 'ো'],
73
			['q', 'ৌ'],
74
			['d', '্'],
75
			['/', 'য়'],
76
			['\\>', '৤'],
77
			['0', '০'],
78
			['1', '১'],
79
			['2', '২'],
80
			['3', '৩'],
81
			['4', '৪'],
82
			['5', '৫'],
83
			['6', '৬'],
84
			['7', '৭'],
85
			['8', '৮'],
86
			['9', '৯'],
87
			['z', 'ʼ'],
88
			['\\!', 'অ্যা'],
89
			['\\#', '্র'],
90
			['\\$', 'র্'],
91
			['\\%', 'জ্ঞ'],
92
			['\\^', 'ত্র'],
93
			['\\&', 'ক্ষ'],
94
			['\\*', 'শ্র'],
95
			['\\(', '\u200D'],
96
			['\\)', '\u200C']],
97
		patterns_x: [
98
			['F', 'ঌ'],
99
			['\\>', 'ঽ'],
100
			['\\=', 'ৠ'],
101
			['l', 'ৎ'],
102
			['\\[', 'ড়'],
103
			['\\{', 'ঢ়'],
104
			['\\+', 'ৠ'],
105
			['R', 'ৡ'],
106
			['f', 'ৢ'],
107
			['r', 'ৣ'],
108
			['\\.', '৥'],
109
			['x', '৺'],
110
			['\\<', '৲'],
111
			[',', '৳'],
112
			['\\!', '৴'],
113
			['\\@', '৵'],
114
			['\\#', '৶'],
115
			['\\$', '৷'],
116
			['\\%', '৸'],
117
			['\\^', '৹'],
118
			['\\?', '৻'],
119
			['4', '₹']]
120
	};
121
122
	$.ime.register( bnInScript );
123
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-inscript2.js (+128 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var bnInScript2 = {
5
		id: 'bn-inscript2',
6
		name: 'ইনস্ক্ৰিপ্ট ২',
7
		description: 'Enhanced InScript keyboard for Bengali language',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\!', 'অ্যা'],
15
			['1', '১'],
16
			['2', '২'],
17
			['\\#', '্র'],
18
			['3', '৩'],
19
			['\\$', 'র্'],
20
			['4', '৪'],
21
			['\\%', 'জ্ঞ'],
22
			['5', '৫'],
23
			['\\^', 'ত্র'],
24
			['6', '৬'],
25
			['\\&', 'ক্ষ'],
26
			['7', '৭'],
27
			['\\*', 'শ্র'],
28
			['8', '৮'],
29
			['9', '৯'],
30
			['\\(', '('],
31
			['\\)', ')'],
32
			['0', '০'],
33
			['\"', 'ঠ'],
34
			['\'', 'ট'],
35
			[',', ','],
36
			['-', '-'],
37
			['\\.', '.'],
38
			['/', 'য়'],
39
			[':', 'ছ'],
40
			[';', 'চ'],
41
			['\\<', 'ষ'],
42
			['\\=', 'ৃ'],
43
			['\\+', 'ঋ'],
44
			['\\>', '।'],
45
			['\\?', 'য'],
46
			['A', 'ও'],
47
			['C', 'ণ'],
48
			['D', 'অ'],
49
			['E', 'আ'],
50
			['F', 'ই'],
51
			['G', 'উ'],
52
			['H', 'ফ'],
53
			['I', 'ঘ'],
54
			['K', 'খ'],
55
			['L', 'থ'],
56
			['M', 'শ'],
57
			['O', 'ধ'],
58
			['P', 'ঝ'],
59
			['Q', 'ঔ'],
60
			['R', 'ঈ'],
61
			['S', 'এ'],
62
			['T', 'ঊ'],
63
			['U', 'ঙ'],
64
			['W', 'ঐ'],
65
			['X', 'ঁ'],
66
			['Y', 'ভ'],
67
			['\\{', 'ঢ'],
68
			['\\[', 'ড'],
69
			['\\}', 'ঞ'],
70
			['\\]', '়'],
71
			['\\_', 'ঃ'],
72
			['a', 'ো'],
73
			['c', 'ম'],
74
			['d', '্'],
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', 'ন'],
93
			['w', 'ৈ'],
94
			['x', 'ং'],
95
			['y', 'ব'],
96
			['z', 'ʼ']
97
		],
98
		patterns_x: [
99
			['\\!', '৴'],
100
			['1', '\u200d'],
101
			['\\@', '৵'],
102
			['2', '\u200c'],
103
			['\\#', '৶'],
104
			['\\$', '৷'],
105
			['4', '₹'],
106
			['\\%', '৸'],
107
			['\\^', '৹'],
108
			[',', '৳'],
109
			['\\.', '॥'],
110
			['/', '্য'],
111
			['\\<', '৲'],
112
			['\\=', 'ৄ'],
113
			['\\+', 'ৠ'],
114
			['\\>', 'ঽ'],
115
			['\\?', '৻'],
116
			['F', 'ঌ'],
117
			['R', 'ৡ'],
118
			['\\{', 'ঢ়'],
119
			['\\[', 'ড়'],
120
			['f', 'ৢ'],
121
			['l', 'ৎ'],
122
			['r', 'ৣ'],
123
			['x', '৺']
124
		]
125
	};
126
127
	$.ime.register( bnInScript2 );
128
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-nkb.js (+133 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var bnNkb = {
5
		id: 'bn-nkb',
6
		name: 'National Keyboard',
7
		description: 'Bengali National Keyboard input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['1', '১'],
17
			['2', '২'],
18
			['3', '৩'],
19
			['4', '৪'],
20
			['5', '৫'],
21
			['6', '৬'],
22
			['7', '৭'],
23
			['8', '৮'],
24
			['9', '৯'],
25
			['0', '০'],
26
27
			['q', 'ঙ'],
28
			['w', 'য'],
29
			['e', 'ড'],
30
			['r', 'প'],
31
			['t', 'ট'],
32
			['y', 'চ'],
33
			['u', 'জ'],
34
			['i', 'হ'],
35
			['o', 'গ'],
36
			['p', 'ড়'],
37
38
			['a', 'ৃ'],
39
			['s', 'ু'],
40
			['d', 'ি'],
41
			['f', 'ব'],
42
			['g', '্'],
43
			['h', 'া'],
44
			['j', 'ক'],
45
			['k', 'ত'],
46
			['l', 'দ'],
47
48
			['z', 'ঁ'],
49
			['x', 'ো'],
50
			['c', 'ে'],
51
			['v', 'র'],
52
			['b', 'ন'],
53
			['n', 'স'],
54
			['m', 'ম'],
55
56
			['Q', 'ং'],
57
			['W', 'য়'],
58
			['E', 'ঢ'],
59
			['R', 'ফ'],
60
			['T', 'ঠ'],
61
			['Y', 'ছ'],
62
			['U', 'ঝ'],
63
			['I', 'ঞ'],
64
			['O', 'ঘ'],
65
			['P', 'ঢ়'],
66
67
			['A', 'ৗ'],
68
			['S', 'ূ'],
69
			['D', 'ী'],
70
			['F', 'ভ'],
71
			['G', '।'],
72
			['H', 'অ'],
73
			['J', 'খ'],
74
			['K', 'থ'],
75
			['L', 'ধ'],
76
77
			['Z', 'ঃ'],
78
			['X', 'ৌ'],
79
			['C', 'ৈ'],
80
			['V', 'ল'],
81
			['B', 'ণ'],
82
			['N', 'ষ'],
83
			['M', 'শ']],
84
		patterns_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
	$.ime.register( bnNkb );
133
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-probhat.js (+102 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var bnProbhat = {
5
		id: 'bn-probhat',
6
		name: 'Bengali Probhat',
7
		description: 'Bengali Probhat input method for Bengali',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Nasir Khan Saikat',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['1', '১'],
17
			['2', '২'],
18
			['3', '৩'],
19
			['4', '৪'],
20
			['5', '৫'],
21
			['6', '৬'],
22
			['7', '৭'],
23
			['8', '৮'],
24
			['9', '৯'],
25
			['0', '০'],
26
27
			['q', 'দ'],
28
			['w', 'ূ'],
29
			['e', 'ী'],
30
			['r', 'র'],
31
			['t', 'ট'],
32
			['y', 'এ'],
33
			['u', 'ু'],
34
			['i', 'ি'],
35
			['o', 'ও'],
36
			['p', 'প'],
37
38
			['a', 'া'],
39
			['s', 'স'],
40
			['d', 'ড'],
41
			['f', 'ত'],
42
			['g', 'গ'],
43
			['h', 'হ'],
44
			['j', 'জ'],
45
			['k', 'ক'],
46
			['l', 'ল'],
47
48
			['z', 'য়'],
49
			['x', 'শ'],
50
			['c', 'চ'],
51
			['v', 'আ'],
52
			['b', 'ব'],
53
			['n', 'ন'],
54
			['m', 'ম'],
55
56
			['Q', 'ধ'],
57
			['W', 'ঊ'],
58
			['E', 'ঈ'],
59
			['R', 'ড়'],
60
			['T', 'ঠ'],
61
			['Y', 'ঐ'],
62
			['U', 'উ'],
63
			['I', 'ই'],
64
			['O', 'ঔ'],
65
			['P', 'ফ'],
66
67
			['A', 'অ'],
68
			['S', 'ষ'],
69
			['D', 'ঢ'],
70
			['F', 'থ'],
71
			['G', 'ঘ'],
72
			['H', 'ঃ'],
73
			['J', 'ঝ'],
74
			['K', 'খ'],
75
			['L', 'ং'],
76
77
			['Z', 'য'],
78
			['X', 'ঢ়'],
79
			['C', 'ছ'],
80
			['V', 'ঋ'],
81
			['B', 'ভ'],
82
			['N', 'ণ'],
83
			['M', 'ঙ'],
84
85
			['`', '\u200D'],
86
			['\\$', '৳'],
87
			['\\&', 'ঞ'],
88
			['\\*', 'ৎ'],
89
			['\\[', 'ে'],
90
			['\\]', 'ো'],
91
			['\\{', 'ৈ'],
92
			['\\}', 'ৌ'],
93
			['\\|', '॥'],
94
			['\\.', '।'],
95
			['/', '্'],
96
			['<', 'ৃ'],
97
			['>', 'ঁ'],
98
			['\\\\', '\u200C']]
99
	};
100
101
	$.ime.register( bnProbhat );
102
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bo/bo-ewts.js (+284 lines)
Line 0 Link Here
1
( function ( $ ) {
2
    'use strict';
3
    
4
    var boEWTS = {
5
        id: 'bo-ewts',
6
        name: 'Tibetan EWTS transliteration',
7
        description: 'Tibetan Extended Wylie Transliteration, based on the work of thdl.',
8
        date: '2014-07-09',
9
        URL: 'http://www.thlib.org/reference/transliteration/#!essay=/thl/ewts',
10
        author: 'Elie Roux <elie.roux@telecom-bretagne.eu>',
11
        license: 'GPLv3',
12
        version: '1.1',
13
        contextLength: 2,
14
        maxKeyLength: 5,
15
        patterns: [
16
            // ambiguous cases with b as prefix
17
            ['བྲk', 'r', 'བརྐ'],
18
            ['བྲg', 'r', 'བརྒ'],
19
            ['བྲl', 'r', 'བརླ'],
20
            ['བྲj', 'r', 'བརྗ'],
21
            ['བྲt', 'r', 'བརྟ'],
22
            ['བྲd', 'r', 'བརྡ'],
23
            ['བྲn', 'r', 'བརྣ '],
24
            ['བླt', 'l', 'བལྟ'],
25
            ['བླd', 'l', 'བལྡ'],
26
            // Standard Tibetan Stacks listed at <http://www.thlib.org/reference/transliteration/tibstacks.php>
27
            // some are handled magically and don't need to appear here.
28
            ['རྐy', 'k', 'རྐྱ'],
29
            ['རྒy', 'g', 'རྒྱ'],
30
            ['རྨy', 'm', 'རྨྱ'],
31
            ['རྒw', 'g', 'རྒྭ'],
32
            ['རྩw', 's', 'རྩྭ'],
33
            ['སྐy', 'k', 'སྐྱ'],
34
            ['སྒy', 'g', 'སྒྱ'],
35
            ['སྤy', 'p', 'སྤྱ'],
36
            ['སྦy', 'b', 'སྦྱ'],
37
            ['སྨy', 'm', 'སྨྱ'],
38
            ['སྐr', 'k', 'སྐྲ'],
39
            ['སྒr', 'g', 'སྒྲ'],
40
            ['སྣr', 'n', 'སྣྲ'],
41
            ['སྤr', 'p', 'སྤྲ'],
42
            ['སྦr', 'b', 'སྦྲ'],
43
            ['སྨr', 'm', 'སྨྲ'],
44
            ['གྲw', 'r', 'གྲྭ'],
45
            ['དྲw', 'r', 'དྲྭ'],
46
            ['ཕྱw', 'y', 'ཕྱྭ'],
47
            ['རk', 'r', 'རྐ'],
48
            ['རg', 'r', 'རྒ'],
49
            ['རj', 'r', 'རྗ'],
50
            ['རt', 'r', 'རྟ'],
51
            ['རd', 'r', 'རྡ'],
52
            ['རn', 'r', 'རྣ '],
53
            ['རb', 'r', 'རྦ'],
54
            ['རm', 'r', 'རྨ'],
55
            ['ལk', 'l', 'ལྐ'],
56
            ['ལg', 'l', 'ལྒ'],
57
            ['ལc', 'l', 'ལྕ'],
58
            ['ལj', 'l', 'ལྗ'],
59
            ['ལt', 'l', 'ལྟ'],
60
            ['ལd', 'l', 'སྡ'],
61
            ['ལp', 'l', 'ལྤ'],
62
            ['ལb', 'l', 'ལྦ'],
63
            ['ལh', 'l', 'ལྷ'],
64
            ['སk', 's', 'སྐ'],
65
            ['སg', 's', 'སྒ'],
66
            ['སt', 's', 'སྟ'],
67
            ['སd', 's', 'སྡ'],
68
            ['སn', 's', 'སྣ'],
69
            ['སp', 's', 'སྤ'],
70
            ['སb', 's', 'སྦ'],
71
            ['སm', 's', 'སྨ'],
72
            ['སྟs', 't', 'སྩ'],
73
            ['ཀw', 'k', 'ཀྭ'],
74
            ['ཁw', 'h', 'ཁྭ'],
75
            ['གw', 'g', 'གྭ'],
76
            ['ཅw', 'c', 'ཅྭ'],
77
            ['ཉw', 'y', 'ཉྭ'],
78
            ['ཏw', 't', 'ཏྭ'],
79
            ['དw', 'd', 'དྭ'],
80
            ['ཙw', 's', 'ཙྭ'],
81
            ['ཚw', 'h', 'ཚྭ'],
82
            ['ཞw', 'h', 'ཞྭ'],
83
            ['ཟw', 'z', 'ཟྭ'],
84
            ['རw', 'r', 'རྭ'],
85
            ['ཤw', 'h', 'ཤྭ'],
86
            ['སw', 's', 'སྭ'],
87
            ['ཧw', 'h', 'ཧྭ'],
88
            ['ཀy', 'k', 'ཀྱ'],
89
            ['ཁy', 'h', 'ཁྱ'],
90
            ['གy', 'g', 'གྱ'],
91
            ['པy', 'p', 'པྱ'],
92
            ['ཕy', 'h', 'ཕྱ'],
93
            ['བy', 'b', 'བྱ'],
94
            ['མy', 'm', 'མྱ'],
95
            ['ཀr', 'k', 'ཀྲ'],
96
            ['ཁr', 'h', 'ཁྲ'],
97
            ['གr', 'g', 'གྲ'],
98
            ['ཏr', 't', 'ཏྲ'],
99
            ['ཐr', 'h', 'ཐྲ'],
100
            ['དr', 'd', 'དྲ'],
101
            ['པr', 'p', 'པྲ'],
102
            ['ཕr', 'h', 'ཕྲ'],
103
            ['བr', 'b', 'བྲ'],
104
            ['མr', 'm', 'མྲ'],
105
            ['ཤr', 'h', 'ཤྲ'],
106
            ['སr', 's', 'སྲ'],
107
            ['ཧr', 'h', 'ཧྲ'],
108
            ['ཀl', 'k', 'ཀླ'],
109
            ['གl', 'g', 'གླ'],
110
            ['བl', 'b', 'བླ'],
111
            ['ཟl', 'z', 'ཟླ'],
112
            ['རl', 'r', 'རླ'],
113
            ['སl', 's', 'སླ'],
114
            ['ཨོM', 'o', 'ༀ'],
115
            ['\\.', ''],
116
            ['\\+', ''],
117
            ['-', ''],
118
            ['S', ''],
119
            // subjoined letters:
120
            ['k', '\\+', 'ྐ'],
121
            ['g', '\\+', 'ྒ'],
122
            ['ྣg', 'ྔ'],
123
            ['c', '\\+', 'ྕ'],
124
            ['ྕh', 'ྖ'],
125
            ['j', '\\+', 'ྗ'],
126
            ['ྣy', 'ྙ'],
127
            ['T', '\\+', 'ྚ'],
128
            ['ྚh', 'ྛ'],
129
            ['D', '\\+', 'ྜ'],
130
            ['N', '\\+', 'ྞ'],
131
            ['t', '\\+', 'ྟ'],
132
            ['ྟh', 'ྠ'],
133
            ['d', '\\+', 'ྡ'],
134
            ['n', '\\+', 'ྣ'],
135
            ['p', '\\+', 'ྤ'],
136
            ['ྤh', 'ྥ'],
137
            ['b', '\\+', 'ྦ'],
138
            ['m', '\\+', 'ྨ'],
139
            ['ྟs', 'ྩ'],
140
            ['ྩh', 'ྪ'],
141
            ['ྡz', 'ྫ'],
142
            ['w', '\\+', 'ྭ'],
143
            ['ྯh', 'ྮ'],
144
            ['z', '\\+', 'ྯ'],
145
            ['\'', '\\+', 'ྰ'],
146
            ['y', '\\+', 'ྱ'],
147
            ['r', '\\+', 'ྲ'],
148
            ['l', '\\+', 'ླ'],
149
            ['ྶh', 'ྴ'],
150
            ['ཀh', '\\+S', 'ཀྵ'],
151
            ['ྐh', '\\+S', 'ྐྵ'],
152
            ['ྐh', 'ྑ'],
153
            ['h', '\\+S', 'ྵ'],
154
            ['s', '\\+', 'ྶ'],
155
            ['གh', '\\+', 'གྷ'],
156
            ['ཌh', '\\+', 'ཌྷ'],
157
            ['དh', '\\+', 'དྷ'],
158
            ['བh', '\\+', 'བྷ'],
159
            ['ཛh', '\\+', 'ཛྷ'],
160
            ['ྒh', '\\+', 'ྒྷ'],
161
            ['ྜh', '\\+', 'ྜྷ'],
162
            ['ྡh', '\\+', 'ྡྷ'],
163
            ['ྦh', '\\+', 'ྦྷ'],
164
            ['ྫh', '\\+', 'ྫྷ'],
165
            ['h', '\\+', 'ྷ'],
166
            ['v', '\\+', 'ྦ༹'],
167
            ['f', '\\+', 'ྥ༹'],
168
            ['W', '\\+', 'ྺ'],
169
            ['Y', '\\+', 'ྻ'],
170
            ['R', '\\+', 'ྼ'],
171
            ['Z', '\\+', '༹'],
172
            // consonants
173
            ['k', 'ཀ'],
174
            ['ཀh', 'k', 'ཁ'],
175
            ['g', 'ག'],
176
            ['ནg', 'n', 'ང'],
177
            ['c', 'ཅ'],
178
            ['ཅh', 'c', 'ཆ'],
179
            ['j', 'ཇ'],
180
            ['ནy', 'n', 'ཉ'],
181
            ['T', 'ཊ'],
182
            ['ཊh', 'T', 'ཋ'],
183
            ['D', 'ཌ'],
184
            ['N', 'ཎ'],
185
            ['t', 'ཏ'],
186
            ['ཏh', 't', 'ཐ'],
187
            ['d', 'ད'],
188
            ['n', 'ན'],
189
            ['p', 'པ'],
190
            ['པh', 'p', 'ཕ'],
191
            ['b', 'བ'],
192
            ['m', 'མ'],
193
            ['ཏs', 't', 'ཙ'],
194
            ['ཙh', 's', 'ཚ'],
195
            ['དz', 'd', 'ཛ'],
196
            ['w', 'ཝ'],
197
            ['ཟh', 'z', 'ཞ'],
198
            ['z', 'ཟ'],
199
            ['\'', 'འ'],
200
            ['y', 'ཡ'],
201
            ['r', 'ར'],
202
            ['l', 'ལ'],
203
            ['སh', 's', 'ཤ'],
204
            ['h', 'S', 'ཥ'],
205
            ['s', 'ས'],
206
            ['h', 'ཧ'],
207
            ['f', 'ཕ༹'],
208
            ['v', 'བ༹'],
209
            ['R', 'ཪ'],
210
            // vowels after consonnants or vowels
211
            ['([ཀ-ྼ])i', 'a', '$1ཻ'],
212
            ['([ཀ-ྼ])u', 'a', '$1ཽ'],
213
            ['ྲi', '-', 'ྲྀ'],
214
            ['ླi', '-', 'ླྀ'],
215
            ['([ཀ-ྼ])i', '-', '$1ྀ'],
216
            ['([ཀ-ྼ])རI', 'r-', '$1ྲཱྀ'],
217
            ['([ཀ-ྼ])ལI', 'l-', '$1ླཱྀ'],
218
            ['རI', 'r-', 'ཨྲཱྀ'],
219
            ['ལI', 'l-', 'ཨླཱྀ'],
220
            ['([ཀ-ྼ])I', '-', '$1ཱྀ'],
221
            ['([ཀ-ྼ])a', '$1'],
222
            ['([ཀ-ྼ])i', '$1ི'],
223
            ['([ཀ-ྼ])u', '$1ུ'],
224
            ['([ཀ-ྼ])e', '$1ེ'],
225
            ['([ཀ-ྼ])o', '$1ོ'],
226
            ['([ཀ-ྼ])A', '$1ཱ'],
227
            ['([ཀ-ྼ])I', '$1ཱི'],
228
            ['([ཀ-ྼ])U', '$1ཱུ'],
229
            // vowels after something else
230
            ['a', 'ཨ'],
231
            ['i', '-', 'ཨྀ'],
232
            ['A', 'ཨཱ'],
233
            ['I', '-', 'ཨཱྀ'],
234
            ['I', 'ཨཱི'],
235
            ['U', 'ཨཱུ'],
236
            ['i', 'ཨི'],
237
            ['u', 'ཨུ'],
238
            ['e', 'ཨེ'],
239
            ['o', 'ཨོ'],
240
            // numbers
241
            ['0', '༠'],
242
            ['1', '༡'],
243
            ['2', '༢'],
244
            ['3', '༣'],
245
            ['4', '༤'],
246
            ['5', '༥'],
247
            ['6', '༦'],
248
            ['7', '༧'],
249
            ['8', '༨'],
250
            ['9', '༩'],
251
            // sanskrit marks
252
            ['H', 'ཿ'],
253
            ['M', 'ཾ'],
254
            ['~M', 'ྃ'],
255
            ['~M`', 'ྂ'],
256
            ['\\?', '྄'],
257
            ['&', '྅'],
258
            // punctuation
259
            [' ', '་'],
260
            ['\\*', '༌'],
261
            ['\\/', '།'],
262
            ['\\/\\/', '༎'],
263
            [';', '༏'],
264
            ['\\|', '༑'],
265
            ['\\!', '༈'],
266
            ['\\:', '༔'],
267
            ['_', ' '],
268
            ['\\=', '༴'],
269
            ['@', '༄'],
270
            ['#', '༅'],
271
            ['\\$', '༆'],
272
            ['%', '༇'],
273
            ['<', '༺'],
274
            ['>', '༻'],
275
            ['\\(', '༼'],
276
            ['\\)', '༽'],
277
            ['~X', '༵'],
278
            ['X', '༷'],
279
            ['\\^', '༹']
280
            ]
281
        };
282
283
	$.ime.register( boEWTS );
284
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/brx/brx-inscript.js (+112 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var brxInscript = {
5
		id: 'brx-inscript',
6
		name: 'Bodo Inscript',
7
		description: 'Bodo Inscript input method',
8
		date: '2012-10-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			['X', '\u0901'],
17
			['x', '\u0902'],
18
			['_', '\u0903'],
19
			['D', '\u0905'],
20
			['E', '\u0906'],
21
			['F', '\u0907'],
22
			['R', '\u0908'],
23
			['G', '\u0909'],
24
			['T', '\u090A'],
25
			['\\+', '\u090B'],
26
			['S', '\u090F'],
27
			['W', '\u0910'],
28
			['A', '\u0913'],
29
			['Q', '\u0914'],
30
			['k', '\u0915'],
31
			['K', '\u0916'],
32
			['i', '\u0917'],
33
			['I', '\u0918'],
34
			['U', '\u0919'],
35
			[';', '\u091A'],
36
			['\\:', '\u091B'],
37
			['p', '\u091C'],
38
			['P', '\u091D'],
39
			['\\}', '\u091E'],
40
			['\'',  '\u091F'],
41
			['"', '\u0920'],
42
			['\\[', '\u0921'],
43
			['\\{', '\u0922'],
44
			['C', '\u0923'],
45
			['l', '\u0924'],
46
			['L', '\u0925'],
47
			['o', '\u0926'],
48
			['O', '\u0927'],
49
			['v', '\u0928'],
50
			['h', '\u092A'],
51
			['H', '\u092B'],
52
			['y', '\u092C'],
53
			['Y', '\u092D'],
54
			['c', '\u092E'],
55
			['/', '\u092F'],
56
			['j', '\u0930'],
57
			['n', '\u0932'],
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
			['s', '\u0947'],
71
			['w', '\u0948'],
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
		patterns_x: [
95
			['F', '\u090C'],
96
			['N', '\u0933'],
97
			['\\>', '\u093D'],
98
			['\\=', '\u0944'],
99
			['X', '\u0950'],
100
			['e', '\u0951'],
101
			['d', '\u0952'],
102
			['\\+', '\u0960'],
103
			['R', '\u0961'],
104
			['f', '\u0962'],
105
			['r', '\u0963'],
106
			['\\.', '\u0965'],
107
			[',', '\u0970'],
108
			['\\$', '\u20B9']]
109
	};
110
111
	$.ime.register( brxInscript );
112
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/brx/brx-inscript2.js (+117 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var brxInScript2 = {
5
		id: 'brx-inscript2',
6
		name: 'बोडो इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Bodo language',
8
		date: '2013-20-13',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['2', '२'],
15
			['\\#", "्र'],
16
			['3', '३'],
17
			['\\$', 'र्'],
18
			['4', '४'],
19
			['5', '५'],
20
			['6', '६'],
21
			['7', '७'],
22
			['8', '८'],
23
			['\\(', '('],
24
			['9', '९'],
25
			['\\]', ']'],
26
			['0', '०'],
27
			['\\_", "ः'],
28
			['\\-', '-'],
29
			['\\+', 'ऋ'],
30
			['\\=', 'ृ'],
31
			['Q', 'औ'],
32
			['q', 'ौ'],
33
			['W', 'ऐ'],
34
			['w', 'ै'],
35
			['E', 'आ'],
36
			['e', 'ा'],
37
			['R', 'ई'],
38
			['r', 'ी'],
39
			['T', 'ऊ'],
40
			['t', 'ू'],
41
			['Y', 'भ'],
42
			['y', 'ब'],
43
			['U', 'ङ'],
44
			['u', 'ह'],
45
			['I', 'घ'],
46
			['i', 'ग'],
47
			['O', 'ध'],
48
			['o', 'द'],
49
			['P', 'झ'],
50
			['p', 'ज'],
51
			['\\{', 'ढ'],
52
			['\\[', 'ड'],
53
			['\\}', 'ञ'],
54
			['\\]', '़'],
55
			['A', 'ओ'],
56
			['a', 'ो'],
57
			['S', 'ए'],
58
			['s', 'े'],
59
			['D', 'अ'],
60
			['d', '्'],
61
			['F', 'इ'],
62
			['f', 'ि'],
63
			['G', 'उ'],
64
			['g', 'ु'],
65
			['H', 'फ'],
66
			['h', 'प'],
67
			['j', 'र'],
68
			['K', 'ख'],
69
			['k', 'क'],
70
			['L', 'थ'],
71
			['l', 'त'],
72
			[':', 'छ'],
73
			[';', 'च'],
74
			['\"', 'ठ'],
75
			['\'', 'ट'],
76
			['z', 'ʼ'],
77
			['X', 'ँ'],
78
			['x', 'ं'],
79
			['C', 'ण'],
80
			['c', 'म'],
81
			['v', 'न'],
82
			['b', 'व'],
83
			['n', 'ल'],
84
			['M', 'श'],
85
			['m', 'स'],
86
			['\\<', 'ष'],
87
			[',', ','],
88
			['\\>', '।'],
89
			['\\.', '.'],
90
			['/', 'य'],
91
			['\\%', 'ज्ञ'],
92
			['\\^', 'त्र'],
93
			['\\&', 'क्ष'],
94
			['\\*', 'श्र']
95
		],
96
		patterns_x: [
97
			['1', '\u200d'],
98
			['2', '\u200c'],
99
			['4', '₹'],
100
			['\\+', 'ॠ'],
101
			['\\=', 'ॄ'],
102
			['e', '॑'],
103
			['i', 'ग़'],
104
			['R', 'ॡ'],
105
			['r', 'ॣ'],
106
			['d', '॒'],
107
			['F', 'ऌ'],
108
			['f', 'ॢ'],
109
			['X', 'ॐ'],
110
			['N', 'ळ'],
111
			[',', '॰'],
112
			['\\>', 'ऽ'],
113
			['\\.', '॥']]
114
	};
115
116
	$.ime.register( brxInScript2 );
117
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-arkbd.js (+103 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ckbTransliterationArkbd = {
5
		id: 'ckb-transliteration-arkbd',
6
		name: 'باشووری',
7
		description: 'Central Kurdish keyboard based on Arabic keyboard',
8
		date: '2013-07-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Çalak',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['`', 'ژ'],
15
			['1', '١'],
16
			['2', '٢'],
17
			['3', '٣'],
18
			['4', '٤'],
19
			['5', '٥'],
20
			['6', '٦'],
21
			['7', '٧'],
22
			['8', '٨'],
23
			['9', '٩'],
24
			['0', '٠'],
25
26
			['q', 'چ'],
27
			['w', 'ص'],
28
			['e', 'پ'],
29
			['r', 'ق'],
30
			['t', 'ف'],
31
			['y', 'غ'],
32
			['u', 'ع'],
33
			['i', 'ھ'],
34
			['o', 'خ'],
35
			['p', 'ح'],
36
			['\\[', 'ج'],
37
			['\\]', 'د'],
38
39
			['a', 'ش'],
40
			['s', 'س'],
41
			['d', 'ی'],
42
			['f', 'ب'],
43
			['g', 'ل'],
44
			['h', 'ا'],
45
			['j', 'ت'],
46
			['k', 'ن'],
47
			['l', 'م'],
48
			['\\;', 'ک'],
49
			['\'', 'گ'],
50
51
			['z', 'ئ'],
52
			['x', 'ء'],
53
			['c', 'ۆ'],
54
			['v', 'ر'],
55
			['b', 'لا'],
56
			['n', 'ى'],
57
			['m', 'ە'],
58
			['\\,', 'و'],
59
			['\\.', 'ز'],
60
61
			['\\%', '٪'],
62
			['\\(', ')'],
63
			['\\)', '('],
64
65
			['Q', 'ض'],
66
			['W', '}'],
67
			['E', 'ث'],
68
			['R', '{'],
69
			['T', 'ڤ'],
70
			['Y', 'إ'],
71
			['U', 'ۊ'],
72
			['I', '\''],
73
			['O', '\"'],
74
			['P', '؛'],
75
			['\\{', '>'],
76
			['\\}', '<'],
77
78
			['A', '['],
79
			['S', ']'],
80
			['D', 'ێ'],
81
			['F', ''],
82
			['G', 'ڵ'],
83
			['H', 'أ'],
84
			['J', 'ـ'],
85
			['K', '،'],
86
			['L', '\\'],
87
			['\"', 'ط'],
88
89
			['Z', 'ڎ'],
90
			['X', 'وو'],
91
			['C', 'ؤ'],
92
			['V', 'ڕ'],
93
			['B', 'ڵا'],
94
			['N', 'آ'],
95
			['M', 'ة'],
96
			['\\<', '٫'],
97
			['\\>', '.'],
98
			['\\?', '؟']
99
		]
100
	};
101
102
	$.ime.register( ckbTransliterationArkbd );
103
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-fakbd.js (+104 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ckbTransliterationFakbd = {
5
		id: 'ckb-transliteration-fakbd',
6
		name: 'ڕۆژھەڵاتی',
7
		description: 'Central Kurdish keyboard based on Persian keyboard',
8
		date: '2013-07-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Çalak',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['`', 'پ'],
15
			['1', '١'],
16
			['2', '٢'],
17
			['3', '٣'],
18
			['4', '٤'],
19
			['5', '٥'],
20
			['6', '٦'],
21
			['7', '٧'],
22
			['8', '٨'],
23
			['9', '٩'],
24
			['0', '٠'],
25
26
			['q', 'ڵ'],
27
			['w', 'ۆ'],
28
			['e', 'ێ'],
29
			['r', 'ق'],
30
			['t', 'ف'],
31
			['y', 'غ'],
32
			['u', 'ع'],
33
			['i', 'ە'],
34
			['o', 'خ'],
35
			['p', 'ح'],
36
			['\\[', 'ج'],
37
			['\\]', 'چ'],
38
			['\\\\', 'ژ'],
39
40
			['a', 'ش'],
41
			['s', 'س'],
42
			['d', 'ی'],
43
			['f', 'ب'],
44
			['g', 'ل'],
45
			['h', 'ا'],
46
			['j', 'ت'],
47
			['k', 'ن'],
48
			['l', 'م'],
49
			['\\;', 'ک'],
50
			['\'', 'گ'],
51
52
			['z', 'ڤ'],
53
			['x', 'ھ'],
54
			['c', 'ز'],
55
			['v', 'ر'],
56
			['b', 'ڕ'],
57
			['n', 'د'],
58
			['m', 'ئ'],
59
			['\\,', 'و'],
60
			['\\.', '.'],
61
			['/', '/'],
62
63
			['\\%', '٪'],
64
			['\\(', ')'],
65
			['\\)', '('],
66
67
			['Q', 'ض'],
68
			['W', 'ص'],
69
			['E', 'ث'],
70
			['R', 'ك'],
71
			['T', '،'],
72
			['Y', '؛'],
73
			['U', '\\'],
74
			['I', ']'],
75
			['O', '['],
76
			['P', '\''],
77
			['\\{', '}'],
78
			['\\}', '{'],
79
80
			['A', 'ڎ'],
81
			['S', 'إ'],
82
			['D', 'ي'],
83
			['F', 'ة'],
84
			['G', 'ۀ'],
85
			['H', 'آ'],
86
			['J', 'ـ'],
87
			['K', '»'],
88
			['L', '«'],
89
90
			['Z', 'ظ'],
91
			['X', 'ط'],
92
			['C', 'ژ'],
93
			['V', 'ؤ'],
94
			['B', 'ذ'],
95
			['N', '\u200cأ'],
96
			['M', 'ء'],
97
			['\\<', '>'],
98
			['\\>', '<'],
99
			['\\?', '؟']
100
		]
101
	};
102
103
	$.ime.register( ckbTransliterationFakbd );
104
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-lakbd.js (+100 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ckbTransliterationLakbd = {
5
		id: 'ckb-transliteration-lakbd',
6
		name: 'لاتینی',
7
		description: 'Central Kurdish keyboard based on Latin keyboard',
8
		date: '2013-07-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Çalak',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['1', '١'],
15
			['2', '٢'],
16
			['3', '٣'],
17
			['4', '٤'],
18
			['5', '٥'],
19
			['6', '٦'],
20
			['7', '٧'],
21
			['8', '٨'],
22
			['9', '٩'],
23
			['0', '٠'],
24
25
			['q', 'ق'],
26
			['w', 'و'],
27
			['e', 'ە'],
28
			['r', 'ر'],
29
			['t', 'ت'],
30
			['y', 'ی'],
31
			['u', 'ئ'],
32
			['i', 'ح'],
33
			['o', 'ۆ'],
34
			['p', 'پ'],
35
			['\\[', ']'],
36
			['\\]', '['],
37
38
			['a', 'ا'],
39
			['s', 'س'],
40
			['d', 'د'],
41
			['f', 'ف'],
42
			['g', 'گ'],
43
			['h', 'ھ'],
44
			['j', 'ژ'],
45
			['k', 'ک'],
46
			['l', 'ل'],
47
			['\\;', '؛'],
48
49
			['z', 'ز'],
50
			['x', 'خ'],
51
			['c', 'ج'],
52
			['v', 'ڤ'],
53
			['b', 'ب'],
54
			['n', 'ن'],
55
			['m', 'م'],
56
			['\\,', '،'],
57
			['\\.', '.'],
58
59
			['\\%', '٪'],
60
			['\\(', ')'],
61
			['\\)', '('],
62
63
			['Q', 'ڎ'],
64
			['W', 'وو'],
65
			['E', 'ێ'],
66
			['R', 'ڕ'],
67
			['T', 'ط'],
68
			['Y', 'ي'],
69
			['U', 'ء'],
70
			['I', 'ع'],
71
			['O', 'ؤ'],
72
			['P', 'ث'],
73
			['\\{', '}'],
74
			['\\}', '{'],
75
76
			['A', 'آ'],
77
			['S', 'ش'],
78
			['D', 'ذ'],
79
			['F', 'إ'],
80
			['G', 'غ'],
81
			['H', 'ه'],
82
			['J', 'أ'],
83
			['K', 'ك'],
84
			['L', 'ڵ'],
85
86
			['Z', 'ض'],
87
			['X', 'ص'],
88
			['C', 'چ'],
89
			['V', 'ظ'],
90
			['B', 'ى'],
91
			['N', 'ة'],
92
			['M', 'ـ'],
93
			['\\<', '>'],
94
			['\\>', '<'],
95
			['\\?', '؟']
96
		]
97
	};
98
99
	$.ime.register( ckbTransliterationLakbd );
100
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/README.md (+26 lines)
Line 0 Link Here
1
Chuvash keyboard layouts
2
========================
3
4
This directory contains different Chuvash keyboard layouts.
5
6
The Chuvash alphabet contains all the 33 letters from the Russian alphabet and
7
four additional letters: ӑ ӗ ҫ ӳ
8
9
10
Chuvash AltGr — Чăвашла AltGr
11
-----------------------------
12
The default keyboard layout in [chuvash.org](http://chuvash.org) which uses
13
the standard Russian keyboard layouts plus additional four Chuvash letters.
14
They are typed using the AltGr button.
15
16
Unfortunately only in firefox AltGr combinations work well.
17
18
Chuvash Mercen — Căvašla Mercen
19
-------------------------------
20
This keyboard layout is based on [Mercen](https://sites.google.com/site/mercen77/)
21
and comes from CVLat movement.
22
23
"Chuvash Cyrillic"
24
-----------------
25
This keyboard layout is designed by Ikăruk and uses the number row buttons for
26
adding the additional letters. No AltGr is needed.
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-cyr-altgr.js (+120 lines)
Line 0 Link Here
1
// This Chuvash keyboard layout is the "official" layout
2
// in chuvash.org
3
// This implementation is based on ru-jcuken ime rule
4
// which supports both transliteration mode and the native jcuken
5
// Along them there are four Chuvash letters ă ĕ ç ÿ
6
// The keyboard layout is an agreement
7
// of the Chuvash Language  Committee 2009-03-12
8
// http://comissi.chv.su/node/23
9
// This layout differs from the agreement in that matter
10
// that all letters are from the Cyrillic subset of Unicode
11
12
( function ( $ ) {
13
	'use strict';
14
15
	var cv = {
16
		id: 'cv-cyr-altgr',
17
		name: 'Чăвашла (AltGr)',
18
		description: 'AltGr пускăчлă чăваш сарăмĕ',
19
		date: '2013-03-24',
20
		URL: 'http://comissi.chv.su/',
21
		author: 'Anatoly Mironov, @mirontoli',
22
		license: 'MIT',
23
		version: '1.0',
24
		patterns: [
25
			['Q', 'Й'],
26
			['W', 'Ц'],
27
			['E', 'У'],
28
			['R', 'К'],
29
			['T', 'Е'],
30
			['Y', 'Н'],
31
			['U', 'Г'],
32
			['I', 'Ш'],
33
			['O', 'Щ'],
34
			['P', 'З'],
35
			['{', 'Х'],
36
			['}', 'Ъ'],
37
			['A', 'Ф'],
38
			['S', 'Ы'],
39
			['D', 'В'],
40
			['F', 'А'],
41
			['G', 'П'],
42
			['H', 'Р'],
43
			['J', 'О'],
44
			['K', 'Л'],
45
			['L', 'Д'],
46
			[':', 'Ж'],
47
			['"', 'Э'],
48
			['Z', 'Я'],
49
			['X', 'Ч'],
50
			['C', 'С'],
51
			['V', 'М'],
52
			['B', 'И'],
53
			['N', 'Т'],
54
			['M', 'Ь'],
55
			['<', 'Б'],
56
			['>', 'Ю'],
57
			['\\?', ','],
58
59
			['q', 'й'],
60
			['w', 'ц'],
61
			['e', 'у'],
62
			['r', 'к'],
63
			['t', 'е'],
64
			['y', 'н'],
65
			['u', 'г'],
66
			['i', 'ш'],
67
			['o', 'щ'],
68
			['p', 'з'],
69
			['\\[', 'х'],
70
			['\\]', 'ъ'],
71
			['a', 'ф'],
72
			['s', 'ы'],
73
			['d', 'в'],
74
			['f', 'а'],
75
			['g', 'п'],
76
			['h', 'р'],
77
			['j', 'о'],
78
			['k', 'л'],
79
			['l', 'д'],
80
			[';', 'ж'],
81
			['\'', 'э'],
82
			['z', 'я'],
83
			['x', 'ч'],
84
			['c', 'с'],
85
			['v', 'м'],
86
			['b', 'и'],
87
			['n', 'т'],
88
			['m', 'ь'],
89
			[',', 'б'],
90
			['\\.', 'ю'],
91
			['/', '.'],
92
93
			['`', 'ё'],
94
			['~', 'Ё'],
95
96
			// ! is the same // 1
97
			['@', '"'], // 2
98
			['#', '№'], // 3
99
			['\\$', ';'], // 4
100
			// '%' is the same // 5
101
			['^', ':'], // 6
102
			['&', '?'] // 7
103
			// '*', '(' and ')' are the same    // 8, 9, 0
104
			],
105
			//support both qwerty and jcuken keyboards
106
			patterns_x: [
107
				['f|а', 'ӑ'],
108
				['F|А', 'Ӑ'],
109
				['t|е', 'ӗ'],
110
				['T|Е', 'Ӗ'],
111
				['c|с', 'ҫ'],
112
				['C|С', 'Ҫ'],
113
				['e|у', 'ӳ'],
114
				['E|У', 'Ӳ']
115
			]
116
	};
117
118
	$.ime.register( cv );
119
120
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-cyr-numbers.js (+112 lines)
Line 0 Link Here
1
// This Chuvash keyboard layout is designed by Ikăruk
2
// http://ru.wikipedia.org/wiki/Чувашские_раскладки_клавиатуры#Раскладка_«Chuvash_Cyrillic»
3
// This uses the number row of the keyboard
4
// as it is in Sakha keyboard layout, in Bashkir, Slovak and many more
5
// Some other keys are added which are often used in wikipedia editing
6
// all letters are from the Cyrillic subset of Unicode
7
8
( function ( $ ) {
9
	'use strict';
10
11
	var cv = {
12
		id: 'cv-cyr-numbers',
13
		name: 'Чăвашла (Цифрили)',
14
		description: 'Икăрук туса хунă, цифрисене усă куракан сарăм',
15
		date: '2013-03-24',
16
		URL: 'http://comissi.chv.su/',
17
		author: 'Anatoly Mironov, @mirontoli',
18
		license: 'MIT',
19
		version: '1.0',
20
		patterns: [
21
			['Q', 'Й'],
22
			['W', 'Ц'],
23
			['E', 'У'],
24
			['R', 'К'],
25
			['T', 'Е'],
26
			['Y', 'Н'],
27
			['U', 'Г'],
28
			['I', 'Ш'],
29
			['O', 'Щ'],
30
			['P', 'З'],
31
			['{', 'Х'],
32
			['}', 'Ъ'],
33
			['A', 'Ф'],
34
			['S', 'Ы'],
35
			['D', 'В'],
36
			['F', 'А'],
37
			['G', 'П'],
38
			['H', 'Р'],
39
			['J', 'О'],
40
			['K', 'Л'],
41
			['L', 'Д'],
42
			[':', 'Ж'],
43
			['"', 'Э'],
44
			['Z', 'Я'],
45
			['X', 'Ч'],
46
			['C', 'С'],
47
			['V', 'М'],
48
			['B', 'И'],
49
			['N', 'Т'],
50
			['M', 'Ь'],
51
			['<', 'Б'],
52
			['>', 'Ю'],
53
			['\\?', ','],
54
55
			['q', 'й'],
56
			['w', 'ц'],
57
			['e', 'у'],
58
			['r', 'к'],
59
			['t', 'е'],
60
			['y', 'н'],
61
			['u', 'г'],
62
			['i', 'ш'],
63
			['o', 'щ'],
64
			['p', 'з'],
65
			['\\[', 'х'],
66
			['\\]', 'ъ'],
67
			['a', 'ф'],
68
			['s', 'ы'],
69
			['d', 'в'],
70
			['f', 'а'],
71
			['g', 'п'],
72
			['h', 'р'],
73
			['j', 'о'],
74
			['k', 'л'],
75
			['l', 'д'],
76
			[';', 'ж'],
77
			['\'', 'э'],
78
			['z', 'я'],
79
			['x', 'ч'],
80
			['c', 'с'],
81
			['v', 'м'],
82
			['b', 'и'],
83
			['n', 'т'],
84
			['m', 'ь'],
85
			[',', 'б'],
86
			['\\.', 'ю'],
87
			['/', '.'],
88
89
			['`', 'ё'],
90
			['~', 'Ё'],
91
			['1', '?'], // 1
92
			['2', '\''], // 2
93
			['@', '"'], // 2
94
			['3', 'ҫ'], // 3
95
			['#|№', 'Ҫ'], // 3
96
			['4', '|'], // 4
97
			['\\$', ';'], // 4
98
			['5', 'ӳ'], // 5
99
			['%', 'Ӳ'], // 5
100
			['6', '—'], // 6
101
			['\\^', ':'], // 6
102
			['7', 'ӗ'], // 7
103
			['&|\\?', 'Ӗ'], // 7
104
			['8', 'ӑ'], // 8
105
			['\\*', 'Ӑ'], // 8
106
			['9', '['], // 9
107
			['0', ']'] // 0
108
		]
109
	};
110
111
	$.ime.register( cv );
112
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-lat-altgr.js (+33 lines)
Line 0 Link Here
1
// This Chuvash keyboard is a stripped version of latin Mercen
2
// https://sites.google.com/site/mercen77/
3
// http://cvlat.blogspot.com
4
// only Chuvash diacritics are used, no additional letters for Turkish or dead keys implemented (for now?)
5
6
( function ( $ ) {
7
	'use strict';
8
9
	var cv = {
10
		id: 'cv-lat-altgr',
11
		name: 'Căvašla - Mercen',
12
		description: 'CVLat usă kurakan Mercen',
13
		date: '2013-03-21',
14
		URL: 'https://sites.google.com/site/mercen77/',
15
		author: 'Anatoly Mironov, @mirontoli',
16
		license: 'MIT',
17
		version: '1.0',
18
		patterns_x: [
19
			['a', 'ă'],
20
			['A', 'Ă'],
21
			['e', 'ĕ'],
22
			['E', 'Ĕ'],
23
			['s', 'ş'],
24
			['S', 'Ş'],
25
			['d|h', 'š'],
26
			['D|H', 'Š'],
27
			['w|u', 'ü'],
28
			['W|U', 'Ü']
29
		]
30
	};
31
32
	$.ime.register( cv );
33
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cyrl/cyrl-palochka.js (+43 lines)
Line 0 Link Here
1
/**
2
 * An input method for the Cyrillic alphabet with palochka, which is used by many languages in the
3
 * North Caucasus region. Most keyboard layouts don't support this letter, so people frequently type
4
 * other similarly looking characters instead, but this causes various problems, for example when
5
 * automatically converting from uppercase to lowercase and vice-versa.
6
 *
7
 * This layout assumes that the standard Russian keyboard layout is used. All the rules produce the
8
 * same character palochka, and the characters used are the same that are often used by the speakers
9
 * of these languages online: 1. Latin small 'l'. 2. Latin capital 'I'. 3. Ukrainian capital 'І'. 4.
10
 * Alt-1 (the digit one). 5. Alt-д (Cyrillic small 'de', on the same key as Latin 'l'). 6. Alt-ш
11
 * (Cyrillic small 'sha', on the same key as Latin 'i'). 7. Alt-Ш (Cyrillic capital 'sha', on the
12
 * same key as Latin 'I').
13
 */
14
15
( function ( $ ) {
16
	'use strict';
17
	// All the characters are very similar in appearance,
18
	// so it's better to give them names to avoid confusion.
19
	var cyrlPalochka;
20
21
	cyrlPalochka = {
22
		id: 'cyrl-palochka',
23
		name: 'Cyrillic Palochka',
24
		description: 'Palochka input method for Cyrillic',
25
		date: '2012-10-10',
26
		URL: 'http://github.com/wikimedia/jquery.ime',
27
		author: 'Amir E. Aharoni',
28
		license: 'GPLv3',
29
		version: '1.0',
30
		patterns: [
31
			[ 'l', 'Ӏ' ],
32
			[ 'I', 'Ӏ' ],
33
			[ 'І', 'Ӏ' ] ],
34
		patterns_x: [
35
			[ '1', 'Ӏ' ],
36
			[ 'д', 'Ӏ' ],
37
			[ 'ш', 'Ӏ' ],
38
			[ 'Ш', 'Ӏ' ] ]
39
	};
40
41
	$.ime.register( cyrlPalochka );
42
43
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/da/da-normforms.js (+49 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'da-normforms',
6
		name: 'Dansk',
7
		description: 'Danish input method with most common form transliterated',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/danish.pdf',
10
		author: 'John Erling Blad',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 3,
15
		patterns: [
16
			// The most common transliterations
17
			[ 'aa', 'å' ],
18
			[ 'AA', 'Å' ],
19
			[ 'Aa', 'Å' ],
20
			[ 'ae', 'æ' ],
21
			[ 'AE', 'Æ' ],
22
			[ 'Ae', 'Æ' ],
23
			[ 'oe', 'ø' ],
24
			[ 'OE', 'Ø' ],
25
			[ 'Oe', 'Ø' ],
26
			// The previous as negated transliterations, mostly for names
27
			[ 'åa', 'a', 'aa' ],
28
			[ 'ÅA', 'A', 'AA' ],
29
			[ 'Åa', 'A', 'Aa' ],
30
			[ 'åA', 'a', 'aA' ],
31
			[ 'æe', 'e', 'ae' ],
32
			[ 'ÆE', 'E', 'AE' ],
33
			[ 'Æe', 'E', 'Ae' ],
34
			[ 'æE', 'e', 'aE' ],
35
			[ 'øe', 'e', 'oe' ],
36
			[ 'ØE', 'E', 'OE' ],
37
			[ 'Øe', 'E', 'Oe' ], // this fails for some names like "Øen"
38
			[ 'øE', 'e', 'oE' ]
39
			// historically similar forms
40
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
41
			// it is not generally acceptable to use this transliteration. To
42
			// handle those situations we need some oposite forms.
43
			// There is a similar character "Å" for the length unit Angstrom,
44
			// but this is not the upper case letter Å.
45
		]
46
	};
47
48
	$.ime.register( defs );
49
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/de/de-transliteration.js (+27 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var de = {
5
		id: 'de-transliteration',
6
		name: 'Deutsch Tilde',
7
		description: 'German input method',
8
		date: '2012-11-20',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Erik Moeller',
11
		license: 'Public domain',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 1,
15
		patterns: [
16
			[ '~A', 'Ä' ],
17
			[ '~O', 'Ö' ],
18
			[ '~U', 'Ü' ],
19
			[ '~a', 'ä' ],
20
			[ '~o', 'ö' ],
21
			[ '~u', 'ü' ],
22
			[ '~s', 'ß' ],
23
			[ '~S', 'ß' ] ]
24
	};
25
26
	$.ime.register( de );
27
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/doi/doi-inscript2.js (+119 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var doiInScript2 = {
5
		id: 'doi-inscript2',
6
		name: 'डोगरी इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Dogri language',
8
		date: '2013-02-13',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['2', '२'],
15
			['\\#', '्र'],
16
			['3', '३'],
17
			['\\$', 'र्'],
18
			['4', '४'],
19
			['5', '५'],
20
			['6', '६'],
21
			['7', '७'],
22
			['8', '८'],
23
			['\\(', '('],
24
			['9', '९'],
25
			['\\]', ']'],
26
			['0', '०'],
27
			['\\_', 'ः'],
28
			['\\-', '-'],
29
			['\\+', 'ऋ'],
30
			['\\=', 'ृ'],
31
			['Q', 'औ'],
32
			['q", "ौ'],
33
			['W', 'ऐ'],
34
			['w', 'ै'],
35
			['E', 'आ'],
36
			['e', 'ा'],
37
			['R', 'ई'],
38
			['r', 'ी'],
39
			['T', 'ऊ'],
40
			['t', 'ू'],
41
			['Y', 'भ'],
42
			['y', 'ब'],
43
			['U', 'ङ'],
44
			['u', 'ह'],
45
			['I', 'घ'],
46
			['i', 'ग'],
47
			['O', 'ध'],
48
			['o', 'द'],
49
			['P', 'झ'],
50
			['p', 'ज'],
51
			['\\{', 'ढ'],
52
			['\\[', 'ड'],
53
			['\\}', 'ञ'],
54
			['\\]', '़'],
55
			['A', 'ओ'],
56
			['a', 'ो'],
57
			['S', 'ए'],
58
			['s', 'े'],
59
			['D', 'अ'],
60
			['d', '्'],
61
			['F', 'इ'],
62
			['f', 'ि'],
63
			['G', 'उ'],
64
			['g', 'ु'],
65
			['H', 'फ'],
66
			['h', 'प'],
67
			['j', 'र'],
68
			['K', 'ख'],
69
			['k', 'क'],
70
			['L', 'थ'],
71
			['l', 'त'],
72
			[':', 'छ'],
73
			[';', 'च'],
74
			['\"', 'ठ'],
75
			['\'', 'ट'],
76
			['z', 'ʼ'],
77
			['X', 'ँ'],
78
			['C', 'ण'],
79
			['c', 'म'],
80
			['v', 'न'],
81
			['b', 'व'],
82
			['n', 'ल'],
83
			['M', 'श'],
84
			['m', 'स'],
85
			['\\<', 'ष'],
86
			[',', ','],
87
			['\\>', '।'],
88
			['\\.', '.'],
89
			['/', 'य'],
90
			['\\%', 'ज्ञ'],
91
			['\\^', 'त्र'],
92
			['\\&', 'क्ष'],
93
			['\\*', 'श्र']
94
		],
95
		patterns_x: [
96
			['1', '\u200d'],
97
			['2', '\u200c'],
98
			['4', '₹'],
99
			['\\+', 'ॠ'],
100
			['\\=', 'ृ'],
101
			['e', '॑'],
102
			['i', 'ग़'],
103
			['R', 'ॡ'],
104
			['r', 'ॣ'],
105
			['p', 'ज़'],
106
			['\\{', 'ढ़'],
107
			['\\[', 'ड़'],
108
			['d', '॒'],
109
			['F', 'ऌ'],
110
			['f', 'ॢ'],
111
			['H', 'फ़'],
112
			['X', 'ॐ'],
113
			['N', 'ळ'],
114
			['\\>', 'ऽ'],
115
			['\\.', '॥']]
116
	};
117
118
	$.ime.register( doiInScript2 );
119
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/el/el-kbd.js (+95 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var elKbd = {
5
		id: 'el-kbd',
6
		name: 'Greek kbd',
7
		description: 'Greek kbd keyboard layout',
8
		date: '2013-02-11',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['΄¨i', 'ΐ'],
15
			['¨΄i', 'ΐ'],
16
			['΄¨y', 'ΰ'],
17
			['¨΄y', 'ΰ'],
18
			['¨i', 'ϊ'],
19
			['¨y', 'ϋ'],
20
			['¨I', 'Ϊ'],
21
			['¨Y', 'Ϋ'],
22
			['΄a', 'ά'],
23
			['΄e', 'έ'],
24
			['΄h', 'ή'],
25
			['΄i', 'ί'],
26
			['΄o', 'ό'],
27
			['΄y', 'ύ'],
28
			['΄v', 'ώ'],
29
			['΄A', 'Ά'],
30
			['΄E', 'Έ'],
31
			['΄H', 'Ή'],
32
			['΄I', 'Ί'],
33
			['΄O', 'Ό'],
34
			['΄Y', 'Ύ'],
35
			['΄V', 'Ώ'],
36
			['q', ';'],
37
			['w', 'ς'],
38
			['e', 'ε'],
39
			['r', 'ρ'],
40
			['t', 'τ'],
41
			['y', 'υ'],
42
			['u', 'θ'],
43
			['i', 'ι'],
44
			['o', 'ο'],
45
			['p', 'π'],
46
			['\\[', '['],
47
			['\\]', ']'],
48
			['a', 'α'],
49
			['s', 'σ'],
50
			['d', 'δ'],
51
			['f', 'φ'],
52
			['g', 'γ'],
53
			['h', 'η'],
54
			['j', 'ξ'],
55
			['k', 'κ'],
56
			['l', 'λ'],
57
			[';', '΄'],
58
			['z', 'ζ'],
59
			['x', 'χ'],
60
			['c', 'ψ'],
61
			['v', 'ω'],
62
			['b', 'β'],
63
			['n', 'ν'],
64
			['m', 'μ'],
65
			['Q', ':'],
66
			['W', 'Σ'],
67
			['E', 'Ε'],
68
			['R', 'Ρ'],
69
			['T', 'Τ'],
70
			['Y', 'Υ'],
71
			['U', 'Θ'],
72
			['I', 'Ι'],
73
			['O', 'Ο'],
74
			['P', 'Π'],
75
			['A', 'Α'],
76
			['S', 'Σ'],
77
			['D', 'Δ'],
78
			['F', 'Φ'],
79
			['G', 'Γ'],
80
			['H', 'Η'],
81
			['J', 'Ξ'],
82
			['K', 'Κ'],
83
			['L', 'Λ'],
84
			[':', '¨'],
85
			['Z', 'Ζ'],
86
			['X', 'Χ'],
87
			['C', 'Ψ'],
88
			['V', 'Ω'],
89
			['B', 'Β'],
90
			['N', 'Ν'],
91
			['M', 'Μ']]
92
	};
93
94
	$.ime.register( elKbd );
95
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-h-f.js (+59 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoHF = {
5
		id: 'eo-h-f',
6
		name: 'Espernto h-f',
7
		description: 'writing Esperanto-letters using Zamenhof\'s fundamental system.',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉh', 'ch'],
15
			['ĝh', 'gh'],
16
			['ĥh', 'hh'],
17
			['ĵh', 'jh'],
18
			['ŝh', 'sh'],
19
			['aŭu', 'au'],
20
			['eŭu', 'eu'],
21
			['Ĉh', 'Ch'],
22
			['Ĝh', 'Gh'],
23
			['Ĥh', 'Hh'],
24
			['Ĵh', 'Jh'],
25
			['Ŝh', 'Sh'],
26
			['Aŭu', 'Au'],
27
			['Eŭu', 'Eu'],
28
			['ĈH', 'CH'],
29
			['ĜH', 'GH'],
30
			['ĤH', 'HH'],
31
			['ĴH', 'JH'],
32
			['ŜH', 'SH'],
33
			['AŬU', 'AU'],
34
			['EŬU', 'EU'],
35
			['ch', 'ĉ'],
36
			['gh', 'ĝ'],
37
			['hh', 'ĥ'],
38
			['jh', 'ĵ'],
39
			['sh', 'ŝ'],
40
			['au', 'aŭ'],
41
			['eu', 'eŭ'],
42
			['Ch', 'Ĉ'],
43
			['Gh', 'Ĝ'],
44
			['Hh', 'Ĥ'],
45
			['Jh', 'Ĵ'],
46
			['Sh', 'Ŝ'],
47
			['Au', 'Aŭ'],
48
			['Eu', 'Eŭ'],
49
			['CH', 'Ĉ'],
50
			['GH', 'Ĝ'],
51
			['HH', 'Ĥ'],
52
			['JH', 'Ĵ'],
53
			['SH', 'Ŝ'],
54
			['AU', 'AŬ'],
55
			['EU', 'EŬ']]
56
	};
57
58
	$.ime.register( eoHF );
59
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-h.js (+54 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoH = {
5
		id: 'eo-h',
6
		name: 'Esperanto h',
7
		description: 'writing Esperanto-letters adding h\'s.',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉh', 'ch'],
15
			['ĝh', 'gh'],
16
			['ĥh', 'hh'],
17
			['ĵh', 'jh'],
18
			['ŝh', 'sh'],
19
			['ŭh', 'uh'],
20
			['Ĉh', 'Ch'],
21
			['Ĝh', 'Gh'],
22
			['Ĥh', 'Hh'],
23
			['Ĵh', 'Jh'],
24
			['Ŝh', 'Sh'],
25
			['Ŭh', 'Uh'],
26
			['ĈH', 'CH'],
27
			['ĜH', 'GH'],
28
			['ĤH', 'HH'],
29
			['ĴH', 'JH'],
30
			['ŜH', 'SH'],
31
			['ŬH', 'UH'],
32
33
			['ch', 'ĉ'],
34
			['gh', 'ĝ'],
35
			['hh', 'ĥ'],
36
			['jh', 'ĵ'],
37
			['sh', 'ŝ'],
38
			['uh', 'ŭ'],
39
			['Ch', 'Ĉ'],
40
			['Gh', 'Ĝ'],
41
			['Hh', 'Ĥ'],
42
			['Jh', 'Ĵ'],
43
			['Sh', 'Ŝ'],
44
			['Uh', 'Ŭ'],
45
			['CH', 'Ĉ'],
46
			['GH', 'Ĝ'],
47
			['HH', 'Ĥ'],
48
			['JH', 'Ĵ'],
49
			['SH', 'Ŝ'],
50
			['UH', 'Ŭ']]
51
	};
52
53
	$.ime.register( eoH );
54
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-plena.js (+99 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoPlena = {
5
		id: 'eo-plena',
6
		name: 'Esperanto plena',
7
		description: 'writing Esperanto-letters with the fundamental system and the X-system, like the default of EK.',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉx', 'cx'],
15
			['ĝx', 'gx'],
16
			['ĥx', 'hx'],
17
			['ĵx', 'jx'],
18
			['ŝx', 'sx'],
19
			['ŭx', 'ux'],
20
			['Ĉx', 'Cx'],
21
			['Ĝx', 'Gx'],
22
			['Ĥx', 'Hx'],
23
			['Ĵx', 'Jx'],
24
			['Ŝx', 'Sx'],
25
			['Ŭx', 'Ux'],
26
			['ĈX', 'CX'],
27
			['ĜX', 'GX'],
28
			['ĤX', 'HX'],
29
			['ĴX', 'JX'],
30
			['ŜX', 'SX'],
31
			['ŬX', 'UX'],
32
33
			['ĉh', 'ch'],
34
			['ĝh', 'gh'],
35
			['ĥh', 'hh'],
36
			['ĵh', 'jh'],
37
			['ŝh', 'sh'],
38
			['aŭu', 'au'],
39
			['eŭu', 'eu'],
40
			['Ĉh', 'Ch'],
41
			['Ĝh', 'Gh'],
42
			['Ĥh', 'Hh'],
43
			['Ĵh', 'Jh'],
44
			['Ŝh', 'Sh'],
45
			['Aŭu', 'Au'],
46
			['Eŭu', 'Eu'],
47
			['ĈH', 'CH'],
48
			['ĜH', 'GH'],
49
			['ĤH', 'HH'],
50
			['ĴH', 'JH'],
51
			['ŜH', 'SH'],
52
			['AŬU', 'AU'],
53
			['EŬU', 'EU'],
54
55
			['cx', 'ĉ'],
56
			['gx', 'ĝ'],
57
			['hx', 'ĥ'],
58
			['jx', 'ĵ'],
59
			['sx', 'ŝ'],
60
			['ux', 'ŭ'],
61
			['Cx', 'Ĉ'],
62
			['Gx', 'Ĝ'],
63
			['Hx', 'Ĥ'],
64
			['Jx', 'Ĵ'],
65
			['Sx', 'Ŝ'],
66
			['Ux', 'Ŭ'],
67
			['CX', 'Ĉ'],
68
			['GX', 'Ĝ'],
69
			['HX', 'Ĥ'],
70
			['JX', 'Ĵ'],
71
			['SX', 'Ŝ'],
72
			['UX', 'Ŭ'],
73
74
			['ch', 'ĉ'],
75
			['gh', 'ĝ'],
76
			['hh', 'ĥ'],
77
			['jh', 'ĵ'],
78
			['sh', 'ŝ'],
79
			['au', 'aŭ'],
80
			['eu', 'eŭ'],
81
			['Ch', 'Ĉ'],
82
			['Gh', 'Ĝ'],
83
			['Hh', 'Ĥ'],
84
			['Jh', 'Ĵ'],
85
			['Sh', 'Ŝ'],
86
			['Au', 'Aŭ'],
87
			['Eu', 'Eŭ'],
88
			['CH', 'Ĉ'],
89
			['GH', 'Ĝ'],
90
			['HH', 'Ĥ'],
91
			['JH', 'Ĵ'],
92
			['SH', 'Ŝ'],
93
			['AU', 'AŬ'],
94
			['EU', 'EŬ']
95
		]
96
	};
97
98
	$.ime.register( eoPlena );
99
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-q.js (+55 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoQ = {
5
		id: 'eo-q',
6
		name: 'Espernto q',
7
		description: 'writing Esperanto-letters adding q\'s.',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉq', 'cq'],
15
			['ĝq', 'gq'],
16
			['ĥq', 'hq'],
17
			['ĵq', 'jq'],
18
			['ŝq', 'sq'],
19
			['ŭq', 'uq'],
20
			['Ĉq', 'Cq'],
21
			['Ĝq', 'Gq'],
22
			['Ĥq', 'Hq'],
23
			['Ĵq', 'Jq'],
24
			['Ŝq', 'Sq'],
25
			['Ŭq', 'Uq'],
26
			['ĈQ', 'CQ'],
27
			['ĜQ', 'GQ'],
28
			['ĤQ', 'HQ'],
29
			['ĴQ', 'JQ'],
30
			['ŜQ', 'SQ'],
31
			['ŬQ', 'UQ'],
32
33
			['cq', 'ĉ'],
34
			['gq', 'ĝ'],
35
			['hq', 'ĥ'],
36
			['jq', 'ĵ'],
37
			['sq', 'ŝ'],
38
			['uq', 'ŭ'],
39
			['Cq', 'Ĉ'],
40
			['Gq', 'Ĝ'],
41
			['Hq', 'Ĥ'],
42
			['Jq', 'Ĵ'],
43
			['Sq', 'Ŝ'],
44
			['Uq', 'Ŭ'],
45
			['CQ', 'Ĉ'],
46
			['GQ', 'Ĝ'],
47
			['HQ', 'Ĥ'],
48
			['JQ', 'Ĵ'],
49
			['SQ', 'Ŝ'],
50
			['UQ', 'Ŭ']]
51
52
	};
53
54
	$.ime.register( eoQ);
55
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-transliteration.js (+45 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	function prepareRules () {
5
		var rules = [], chars;
6
7
		chars = {
8
			C: 'Ĉ',
9
			G: 'Ĝ',
10
			H: 'Ĥ',
11
			J: 'Ĵ',
12
			S: 'Ŝ',
13
			U: 'Ŭ',
14
			c: 'ĉ',
15
			g: 'ĝ',
16
			h: 'ĥ',
17
			j: 'ĵ',
18
			s: 'ŝ',
19
			u: 'ŭ'
20
		};
21
22
		$.each( chars, function ( ascii, accented ) {
23
			rules.push( [ ascii + '[Xx]', ascii, accented ] );
24
			rules.push( [ accented + '([Xx])', '[Xx]', ascii + '$1' ] );
25
		} );
26
27
		return rules;
28
	}
29
30
	var eoTransliteration = {
31
		id: 'eo-transliteration',
32
		name: 'Esperanto Transliteration',
33
		description: 'Esperanto x-code transliteration',
34
		date: '2012-10-10',
35
		URL: 'http://github.com/wikimedia/jquery.ime',
36
		author: 'Brion Vibber',
37
		license: 'GPLv3',
38
		version: '1.0',
39
		contextLength: 1,
40
		maxKeyLength: 1,
41
		patterns: prepareRules()
42
	};
43
44
	$.ime.register( eoTransliteration );
45
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-vi.js (+65 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoVi = {
5
		id: 'eo-vi',
6
		name: 'Esperanto vi',
7
		description: 'writing Esperanto-letters using double key press (the X-system).',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉc', 'cc'],
15
			['ĝg', 'gg'],
16
			['ĥh', 'hh'],
17
			['ĵj', 'jj'],
18
			['ŝs', 'ss'],
19
			['ŭu', 'uu'],
20
			['Ĉc', 'Cc'],
21
			['Ĝg', 'Gg'],
22
			['Ĥh', 'Hh'],
23
			['Ĵj', 'Jj'],
24
			['Ŝs', 'Ss'],
25
			['Ŭu', 'Uu'],
26
			['aŭu', 'au'],
27
			['eŭu', 'eu'],
28
			['Aŭu', 'Au'],
29
			['Eŭu', 'Eu'],
30
			['AŬU', 'AU'],
31
			['EŬU', 'EU'],
32
			['ĈC', 'CC'],
33
			['ĜG', 'GG'],
34
			['ĤH', 'HH'],
35
			['ĴJ', 'JJ'],
36
			['ŜS', 'SS'],
37
			['ŬU', 'UU'],
38
			['cc', 'ĉ'],
39
			['gg', 'ĝ'],
40
			['hh', 'ĥ'],
41
			['jj', 'ĵ'],
42
			['ss', 'ŝ'],
43
			['uu', 'ŭ'],
44
			['au', 'aŭ'],
45
			['eu', 'eŭ'],
46
			['Cc', 'Ĉ'],
47
			['Gg', 'Ĝ'],
48
			['Hh', 'Ĥ'],
49
			['Jj', 'Ĵ'],
50
			['Ss', 'Ŝ'],
51
			['Uu', 'Ŭ'],
52
			['Au', 'Aŭ'],
53
			['Eu', 'Eŭ'],
54
			['AU', 'AŬ'],
55
			['EU', 'EŬ'],
56
			['CC', 'Ĉ'],
57
			['GG', 'Ĝ'],
58
			['HH', 'Ĥ'],
59
			['JJ', 'Ĵ'],
60
			['SS', 'Ŝ'],
61
			['UU', 'Ŭ']]
62
	};
63
64
	$.ime.register( eoVi );
65
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-x.js (+53 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var eoX = {
5
		id: 'eo-x',
6
		name: 'Esperanto x',
7
		description: 'writing Esperanto-letters adding x\'s (the X-system).',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ĉx', 'cx'],
15
			['ĝx', 'gx'],
16
			['ĥx', 'hx'],
17
			['ĵx', 'jx'],
18
			['ŝx', 'sx'],
19
			['ŭx', 'ux'],
20
			['Ĉx', 'Cx'],
21
			['Ĝx', 'Gx'],
22
			['Ĥx', 'Hx'],
23
			['Ĵx', 'Jx'],
24
			['Ŝx', 'Sx'],
25
			['Ŭx', 'Ux'],
26
			['ĈX', 'CX'],
27
			['ĜX', 'GX'],
28
			['ĤX', 'HX'],
29
			['ĴX', 'JX'],
30
			['ŜX', 'SX'],
31
			['ŬX', 'UX'],
32
			['cx', 'ĉ'],
33
			['gx', 'ĝ'],
34
			['hx', 'ĥ'],
35
			['jx', 'ĵ'],
36
			['sx', 'ŝ'],
37
			['ux', 'ŭ'],
38
			['Cx', 'Ĉ'],
39
			['Gx', 'Ĝ'],
40
			['Hx', 'Ĥ'],
41
			['Jx', 'Ĵ'],
42
			['Sx', 'Ŝ'],
43
			['Ux', 'Ŭ'],
44
			['CX', 'Ĉ'],
45
			['GX', 'Ĝ'],
46
			['HX', 'Ĥ'],
47
			['JX', 'Ĵ'],
48
			['SX', 'Ŝ'],
49
			['UX', 'Ŭ']]
50
	};
51
52
	$.ime.register( eoX );
53
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fa/fa-kbd.js (+167 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var faKbd = {
5
		id: 'fa-kbd',
6
		name: 'kbd',
7
		description: 'Persian standard (ISIRI 9147) keyboard layout',
8
		date: '2013-08-30',
9
		URL: 'http://www.isiri.org/portal/files/std/9147.pdf',
10
		author: 'Ebrahim Byagowi',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['`', '\u200d'],
15
			['1', '۱'],
16
			['2', '۲'],
17
			['3', '۳'],
18
			['4', '۴'],
19
			['5', '۵'],
20
			['6', '۶'],
21
			['7', '۷'],
22
			['8', '۸'],
23
			['9', '۹'],
24
			['0', '۰'],
25
26
			['q', 'ض'],
27
			['w', 'ص'],
28
			['e', 'ث'],
29
			['r', 'ق'],
30
			['t', 'ف'],
31
			['y', 'غ'],
32
			['u', 'ع'],
33
			['i', 'ه'],
34
			['o', 'خ'],
35
			['p', 'ح'],
36
			['\\[', 'ج'],
37
			['\\]', 'چ'],
38
39
			['a', 'ش'],
40
			['s', 'س'],
41
			['d', 'ی'],
42
			['f', 'ب'],
43
			['g', 'ل'],
44
			['h', 'ا'],
45
			['j', 'ت'],
46
			['k', 'ن'],
47
			['l', 'م'],
48
			[';', 'ک'],
49
			['\'', 'گ'],
50
51
			['z', 'ظ'],
52
			['x', 'ط'],
53
			['c', 'ز'],
54
			['v', 'ر'],
55
			['b', 'ذ'],
56
			['n', 'د'],
57
			['m', 'پ'],
58
			[',', 'و'],
59
			['\\.', '.'],
60
			['/', '/'],
61
62
			['~', '÷'],
63
			['\\!', '!'],
64
			['@', '٬'],
65
			['#', '٫'],
66
			['\\$', '﷼'],
67
			['%', '٪'],
68
			['\\^', '×'],
69
			['&', '،'],
70
			['\\*', '*'],
71
			['\\(', ')'],
72
			['\\)', '('],
73
			['_', 'ـ'],
74
75
			['Q', 'ْ'],
76
			['W', 'ٌ'],
77
			['E', 'ٍ'],
78
			['R', 'ً'],
79
			['T', 'ُ'],
80
			['Y', 'ِ'],
81
			['U', 'َ'],
82
			['I', 'ّ'],
83
			['O', ']'],
84
			['P', '['],
85
			['\\{', '}'],
86
			['\\}', '{'],
87
88
			['A', 'ؤ'],
89
			['S', 'ئ'],
90
			['D', 'ي'],
91
			['F', 'إ'],
92
			['G', 'أ'],
93
			['H', 'آ'],
94
			['J', 'ة'],
95
			['K', '»'],
96
			['L', '«'],
97
			['\\:', ':'],
98
			['"', '؛'],
99
100
			['Z', 'ك'],
101
			['X', 'ٓ'],
102
			['C', 'ژ'],
103
			['V', 'ٰ'],
104
			['B', '\u200c'],
105
			['N', 'ٔ'],
106
			['M', 'ء'],
107
			['<', '>'],
108
			['>', '<'],
109
			['\\?', '؟']
110
		],
111
		patterns_x: [
112
			['`', '~'],
113
			['1', '`'],
114
			['2', '@'],
115
			['3', '#'],
116
			['4', '$'],
117
			['5', '%'],
118
			['6', '^'],
119
			['7', '&'],
120
			['8', '•'],
121
			['9', '\u200e'],
122
			['0', '\u200f'],
123
124
			['q', '°'],
125
			['w', ''],
126
			['e', '€'],
127
			['r', ''],
128
			['t', ''],
129
			['y', ''],
130
			['u', ''],
131
			['i', '\u202d'],
132
			['o', '\u202e'],
133
			['p', '\u202c'],
134
			['\\[', '\u202a'],
135
			['\\]', '\u202b'],
136
137
			['a', ''],
138
			['s', ''],
139
			['d', 'ى'],
140
			['f', ''],
141
			['g', ''],
142
			['h', 'ٱ'],
143
			['j', ''],
144
			['k', '﴾'],
145
			['l', '﴿'],
146
			[';', ';'],
147
			['\'', '"'],
148
149
			['z', ''],
150
			['x', ''],
151
			['c', ''],
152
			['v', 'ٖ'],
153
			['b', '\u200d'],
154
			['n', 'ٕ'],
155
			['m', '…'],
156
			[',', ','],
157
			['\\.', '\''],
158
			['/', '?'],
159
			[' ', '\xa0']
160
		],
161
		patterns_shift: [
162
			[' ', '\u200c']
163
		]
164
	};
165
166
	$.ime.register( faKbd );
167
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fi/fi-transliteration.js (+32 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var fiTransliteration = {
5
		id: 'fi-transliteration',
6
		name: 'translitterointi',
7
		description: 'Finnish transliteration',
8
		date: '2012-11-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Niklas Laxström',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['\\.a', 'å'],
17
			['\\.A', 'Å'],
18
			[':a', 'ä'],
19
			[':A', 'Ä'],
20
			[':o', 'ö'],
21
			[':O', 'Ö'],
22
			['shh', 'š'],
23
			['Shh', 'Š'],
24
			['\\.e', '€']
25
		],
26
		patterns_x: [
27
			['e', '€']
28
		]
29
	};
30
31
	$.ime.register( fiTransliteration );
32
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fo/fo-normforms.js (+65 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'fo-normforms',
6
		name: 'Føroyskt',
7
		description: 'Faroese input method with most common form transliterated',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/faroese.pdf',
10
		author: 'John Erling Blad',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 3,
15
		patterns: [
16
			// Uses "'" as an accent
17
			[ '\'a', 'á' ],
18
			[ '\'A', 'Á' ],
19
			[ '\'i', 'í' ],
20
			[ '\'I', 'Í' ],
21
			[ '\'o', 'ó' ],
22
			[ '\'O', 'Ó' ],
23
			[ '\'u', 'ú' ],
24
			[ '\'U', 'Ú' ],
25
			[ '\'y', 'ý' ],
26
			[ '\'Y', 'Ý' ],
27
			// Uses "~" as "approximatly similar to"
28
			[ '~d', 'ð' ],
29
			[ '~D', 'Ð' ],
30
			[ '~o', 'ö' ],
31
			[ '~O', 'Ö' ],
32
			// The most common transliterations (also the Danish letters)
33
			[ 'aa', 'å' ],
34
			[ 'AA', 'Å' ],
35
			[ 'Aa', 'Å' ],
36
			[ 'ae', 'æ' ],
37
			[ 'AE', 'Æ' ],
38
			[ 'Ae', 'Æ' ],
39
			[ 'oe', 'ø' ],
40
			[ 'OE', 'Ø' ],
41
			[ 'Oe', 'Ø' ],
42
			// The previous as negated transliterations, mostly for names
43
			[ 'åa', 'a', 'aa' ],
44
			[ 'ÅA', 'A', 'AA' ],
45
			[ 'Åa', 'A', 'Aa' ],
46
			[ 'åA', 'a', 'aA' ],
47
			[ 'æe', 'e', 'ae' ],
48
			[ 'ÆE', 'E', 'AE' ],
49
			[ 'Æe', 'E', 'Ae' ],
50
			[ 'æE', 'e', 'aE' ],
51
			[ 'øe', 'e', 'oe' ],
52
			[ 'ØE', 'E', 'OE' ],
53
			[ 'Øe', 'E', 'Oe' ], // this fails for some names like "Øen"
54
			[ 'øE', 'e', 'oE' ]
55
			// historically similar forms
56
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
57
			// it is not generally acceptable to use this transliteration. To
58
			// handle those situations we need some oposite forms.
59
			// There is a similar character "Å" for the length unit Angstrom,
60
			// but this is not the upper case letter Å.
61
		]
62
	};
63
64
	$.ime.register( defs );
65
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fonipa/ipa-sil.js (+240 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ipaSil = {
5
		id: 'ipa-sil',
6
		name: 'International Phonetic Alphabet - SIL',
7
		description: 'International Phonetic Alphabet - SIL',
8
		date: '2012-11-23',
9
		URL: 'http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=UniIPAKeyboard',
10
		author: 'mapping by Martin Hosken and Lorna A. Priest; implementation by Amir E. Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['B=', 'ʙ'],
17
			['f=', 'ɸ'],
18
			['b=', 'β'],
19
20
			['m>', 'ɱ'],
21
			['v<', 'ⱱ'],
22
			['v=', 'ʋ'],
23
24
			['t=', 'θ'],
25
			['d=', 'ð'],
26
27
			['r>', 'ɾ'],
28
			['l=', 'ɬ'],
29
			['l>', 'ɮ'],
30
			['r=', 'ɹ'],
31
32
			['s=', 'ʃ'],
33
			['z=', 'ʒ'],
34
35
			['t<', 'ʈ'],
36
			['d<', 'ɖ'],
37
			['n<', 'ɳ'],
38
			['r<', 'ɽ'],
39
			['s<', 'ʂ'],
40
			['z<', 'ʐ'],
41
			['R<', 'ɻ'],
42
			['l<', 'ɭ'],
43
44
			['j=', 'ɟ'],
45
			['n=', 'ɲ'],
46
			['c=', 'ç'],
47
			['j<', 'ʝ'],
48
			['L<', 'ʎ'],
49
50
			['g<', 'ɡ'],
51
			['n>', 'ŋ'],
52
			['g=', 'ɣ'],
53
			['w>', 'ɰ'],
54
			['L=', 'ʟ'],
55
56
			['G=', 'ɢ'],
57
			['N=', 'ɴ'],
58
			['R=', 'ʀ'],
59
			['x=', 'χ'],
60
			['R>', 'ʁ'],
61
62
			['h>', 'ħ'],
63
			['\\?<', 'ʕ'],
64
65
			['\\?=', 'ʔ'],
66
			['h<', 'ɦ'],
67
68
			['p=', 'ʘ'],
69
			['ǃ<', 'ǀ'], // This is not an exclamation mark
70
			['!',  'ǃ'],
71
			['ǃ=', 'ǂ'], // This is not an exclamation mark
72
			['ǃ>', 'ǁ'], // This is not an exclamation mark
73
74
			['b>', 'ɓ'],
75
			['d>', 'ɗ'],
76
			['j>', 'ʄ'],
77
			['g>', 'ɠ'],
78
			['G>', 'ʛ'],
79
80
			['w=', 'ʍ'],
81
			['y<', 'ɥ'],
82
			['h=', 'ɥ'],
83
			['H=', 'ʜ'],
84
			['Q<', 'ʢ'],
85
			['Q=', 'ʡ'],
86
			// TODO non-IPA retroflex hooks
87
88
			['c<', 'ɕ'],
89
			['z>', 'ʑ'],
90
			['L>', 'ɺ'],
91
			['H<', 'ɧ'],
92
93
			['i=', 'ɪ'],
94
			['e<', 'ɛ'],
95
			['a<', 'æ'],
96
97
			['y=', 'ʏ'],
98
			['o>', 'ø'],
99
			['E<', 'œ'],
100
			['E>', 'ɶ'],
101
102
			['I=', 'ɨ'],
103
			['E=', 'ɘ'],
104
			['e=', 'ə'],
105
			['e>', 'ɜ'],
106
			['a>', 'ɐ'],
107
			['U=', 'ʉ'],
108
			['O=', 'ɵ'],
109
			['O<', 'ɞ'],
110
111
			['u=', 'ɯ'],
112
			['O>', 'ɤ'],
113
			['u>', 'ʌ'],
114
			['a=', 'ɑ'],
115
			['u',  'u'],
116
			['u<', 'ʊ'],
117
			['o<', 'ɔ'],
118
			['o=', 'ɒ'],
119
120
			['ˈ}',        'ˌ'], // }}
121
			['}',         'ˈ'],
122
			['ː:',        'ˑ'], // ::
123
			['ˑ:',        'ːː'], // ::: // Not IPA sanctioned
124
			[':',         'ː'],
125
			['\\*\\*\\*', '\u0306'], // Combining breve
126
			['\\.<',      '|'],
127
			['\\.=',      '‖'],
128
			['#=',        '‿'],
129
130
			// Tones
131
			['([˥-˩])4', '$1˥'],
132
			['([˥-˩])3', '$1˦'],
133
			['([˥-˩])2', '$1˧'],
134
			['([˥-˩])1', '$1˨'],
135
			['([˥-˩])0', '$1˩'],
136
			['#4', '˥'],
137
			['#3', '˦'],
138
			['#2', '˧'],
139
			['#1', '˨'],
140
			['#0', '˩'],
141
			['(?:\u0300)3', '\u030C'], // @13  - Combining caron
142
			['(?:\u0301)1', '\u0302'], // @31  - Combining circumflex accent
143
			['(?:\u0304)3', '\u1dc4'], // @23  - Combining macron-acute
144
			['(?:\u0300)2', '\u1dc5'], // @12  - Combining grave-macron
145
			['(?:\u030C)1', '\u1dc8'], // @131 - Combining grave-acute-grave
146
			['(?:\u0304)1', '\u1dc6'], // @21  - Combining macron-grave // Not IPA sanctioned
147
			['(?:\u0301)2', '\u1dc7'], // @32  - Combining acute-macron // Not IPA sanctioned
148
			['(?:\u0302)3', '\u1dc9'], // @313 - Combining acute-grave-acute // Not IPA sanctioned
149
			['(?:\u030a)4', '\u030b'], // Combining double acute accent
150
			['(?:\u030a)3', '\u0301'], // Combining acute accent
151
			['(?:\u030a)2', '\u0304'], // Combining macron
152
			['(?:\u030a)1', '\u0300'], // Combining grave accent
153
			['(?:\u030a)0', '\u030f'], // Combining double grave accent
154
155
			// Tone numbers (non-IPA)
156
			['\\^0', '⁰'], // Not IPA sanctioned
157
			['\\^1', '¹'], // Not IPA sanctioned
158
			['\\^2', '²'], // Not IPA sanctioned
159
			['\\^3', '³'], // Not IPA sanctioned
160
			['\\^4', '⁴'], // Not IPA sanctioned
161
			['\\^5', '⁵'], // Not IPA sanctioned
162
			['\\^6', '⁶'], // Not IPA sanctioned
163
			['\\^7', '⁷'], // Not IPA sanctioned
164
			['\\^8', '⁸'], // Not IPA sanctioned
165
			['\\^9', '⁹'], // Not IPA sanctioned
166
			// This character is called "Superscript hyphen" in the layout document,
167
			// and "Superscript minus" in Unicode
168
			['\\^-', '⁻'], // Not IPA sanctioned
169
170
			['ꜛ>', '↗'], // #>>
171
			['ꜜ<', '↘'], // #<<
172
			['#<', 'ꜜ'],
173
			['#>', 'ꜛ'],
174
175
			// Diacritics and suprasegmentals
176
			['h\\^', 'ʰ'],
177
			['w\\^', 'ʷ'],
178
			['j\\^', 'ʲ'],
179
			['ɣ\\^', 'ˠ'], // g=
180
			['ʕ\\^', 'ˤ'], // ?<
181
			['n\\^', 'ⁿ'],
182
			['l\\^', 'ˡ'],
183
			// TODO non-IPA superscripts
184
185
			['ʽ\\[',          '˞'],      // [[[
186
			['\\[\\[',        'ʽ'],      // [[ // Not IPA sanctioned
187
			['(?:\u031a)\\]', '‘'],      // ]]]] // Not IPA sanctioned
188
			['ʼ\\]',          '\u031a'], // ]]]  // Combining left angle above
189
			['\\]\\]',        'ʼ'],      // ]]
190
191
			['(?:\u032f)\\$', '\u0330'], // $$$ // Combining tilde below
192
			['(?:\u0329)\\$', '\u032f'], // $$  // Combining inverted breve below
193
			['\\$',           '\u0329'], // $   // Combining vertical line below
194
195
			// TODO non-IPA retroflex hooks
196
197
			['(?:\u032c)%',   '\u0324'], // %%% // Combining diaeresis below
198
			['(?:\u0325)%',   '\u032c'], // %%  // Combining caron below
199
			['%', '\u0325'],             // %   // Combining ring below
200
201
			// TODO non-IPA palatal hooks
202
203
			['@', '\u030a'], // Combining ring above
204
205
			['(?:\u033c)\\{',   '\u0323'], // {{{{{ // Combining dot below
206
			['(?:\u033b)\\{',   '\u033c'], // {{{{  // Combining seagull below
207
			['(?:\u033a)\\{',   '\u033b'], // {{{   // Combining square below
208
			['(?:\u032a)\\{',   '\u033a'], // {{    // Combining inverted bridge below
209
			['\\{', '\u032a'],             // {     // Combining bridge below
210
211
			['(?:\u0303)~',   '\u0334'], // ~~    // Combining tilde overlay
212
			['~',             '\u0303'], // ~     // Combining tilde
213
214
			['(?:\u0306)\\*', '\u0307'], // ****  // Combining dot above
215
			['(?:\u033d)\\*', '\u0306'], // ***   // Combining breve
216
			['(?:\u0308)\\*', '\u033d'], // **    // Combining x above
217
			['\\*',           '\u0308'], // *     // Combining diaeresis
218
219
			// TODO Find out what the m with the five asterisks is.
220
221
			['#&',            '\u0361'], //          Combining double inverted breve
222
			['(?:\u030a)&',   '\u035c'], // @&    // Combining double breve below
223
224
			['(?:\u0318)\\+', '\u0339'], // ++++  // Combining right half ring below
225
			['(?:\u0319)_',   '\u031c'], // ____  // Combining left half ring below
226
			['(?:\u031d)\\+', '\u0318'], // +++   // Combining left tack below
227
			['(?:\u031e)_',   '\u0319'], // ___   // Combining right tack below
228
			['(?:\u031f)\\+', '\u031d'], // ++    // Combining up tack below
229
			['(?:\u0320)_',   '\u031e'], // __    // Combining down tack below
230
			['\\+',           '\u031f'], // +     // Combining plus sign below
231
			['_',             '\u0320'], // _     // Combining minus sign below
232
233
			['=>', '→'], // Not IPA sanctioned
234
			['s>', 'σ'], // Not IPA sanctioned
235
			['=<', '\u200d'] // Combining Grapheme Joiner
236
		]
237
	};
238
239
	$.ime.register( ipaSil );
240
} ( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fonipa/ipa-x-sampa.js (+189 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ipaSil = {
5
		id: 'ipa-x-sampa',
6
		name: 'International Phonetic Alphabet - X-SAMPA',
7
		description: 'International Phonetic Alphabet - X-SAMPA',
8
		date: '2012-11-26',
9
		URL: 'http://www.phon.ucl.ac.uk/home/sampa/x-sampa.htm',
10
		author: 'mapping by John C. Wells; implementation by Amir E. Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 4,
15
		patterns: [
16
			// Tones
17
			['_/',         '\u030C'], // Combining caron
18
			['_\\\\',      '\u0302'], // Combining circumflex accent
19
			['_ɥ_T',       '\u1dc4'], // _H_T - Combining macron-acute
20
			['_β_L',       '\u1dc5'], // _B_L - Combining grave-macron
21
			['_ʁ_F',       '\u1dc8'], // _R_F - Combining grave-acute-grave
22
23
			['β\\\\',      'ʙ'],
24
			['p\\\\',      'ɸ'],
25
			['B',          'β'],
26
27
			['F',          'ɱ'],
28
			// ⱱ is not in X-SAMPA
29
			['P',          'ʋ'],
30
			['v\\\\',      'ʋ'],
31
32
			['T',          'θ'],
33
			['D',          'ð'],
34
35
			['4',          'ɾ'],
36
			['K',          'ɬ'],
37
			['ɬ\\\\',      'ɮ'],
38
			['r\\\\',      'ɹ'],
39
40
			['S',          'ʃ'],
41
			['Z',          'ʒ'],
42
43
			['t`',         'ʈ'],
44
			['d`',         'ɖ'],
45
			['n`',         'ɳ'],
46
			['r`',         'ɽ'],
47
			['s`',         'ʂ'],
48
			['z`',         'ʐ'],
49
			['ɹ`',         'ɻ'],
50
			['l`',         'ɭ'],
51
52
			['ɲ\\\\',      'ɟ'],
53
			['J',          'ɲ'],
54
			['C',          'ç'],
55
			['j\\\\',      'ʝ'],
56
			['L',          'ʎ'],
57
58
			['g',          'ɡ'],
59
			['_N',         '\u033c'], // Combining seagull below
60
			['N',          'ŋ'],
61
			['_G',         'ˠ'],
62
			['G',          'ɣ'],
63
			['ɯ\\\\',      'ɰ'],
64
			['ʎ\\\\',      'ʟ'],
65
66
			['ɣ\\\\',      'ɢ'],
67
			['ŋ\\\\',      'ɴ'],
68
			['ʁ\\\\',      'ʀ'],
69
			['_X',         '\u0306'], // Combining breve
70
			['X',          'χ'],
71
			['R',          'ʁ'],
72
73
			['χ\\\\',      'ħ'],
74
			['_ʔ\\\\',     'ˤ'],
75
			['ʔ\\\\',      'ʕ'],
76
77
			['\\?',        'ʔ'],
78
			['h\\\\',      'ɦ'],
79
80
			['ɔ\\\\',      'ʘ'],
81
			['ǀ\\|\\\\',   'ǁ'],
82
			['\\|\\\\',    'ǀ'],
83
			['ꜜ\\\\',      'ǃ'], // !\ -> Retroflex (postalveolar) click
84
			['_?=',        '\u0329'], // Combining vertical line below
85
			['\u0329\\\\', 'ǂ'],
86
87
			['b_<',        'ɓ'],
88
			['d_<',        'ɗ'],
89
			['ɟ_<',        'ʄ'],
90
			['ɡ_<',        'ɠ'],
91
			['ɢ_<',        'ʛ'],
92
93
			['W',          'ʍ'],
94
			['H',          'ɥ'],
95
			['ɥ\\\\',      'ʜ'],
96
			['<\\\\',      'ʢ'],
97
			['>\\\\',      'ʡ'],
98
99
			['s\\\\',      'ɕ'],
100
			['z\\\\',      'ʑ'],
101
			['l\\\\',      'ɺ'],
102
			['x\\\\',      'ɧ'],
103
104
			['I',          'ɪ'],
105
			['E',          'ɛ'],
106
			['\\{',        'æ'],
107
108
			['Y',          'ʏ'],
109
			['2',          'ø'],
110
			['9',          'œ'],
111
			['&',          'ɶ'],
112
113
			['1',          'ɨ'],
114
			['ə\\\\',      'ɘ'],
115
			['@',          'ə'],
116
			['ɜ\\\\',      'ɞ'],
117
			['3',          'ɜ'],
118
			['6',          'ɐ'],
119
			['_\\}',       '\u031a'],
120
			['\\}',        'ʉ'],
121
			['8',          'ɵ'],
122
123
			['M',          'ɯ'],
124
			['7',          'ɤ'],
125
			['V',          'ʌ'],
126
			['_A',         '\u0318'], // Combining right tack below
127
			['A',          'ɑ'],
128
			['U',          'ʊ'],
129
			['_O',         '\u0339'], // ++++  // Combining right half ring below
130
			['O',          'ɔ'],
131
			['Q',          'ɒ'],
132
133
			['%',          'ˌ'],
134
			['_"',         '\u0308'], // Combining diaeresis
135
			['"',          'ˈ'],
136
			['ː\\\\',      'ˑ'],
137
			[':',          'ː'],
138
			['\\.<',       '|'],
139
			['\\|\\|',     '‖'],
140
			['-\\\\',      '‿'],
141
142
			['<ʁ>',        '↗'], // <R>
143
			['<ɱ>',        '↘'], // <F>
144
			['!',          'ꜜ'],
145
			['_\\^',       '\u032f'], // Combining inverted breve below
146
			['\\^',        'ꜛ'],
147
148
			// Diacritics and suprasegmentals
149
			['_h',         'ʰ'],
150
			['_w',         'ʷ'],
151
			['_j',         'ʲ'],
152
			// see above for ˠ
153
			// see above for ˤ
154
			['_n',         'ⁿ'],
155
			['_l',         'ˡ'],
156
157
			['`',          '˞'],
158
			['_>',         'ʼ'],
159
			// See above for No audible release
160
			// See above for Syllabic
161
			// See above for Non-syllabic
162
			['_k',         '\u0330'], // Combining tilde below
163
164
			['([ɱɮɳɖʐɻɽɭɲɟʝjŋɡɣɰ])_0', '$1\u030a'], // Combining ring above
165
			['(.)_0',      '$1\u0325'], // Combining ring below
166
			['_v',         '\u032c'], // Combining caron below
167
			['_t',         '\u0324'], // Combining diaeresis below
168
			['_d',         '\u032a'], // Combining bridge below
169
			['_a',         '\u033a'], // Combining inverted bridge below
170
			['_m',         '\u033b'], // Combining square below
171
			// See above for linguolabial
172
			['_?~',        '\u0303'], // Combining tilde
173
			['_e',         '\u0334'], // Combining tilde overlay
174
			// See above for centralised
175
			['_x',         '\u033d'], // Combining x above
176
			// See above for extra short
177
			['_\\+',       '\u031f'], // Combining plus sign below
178
			['_-',         '\u0320'], // Combining minus sign below
179
			['_r',         '\u031d'], // Combining up tack below
180
			['_o',         '\u031e'], // Combining down tack below
181
			// See above for advanced tongue root
182
			['_q',         '\u0319'], // Combining left tack below
183
			// See above for more rounded
184
			['_c',         '\u031c']
185
		]
186
	};
187
188
	$.ime.register( ipaSil );
189
} ( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gom/gom-inscript2.js (+119 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var gomInScript2 = {
5
		id: 'gom-inscript2',
6
		name: 'कोंकणी इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Kokani language',
8
		date: '2012-11-06',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\!', 'ॲ'],
14
			['1', '१'],
15
			['\\@', 'ॅ'],
16
			['2', '२'],
17
			['\\#', '्र'],
18
			['3', '३'],
19
			['\\$', 'र्'],
20
			['4', '४'],
21
			['5', '५'],
22
			['6', '६'],
23
			['7', '७'],
24
			['8', '८'],
25
			['\\(', '('],
26
			['9', '९'],
27
			['\\]', ']'],
28
			['0', '०'],
29
			['\\_', 'ः'],
30
			['\\-', '-'],
31
			['\\+', 'ऋ'],
32
			['\\=', 'ृ'],
33
			['Q', 'औ'],
34
			['q', 'ौ'],
35
			['W', 'ऐ'],
36
			['w', 'ै'],
37
			['E', 'आ'],
38
			['e', 'ा'],
39
			['R', 'ई'],
40
			['r', 'ी'],
41
			['T', 'ऊ'],
42
			['t', 'ू'],
43
			['Y', 'भ'],
44
			['y', 'ब'],
45
			['U', 'ङ'],
46
			['u', 'ह'],
47
			['I', 'घ'],
48
			['i', 'ग'],
49
			['O', 'ध'],
50
			['o', 'द'],
51
			['P', 'झ'],
52
			['p', 'ज'],
53
			['\\{', 'ढ'],
54
			['\\[', 'ड'],
55
			['\\}', 'ञ'],
56
			['\\]', '़'],
57
			['A', 'ओ'],
58
			['a', 'ो'],
59
			['S', 'ए'],
60
			['s', 'े'],
61
			['D', 'अ'],
62
			['d', '्'],
63
			['F', 'इ'],
64
			['f', 'ि'],
65
			['G', 'उ'],
66
			['g', 'ु'],
67
			['H', 'फ'],
68
			['h', 'प'],
69
			['J', 'ऱ'],
70
			['j', 'र'],
71
			['K', 'ख'],
72
			['k', 'क'],
73
			['L', 'थ'],
74
			['l', 'त'],
75
			[':', 'छ'],
76
			[';', 'च'],
77
			['"', 'ठ'],
78
			['\\\'', 'ट'],
79
			['X', 'ँ'],
80
			['x', 'ं'],
81
			['C', 'ण'],
82
			['c', 'म'],
83
			['v', 'न'],
84
			['b', 'व'],
85
			['N', 'ळ'],
86
			['n', 'ल'],
87
			['M', 'श'],
88
			['m', 'स'],
89
			['\\<', 'ष'],
90
			[',', ','],
91
			['\\>', '।'],
92
			['\\.', '.'],
93
			['/', 'य'],
94
			['\\%', 'ज्ञ'],
95
			['\\^', 'त्र'],
96
			['\\&', 'क्ष'],
97
			['\\*', 'श्र']
98
		],
99
		patterns_x: [
100
			['1', '\u200d'],
101
			['2', '\u200c'],
102
			['4', '₹'],
103
			['\\+', 'ॠ'],
104
			['\\=', 'ॄ'],
105
			['e', '॑'],
106
			['R', 'ॡ'],
107
			['r', 'ॣ'],
108
			['d', '॒'],
109
			['F', 'ऌ'],
110
			['f', 'ॢ'],
111
			['X', 'ॐ'],
112
			[',', '॰'],
113
			['\\>', 'ऽ'],
114
			['\\.', '॥']
115
		]
116
	};
117
118
	$.ime.register( gomInScript2 );
119
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-inscript.js (+113 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var guInscript = {
5
		id: 'gu-inscript',
6
		name: 'ઇનસ્ક્રિપ્ટ',
7
		description: 'Inscript keyboard for Gujarati script',
8
		date: '2012-10-14',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['X', '\u0A81'],
14
			['x', '\u0A82'],
15
			['_', '\u0A83'],
16
			['D', '\u0A85'],
17
			['E', '\u0A86'],
18
			['F', '\u0A87'],
19
			['R', '\u0A88'],
20
			['G', '\u0A89'],
21
			['T', '\u0A8A'],
22
			['\\+', '\u0A8B'],
23
			['!', '\u0A8D'],
24
			['S', '\u0A8F'],
25
			['W', '\u0A90'],
26
			['\\|', '\u0A91'],
27
			['A', '\u0A93'],
28
			['Q', '\u0A94'],
29
			['k', '\u0A95'],
30
			['K', '\u0A96'],
31
			['i', '\u0A97'],
32
			['I', '\u0A98'],
33
			['U', '\u0A99'],
34
			[';', '\u0A9A'],
35
			['\\:', '\u0A9B'],
36
			['p', '\u0A9C'],
37
			['P', '\u0A9D'],
38
			['\\}', '\u0A9E'],
39
			['\'', '\u0A9F'],
40
			['"', '\u0AA0'],
41
			['\\[', '\u0AA1'],
42
			['\\{', '\u0AA2'],
43
			['C', '\u0AA3'],
44
			['l', '\u0AA4'],
45
			['L', '\u0AA5'],
46
			['o', '\u0AA6'],
47
			['O', '\u0AA7'],
48
			['v', '\u0AA8'],
49
			['h', '\u0AAA'],
50
			['H', '\u0AAB'],
51
			['y', '\u0AAC'],
52
			['Y', '\u0AAD'],
53
			['c', '\u0AAE'],
54
			['/', '\u0AAF'],
55
			['j', '\u0AB0'],
56
			['n', '\u0AB2'],
57
			['N', '\u0AB3'],
58
			['b', '\u0AB5'],
59
			['M', '\u0AB6'],
60
			['\\<', '\u0AB7'],
61
			['m', '\u0AB8'],
62
			['u', '\u0AB9'],
63
			['\\}', '\u0ABC'],
64
			['e', '\u0ABE'],
65
			['f', '\u0ABF'],
66
			['r', '\u0AC0'],
67
			['g', '\u0AC1'],
68
			['t', '\u0AC2'],
69
			['\\=', '\u0AC3'],
70
			['\\@', '\u0AC5'],
71
			['s', '\u0AC7'],
72
			['w', '\u0AC8'],
73
			['\\\\', '\u0AC9'],
74
			['a', '\u0ACB'],
75
			['q', '\u0ACC'],
76
			['d', '\u0ACD'],
77
			['\\>', '\u0AE4'],
78
			['0', '\u0AE6'],
79
			['1', '\u0AE7'],
80
			['2', '\u0AE8'],
81
			['3', '\u0AE9'],
82
			['4', '\u0AEA'],
83
			['5', '\u0AEB'],
84
			['6', '\u0AEC'],
85
			['7', '\u0AED'],
86
			['8', '\u0AEE'],
87
			['9', '\u0AEF'],
88
			['\\#', '\u0ACD\u0AB0'],
89
			['\\$', '\u0AB0\u0ACD'],
90
			['\\%', '\u0A9C\u0ACD\u0A9E'],
91
			['\\^', '\u0AA4\u0ACD\u0AB0'],
92
			['\\&', '\u0A95\u0ACD\u0AB7'],
93
			['\\*', '\u0AB6\u0ACD\u0AB0'],
94
			['\\(', '\u200D'],
95
			['\\)', '\u200C'] ],
96
97
		patterns_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
112
	$.ime.register( guInscript );
113
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-inscript2.js (+118 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var guInScript2 = {
5
		id: 'gu-inscript2',
6
		name: 'ઇનસ્ક્રિપ્ટ ૨',
7
		description: 'Enhanced InScript keyboard for Gujarati script',
8
		date: '2013-11-15',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['!', 'ઍ'],
14
			['1', '૧'],
15
			['\\@', 'ૅ'],
16
			['2', '૨'],
17
			['\\#', '્ર'],
18
			['3', '૩'],
19
			['\\$', 'ર્'],
20
			['4', '૪'],
21
			['5', '૫'],
22
			['6', '૬'],
23
			['7', '૭'],
24
			['8', '૮'],
25
			['\\(', '('],
26
			['9', '૯'],
27
			['\\)', ')'],
28
			['0', '૦'],
29
			['\\_', 'ઃ'],
30
			['\\-', '-'],
31
			['\\+', 'ઋ'],
32
			['\\=', 'ૃ'],
33
			['Q', 'ઔ'],
34
			['q', 'ૌ'],
35
			['W', 'ઐ'],
36
			['w', 'ૈ'],
37
			['E', 'આ'],
38
			['e', 'ા'],
39
			['R', 'ઈ'],
40
			['r', 'ી'],
41
			['T', 'ઊ'],
42
			['t', 'ૂ'],
43
			['Y', 'ભ'],
44
			['y', 'બ'],
45
			['U', 'ઙ'],
46
			['u', 'હ'],
47
			['I', 'ઘ'],
48
			['i', 'ગ'],
49
			['O', 'ધ'],
50
			['o', 'દ'],
51
			['P', 'ઝ'],
52
			['p', 'જ'],
53
			['\\{', 'ઢ'],
54
			['\\[', 'ડ'],
55
			['\\}', 'ઞ'],
56
			['\\]', '઼'],
57
			['A', 'ઓ'],
58
			['a', 'ો'],
59
			['S', 'એ'],
60
			['s', 'ે'],
61
			['D', 'અ'],
62
			['d', '્'],
63
			['F', 'ઇ'],
64
			['f', 'િ'],
65
			['G', 'ઉ'],
66
			['g', 'ુ'],
67
			['H', 'ફ'],
68
			['h', 'પ'],
69
			['j', 'ર'],
70
			['K', 'ખ'],
71
			['k', 'ક'],
72
			['L', 'થ'],
73
			['l', 'ત'],
74
			[':', 'છ'],
75
			[';', 'ચ'],
76
			['\"', 'ઠ'],
77
			['\\\'', 'ટ'],
78
			['\\|', 'ઑ'],
79
			['\\', 'ૉ'],
80
			['X', 'ઁ'],
81
			['x', 'ં'],
82
			['C', 'ણ'],
83
			['c', 'મ'],
84
			['v', 'ન'],
85
			['b', 'વ'],
86
			['N', 'ળ'],
87
			['n', 'લ'],
88
			['M', 'શ'],
89
			['m', 'સ'],
90
			['\\<', 'ષ'],
91
			[',', ','],
92
			['\\>', '।'],
93
			['\\.', '.'],
94
			['/', 'ય'],
95
			['\\%', 'જ્ઞ'],
96
			['\\^', 'ત્ર'],
97
			['\\&', 'ક્ષ'],
98
			['\\*', 'શ્ર']
99
		],
100
		patterns_x: [
101
			['1', '\u200d'],
102
			['2', '\u200c'],
103
			['4', '₹'],
104
			['\\+', 'ૠ'],
105
			['\\=', 'ૄ'],
106
			['R', 'ૡ'],
107
			['r', 'ૣ'],
108
			['F', 'ઌ'],
109
			['f', 'ૢ'],
110
			['X', 'ૐ'],
111
			[',', '૱'],
112
			['\\>', '૥'],
113
			['\\.', 'ઽ']
114
		]
115
	};
116
117
	$.ime.register( guInScript2 );
118
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-phonetic.js (+110 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var guPhonetic = {
5
		id: 'gu-phonetic',
6
		name: 'ફોનૅટિક',
7
		description: 'Phonetic keyboard for Gujarati script',
8
		date: '2013-11-15',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\~', 'ઍ'],
14
			['\\`', 'ૅ'],
15
			['\\!', '!'],
16
			['1', '૧'],
17
			['\\@', '@'],
18
			['2', '૨'],
19
			['\\#', '#'],
20
			['3', '૩'],
21
			['\\$', '$'],
22
			['4', '૪'],
23
			['\\&', '૱'],
24
			['5', '૫'],
25
			['6', '૬'],
26
			['7', '૭'],
27
			['8', '૮'],
28
			['\\(', '('],
29
			['9', '૯'],
30
			['\\)', ')'],
31
			['0', '૦'],
32
			['\\_', '_'],
33
			['\\-', '-'],
34
			['\\+', '+'],
35
			['\\=', '='],
36
			['Q', 'ઔ'],
37
			['q', 'ઓ'],
38
			['W', 'ઠ'],
39
			['w', 'ટ'],
40
			['E', 'ૈ'],
41
			['e', 'ે'],
42
			['R', 'ૃ'],
43
			['r', 'ર'],
44
			['T', 'થ'],
45
			['t', 'ત'],
46
			['Y', 'ય઼'],
47
			['y', 'ય'],
48
			['U', 'ૂ'],
49
			['u', 'ુ'],
50
			['I', 'ી'],
51
			['i', 'િ'],
52
			['O', 'ૌ'],
53
			['o', 'ો'],
54
			['P', 'ફ'],
55
			['p', 'પ'],
56
			['\\{', 'ઢ'],
57
			['\\[', 'ડ'],
58
			['\\}', 'ર઼'],
59
			['\\]', 'ઋ'],
60
			['A', 'આ'],
61
			['a', 'ા'],
62
			['S', 'શ'],
63
			['s', 'સ'],
64
			['D', 'ધ'],
65
			['d', 'દ'],
66
			['F', 'અ'],
67
			['f', '્'],
68
			['G', 'ઘ'],
69
			['g', 'ગ'],
70
			['H', 'ઃ'],
71
			['h', 'હ'],
72
			['J', 'ઝ'],
73
			['j', 'જ'],
74
			['K', 'ખ'],
75
			['k', 'ક'],
76
			['L', 'ળ'],
77
			['l', 'લ'],
78
			[':', 'ઈ'],
79
			[';', 'ઇ'],
80
			['"', 'ઊ'],
81
			['\\\'', 'ઉ'],
82
			['\\|', 'ઑ'],
83
			['\\\\', 'ૉ'],
84
			['Z', 'ઁ'],
85
			['z', 'ઙ'],
86
			['x', 'ષ'],
87
			['C', 'છ'],
88
			['c', 'ચ'],
89
			['V', 'ઽ'],
90
			['v', 'વ'],
91
			['B', 'ભ'],
92
			['b', 'બ'],
93
			['N', 'ણ'],
94
			['n', 'ન'],
95
			['M', 'ં'],
96
			['m', 'મ'],
97
			['\\<', 'ૐ'],
98
			[',', ','],
99
			['\\>', '઼'],
100
			['\\.', '.'],
101
			['\\?', 'ઐ'],
102
			['/', 'એ'],
103
			['X', 'ક્ષ'],
104
			['\\%', 'જ્ઞ'],
105
			['\\^', 'ત્ર'],
106
			['\\*', 'શ્ર']]
107
	};
108
109
	$.ime.register( guPhonetic );
110
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-transliteration.js (+156 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var guTransliteration = {
5
		id: 'gu-transliteration',
6
		name: 'લિપ્યાંતરણ',
7
		description: 'Gujarati transliteration',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Jaldeep R Vasavada ([[User:JaldeepVasavada]]) / Amir E. Aharoni ([[User:Amire80]])',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 2,
14
		maxKeyLength: 4,
15
		patterns: [
16
			['ક્h', 'c', 'ચ'],
17
			['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
18
19
			['([ક-હ]઼?)્a', '$1'],
20
			['([ક-હ]઼?)્A', '$1ા'],
21
			['([ક-હ]઼?)a', '$1ા'],
22
			['([ક-હ]઼?)્i', '$1િ'],
23
			['([ક-હ]઼?)(્I|િi|ેe)', '$1ી'],
24
			['([ક-હ]઼?)્u', '$1ુ'],
25
			['([ક-હ]઼?)(ુu|્U|ોo)', '$1ૂ'],
26
			['([ક-હ]઼?)્R', '$1ૃ'],
27
			['([ક-હ]઼?)ૃR', '$1ૄ'],
28
			['([ક-હ]઼?)ે\\^', '$1ૅ'],
29
			['([ક-હ]઼?)્e', '$1ે'],
30
			['([ક-હ]઼?)્E', '$1ૅ'],
31
			['([ક-હ]઼?)ો\\^', '$1ૉ'],
32
			['([ક-હ]઼?)i', '$1ૈ'],
33
			['([ક-હ]઼?)્o', '$1ો'],
34
			['([ક-હ]઼?)્O', '$1ૉ'],
35
			['([ક-હ]઼?)u', '$1ૌ'],
36
37
			['([ક-હ]઼?)ૃa', '$1્ર'],
38
			['([ક-હ]઼?)ૃA', '$1્રા'],
39
			['([ક-હ]઼?)ૃi', '$1્રિ'],
40
			['([ક-હ]઼?)ૃI', '$1્રી'],
41
			['([ક-હ]઼?)ૃu', '$1્રુ'],
42
			['([ક-હ]઼?)ૃU', '$1્રૂ'],
43
			['([ક-હ]઼?)ૃ\\^', '$1્રૅ'],
44
			['([ક-હ]઼?)ૃe', '$1્રે'],
45
			['([ક-હ]઼?)ૃE', '$1્રૅ'],
46
			['([ક-હ]઼?)ૃo', '$1્રો'],
47
			['([ક-હ]઼?)ૃO', '$1્રો'],
48
			['([ક-હ]઼?)ૃ\\~', '$1્ર્'],
49
50
			['([ક-હ])્J', '$1઼્'],
51
52
			['અa', 'આ'],
53
			['(ઑo|ઉu)', 'ઊ'],
54
			['ઍ\\^', 'એ'],
55
			['અi', 'ઐ'],
56
			['અ\\^', 'ઍ'],
57
			['(ઇi|ઍe)', 'ઈ'],
58
			['ઑ\\^', 'ઓ'],
59
			['અu', 'ઔ'],
60
			['ઋR', 'ૠ'],
61
			['ળ્l', 'ઌ'],
62
			['ઌl', 'ૡ'],
63
			['ં\\^', 'ઁ'],
64
			['ઑM', 'ૐ'],
65
66
			['રY', 'ર્ય'],
67
68
			['ક્h', 'ખ્'], // kh
69
			['ગ્h', 'ઘ્'], // gh
70
			['ન્g', 'ઙ્'], // ng
71
			['ચ્h', 'છ્'], // chh
72
			['જ્h', 'ઝ્'], // jh
73
			['જ્n', 'જ્ઞ્'], // jn
74
			['ગ્n', 'જ્ઞ્'], //gn
75
			['ન્j', 'ઞ્'], // ny
76
			['ટ્h', 'ઠ્'], // Th
77
			['ડ્h', 'ઢ્'], // Dh
78
			['ત્h', 'થ્'], // th
79
			['દ્h', 'ધ્'], // dh
80
			['પ્h', 'ફ્'], // ph
81
			['બ્h', 'ભ્'], // bh
82
83
			['ઋa', 'ર'],
84
			['ઋA', 'રા'],
85
			['ઋi', 'રિ'],
86
			['ઋI', 'રી'],
87
			['ઋu', 'રુ'],
88
			['ઋU', 'રૂ'],
89
			['ઋ\\^', 'રૅ'],
90
			['ઋe', 'રે'],
91
			['ઋE', 'રૅ'],
92
			['ઋo', 'રો'],
93
			['ઋ\\~', 'ર્'],
94
95
			['સ્h', 'શ્'],
96
			['ક઼્h', 'ખ'],
97
98
			['a', 'અ'],
99
			['b', 'બ્'],
100
			['c', 'ચ્'],
101
			['d', 'દ્'],
102
			['e', 'એ'],
103
			['f', 'ફ્'],
104
			['g', 'ગ્'],
105
			['h', 'હ્'],
106
			['i', 'ઇ'],
107
			['j', 'જ્'],
108
			['k', 'ક્'],
109
			['l', 'લ્'],
110
			['m', 'મ્'],
111
			['n', 'ન્'],
112
			['o', 'ઓ'],
113
			['p', 'પ્'],
114
			['r', 'ર્'],
115
			['s', 'સ્'],
116
			['t', 'ત્'],
117
			['u', 'ઉ'],
118
			['(v|w)', 'વ્'],
119
			['x', 'ક્ષ્'],
120
			['y', 'ય્'],
121
			['(z|Z)', 'ઝ્'],
122
			['A', 'આ'],
123
			['D', 'ડ્'],
124
			['E', 'ઍ'],
125
			['F', 'ફ્'],
126
			['H', 'ઃ'],
127
			['I', 'ઈ'],
128
			['L', 'ળ્'],
129
			['M', 'ં'],
130
			['N', 'ણ્'],
131
			['O', 'ઑ'],
132
			['R', 'ઋ'],
133
			['S', 'ષ્'],
134
			['T', 'ટ્'],
135
			['U', 'ઊ'],
136
			['0', '૦'],
137
			['1', '૧'],
138
			['2', '૨'],
139
			['3', '૩'],
140
			['4', '૪'],
141
			['5', '૫'],
142
			['6', '૬'],
143
			['7', '૭'],
144
			['8', '૮'],
145
			['9', '૯'],
146
147
			// Danda characters are only needed in some text, so '.' is not mapped to it.
148
			['।K', '॥'], // Double danda, must be before danda
149
			['K', '।'], // Danda
150
			['//', 'ઽ'],
151
			['J', '઼'], // Nukta
152
			['(\u200C)*`', '\u200C']] // ZWNJ
153
	};
154
155
	$.ime.register( guTransliteration );
156
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/he/he-standard-2012-extonly.js (+66 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var heStandardExtOnly = {
5
		id: 'he-standard-2012-extonly',
6
		name: 'Hebrew 2012',
7
		description: 'Hebrew keyboard according to Israeli Standard 1452',
8
		date: '2012-10-15',
9
		URL: 'http://www.lingnu.com/he/howto/78-si1452.html',
10
		author: 'Amir E. Aharoni (אָמִיר אֱלִישָׁע אַהֲרוֹנִי, [[User:Amire80]])',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [], //// Empty, because the assumption is that the user is using a Hebrew keyboard already
14
		patterns_x: [
15
			['\u05E9', 'ְ'],       // Sheva, ש
16
17
			['\u05E7', 'ָ'],       // Qamats, ק
18
			['\u05E8', 'ֳ'],       // Hataf qamats, ר
19
			['\u05E4', 'ַ'],       // Patah, פ
20
			['\\]', 'ֲ'],          // Hataf patah, ]
21
22
			['\u05E6', 'ֵ'],       // Tsere, צ
23
			['\u05E1', 'ֶ'],       // Segol, ס
24
			['\u05D1', 'ֱ'],       // Hataf segol, ב
25
26
			['\u05D7', 'ִ'],       // Hiriq, ח
27
28
			['\u05D5', 'ֹ'],       // Holam, ו
29
30
			['\\\\', 'ֻ'],         // Qubuts, \
31
32
			['\u05D3', 'ּ'],       // Dagesh, ד
33
34
			['/', 'ׂ'],            // Sin dot
35
			['\'', 'ׁ'],           // Shin dot
36
37
			['-', '\u05BE'],      // Maqaf
38
			['=', '–'],           // Qav mafrid - en dash
39
			['\\[', 'ֿ'],          // Rafe
40
			['1', 'ֽ'],            // Meteg
41
			['3', '€'],           // Euro sign
42
			['4', '₪'],           // Sheqel sign
43
			['5', '°'],           // Degree
44
			['6', '֫'],           // Ole
45
			['8', '×'],           // Multiplication
46
			['9', '\u200e'],      // LRM
47
			['0', '\u200f'],      // RLM
48
			['\\.', '÷'],         // Division
49
50
			['\u05D8', 'װ'],      // Double vav, ט
51
			['\u05D9', 'ײ'],      // Double yod, י
52
			['\u05E2', 'ױ'],      // Vav-yod, ע
53
54
			// Some source code editors may show the next two lines
55
			// in a weird way because of auto-directionality.
56
			[';', '׳'],      // Geresh, ';'
57
			[',', '״'],      // Gershayim, ','
58
			['\u05E3', '„'],      // Opening double quote, ף
59
			['\u05DA', '”'],      // Closing double quote, ך
60
			['\u05E5', '‚'],      // Opening single quote, ץ
61
			['\u05EA', '’']       // Closing single quote, ת
62
		]
63
	};
64
65
	$.ime.register( heStandardExtOnly );
66
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/he/he-standard-2012.js (+117 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var heStandard = {
5
		id: 'he-standard-2012',
6
		name: 'Hebrew 2012 (from English)',
7
		description: 'Hebrew keyboard according to Israeli Standard 1452',
8
		date: '2012-10-15',
9
		URL: 'http://www.lingnu.com/he/howto/78-si1452.html',
10
		author: 'Amir E. Aharoni (אָמִיר אֱלִישָׁע אַהֲרוֹנִי, [[User:Amire80]])',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 0,
15
		patterns: [
16
			[ 'q', '/' ],
17
			[ 'w', '\'' ],
18
			[ 'e', 'ק' ],
19
			[ 'r', 'ר' ],
20
			[ 't', 'א' ],
21
			[ 'y', 'ט' ],
22
			[ 'u', 'ו' ],
23
			[ 'i', 'ן' ],
24
			[ 'o', 'ם' ],
25
			[ 'p', 'פ' ],
26
27
			[ 'a', 'ש' ],
28
			[ 's', 'ד' ],
29
			[ 'd', 'ג' ],
30
			[ 'f', 'כ' ],
31
			[ 'g', 'ע' ],
32
			[ 'h', 'י' ],
33
			[ 'j', 'ח' ],
34
			[ 'k', 'ל' ],
35
			[ 'l', 'ך' ],
36
			[ ';', 'ף' ],
37
			[ '\'', ',' ],
38
39
			[ 'z', 'ז' ],
40
			[ 'x', 'ס' ],
41
			[ 'c', 'ב' ],
42
			[ 'v', 'ה' ],
43
			[ 'b', 'נ' ],
44
			[ 'n', 'מ' ],
45
			[ 'm', 'צ' ],
46
			[ ',', 'ת' ],
47
			[ '\\.', 'ץ' ],
48
			[ '/', '.' ],
49
50
			[ '`', ';' ],
51
52
			// These characters are mirrored in RTL languages
53
			[ '\\(', ')' ],
54
			[ '\\)', '(' ],
55
			[ '\\[', ']' ],
56
			[ '\\]', '[' ],
57
			[ '{', '}' ],
58
			[ '}', '{' ],
59
			[ '<', '>' ],
60
			[ '>', '<' ]
61
		],
62
63
		// Your text editor may show the resulting characters in
64
		// the next lines as empty. These are diacritics.
65
		patterns_x: [
66
			[ 'a', 'ְ' ], // Sheva
67
68
			[ 'e', 'ָ' ], // Qamats
69
			[ 'r', 'ֳ' ], // Hataf qamats
70
			[ 'p', 'ַ' ], // Patah
71
			[ '\\[', 'ֲ' ], // Hataf patah
72
73
			[ 'm', 'ֵ' ], // Tsere
74
			[ 'x', 'ֶ' ], // Segol
75
			[ 'c', 'ֱ' ], // Hataf segol
76
77
			[ 'j', 'ִ' ], // Hiriq
78
79
			[ 'u', 'ֹ' ], // Holam
80
81
			[ '\\\\', 'ֻ' ], // Qubuts
82
83
			[ 's', 'ּ' ], // Dagesh
84
85
			[ 'q', 'ׂ' ], // Sin dot
86
			[ 'w', 'ׁ' ], // Shin dot
87
88
			[ '-', '־' ], // Maqaf
89
			[ '=', '–' ], // Qav mafrid - en dash
90
			[ '\\]', 'ֿ' ], // Rafe
91
			[ '1', 'ֽ' ], // Meteg
92
			[ '3', '€' ], // Euro sign
93
			[ '4', '₪' ], // Sheqel sign
94
			[ '5', '°' ], // Degree
95
			[ '6', '֫' ], // Ole
96
			[ '8', '×' ], // Multiplication
97
			[ '9', '\u200e' ], // LRM
98
			[ '0', '\u200f' ], // RLM
99
			[ '/', '÷' ], // Division
100
101
			[ 'y', 'װ' ], // Double vav
102
			[ 'h', 'ײ' ], // Double yod
103
			[ 'H', 'ײַ' ], // Yod yod patah
104
			[ 'g', 'ױ' ], // Vav-yod
105
106
			[ '`', '׳' ], // Geresh
107
			[ '\'', '״' ], // Gershayim
108
			[ ';', '„' ], // Opening double quote
109
			[ 'l', '”' ], // Closing double quote
110
			[ '\\.', '‚' ], // Opening single quote
111
			[ ',', '’' ] // Closing single quote
112
		]
113
	};
114
115
	$.ime.register( heStandard );
116
117
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-bolnagri.js (+108 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiBolNagri = {
5
		id: 'hi-bolnagri',
6
		name: 'बोलनागरी',
7
		description: 'BolNagri phonetic keymap for Devanagari script',
8
		date: '2012-03-28',
9
		URL: 'http://www.indlinux.org/wiki/index.php/BolNagri',
10
		author: 'G Karunakar',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 1,
15
		patterns: [
16
			[ 'a', 'ा' ],
17
			[ 'b', 'ब' ],
18
			[ 'c', 'च' ],
19
			[ 'd', 'द' ],
20
			[ 'e', 'े' ],
21
			[ 'f', 'ट' ],
22
			[ 'g', 'ग' ],
23
			[ 'h', 'ह' ],
24
			[ 'i', 'ि' ],
25
			[ 'j', 'ज' ],
26
			[ 'k', 'क' ],
27
			[ 'l', 'ल' ],
28
			[ 'm', 'म' ],
29
			[ 'n', 'न' ],
30
			[ 'o', 'ो' ],
31
			[ 'p', 'प' ],
32
			[ 'q', '\u200C' ], // ZWNJ
33
			[ 'r', 'र' ],
34
			[ 's', 'स' ],
35
			[ 't', 'त' ],
36
			[ 'u', 'ु' ],
37
			[ 'v', 'ड' ],
38
			[ 'w', 'व' ],
39
			[ 'x', '्' ], // Halant
40
			[ 'y', 'य' ],
41
			[ 'z', 'श' ],
42
			[ 'A', 'आ' ],
43
			[ 'B', 'भ' ],
44
			[ 'C', 'छ' ],
45
			[ 'D', 'ध' ],
46
			[ 'E', 'ै' ],
47
			[ 'F', 'ठ' ],
48
			[ 'G', 'घ' ],
49
			[ 'H', 'ः' ], // Visarga
50
			[ 'I', 'ी' ],
51
			[ 'J', 'झ' ],
52
			[ 'K', 'ख' ],
53
			[ 'L', 'ळ' ],
54
			[ 'M', 'ऽ' ],
55
			[ 'N', 'ण' ],
56
			[ 'O', 'ौ' ],
57
			[ 'P', 'फ' ],
58
			[ 'Q', '\u200D' ], // ZWJ
59
			[ 'R', 'ृ' ],
60
			[ 'S', 'ष' ],
61
			[ 'T', 'थ' ],
62
			[ 'U', 'ू' ],
63
			[ 'V', 'ढ' ],
64
			[ 'W', 'ॐ' ],
65
			[ 'X', 'ॉ' ],
66
			[ 'Y', 'ञ' ],
67
			[ 'Z', 'ॅ' ],
68
			[ '\\$', '₹' ],
69
			[ '\\`', 'ं' ],
70
			[ '\\~', 'ँ' ],
71
			[ '\\\\', '।' ], // Danda
72
			[ '\\|', '॥' ],
73
			[ '\\.', '़' ],
74
			[ '\\<', '॰' ] ],
75
76
		patterns_x: [
77
			[ 'a', 'अ' ],
78
			[ 'A', 'आ' ],
79
			[ 'i', 'इ' ],
80
			[ 'I', 'ई' ],
81
			[ 'u', 'उ' ],
82
			[ 'U', 'ऊ' ], // altgr+U triggers file upload!
83
			[ 'e', 'ए' ],
84
			[ 'E', 'ऐ' ],
85
			[ 'o', 'ओ' ],
86
			[ 'O', 'औ' ],
87
			[ 'r', 'ऱ' ],
88
			[ 'R', 'ऋ' ],
89
			[ 'Z', 'ऍ' ],
90
			[ 'X', 'ऑ' ],
91
			[ 'l', 'ॢ' ],
92
			[ 'L', 'ऌ' ],
93
			// Dev digits
94
			[ '0', '०' ],
95
			[ '1', '१' ],
96
			[ '2', '२' ],
97
			[ '3', '३' ],
98
			[ '4', '४' ],
99
			[ '5', '५' ],
100
			[ '6', '६' ],
101
			[ '7', '७' ],
102
			[ '8', '८' ],
103
			[ '9', '९' ] ]
104
105
	};
106
107
	$.ime.register( hiBolNagri );
108
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-inscript.js (+122 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiInScript = {
5
		id: 'hi-inscript',
6
		name: 'इनस्क्रिप्ट',
7
		description: 'InScript keyboard for Devanagari script',
8
		date: '2011-02-26',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		contextLength: 0,
13
		maxKeyLength: 1,
14
		patterns: [
15
			[ 'X', '\u0901' ],
16
			[ 'x', '\u0902' ],
17
			[ '_', '\u0903' ],
18
			[ 'D', '\u0905' ],
19
			[ 'E', '\u0906' ],
20
			[ 'F', '\u0907' ],
21
			[ 'R', '\u0908' ],
22
			[ 'G', '\u0909' ],
23
			[ 'T', '\u090A' ],
24
			[ '\\+', '\u090B' ],
25
			[ '!', '\u090D' ],
26
			[ 'S', '\u090F' ],
27
			[ 'W', '\u0910' ],
28
			[ '\\|', '\u0911' ],
29
			[ 'A', '\u0913' ],
30
			[ 'Q', '\u0914' ],
31
			[ 'k', '\u0915' ],
32
			[ 'K', '\u0916' ],
33
			[ 'i', '\u0917' ],
34
			[ 'I', '\u0918' ],
35
			[ 'U', '\u0919' ],
36
			[ ';', '\u091A' ],
37
			[ '\\:', '\u091B' ],
38
			[ 'p', '\u091C' ],
39
			[ 'P', '\u091D' ],
40
			[ '\\}', '\u091E' ],
41
			[ '\'', '\u091F' ],
42
			[ '"', '\u0920' ],
43
			[ '\\[', '\u0921' ],
44
			[ '\\{', '\u0922' ],
45
			[ 'C', '\u0923' ],
46
			[ 'l', '\u0924' ],
47
			[ 'L', '\u0925' ],
48
			[ 'o', '\u0926' ],
49
			[ 'O', '\u0927' ],
50
			[ 'v', '\u0928' ],
51
			[ 'h', '\u092A' ],
52
			[ 'H', '\u092B' ],
53
			[ 'y', '\u092C' ],
54
			[ 'Y', '\u092D' ],
55
			[ 'c', '\u092E' ],
56
			[ '/', '\u092F' ],
57
			[ 'j', '\u0930' ],
58
			[ 'n', '\u0932' ],
59
			[ 'b', '\u0935' ],
60
			[ 'M', '\u0936' ],
61
			[ '\\<', '\u0937' ],
62
			[ 'm', '\u0938' ],
63
			[ 'u', '\u0939' ],
64
			[ '\\]', '\u093C' ],
65
			[ 'e', '\u093E' ],
66
			[ 'f', '\u093F' ],
67
			[ 'r', '\u0940' ],
68
			[ 'g', '\u0941' ],
69
			[ 't', '\u0942' ],
70
			[ '\\=', '\u0943' ],
71
			[ '\\@', '\u0945' ],
72
			[ 's', '\u0947' ],
73
			[ 'w', '\u0948' ],
74
			[ '\\\\', '\u0949' ],
75
			[ 'a', '\u094B' ],
76
			[ 'q', '\u094C' ],
77
			[ 'd', '\u094D' ],
78
			[ '\\>', '\u0964' ],
79
			[ '0', '\u0966' ],
80
			[ '1', '\u0967' ],
81
			[ '2', '\u0968' ],
82
			[ '3', '\u0969' ],
83
			[ '4', '\u096A' ],
84
			[ '5', '\u096B' ],
85
			[ '6', '\u096C' ],
86
			[ '7', '\u096D' ],
87
			[ '8', '\u096E' ],
88
			[ '9', '\u096F' ],
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
		patterns_x: [
99
			[ 'F', '\u090C' ],
100
			[ 'N', '\u0933' ],
101
			[ '\\>', '\u093D' ],
102
			[ '\\=', '\u0944' ],
103
			[ 'X', '\u0950' ],
104
			[ 'e', '\u0951' ],
105
			[ 'd', '\u0952' ],
106
			[ 'k', '\u0958' ],
107
			[ 'K', '\u0959' ],
108
			[ 'i', '\u095A' ],
109
			[ 'p', '\u095B' ],
110
			[ '\\[', '\u095C' ],
111
			[ '\\+', '\u0960' ],
112
			[ 'R', '\u0961' ],
113
			[ 'f', '\u0962' ],
114
			[ 'r', '\u0963' ],
115
			[ '\\.', '\u0965' ],
116
			[ ',', '\u0970' ],
117
			[ '\\$', '\u20B9' ] ]
118
119
	};
120
121
	$.ime.register( hiInScript );
122
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-inscript2.js (+127 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiInScript2 = {
5
		id: 'hi-inscript2',
6
		name: 'इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Hindi language',
8
		date: '2013-20-13',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\!', 'ऍ'],
14
			['\\@', 'ॅ'],
15
			['1', '१'],
16
			['2', '२'],
17
			['\\#', '्र'],
18
			['3', '३'],
19
			['\\$', 'र्'],
20
			['4', '४'],
21
			['5', '५'],
22
			['6', '६'],
23
			['7', '७'],
24
			['8', '८'],
25
			['\\(', '('],
26
			['9', '९'],
27
			['\\]', ']'],
28
			['0', '०'],
29
			['\\_', 'ः'],
30
			['\\-', '-'],
31
			['\\+', 'ऋ'],
32
			['\\=', 'ृ'],
33
			['Q', 'औ'],
34
			['q', 'ौ'],
35
			['W', 'ऐ'],
36
			['w', 'ै'],
37
			['E', 'आ'],
38
			['e', 'ा'],
39
			['R', 'ई'],
40
			['r', 'ी'],
41
			['T', 'ऊ'],
42
			['t', 'ू'],
43
			['Y', 'भ'],
44
			['y', 'ब'],
45
			['U', 'ङ'],
46
			['u', 'ह'],
47
			['I', 'घ'],
48
			['i', 'ग'],
49
			['O', 'ध'],
50
			['o', 'द'],
51
			['P', 'झ'],
52
			['p', 'ज'],
53
			['\\{', 'ढ'],
54
			['\\[', 'ड'],
55
			['\\}', 'ञ'],
56
			['\\]', '़'],
57
			['A', 'ओ'],
58
			['a', 'ो'],
59
			['S', 'ए'],
60
			['s', 'े'],
61
			['D', 'अ'],
62
			['d', '्'],
63
			['F', 'इ'],
64
			['f', 'ि'],
65
			['G', 'उ'],
66
			['g', 'ु'],
67
			['H', 'फ'],
68
			['h', 'प'],
69
			['j', 'र'],
70
			['K', 'ख'],
71
			['k', 'क'],
72
			['L', 'थ'],
73
			['l', 'त'],
74
			[':', 'छ'],
75
			[';', 'च'],
76
			['\"', 'ठ'],
77
			['\'', 'ट'],
78
			['\\|', 'ऑ'],
79
			['\\\\', 'ॉ'],
80
			['X', 'ँ'],
81
			['x', 'ं'],
82
			['C', 'ण'],
83
			['c', 'म'],
84
			['v', 'न'],
85
			['b', 'व'],
86
			['n', 'ल'],
87
			['M', 'श'],
88
			['m', 'स'],
89
			['\\<', 'ष'],
90
			[',', ','],
91
			['\\>', '।'],
92
			['\\.', '.'],
93
			['/', 'य'],
94
			['\\%', 'ज्ञ'],
95
			['\\^', 'त्र'],
96
			['\\&', 'क्ष'],
97
			['\\*', 'श्र']
98
		],
99
		patterns_x: [
100
			['1', '\u200d'],
101
			['2', '\u200c'],
102
			['4', '₹'],
103
			['\\+', 'ॠ'],
104
			['\\=', 'ॄ'],
105
			['e', '॑'],
106
			['i', 'ग़'],
107
			['R', 'ॡ'],
108
			['r', 'ॣ'],
109
			['p', 'ज़'],
110
			['\\{', 'ढ़'],
111
			['\\[', 'ड़'],
112
			['H', 'फ़'],
113
			['K', 'ख़'],
114
			['k', 'क़'],
115
			['d', '॒'],
116
			['F', 'ऌ'],
117
			['f', 'ॢ'],
118
			['X', 'ॐ'],
119
			['N', 'ळ'],
120
			[',', '॰'],
121
			['\\>', 'ऽ'],
122
			['\\.', '॥']
123
		]
124
	};
125
126
	$.ime.register( hiInScript2 );
127
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-phonetic.js (+111 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiPhonetic = {
5
		id: 'hi-phonetic',
6
		name: 'फोनेटिक',
7
		description: 'Phonetic keyboard for Hindi language',
8
		date: '2013-02-09',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['्f', '्\u200c'],
14
			['\\~', 'ऎ'],
15
			['\\`','ॆ'],
16
			['\\!', 'ऍ'],
17
			['1', '१'],
18
			['\\@', 'ॅ'],
19
			['2', '२'],
20
			['\\#', 'ऑ'],
21
			['3', '३'],
22
			['\\$','ॉ'],
23
			['4', '४'],
24
			['\\%', 'ञ'],
25
			['5', '५'],
26
			['6', '६'],
27
			['7', '७'],
28
			['8', '८'],
29
			['\\(', '('],
30
			['9', '९'],
31
			['\\)', ')'],
32
			['0', '०'],
33
			['\\_', '_'],
34
			['\\-', '-'],
35
			['\\+', '+'],
36
			['\\=', '='],
37
			['Q', 'औ'],
38
			['q', 'ओ'],
39
			['W', 'ठ'],
40
			['w', 'ट'],
41
			['E', 'ै'],
42
			['e', 'े'],
43
			['R', 'ृ'],
44
			['r', 'र'],
45
			['T', 'थ'],
46
			['t', 'त'],
47
			['Y', 'य़'],
48
			['y', 'य'],
49
			['U', 'ू'],
50
			['u', 'ु'],
51
			['I', 'ी'],
52
			['i', 'ि'],
53
			['O', 'ौ'],
54
			['o', 'ो'],
55
			['P', 'फ'],
56
			['p', 'प'],
57
			['\\{', 'ढ'],
58
			['\\[', 'ड'],
59
			['\\}', 'ऱ'],
60
			['\\]', 'ऋ'],
61
			['A', 'आ'],
62
			['a', 'ा'],
63
			['S', 'श'],
64
			['s', 'स'],
65
			['D', 'ध'],
66
			['d', 'द'],
67
			['F', 'अ'],
68
			['f', '्'],
69
			['G', 'घ'],
70
			['g', 'ग'],
71
			['H', 'ः'],
72
			['h', 'ह'],
73
			['J', 'झ'],
74
			['j', 'ज'],
75
			['K', 'ख'],
76
			['k', 'क'],
77
			['L', 'ळ'],
78
			['l', 'ल'],
79
			[':', 'ई'],
80
			[';', 'इ'],
81
			['"', 'ऊ'],
82
			['\'', 'उ'],
83
			['\\|', 'ऒ'],
84
			['\\\\', 'ो'],
85
			['Z', 'ँ'],
86
			['z', 'ङ'],
87
			['x', 'ष'],
88
			['C', 'छ'],
89
			['c', 'च'],
90
			['V', 'ऴ'],
91
			['v', 'व'],
92
			['B', 'भ'],
93
			['b', 'ब'],
94
			['N', 'ण'],
95
			['n', 'न'],
96
			['M', 'ं'],
97
			['m', 'म'],
98
			['\\<', 'ऩ'],
99
			[',', ','],
100
			['\\>', '़'],
101
			['\\.', '।'],
102
			['\\?', 'ऐ'],
103
			['/', 'ए'],
104
			['\\^', 'ज्ञ'],
105
			['X', 'क्ष'],
106
			['\\*', 'श्र']
107
		]
108
	};
109
110
	$.ime.register( hiPhonetic );
111
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-transliteration.js (+198 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiTransliteration = {
5
		id: 'hi-transliteration',
6
		name: 'लिप्यंतरण',
7
		description: 'Transliteration keyboard for Devanagari script',
8
		date: '2011-11-20',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		contextLength: 1,
13
		maxKeyLength: 3,
14
		patterns: [
15
			[ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ],
16
17
			[ '([क-ह]़?)्a', '$1' ],
18
19
			// Bug 35990 - Schwa syncope rule in Devanagari transliteration
20
			[ '([क-ह]़?)्\\~', '$1्' ],
21
22
			// Translate full stop (.) to danda
23
			[ '([क-ह]़?)्\\.', '\\~', '$1्।' ],
24
			[ '([क-ह]़?)्\\.', '$1।' ],
25
26
			// Translate digits
27
			[ '([क-ह]़?)्0', '\\~', '$1्०' ],
28
			[ '([क-ह]़?)्1', '\\~', '$1्१' ],
29
			[ '([क-ह]़?)्2', '\\~', '$1्२' ],
30
			[ '([क-ह]़?)्3', '\\~', '$1्३' ],
31
			[ '([क-ह]़?)्4', '\\~', '$1्४' ],
32
			[ '([क-ह]़?)्5', '\\~', '$1्५' ],
33
			[ '([क-ह]़?)्6', '\\~', '$1्६' ],
34
			[ '([क-ह]़?)्7', '\\~', '$1्७' ],
35
			[ '([क-ह]़?)्8', '\\~', '$1्८' ],
36
			[ '([क-ह]़?)्9', '\\~', '$1्९' ],
37
			[ '([क-ह]़?)्\\r', '\\~', '$1्\r' ],
38
39
			[ '([क-ह]़?)्0', '$1०' ],
40
			[ '([क-ह]़?)्1', '$1१' ],
41
			[ '([क-ह]़?)्2', '$1२' ],
42
			[ '([क-ह]़?)्3', '$1३' ],
43
			[ '([क-ह]़?)्4', '$1४' ],
44
			[ '([क-ह]़?)्5', '$1५' ],
45
			[ '([क-ह]़?)्6', '$1६' ],
46
			[ '([क-ह]़?)्7', '$1७' ],
47
			[ '([क-ह]़?)्8', '$1८' ],
48
			[ '([क-ह]़?)्9', '$1९' ],
49
			[ '([क-ह]़?)्\\r', '$1\r' ],
50
51
			[ '([क-ह]़?)्A', '$1ा' ],
52
			[ '([क-ह]़?)a', '$1ा' ],
53
			[ '([क-ह]़?)्i', '$1ि' ],
54
			[ '([क-ह]़?)(्I|िi|ेe)', '$1ी' ],
55
			[ '([क-ह]़?)्u', '$1ु' ],
56
			[ '([क-ह]़?)(ुu|्U|ोo)', '$1ू' ],
57
			[ '([क-ह]़?)्R', '$1ृ' ],
58
			[ '([क-ह]़?)ृR', '$1ॄ' ],
59
			[ '([क-ह]़?)्ळ्l', '$1ॢ' ],
60
			[ '([क-ह]़?)ॢl', '$1ॣ' ],
61
			[ '([क-ह]़?)्e', '$1े' ],
62
			[ '([क-ह]़?)्E', '$1ॅ' ],
63
			[ '([क-ह]़?)i', '$1ै' ],
64
			[ '([क-ह]़?)्o', '$1ो' ],
65
			[ '([क-ह]़?)्O', '$1ॉ' ],
66
			[ '([क-ह]़?)u', '$1ौ' ],
67
			[ '([क-ह]़?)ृa', '$1्ऱ' ],
68
			[ '([क-ह]़?)ृA', '$1्ऱा' ],
69
			[ '([क-ह]़?)ृi', '$1्ऱि' ],
70
			[ '([क-ह]़?)ृI', '$1्ऱी' ],
71
			[ '([क-ह]़?)ृu', '$1्ऱु' ],
72
			[ '([क-ह]़?)ृU', '$1्ऱू' ],
73
			[ '([क-ह]़?)ृ\\^', '$1्ऱॅ' ],
74
			[ '([क-ह]़?)ृe', '$1्ऱॆ' ],
75
			[ '([क-ह]़?)ृE', '$1्ऱे' ],
76
			[ '([क-ह]़?)ृo', '$1्ऱॊ' ],
77
			[ '([क-ह]़?)ृO', '$1्ऱो' ],
78
			[ '([क-ह]़?)ृ\\~', '$1्ऱ्' ],
79
			[ '([अ-ह]़)(्?)\\`', '$1$2' ],
80
			[ '([क-ह])(ा|ि|ी|ु|ू|े|ै|ॅ|ो|ौ|ॉ|ृ|्)\\`', '$1़$2' ],
81
82
			[ 'अa', 'आ' ],
83
			[ 'उu', 'ऊ' ],
84
			[ 'अi', 'ऐ' ],
85
			[ 'अ\\^', 'ॲ' ],
86
			[ 'इi', 'ई' ],
87
			[ 'अu', 'औ' ],
88
			[ 'ऋR', 'ॠ' ],
89
			[ 'ळ्l', 'ऌ' ],
90
			[ 'ऌl', 'ॡ' ],
91
			[ 'ं(m|M|\\^)', 'ँ' ], // Candrabindu
92
			[ 'आऊM', 'ॐ' ], // AUM (OM)
93
94
			[ 'क्h', 'ख्' ],
95
			[ 'ग्h', 'घ्' ],
96
			[ 'न्g', 'ङ्' ],
97
			[ 'च्h', 'छ्' ],
98
			[ 'ज्h', 'झ्' ],
99
			[ 'न्j', 'ञ्' ],
100
			[ 'ट्h', 'ठ्' ],
101
			[ 'ड्h', 'ढ्' ],
102
			[ 'त्h', 'थ्' ],
103
			[ 'द्h', 'ध्' ],
104
			[ 'प्h', 'फ्' ],
105
			[ 'ब्h', 'भ्' ],
106
			[ 'ऋa', 'ऱ' ],
107
			[ 'ऋA', 'ऱा' ],
108
			[ 'ऋi', 'ऱि' ],
109
			[ 'ऋI', 'ऱी' ],
110
			[ 'ऋu', 'ऱु' ],
111
			[ 'ऋU', 'ऱू' ],
112
			[ 'ऋ\\^', 'ऱॅ' ],
113
			[ 'ऋe', 'ऱे' ],
114
			[ 'ऋE', 'ऱे' ],
115
			[ 'ऋo', 'ऱो' ],
116
			[ 'ऋO', 'ऱो' ],
117
			[ 'ऋ\\~', 'ऱ्' ],
118
119
			[ 'स्h', 'श्' ],
120
			[ 'श्h', 'ष्' ],
121
			[ 'क़्h', 'ख़्' ],
122
			[ 'ज़्h', 'ऴ्' ],
123
			[ '।\\.', '॥' ], // Double danda
124
			[ '([ग्|ज्]़?)्Y', 'ज्ञ्' ],
125
126
			[ 'a', 'अ' ],
127
			[ 'b', 'ब्' ],
128
			[ 'c', 'च्' ],
129
			[ 'd', 'द्' ],
130
			[ 'e', 'ए' ],
131
			[ 'f', 'फ्' ],
132
			[ 'g', 'ग्' ],
133
			[ 'h', 'ह्' ],
134
			[ 'i', 'इ' ],
135
			[ 'j', 'ज्' ],
136
			[ 'k', 'क्' ],
137
			[ 'l', 'ल्' ],
138
			[ 'm', 'म्' ],
139
			[ 'n', 'न्' ],
140
			[ 'o', 'ओ' ],
141
			[ 'p', 'प्' ],
142
			[ 'q', 'क़्' ],
143
			[ 'r', 'र्' ],
144
			[ 's', 'स्' ],
145
			[ 't', 'त्' ],
146
			[ 'u', 'उ' ],
147
			[ '(v|w)', 'व्' ],
148
			[ 'x', 'क्ष्' ],
149
			[ 'y', 'य्' ],
150
			[ 'z', 'ज़्' ],
151
			[ 'A', 'आ' ],
152
			[ 'B', 'ब्ब्' ],
153
			[ 'C', 'क्क्' ],
154
			[ 'D', 'ड्' ],
155
			[ 'E', 'ऍ' ],
156
			[ 'F', 'फ़्' ],
157
			[ 'G', 'ग्ग्' ],
158
			[ 'H', 'ः' ], // Visarga
159
			[ 'I', 'ई' ],
160
			[ 'J', 'ज्ज्' ],
161
			[ 'K', 'क्क्' ],
162
			[ 'L', 'ळ्' ],
163
			[ 'M', 'ं' ],
164
			[ 'N', 'ण्' ],
165
			[ 'O', 'ऑ' ],
166
			[ 'P', 'प्प्' ],
167
			[ 'R', 'ऋ' ],
168
			[ 'S', 'श्' ],
169
			[ 'T', 'ट्' ],
170
			[ 'U', 'ऊ' ],
171
			[ '(V|W)', 'व्व्' ],
172
			[ 'X', 'क्ष्' ],
173
			[ 'Y', 'ञ्' ],
174
			[ 'Z', '.' ],
175
			[ '0', '०' ],
176
			[ '1', '१' ],
177
			[ '2', '२' ],
178
			[ '3', '३' ],
179
			[ '4', '४' ],
180
			[ '5', '५' ],
181
			[ '6', '६' ],
182
			[ '7', '७' ],
183
			[ '8', '८' ],
184
			[ '9', '९' ],
185
			[ '~', '्' ], // Virama
186
			[ '\\.', '।' ], // Danda
187
			[ '//', 'ऽ' ],
188
			[ '\\`', '़' ], // Nukta
189
190
			// The last rules in the Schwa syncope rule section:
191
			// If virama not added explicitly, catch all other characters from the US keyboard,
192
			// remove virama and send the character itself ($2).
193
			[ '([क-ह]़?)्(.)', '\\~', '$1्$2' ],
194
			[ '([क-ह]़?)्(.)', '$1$2' ] ]
195
	};
196
197
	$.ime.register( hiTransliteration );
198
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hr/hr-kbd.js (+60 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hrKbd = {
5
		id: 'hr-kbd',
6
		name: 'Croatian kbd',
7
		description: 'Croatian keyboard layout',
8
		date: '2013-02-11',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['¸c', 'ç'],
15
			['¸C', 'Ç'],
16
			['¸s', 'ş'],
17
			['¸S', 'Ş'],
18
			['¨a', 'ä'],
19
			['¨A', 'Ä'],
20
			['¨e', 'ë'],
21
			['¨E', 'Ë'],
22
			['¨o', 'ö'],
23
			['¨O', 'Ö'],
24
			['¨u', 'ü'],
25
			['¨U', 'Ü'],
26
			['\\@', '\"'],
27
			['\\^', '&'],
28
			['\\&', '/'],
29
			['\\*', '('],
30
			['\\(', ')'],
31
			['\\)', '='],
32
			['\\-', '\''],
33
			['\\_', '?'],
34
			['\\=', '+'],
35
			['\\+', '*'],
36
			['\\`', '¸'],
37
			['\\~', '¨'],
38
			['y', 'z'],
39
			['Y', 'Z'],
40
			['\\[', 'š'],
41
			['\\{', 'Š'],
42
			['\\]', 'đ'],
43
			['\\}', 'Đ'],
44
			[';', 'č'],
45
			[':', 'Č'],
46
			['\'', 'ć'],
47
			['\"', 'Ć'],
48
			['\\\\', 'ž'],
49
			['\\|', 'Ž'],
50
			['z', 'y'],
51
			['Z', 'Y'],
52
			['\\<', ';'],
53
			['\\>', ':'],
54
			['/', '-'],
55
			['\\?', '_']
56
		]
57
	};
58
59
	$.ime.register( hrKbd );
60
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-emslegacy.js (+169 lines)
Line 0 Link Here
1
/**
2
 * Eastern Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated
3
 * in Windows 8.
4
 * Original layout was created in late 90-ies based on Unicode 3, and was never updated
5
 * since release, causing it to be incompatible with Unicode.
6
 *
7
 * This layout version complies with Unicode 6.1, including all valid Armenian punctuation signs,
8
 * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
9
 * Please, double-check with Unicode before making any changes here.
10
 *
11
 * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
12
 * producing digits and punctuation marks from standard US keyboard layout.
13
 */
14
15
( function ( $ ) {
16
	'use strict';
17
18
	var hyEmslegacy = {
19
		id: 'hy-emslegacy',
20
		name: 'ՄՍ Արևելահայերեն (հնացած)',
21
		description: 'Legacy keyboard layout for Eastern Armenian by Microsoft',
22
		date: '2013-02-11',
23
		URL: 'http://www.microsoft.com/resources/msdn/goglobal/keyboards/kbdarme.html',
24
		author: 'Parag Nemade, Aleksey Chalabyan',
25
		license: 'GPLv3',
26
		version: '1.1',
27
		patterns: [
28
			['1', '։'],
29
			['\\!', '1'],
30
			['2', 'ձ'],
31
			['\\@', 'Ձ'],
32
			['3', 'յ'],
33
			['\\#', 'Յ'],
34
			['4', '՛'],
35
			['\\$', '֏'],
36
			['5', ','],
37
			['\\%', '4'],
38
			['6', '-'],
39
			['\\^', '9'],
40
			['7', '․'],
41
			['\\&', 'և'],
42
			['8', '«'],
43
			['\\*', '('],
44
			['9', '»'],
45
			['\\(', ')'],
46
			['0', 'օ'],
47
			['\\)', 'Օ'],
48
			['\\-', 'ռ'],
49
			['\\_', 'Ռ'],
50
			['\\=', 'ժ'],
51
			['\\+', 'Ժ'],
52
			['\\`', '՝'],
53
			['\\~', '՜'],
54
			['q', 'խ'],
55
			['Q', 'Խ'],
56
			['w', 'ւ'],
57
			['W', 'Ւ'],
58
			['e', 'է'],
59
			['E', 'Է'],
60
			['r', 'ր'],
61
			['R', 'Ր'],
62
			['t', 'տ'],
63
			['T', 'Տ'],
64
			['y', 'ե'],
65
			['Y', 'Ե'],
66
			['u', 'ը'],
67
			['U', 'Ը'],
68
			['i', 'ի'],
69
			['I', 'Ի'],
70
			['o', 'ո'],
71
			['O', 'Ո'],
72
			['p', 'պ'],
73
			['P', 'Պ'],
74
			['\\[', 'չ'],
75
			['\\{', 'Չ'],
76
			['\\]', 'ջ'],
77
			['\\}', 'Ջ'],
78
			['\\\\', '\''],
79
			['\\|', '՞'],
80
			['a', 'ա'],
81
			['A', 'Ա'],
82
			['s', 'ս'],
83
			['S', 'Ս'],
84
			['d', 'դ'],
85
			['D', 'Դ'],
86
			['f', 'ֆ'],
87
			['F', 'Ֆ'],
88
			['g', 'ք'],
89
			['G', 'Ք'],
90
			['h', 'հ'],
91
			['H', 'Հ'],
92
			['j', 'ճ'],
93
			['J', 'Ճ'],
94
			['k', 'կ'],
95
			['K', 'Կ'],
96
			['l', 'լ'],
97
			['L', 'Լ'],
98
			[';', 'թ'],
99
			[':', 'Թ'],
100
			['\'', 'փ'],
101
			['\"', 'Փ'],
102
			['z', 'զ'],
103
			['Z', 'Զ'],
104
			['x', 'ց'],
105
			['X', 'Ց'],
106
			['c', 'գ'],
107
			['C', 'Գ'],
108
			['v', 'վ'],
109
			['V', 'Վ'],
110
			['b', 'բ'],
111
			['B', 'Բ'],
112
			['n', 'ն'],
113
			['N', 'Ն'],
114
			['m', 'մ'],
115
			['M', 'Մ'],
116
			[',', 'շ'],
117
			['\\<', 'Շ'],
118
			['\\.', 'ղ'],
119
			['\\>', 'Ղ'],
120
			['/', 'ծ'],
121
			['\\?', 'Ծ']
122
		],
123
		patterns_x: [
124
			['1', '1'],
125
			['\\!', '!'],
126
			['2', '2'],
127
			['\\@', '@'],
128
			['3', '3'],
129
			['\\#', '#'],
130
			['4', '4'],
131
			['\\$', '$'],
132
			['5', '5'],
133
			['\\%', '%'],
134
			['6', '6'],
135
			['\\^', '^'],
136
			['7', '7'],
137
			['\\&', '&'],
138
			['8', '8'],
139
			['\\*', '*'],
140
			['9', '9'],
141
			['\\(', '('],
142
			['0', '0'],
143
			['\\)', ')'],
144
			['\\-', '-'],
145
			['\\_', '_'],
146
			['\\=', '='],
147
			['\\+', '+'],
148
			['\\`', '`'],
149
			['\\~', '~'],
150
			['\\[', '['],
151
			['\\{', '{'],
152
			['\\]', ']'],
153
			['\\}', '}'],
154
			['\\\\', '\\'],
155
			['\\|', '|'],
156
			[';', ';'],
157
			['\\:', ':'],
158
			['\'', '\''],
159
			['\"', '\"'],
160
			['\\<', '<'],
161
			['\\.', '.'],
162
			['\\>', '>'],
163
			['/', '/'],
164
			['\\?', '?']
165
		]
166
	};
167
168
	$.ime.register( hyEmslegacy );
169
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-ephonetic.js (+173 lines)
Line 0 Link Here
1
/**
2
 * This is a phonetic layout for the Armenian language (hy, arm, hye).
3
 * The layout comes from DOS times, and was later popularised by KDWin and
4
 * WinKeys keyboard "drivers".
5
 * While not as efficient and well-thought as the official typewriter layout, it is very popular as
6
 * it uses similary sounding Latin letters, which is very handy, as keyboards in Armenia
7
 * don't come engraved with Armenian letters.
8
 *
9
 * This layout complies with Unicode 6.1, including all valid Armenian punctuation signs,
10
 * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign.
11
 * Please, double-check with Unicode before making any changes here.
12
 *
13
 * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
14
 * producing digits and punctuation marks from standard US keyboard layout.
15
 */
16
17
( function ( $ ) {
18
	'use strict';
19
20
	var hyEphonetic = {
21
		id: 'hy-ephonetic',
22
		name: 'Հայերեն Հնչյունային',
23
		description: 'Armenian phonetic (Eastern) keyboard layout',
24
		date: '2013-07-06',
25
		URL: 'http://hy.am',
26
		author: 'Aleksey Chalabyan Ալեքսեյ Չալաբյան a.k.a Xelgen',
27
		license: 'GPLv3',
28
		version: '1.0',
29
		contextLength: 0,
30
		maxKeyLength: 0,
31
		patterns: [
32
			['1', 'է'],
33
			['\\!', 'Է'],
34
			['2', 'թ'],
35
			['\\@', 'Թ'],
36
			['3', 'փ'],
37
			['\\#', 'Փ'],
38
			['4', 'ձ'],
39
			['\\$', 'Ձ'],
40
			['5', 'ջ'],
41
			['\\%', 'Ջ'],
42
			['6', '֏'],
43
			['\\^', '('],
44
			['7', 'և'],
45
			['\\&', ')'],
46
			['8', 'ր'],
47
			['\\*', 'Ր'],
48
			['9', 'չ'],
49
			['\\(', 'Չ'],
50
			['0', 'ճ'],
51
			['\\)', 'Ճ'],
52
			['\\-', '–'],
53
			['\\_', '—'],
54
			['\\=', 'ժ'],
55
			['\\+', 'Ժ'],
56
			['\\`', '՝'],
57
			['\\~', '՜'],
58
			['q', 'ք'],
59
			['Q', 'Ք'],
60
			['w', 'ո'],
61
			['W', 'Ո'],
62
			['e', 'ե'],
63
			['E', 'Ե'],
64
			['r', 'ռ'],
65
			['R', 'Ռ'],
66
			['t', 'տ'],
67
			['T', 'Տ'],
68
			['y', 'ը'],
69
			['Y', 'Ը'],
70
			['u', 'ւ'],
71
			['U', 'Ւ'],
72
			['i', 'ի'],
73
			['I', 'Ի'],
74
			['o', 'օ'],
75
			['O', 'Օ'],
76
			['p', 'պ'],
77
			['P', 'Պ'],
78
			['\\[', 'խ'],
79
			['\\{', 'Խ'],
80
			['\\]', 'ծ'],
81
			['\\}', 'Ծ'],
82
			['\\\\', 'շ'],
83
			['\\|', 'Շ'],
84
			['a', 'ա'],
85
			['A', 'Ա'],
86
			['s', 'ս'],
87
			['S', 'Ս'],
88
			['d', 'դ'],
89
			['D', 'Դ'],
90
			['f', 'ֆ'],
91
			['F', 'Ֆ'],
92
			['g', 'գ'],
93
			['G', 'Գ'],
94
			['h', 'հ'],
95
			['H', 'Հ'],
96
			['j', 'յ'],
97
			['J', 'Յ'],
98
			['k', 'կ'],
99
			['K', 'Կ'],
100
			['l', 'լ'],
101
			['L', 'Լ'],
102
			[';', ';'],
103
			[':', '։'],
104
			['\'', '՛'],
105
			['\"', '"'],
106
			['z', 'զ'],
107
			['Z', 'Զ'],
108
			['x', 'ղ'],
109
			['X', 'Ղ'],
110
			['c', 'ց'],
111
			['C', 'Ց'],
112
			['v', 'վ'],
113
			['V', 'Վ'],
114
			['b', 'բ'],
115
			['B', 'Բ'],
116
			['n', 'ն'],
117
			['N', 'Ն'],
118
			['m', 'մ'],
119
			['M', 'Մ'],
120
			[',', ','],
121
			['\\<', '«'],
122
			['\\.', '․'],
123
			['\\>', '»'],
124
			['/', '…'],
125
			['\\?', '՞']
126
		],
127
		patterns_x: [
128
			['1', '1'],
129
			['\\!', '!'],
130
			['2', '2'],
131
			['\\@', '@'],
132
			['3', '3'],
133
			['\\#', '#'],
134
			['4', '4'],
135
			['\\$', '$'],
136
			['5', '5'],
137
			['\\%', '%'],
138
			['6', '6'],
139
			['\\^', '^'],
140
			['7', '7'],
141
			['\\&', '&'],
142
			['8', '8'],
143
			['\\*', '*'],
144
			['9', '9'],
145
			['\\(', '('],
146
			['0', '0'],
147
			['\\)', ')'],
148
			['\\-', '-'],
149
			['\\_', '_'],
150
			['\\=', '='],
151
			['\\+', '+'],
152
			['\\`', '`'],
153
			['\\~', '~'],
154
			['\\[', '['],
155
			['\\{', '{'],
156
			['\\]', ']'],
157
			['\\}', '}'],
158
			['\\\\', '\\'],
159
			['\\|', '|'],
160
			[';', ';'],
161
			['\\:', ':'],
162
			['\'', '\''],
163
			['\"', '\"'],
164
			['\\<', '<'],
165
			['\\.', '.'],
166
			['\\>', '>'],
167
			['/', '/'],
168
			['\\?', '?']
169
		]
170
	};
171
172
	$.ime.register( hyEphonetic );
173
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-ephoneticalt.js (+171 lines)
Line 0 Link Here
1
/**
2
 * This is alternative phonetic layout for Armenian language (hy, arm, hye).
3
 * Based on Armenian phonetic layout, it improves few things, by placing ր under latin r,
4
 * as ր is much more frequent in Armenian. ռ goes under 8, where ր is in standart phonetic.
5
 * Another change, which is not yet in xkb, ( as of July 2013), is swapping ֆ and թ: Ֆ is
6
 * placed under F, where left index finger is, but is the least used letter in Armenian,
7
 * so much more used թ takes it place, comming down from 2.
8
 *
9
 * This layout complies with Unicode 6.1, including all valid Armenian punctuation signs,
10
 * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign.
11
 * Please, double-check with Unicode before making any changes here.
12
 *
13
 * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
14
 * producing digits and punctuation marks from standard US keyboard layout.
15
 */
16
17
( function ( $ ) {
18
	'use strict';
19
20
	var hyEphonetic = {
21
		id: 'hy-ephoneticalt',
22
		name: 'Հայերեն Հնչյունային (R->Ր, F->Թ)',
23
		description: 'Eastern Armenian alternative phonetic keyboard layout',
24
		date: '2013-07-08',
25
		URL: 'http://github.com/wikimedia/jquery.ime',
26
		author: 'Aleksey Chalabyan Ալեքսեյ Չալաբյան a.k.a Xelgen',
27
		license: 'GPLv3',
28
		version: '1.0',
29
		patterns: [
30
			['1', 'է'],
31
			['\\!', 'Է'],
32
			['2', 'ֆ'],
33
			['\\@', 'Ֆ'],
34
			['3', 'փ'],
35
			['\\#', 'Փ'],
36
			['4', 'ձ'],
37
			['\\$', 'Ձ'],
38
			['5', 'ջ'],
39
			['\\%', 'Ջ'],
40
			['6', '֏'],
41
			['\\^', '('],
42
			['7', 'և'],
43
			['\\&', ')'],
44
			['8', 'ռ'],
45
			['\\*', 'Ռ'],
46
			['9', 'չ'],
47
			['\\(', 'Չ'],
48
			['0', 'ճ'],
49
			['\\)', 'Ճ'],
50
			['\\-', '–'],
51
			['\\_', '—'],
52
			['\\=', 'ժ'],
53
			['\\+', 'Ժ'],
54
			['\\`', '՝'],
55
			['\\~', '՜'],
56
			['q', 'ք'],
57
			['Q', 'Ք'],
58
			['w', 'ո'],
59
			['W', 'Ո'],
60
			['e', 'ե'],
61
			['E', 'Ե'],
62
			['r', 'ր'],
63
			['R', 'Ր'],
64
			['t', 'տ'],
65
			['T', 'Տ'],
66
			['y', 'ը'],
67
			['Y', 'Ը'],
68
			['u', 'ւ'],
69
			['U', 'Ւ'],
70
			['i', 'ի'],
71
			['I', 'Ի'],
72
			['o', 'օ'],
73
			['O', 'Օ'],
74
			['p', 'պ'],
75
			['P', 'Պ'],
76
			['\\[', 'խ'],
77
			['\\{', 'Խ'],
78
			['\\]', 'ծ'],
79
			['\\}', 'Ծ'],
80
			['\\\\', 'շ'],
81
			['\\|', 'Շ'],
82
			['a', 'ա'],
83
			['A', 'Ա'],
84
			['s', 'ս'],
85
			['S', 'Ս'],
86
			['d', 'դ'],
87
			['D', 'Դ'],
88
			['f', 'թ'],
89
			['F', 'Թ'],
90
			['g', 'գ'],
91
			['G', 'Գ'],
92
			['h', 'հ'],
93
			['H', 'Հ'],
94
			['j', 'յ'],
95
			['J', 'Յ'],
96
			['k', 'կ'],
97
			['K', 'Կ'],
98
			['l', 'լ'],
99
			['L', 'Լ'],
100
			[';', ';'],
101
			[':', '։'],
102
			['\'', '՛'],
103
			['\"', '"'],
104
			['z', 'զ'],
105
			['Z', 'Զ'],
106
			['x', 'ղ'],
107
			['X', 'Ղ'],
108
			['c', 'ց'],
109
			['C', 'Ց'],
110
			['v', 'վ'],
111
			['V', 'Վ'],
112
			['b', 'բ'],
113
			['B', 'Բ'],
114
			['n', 'ն'],
115
			['N', 'Ն'],
116
			['m', 'մ'],
117
			['M', 'Մ'],
118
			[',', ','],
119
			['\\<', '«'],
120
			['\\.', '․'],
121
			['\\>', '»'],
122
			['/', '…'],
123
			['\\?', '՞']
124
		],
125
		patterns_x: [
126
			['1', '1'],
127
			['\\!', '!'],
128
			['2', '2'],
129
			['\\@', '@'],
130
			['3', '3'],
131
			['\\#', '#'],
132
			['4', '4'],
133
			['\\$', '$'],
134
			['5', '5'],
135
			['\\%', '%'],
136
			['6', '6'],
137
			['\\^', '^'],
138
			['7', '7'],
139
			['\\&', '&'],
140
			['8', '8'],
141
			['\\*', '*'],
142
			['9', '9'],
143
			['\\(', '('],
144
			['0', '0'],
145
			['\\)', ')'],
146
			['\\-', '-'],
147
			['\\_', '_'],
148
			['\\=', '='],
149
			['\\+', '+'],
150
			['\\`', '`'],
151
			['\\~', '~'],
152
			['\\[', '['],
153
			['\\{', '{'],
154
			['\\]', ']'],
155
			['\\}', '}'],
156
			['\\\\', '\\'],
157
			['\\|', '|'],
158
			[';', ';'],
159
			['\\:', ':'],
160
			['\'', '\''],
161
			['\"', '\"'],
162
			['\\<', '<'],
163
			['\\.', '.'],
164
			['\\>', '>'],
165
			['/', '/'],
166
			['\\?', '?']
167
		]
168
	};
169
170
	$.ime.register( hyEphonetic );
171
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-typewriter.js (+168 lines)
Line 0 Link Here
1
/**
2
 * Armenian typewriter layout
3
 * Based on themonly official state standard for Armenian keyboard layout:
4
 * http://www.sarm.am/en/standarts/view/5741
5
 *
6
 * This layout complies with Unicode 6.1, including all valid Armenian punctuation signs,
7
 * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign.
8
 * Please, double-check with Unicode before making any changes here.
9
 *
10
 * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
11
 * producing digits and punctuation marks from standard US keyboard layout.
12
 */
13
14
( function ( $ ) {
15
	'use strict';
16
17
	var hyTypewriter = {
18
		id: 'hy-typewriter',
19
		name: 'Հայերեն Գրամեքենա',
20
		description: 'Armenian typewriter keyboard layout',
21
		date: '2013-07-08',
22
		URL: 'http://www.sarm.am/en/standarts/view/5741',
23
		author: 'Aleksey Chalabyan Ալեքսեյ Չալաբյան a.k.a Xelgen',
24
		license: 'GPLv3',
25
		version: '1.0',
26
		patterns: [
27
			['1', 'ֆ'],
28
			['\\!', 'Ֆ'],
29
			['2', 'ձ'],
30
			['\\@', 'Ձ'],
31
			['3', '-'],
32
			['\\#', ''],
33
			['4', ','],
34
			['\\$', '֏'],
35
			['5', '։'],
36
			['\\%', '֊'],
37
			['6', '՞'],
38
			['\\^', '—'],
39
			['7', '․'],
40
			['\\&', 'և'],
41
			['8', '՛'],
42
			['\\*', '՚'],
43
			['9', ')'],
44
			['\\(', '('],
45
			['0', 'օ'],
46
			['\\)', 'Օ'],
47
			['\\-', 'է'],
48
			['\\_', 'Է'],
49
			['\\=', 'ղ'],
50
			['\\+', 'Ղ'],
51
			['\\`', '՝'],
52
			['\\~', '՜'],
53
			['q', 'ճ'],
54
			['Q', 'Ճ'],
55
			['w', 'փ'],
56
			['W', 'Փ'],
57
			['e', 'բ'],
58
			['E', 'Բ'],
59
			['r', 'ս'],
60
			['R', 'Ս'],
61
			['t', 'մ'],
62
			['T', 'Մ'],
63
			['y', 'ո'],
64
			['Y', 'Ո'],
65
			['u', 'ւ'],
66
			['U', 'Ւ'],
67
			['i', 'կ'],
68
			['I', 'Կ'],
69
			['o', 'ը'],
70
			['O', 'Ը'],
71
			['p', 'թ'],
72
			['P', 'Թ'],
73
			['\\[', 'ծ'],
74
			['\\{', 'Ծ'],
75
			['\\]', 'ց'],
76
			['\\}', 'Ց'],
77
			['\\\\', '»'],
78
			['\\|', '«'],
79
			['a', 'ջ'],
80
			['A', 'Ջ'],
81
			['s', 'վ'],
82
			['S', 'Վ'],
83
			['d', 'գ'],
84
			['D', 'Գ'],
85
			['f', 'ե'],
86
			['F', 'Ե'],
87
			['g', 'ա'],
88
			['G', 'Ա'],
89
			['h', 'ն'],
90
			['H', 'Ն'],
91
			['j', 'ի'],
92
			['J', 'Ի'],
93
			['k', 'տ'],
94
			['K', 'Տ'],
95
			['l', 'հ'],
96
			['L', 'Հ'],
97
			[';', 'պ'],
98
			[':', 'Պ'],
99
			['\'', 'ր'],
100
			['\"', 'Ր'],
101
			['z', 'ժ'],
102
			['Z', 'Ժ'],
103
			['x', 'դ'],
104
			['X', 'Դ'],
105
			['c', 'չ'],
106
			['C', 'Չ'],
107
			['v', 'յ'],
108
			['V', 'Յ'],
109
			['b', 'զ'],
110
			['B', 'Զ'],
111
			['n', 'լ'],
112
			['N', 'Լ'],
113
			['m', 'ք'],
114
			['M', 'Ք'],
115
			[',', 'խ'],
116
			['\\<', 'Խ'],
117
			['\\.', 'շ'],
118
			['\\>', 'Շ'],
119
			['/', 'ռ'],
120
			['\\?', 'Ռ']
121
		],
122
		patterns_x: [
123
			['1', '1'],
124
			['\\!', '!'],
125
			['2', '2'],
126
			['\\@', '@'],
127
			['3', '3'],
128
			['\\#', '#'],
129
			['4', '4'],
130
			['\\$', '$'],
131
			['5', '5'],
132
			['\\%', '%'],
133
			['6', '6'],
134
			['\\^', '^'],
135
			['7', '7'],
136
			['\\&', '&'],
137
			['8', '8'],
138
			['\\*', '*'],
139
			['9', '9'],
140
			['\\(', '('],
141
			['0', '0'],
142
			['\\)', ')'],
143
			['\\-', '-'],
144
			['\\_', '_'],
145
			['\\=', '='],
146
			['\\+', '+'],
147
			['\\`', '`'],
148
			['\\~', '~'],
149
			['\\[', '['],
150
			['\\{', '{'],
151
			['\\]', ']'],
152
			['\\}', '}'],
153
			['\\\\', '\\'],
154
			['\\|', '|'],
155
			[';', ';'],
156
			['\\:', ':'],
157
			['\'', '\''],
158
			['\"', '\"'],
159
			['\\<', '<'],
160
			['\\.', '.'],
161
			['\\>', '>'],
162
			['/', '/'],
163
			['\\?', '?']
164
		]
165
	};
166
167
	$.ime.register( hyTypewriter );
168
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-wmslegacy.js (+169 lines)
Line 0 Link Here
1
/**
2
 * Western Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated
3
 * in Windows 8.
4
 * Original layout was created in late 90-ies based on Unicode 3, and was never updated
5
 * since release, causing it to be incompatible with Unicode.
6
 *
7
 * This layout version complies with Unicode 6.1, including all valid Armenian punctuation signs,
8
 * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
9
 * Please, double-check with Unicode before making any changes here.
10
 *
11
 * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
12
 * producing digits and punctuation marks from standard US keyboard layout.
13
 */
14
15
( function ( $ ) {
16
	'use strict';
17
18
	var hyWmslegacy = {
19
		id: 'hy-wmslegacy',
20
		name: 'ՄՍ Արևմտահայերեն (հնացած)',
21
		description: 'Legacy keyboard layout for Western Armenian by Microsoft',
22
		date: '2013-07-08',
23
		URL: 'http://www.microsoft.com/resources/msdn/goglobal/keyboards/kbdarmw.html',
24
		author: 'Aleksey Chalabyan Ալեքսեյ Չալաբյան a.k.a Xelgen',
25
		license: 'GPLv3',
26
		version: '1.0',
27
		patterns: [
28
			['1', '։'],
29
			['\\!', '1'],
30
			['2', 'ձ'],
31
			['\\@', 'Ձ'],
32
			['3', 'յ'],
33
			['\\#', 'Յ'],
34
			['4', '՛'],
35
			['\\$', '֏'],
36
			['5', ','],
37
			['\\%', '4'],
38
			['6', '-'],
39
			['\\^', '9'],
40
			['7', '․'],
41
			['\\&', 'և'],
42
			['8', '«'],
43
			['\\*', '('],
44
			['9', '»'],
45
			['\\(', ')'],
46
			['0', 'օ'],
47
			['\\)', 'Օ'],
48
			['\\-', 'ռ'],
49
			['\\_', 'Ռ'],
50
			['\\=', 'ժ'],
51
			['\\+', 'Ժ'],
52
			['\\`', '՝'],
53
			['\\~', '՜'],
54
			['q', 'խ'],
55
			['Q', 'Խ'],
56
			['w', 'վ'],
57
			['W', 'Վ'],
58
			['e', 'է'],
59
			['E', 'Է'],
60
			['r', 'ր'],
61
			['R', 'Ր'],
62
			['t', 'դ'],
63
			['T', 'Դ'],
64
			['y', 'ե'],
65
			['Y', 'Ե'],
66
			['u', 'ը'],
67
			['U', 'Ը'],
68
			['i', 'ի'],
69
			['I', 'Ի'],
70
			['o', 'ո'],
71
			['O', 'Ո'],
72
			['p', 'բ'],
73
			['P', 'Բ'],
74
			['\\[', 'չ'],
75
			['\\{', 'Չ'],
76
			['\\]', 'ջ'],
77
			['\\}', 'Ջ'],
78
			['\\\\', '\''],
79
			['\\|', '՞'],
80
			['a', 'ա'],
81
			['A', 'Ա'],
82
			['s', 'ս'],
83
			['S', 'Ս'],
84
			['d', 'տ'],
85
			['D', 'Տ'],
86
			['f', 'ֆ'],
87
			['F', 'Ֆ'],
88
			['g', 'կ'],
89
			['G', 'Կ'],
90
			['h', 'հ'],
91
			['H', 'Հ'],
92
			['j', 'ճ'],
93
			['J', 'Ճ'],
94
			['k', 'ք'],
95
			['K', 'Ք'],
96
			['l', 'լ'],
97
			['L', 'Լ'],
98
			[';', 'թ'],
99
			[':', 'Թ'],
100
			['\'', 'փ'],
101
			['\"', 'Փ'],
102
			['z', 'զ'],
103
			['Z', 'Զ'],
104
			['x', 'ց'],
105
			['X', 'Ց'],
106
			['c', 'գ'],
107
			['C', 'Գ'],
108
			['v', 'ւ'],
109
			['V', 'Ւ'],
110
			['b', 'պ'],
111
			['B', 'Պ'],
112
			['n', 'ն'],
113
			['N', 'Ն'],
114
			['m', 'մ'],
115
			['M', 'Մ'],
116
			[',', 'շ'],
117
			['\\<', 'Շ'],
118
			['\\.', 'ղ'],
119
			['\\>', 'Ղ'],
120
			['/', 'ծ'],
121
			['\\?', 'Ծ']
122
		],
123
		patterns_x: [
124
			['1', '1'],
125
			['\\!', '!'],
126
			['2', '2'],
127
			['\\@', '@'],
128
			['3', '3'],
129
			['\\#', '#'],
130
			['4', '4'],
131
			['\\$', '$'],
132
			['5', '5'],
133
			['\\%', '%'],
134
			['6', '6'],
135
			['\\^', '^'],
136
			['7', '7'],
137
			['\\&', '&'],
138
			['8', '8'],
139
			['\\*', '*'],
140
			['9', '9'],
141
			['\\(', '('],
142
			['0', '0'],
143
			['\\)', ')'],
144
			['\\-', '-'],
145
			['\\_', '_'],
146
			['\\=', '='],
147
			['\\+', '+'],
148
			['\\`', '`'],
149
			['\\~', '~'],
150
			['\\[', '['],
151
			['\\{', '{'],
152
			['\\]', ']'],
153
			['\\}', '}'],
154
			['\\\\', '\\'],
155
			['\\|', '|'],
156
			[';', ';'],
157
			['\\:', ':'],
158
			['\'', '\''],
159
			['\"', '\"'],
160
			['\\<', '<'],
161
			['\\.', '.'],
162
			['\\>', '>'],
163
			['/', '/'],
164
			['\\?', '?']
165
		]
166
	};
167
168
	$.ime.register( hyWmslegacy );
169
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/is/is-normforms.js (+78 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'is-normforms',
6
		name: 'Íslenska',
7
		description: 'Islandic input method with most common form transliterated',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/icelandic.pdf',
10
		author: 'John Erling Blad',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 3,
15
		patterns: [
16
			// Uses "'" as an accent
17
			[ '\'a', 'á' ],
18
			[ '\'A', 'Á' ],
19
			[ '\'i', 'í' ],
20
			[ '\'I', 'Í' ],
21
			[ '\'e', 'é' ],
22
			[ '\'E', 'É' ],
23
			[ '\'o', 'ó' ],
24
			[ '\'O', 'Ó' ],
25
			[ '\'u', 'ú' ],
26
			[ '\'U', 'Ú' ],
27
			[ '\'y', 'ý' ],
28
			[ '\'Y', 'Ý' ],
29
			// Uses "~" as "approximatly similar to"
30
			[ '~a', 'ä' ],
31
			[ '~A', 'Ä' ],
32
			[ '~e', 'ë' ],
33
			[ '~E', 'Ë' ],
34
			[ '~d', 'ð' ],
35
			[ '~D', 'Ð' ],
36
			[ '~o', 'ø' ],
37
			[ '~O', 'Ø' ],
38
			// The most common transliterations (also the Danish letters)
39
			[ 'th', 'þ' ],
40
			[ 'TH', 'Þ' ],
41
			[ 'Th', 'Þ' ],
42
			[ 'aa', 'å' ],
43
			[ 'AA', 'Å' ],
44
			[ 'Aa', 'Å' ],
45
			[ 'ae', 'æ' ],
46
			[ 'AE', 'Æ' ],
47
			[ 'Ae', 'Æ' ],
48
			[ 'oe', 'ö' ],
49
			[ 'OE', 'Ö' ],
50
			[ 'Oe', 'Ö' ],
51
			// The previous as negated transliterations, mostly for names
52
			[ 'þh', 'h', 'th' ],
53
			[ 'ÞA', 'H', 'TH' ],
54
			[ 'Þh', 'H', 'Th' ],
55
			[ 'þA', 'h', 'tH' ],
56
			[ 'åa', 'a', 'aa' ],
57
			[ 'ÅA', 'A', 'AA' ],
58
			[ 'Åa', 'A', 'Aa' ],
59
			[ 'åA', 'a', 'aA' ],
60
			[ 'æe', 'e', 'ae' ],
61
			[ 'ÆE', 'E', 'AE' ],
62
			[ 'Æe', 'E', 'Ae' ],
63
			[ 'æE', 'e', 'aE' ],
64
			[ 'öe', 'e', 'oe' ],
65
			[ 'ÖE', 'E', 'OE' ],
66
			[ 'Öe', 'E', 'Oe' ],
67
			[ 'öE', 'e', 'oE' ]
68
			// historically similar forms
69
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
70
			// it is not generally acceptable to use this transliteration. To
71
			// handle those situations we need some oposite forms.
72
			// There is a similar character "Å" for the length unit Angstrom,
73
			// but this is not the upper case letter Å.
74
		]
75
	};
76
77
	$.ime.register( defs );
78
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/jv/jv-transliteration.js (+273 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var jvTransliteration = {
5
		id: 'jv-transliteration',
6
		name: 'Javanese',
7
		description: 'Javanese transliteration',
8
		date: '2013-08-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Bennylin',
11
		license: 'GPLv3',
12
		version: '1.1',
13
		contextLength: 1,
14
		maxKeyLength: 2,
15
		patterns: [
16
			[ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ],
17
			['ꦝ꧀q', '','ꦞ꧀'], // Dha murda
18
			['ꦚ꧀q', '','ꦘ꧀'], // Nya murda
19
			['ꦧ꧀q', '','ꦨ꧀'], // Ba murda
20
			['ꦕ꧀q', '','ꦖ꧀'], // Ca murda(?)
21
			['ꦒ꧀q', '','ꦓ꧀'], // Ga murda
22
			['ꦗ꧀q', '','ꦙ꧀'], // Ja Mahaprana
23
			['ꦏ꧀q', '','ꦑ꧀'], // Ka murda
24
			['ꦤ꧀q', '','ꦟ꧀'], // Na murda
25
			['ꦥ꧀q', '','ꦦ꧀'], // Pa murda
26
			['ꦱ꧀q', '','ꦯ꧀'], // Sa murda
27
			['ꦠ꧀q', '','ꦡ꧀'], // Ta murda
28
29
			// VII. Vocal ended with special pasangan followed by vocal = back to normal
30
			['ꦃa', '','ꦲ'], // vocal ended with -h followed by a
31
			['ꦃe', '','ꦲꦺ'], // vocal ended with -h followed by e
32
			['ꦃi', '','ꦲꦶ'], // vocal ended with -h followed by i
33
			['ꦃo', '','ꦲꦺꦴ'], // vocal ended with -h followed by o
34
			['ꦃu', '','ꦲꦸ'], // vocal ended with -h followed by u
35
36
			['ꦂa', '','ꦫ'], // vocal ended with -r followed by a
37
			['ꦂe', '','ꦫꦺ'], // vocal ended with -r followed by e
38
			['ꦂi', '','ꦫꦶ'], // vocal ended with -r followed by i
39
			['ꦂo', '','ꦫꦺꦴ'], // vocal ended with -r followed by o
40
			['ꦂu', '','ꦫꦸ'], // vocal ended with -r followed by u
41
			['ꦂy', '','ꦫꦾ'], // vocal ended with -r followed by y (Special)
42
43
			['ꦁa', '','ꦔ'], // vocal ended with -ng followed by a
44
			['ꦁe', '','ꦔꦺ'], // vocal ended with -ng followed by e
45
			['ꦁi', '','ꦔꦶ'], // vocal ended with -ng followed by i
46
			['ꦁo', '','ꦔꦺꦴ'], // vocal ended with -ng followed by o
47
			['ꦁu', '','ꦔꦸ'], // vocal ended with -ng followed by u
48
49
			// VI. Vocal (lowercase, uppercase, extended) ended with h/r/ng = special pasangan (-h, -r, -ng)
50
			['꧀​h', '','꧀ꦲ꧀'],
51
			// vocal a ended with h/r/ng
52
			['(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦿ|ꦾ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ|꦳)(h|H)', '','$1ꦃ'], // hanacaraka + h = -h
53
			['(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦿ|ꦾ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ|꦳)(r|R)', '','$1ꦂ'], // hanacaraka + r = -r
54
			['(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦿ|ꦾ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ|꦳)(ꦤ|ꦟ)꧀(g|G)', '','$1ꦁ'], // hanacaraka + ng = -ng
55
			// other vocals ended with h/r/ng
56
			['(ꦴ|ꦻ|ꦍ|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ꦄ|ꦌ|ꦆ|ꦎ|ꦈ)(h|H)', '','$1ꦃ'], // other vocal ended with -h
57
			['(ꦴ|ꦻ|ꦍ|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ꦄ|ꦌ|ꦆ|ꦎ|ꦈ)(r|R)', '','$1ꦂ'], // other vocal ended with -r
58
			['(ꦴ|ꦻ|ꦍ|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ꦄ|ꦌ|ꦆ|ꦎ|ꦈ)(ꦤ|ꦟ)꧀(g|G)', '','$1ꦁ'], // other vocal ended with -ng
59
60
			// V. Lower case consonant followed by lower case consonant: Basic
61
			// Note: not all of these combination are valid in Javanese language, for example -hn-,
62
			// so they are here only for logical reason, practically they should never be used.
63
			// Obvious removal are noted (such as -yy-). th, dh, ny, ng, c, h, r, w, y are special cases:
64
65
			// pasangan 'ha'(ꦲ/ꦃ) is considered final, exception: about 60 words can be found of "ha" followed by consonant y/r/l/w
66
			// pasangan 'ra'(ꦫ/ꦂ) is considered final, exception: 5 words can be found of "ra" followed by consonant y/w
67
			// pasangan bigraf nga(ꦔ/ꦁ) is considered final, exception: "nga" can only be found followed by consonant y/r/l/w
68
			// (some problem may occur - see http://jv.wikipedia.org/wiki/Dhiskusi_Panganggo:Bennylin/Narayam#Ng)
69
			// pasangan bigraf nya can only be found followed by consonant r/l/w, and
70
			// although not found in Latin, it also found in Javanese script representation of nasal sounds ñ (see nyc and nyj)
71
			// pasangan bigraf dha can only be found followed by consonant y/r/ w
72
			// pasangan bigraf tha can only be found followed by consonant r
73
			// the letter 'w' can only be found followed by consonant y/r/l/w (nasal for 'u')
74
			// the letter 'c' can only be found followed by consonant r/l, and ch
75
			// the letter 'y' can only be found followed by consonant w (nasal for 'i')
76
77
			['꧀a', '',''], // default vowel is a, so, remove the pangkon
78
			['꧀A', '','ꦄ'], // A
79
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀b', '','$1꧀ꦧ꧀'],
80
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀B', '','$1꧀ꦨ꧀'], // pasangan Ba murda
81
			['ꦤ꧀​(c|C)', '','ꦚ꧀ꦕ꧀'], // n+zero-width-space+c
82
			['ꦤ꧀(c|C)', '','ꦚ꧀ꦕ꧀'], // n followed by c became nasalized (nasal sound 'ny' + c)(REF:nyc)
83
			['(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀c', '','$1꧀ꦕ꧀'],
84
			['(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀C', '','$1꧀ꦖ꧀'], // pasangan Ca murda(?)
85
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀d', '','$1꧀ꦢ꧀'],
86
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀D', '','$1꧀ꦣ꧀'],
87
			['꧀e', '','ꦺ'], // é|è
88
			['꧀E', '','ꦌ'], // É|È
89
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(f|v|F|V)', '','$1꧀ꦥ꦳꧀'],
90
			['(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀g', '','$1꧀ꦒ꧀'], // can't be started with n, reserved for bigraf ng
91
			['(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀G', '','$1꧀ꦓ꧀'], // pasangan Ga murda (can't be started with n - see II. 2.)
92
			['(ꦤ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(h|H)', '','$1꧀ꦲ꧀'], // can't be started with k/d/t/g, reserved for bigraf kh/dh/th/gh
93
			['꧀i', '','ꦶ'], // i
94
			['꧀I', '','ꦆ'], // I
95
			['ꦤ꧀​(j|J)', '','ꦤ꧀ꦗ꧀'], // n+zero-width-space+j
96
			['ꦤ꧀(j|J)', '','ꦚ꧀ꦗ꧀'], // n followed by j became nasalized (nasal sound 'ny' + j)(REF:nyj)
97
			['(ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(j|J)', '','$1꧀ꦗ꧀'],
98
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀k', '','$1꧀ꦏ꧀'],
99
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀K', '','$1꧀ꦑ꧀'], // pasangan Ka murda
100
			['(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(l|L)', '','$1꧀ꦭ꧀'],
101
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(m|M)', '','$1꧀ꦩ꧀'],
102
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀n', '','$1꧀ꦤ꧀'],
103
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀N', '','$1꧀ꦟ꧀'], // pasangan Na murda
104
			['꧀o', '','ꦺꦴ'], // o
105
			['꧀O', '','ꦎ'], // O
106
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀p', '','$1꧀ꦥ꧀'],
107
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀P', '','$1꧀ꦦ꧀'], // pasangan Pa murda
108
			// q
109
			['(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀​r', '','$1꧀ꦫ꧀'], // consonant+zero-width-space+(r|R) doesn't make special biconsonant -ra
110
			['(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀​R', '','$1꧀ꦬ꧀'], // consonant+zero-width-space+(r|R) doesn't make special biconsonant -ra
111
			['(ꦲ|ꦃ|ꦤ|ꦕ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(r|R)', '','$1ꦿ'], // special biconsonant -ra
112
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀s', '','$1꧀ꦱ꧀'],
113
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀S', '','$1꧀ꦯ꧀'], // pasangan Sa murda
114
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀t', '','$1꧀ꦠ꧀'],
115
			['(ꦤ|ꦏ|ꦢ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀T', '','$1꧀ꦡ꧀'], // pasangan Ta murda
116
			['꧀u', '','ꦸ'], // u
117
			['꧀U', '','ꦈ'], // U
118
			// v = f
119
			['(ꦲ|ꦃ|ꦤ|ꦫ|ꦂ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦔ|ꦁ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(w|W)꧀', '','$1꧀ꦮ'],
120
			['(ꦲ|ꦃ|ꦫ|ꦂ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦩ|ꦒ|ꦧ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀​(y|Y)', '','$1꧀ꦪ꧀'], // consonant+zero-width-space+(y|Y) doesn't make special biconsonant -ya
121
122
			['(ꦲ|ꦃ|ꦫ|ꦂ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦩ|ꦒ|ꦧ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦦ|ꦯ|ꦡ)꧀(y|Y)', '','$1ꦾ'], // special biconsonant -ya,
123
			// can't be started with n or y, reserved for bigraf ny (REF:-yy-)
124
			['(ꦤ|ꦏ|ꦠ|ꦱ|ꦭ|ꦥ|ꦗ|ꦩ|ꦒ|ꦧ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ)꧀(z|Z)', '','$1ꦾꦗ꦳꧀'], // can't be started with d, reserved for bigraf dz
125
126
			// IV. 1. Special consonant
127
			['(ꦾ|ꦿ)a', '','$1'],
128
			['ꦿx', '','ꦽ'], // special biconsonant -rê
129
			['ꦊq', '','ꦋ'], // special character lê Raswadi
130
			['ꦭ꧀x', '','ꦊ'], // special character lê
131
			['ꦫ꧀x', '','ꦉ'], // special character rê
132
			['ꦌx', '','ꦄꦼ'], // Ê
133
			['꧀x', '','ꦼ'], // x is another way to write ê
134
			['꧀X', '','ꦄꦼ'], // X is another way to write Ê
135
136
			// IV. 3. Extended vowel
137
			// long a (aa) - see II.
138
			['(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ|꦳)i', '','$1ꦻ'], // hanacaraka + i = -ai
139
			['(ꦲ|ꦤ|ꦕ|ꦫ|ꦏ|ꦢ|ꦠ|ꦱ|ꦮ|ꦭ|ꦥ|ꦝ|ꦗ|ꦪ|ꦚ|ꦩ|ꦒ|ꦧ|ꦛ|ꦔ|ꦘ|ꦨ|ꦖ|ꦓ|ꦑ|ꦟ|ꦦ|ꦯ|ꦡ|꦳)u', '','$1ꦻꦴ'], // hanacaraka + u = -au
140
			['ꦄi', '','ꦍ'], // Ai
141
			['ꦄu', '','ꦎꦴ'], // Au
142
			['ꦶi', '','ꦷ'], // long i (ii)
143
			['ꦆi', '','ꦇ'], // long i (Ii)
144
			['ꦸu', '','ꦹ'], // long u (uu)
145
			['ꦈu', '','ꦈꦴ'], // long u (Uu)
146
			['ꦺꦴo', '','ꦵ'], // Sundanese -o
147
148
			// IV. 2. Extended consonant
149
			['ꦱ꧀​(s|h)', '','ꦰ꧀'], // s_s (with zero-width-space)
150
			['ꦏ꧀​h', '','ꦏ꧀ꦲ꧀'], // k_h (with zero-width-space)
151
			['ꦒ꧀​h', '','ꦒ꧀ꦲ꧀'], // g_h (with zero-width-space)
152
			['ꦢ꧀​z', '','ꦢ꧀ꦗ꦳꧀'], // d_z (with zero-width-space)
153
			['ꦗ꧀​h', '','ꦙ'], // j_h (with zero-width-space)
154
			['ꦱ꧀(s|h)', '','ꦰ꧀'], // ss/sh
155
			['ꦏ꧀h', '','ꦏ꦳'], // kh
156
			['ꦒ꧀h', '','ꦒ꦳'], // gh
157
			['ꦢ꧀z', '','ꦢ꦳'], // dz
158
			['ꦗ꧀h', '','ꦙ'], // jh/Ja mahaprana
159
160
			// III. Non-words
161
			// q and Q are special characters for choosing less used characters by pressing q/Q multiple times (rotating back)
162
			[' ', '','​'], // zero-width-space, since javanese have no space
163
			['꧅q', '','꧁'], // rêrênggan kiwa
164
			['꧄q', '','꧅'], // pada luhur
165
			['꧃q', '','꧄'], // pada madya
166
			['꧂q', '', '꧃'],// pada andhap
167
			['꧁q', '','꧂'], // rêrênggan têngên
168
			['Q', '','꧁'], // rêrênggan kiwa
169
			['꧟[Q|q]', '','꧀'], // pangkon
170
			['꧞[Q|q]', '','꧟'], // pada isen-isen
171
			['꧆[Q|q]', '','꧞'], // pada tirta tumetes
172
			['ꦀ[Q|q]', '', '꧆'],// pada windu
173
			['꦳[Q|q]', '','ꦀ'], // panyangga
174
			['꧀[Q|q]', '','꦳'], // cecak telu
175
			['q', '','꧀'], // pangkon - to cut off the default -a vowel
176
177
			['ꦫq', '','ꦿ'], // another way to write -ra
178
			['ꦪq', '','ꦾ'], // another way to write -ya
179
180
			// II. 1. Alphabetical ha-na-ca-ra-ka
181
			['ꦠ꧀​h', '','ꦠ꧀ꦲ꧀'], // t_h (with zero-width-space)
182
			['ꦢ꧀​h', '','ꦢ꧀ꦲ꧀'], // d_h (with zero-width-space)
183
			['ꦤ꧀​y', '','ꦚ꧀ꦪ꧀'], // n_y (with zero-width-space)
184
			['ꦤ꧀​g', '','ꦔ꧀ꦒ꧀'], // n_g (with zero-width-space)
185
			['ꦠ꧀h', '','ꦛ꧀'], // th
186
			['ꦢ꧀h', '','ꦝ꧀'], // dh
187
			['ꦤ꧀y', '','ꦚ꧀'], // ny
188
			['ꦤ꧀g', '','ꦁ'], // ng
189
			['a', '','ꦲ'],
190
			['b', '','ꦧ꧀'],
191
			['c', '','ꦕ꧀'],
192
			['d', '','ꦢ꧀'],
193
			['e', '','ꦲꦺ'], // é|è
194
			['(f|v)', '','ꦥ꦳꧀'],
195
			['g', '','ꦒ꧀'],
196
			['h', '','ꦲ꧀'],
197
			['i', '','ꦲꦶ'],
198
			['j', '','ꦗ꧀'],
199
			['k', '','ꦏ꧀'],
200
			['l', '','ꦭ꧀'],
201
			['m', '','ꦩ꧀'],
202
			['n', '','ꦤ꧀'],
203
			['o', '','ꦲꦺꦴ'],
204
			['p', '','ꦥ꧀'],
205
			// q = special letters, see III.
206
			['r', '','ꦫ꧀'],
207
			['s', '','ꦱ꧀'],
208
			['t', '','ꦠ꧀'],
209
			['u', '','ꦲꦸ'],
210
			// v = f
211
			['w', '','ꦮ꧀'],
212
			['x', '','ꦲꦼ'], // ê
213
			['y', '','ꦪ꧀'],
214
			['z', '','ꦗ꦳꧀'],
215
216
			// II. Basic Letters:
217
			// II. 2. Capital Ha-Na-Ca-Ra-Ka (Aksara Murda)
218
			['(ꦠ|ꦡ)꧀(h|H)', '','ꦛ꧀'],
219
			['ꦣ꧀h', '','ꦞ꧀'], // Dha murda
220
			['(ꦢ|ꦣ)꧀H', '','ꦞ꧀'], // Dha murda
221
			['ꦟ꧀y', '','ꦘ꧀'], // Nya murda
222
			['(ꦤ|ꦟ)꧀Y', '','ꦘ꧀'], // NYA murda
223
			['(ꦤ|ꦟ)꧀(g|G)', '','ꦔ꧀'],// nga
224
			['A', '','ꦄ'], // A
225
			['B', '','ꦨ꧀'], // Ba murda
226
			['C', '','ꦖ꧀'], // Ca murda(?)
227
			['D', '','ꦣ꧀'],
228
			['E', '','ꦌ'], // É|È
229
			['(F|V)', '','ꦥ꦳꧀'],
230
			['G', '','ꦓ꧀'], // Ga murda
231
			['H', '','ꦲ꧀'],
232
			['I', '','ꦆ'], // I
233
			['J', '','ꦙ꧀'],// Ja Mahaprana
234
			['K', '','ꦑ꧀'], // Ka murda
235
			['L', '','ꦭ꧀'],
236
			['M', '','ꦩ꧀'],
237
			['N', '','ꦟ꧀'], // Na murda
238
			['O', '','ꦎ'], // O
239
			['P', '','ꦦ꧀'], // Pa murda
240
			// Q = special letters, see III.
241
			['R', '','ꦬ꧀'],
242
			['S', '','ꦯ꧀'], // Sa murda
243
			['T', '','ꦡ꧀'], // Ta murda
244
			['U', '','ꦈ'], // U
245
			// V = F
246
			['W', '','ꦮ꧀'],
247
			['X', '','ꦄꦼ'], // X is another way to write Ê
248
			['Y', '','ꦪ꧀'],
249
			['Z', '','ꦗ꦳꧀'],
250
251
			// I. Number
252
			['0', '','꧐'],
253
			['1', '','꧑'],
254
			['2', '','꧒'],
255
			['3', '','꧓'],
256
			['4', '','꧔'],
257
			['5', '','꧕'],
258
			['6', '','꧖'],
259
			['7', '','꧗'],
260
			['8', '','꧘'],
261
			['9', '','꧙'],
262
			[':', '','꧇'], // 'enclose Javanese numbers, e.g. ":1:"'
263
			[',', '','꧈'], // 'comma'
264
			['\\.', '','꧉'], // 'period'
265
			['꧊\\|', '','꧋'], // 'opening paragraph character'
266
			['\\|', '','꧊'], // 'poem character'
267
			['\\(', '','꧌'], // 'Javanese opening bracket'
268
			['\\)', '','꧍'] // 'Javanese closing bracket'
269
		]
270
	};
271
272
	$.ime.register( jvTransliteration );
273
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ka/ka-kbd.js (+56 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kaKbd = {
5
		id: 'ka-kbd',
6
		name: 'Georgian kbd',
7
		description: 'Georgian kbd keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['.k', 'კ'],
15
			['.p', 'პ'],
16
			['+z', 'ჟ'],
17
			['.t', 'ტ'],
18
			['.g', 'ღ'],
19
			['+s', 'შ'],
20
			['.+c', 'ჭ'],
21
			['+c', 'ჩ'],
22
			['.c', 'წ'],
23
			['+j', 'ჯ'],
24
			['ყ1', 'ჴ'],
25
			['ე0', 'ჱ'],
26
			['ო1', 'ჵ'],
27
			['ი1', 'ჲ'],
28
			['a', 'ა'],
29
			['b', 'ბ'],
30
			['g', 'გ'],
31
			['d', 'დ'],
32
			['e', 'ე'],
33
			['v', 'ვ'],
34
			['z', 'ზ'],
35
			['t', 'თ'],
36
			['i', 'ი'],
37
			['l', 'ლ'],
38
			['m', 'მ'],
39
			['n', 'ნ'],
40
			['o', 'ო'],
41
			['r', 'რ'],
42
			['s', 'ს'],
43
			['u', 'უ'],
44
			['p', 'ფ'],
45
			['k', 'ქ'],
46
			['q', 'ყ'],
47
			['c', 'ც'],
48
			['j', 'ძ'],
49
			['x', 'ხ'],
50
			['h', 'ჰ'],
51
			['w', 'ჳ'],
52
			['f', 'ჶ']]
53
	};
54
55
	$.ime.register( kaKbd );
56
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ka/ka-transliteration.js (+58 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kaTransliteration = {
5
		id: 'ka-transliteration',
6
		name: 'ტრანსლიტერაცია',
7
		description: 'Georgian transliteration',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Ioseb Dzmanashvili (http://www.code.ge), [[User:Hooman]], Srikanth L',
11
		license: 'MIT',
12
		version: '1.0',
13
		contextLength: 3,
14
		maxKeyLength: 1,
15
		patterns: [
16
			['\\\\([A-Za-z|\\~|\\`])', '\\\\', '$1'],
17
			['`', '„'],
18
			['~', '“'],
19
			['q', 'ქ'],
20
			['w', 'წ'],
21
			['e', 'ე'],
22
			['r', 'რ'],
23
			['t', 'ტ'],
24
			['y', 'ყ'],
25
			['u', 'უ'],
26
			['i', 'ი'],
27
			['o', 'ო'],
28
			['p', 'პ'],
29
30
			['a', 'ა'],
31
			['s', 'ს'],
32
			['d', 'დ'],
33
			['f', 'ფ'],
34
			['g', 'გ'],
35
			['h', 'ჰ'],
36
			['j', 'ჯ'],
37
			['k', 'კ'],
38
			['l', 'ლ'],
39
40
			['z', 'ზ'],
41
			['x', 'ხ'],
42
			['c', 'ც'],
43
			['v', 'ვ'],
44
			['b', 'ბ'],
45
			['n', 'ნ'],
46
			['m', 'მ'],
47
48
			['W', 'ჭ'],
49
			['R', 'ღ'],
50
			['T', 'თ'],
51
			['S', 'შ'],
52
			['J', 'ჟ'],
53
			['Z', 'ძ'],
54
			['C', 'ჩ']]
55
	};
56
57
	$.ime.register( kaTransliteration );
58
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kk/kk-arabic.js (+62 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kkArabic = {
5
		id: 'kk-arabic',
6
		name: 'Kazak arabic',
7
		description: 'Kazak arabic in Arabic script keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['a', 'ا'],
15
			['A', 'ٵ'],
16
			['b', 'ب'],
17
			['v', 'ۆ'],
18
			['g', 'گ'],
19
			['R', 'ع'],
20
			['d', 'د'],
21
			['e', 'ە'],
22
			['j', 'ج'],
23
			['z', 'ز'],
24
			['y', 'ي'],
25
			['k', 'ك'],
26
			['q', 'ق'],
27
			['l', 'ل'],
28
			['m', 'م'],
29
			['n', 'ن'],
30
			['N', 'ڭ'],
31
			['o', 'و'],
32
			['O', 'ٶ'],
33
			['p', 'پ'],
34
			['r', 'ر'],
35
			['s', 'س'],
36
			['t', 'ت'],
37
			['w', 'ۋ'],
38
			['u', 'ۇ'],
39
			['U', 'ٷ'],
40
			['f', 'ف'],
41
			['H', 'ح'],
42
			['h', 'ه'],
43
			['c', 'چ'],
44
			['S', 'ش'],
45
			['I', 'ى'],
46
			['i', 'ٸ'],
47
			[';', '؛'],
48
			[',', '،'],
49
			['\\?', '?'],
50
			['\\<', '>'],
51
			['\\>', '<'],
52
			['\\(', ')'],
53
			['\\)', '('],
54
			['\\[', ']'],
55
			['\\]', '['],
56
			['\\{', '}'],
57
			['\\}', '{']
58
		]
59
	};
60
61
	$.ime.register( kkArabic );
62
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kk/kk-kbd.js (+108 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kkKbd = {
5
		id: 'kk-kbd',
6
		name: 'Kazak kbd',
7
		description: 'Kazak kbd in Cyrillic script keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['`', '('],
15
			['\\~', ')'],
16
			['1', '\"'],
17
			['2', 'ә'],
18
			['\\@', 'Ә'],
19
			['3', 'і'],
20
			['\\#', 'І'],
21
			['4', 'ӊ'],
22
			['\\$', 'Ӊ'],
23
			['5', 'ғ'],
24
			['\\%', 'Ғ'],
25
			['6', ','],
26
			['\\^', ';'],
27
			['7', '.'],
28
			['\\&', ':'],
29
			['8', 'ү'],
30
			['\\*', 'Ү'],
31
			['9', 'ұ'],
32
			['\\(', 'Ұ'],
33
			['0', 'қ'],
34
			['\\)', 'Қ'],
35
			['\\-', 'ө'],
36
			['\\_', 'Ө'],
37
			['\\=', 'һ'],
38
			['\\+', 'Һ'],
39
			['q', 'й'],
40
			['Q', 'Й'],
41
			['w', 'ц'],
42
			['W', 'Ц'],
43
			['e', 'у'],
44
			['E', 'У'],
45
			['r', 'к'],
46
			['R', 'К'],
47
			['t', 'е'],
48
			['T', 'Е'],
49
			['y', 'н'],
50
			['Y', 'Н'],
51
			['u', 'г'],
52
			['U', 'Г'],
53
			['i', 'ш'],
54
			['I', 'Ш'],
55
			['o', 'щ'],
56
			['O', 'Щ'],
57
			['p', 'з'],
58
			['P', 'З'],
59
			['\\[', 'х'],
60
			['\\{', 'Х'],
61
			['\\]', 'ъ'],
62
			['\\}', 'Ъ'],
63
			['a', 'ф'],
64
			['A', 'Ф'],
65
			['s', 'ы'],
66
			['S', 'Ы'],
67
			['d', 'в'],
68
			['D', 'В'],
69
			['f', 'а'],
70
			['F', 'А'],
71
			['g', 'п'],
72
			['G', 'П'],
73
			['h', 'р'],
74
			['H', 'Р'],
75
			['j', 'о'],
76
			['J', 'О'],
77
			['k', 'л'],
78
			['K', 'Л'],
79
			['l', 'д'],
80
			['L', 'Д'],
81
			[';', 'ж'],
82
			[':', 'Ж'],
83
			['\'', 'э'],
84
			['\"', 'Э'],
85
			['z', 'я'],
86
			['Z', 'Я'],
87
			['x', 'ч'],
88
			['X', 'Ч'],
89
			['c', 'с'],
90
			['C', 'С'],
91
			['v', 'м'],
92
			['V', 'М'],
93
			['b', 'и'],
94
			['B', 'И'],
95
			['n', 'т'],
96
			['N', 'Т'],
97
			['m', 'ь'],
98
			['M', 'Ь'],
99
			[',', 'б'],
100
			['\\<', 'Б'],
101
			['\\.', 'ю'],
102
			['\\>', 'Ю'],
103
			['/', '№']
104
		]
105
	};
106
107
	$.ime.register( kkKbd );
108
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-inscript.js (+111 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var knInscript = {
5
		id: 'kn-inscript',
6
		name: 'ಇನ್\u200cಸ್ಕ್ರಿಪ್ಟ್',
7
		description: 'Inscript keyboard for Kannada script',
8
		date: '2012-10-14',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['x', '\u0C82'],
14
			['_', '\u0C83'],
15
			['D', '\u0C85'],
16
			['E', '\u0C86'],
17
			['F', '\u0C87'],
18
			['R', '\u0C88'],
19
			['G', '\u0C89'],
20
			['T', '\u0C8A'],
21
			['\\+', '\u0C8B'],
22
			['Z', '\u0C8E'],
23
			['S', '\u0C8F'],
24
			['W', '\u0C90'],
25
			['~', '\u0C92'],
26
			['A', '\u0C93'],
27
			['Q', '\u0C94'],
28
			['k', '\u0C95'],
29
			['K', '\u0C96'],
30
			['i', '\u0C97'],
31
			['I', '\u0C98'],
32
			['U', '\u0C99'],
33
			[';', '\u0C9A'],
34
			['\\:', '\u0C9B'],
35
			['p', '\u0C9C'],
36
			['P', '\u0C9D'],
37
			['\\}', '\u0C9E'],
38
			['\'', '', '\u0C9F'],
39
			['"', '\u0CA0'],
40
			['\\[', '\u0CA1'],
41
			['\\{', '\u0CA2'],
42
			['C', '\u0CA3'],
43
			['l', '\u0CA4'],
44
			['L', '\u0CA5'],
45
			['o', '\u0CA6'],
46
			['O', '\u0CA7'],
47
			['v', '\u0CA8'],
48
			['h', '\u0CAA'],
49
			['H', '\u0CAB'],
50
			['y', '\u0CAC'],
51
			['Y', '\u0CAD'],
52
			['c', '\u0CAE'],
53
			['/', '\u0CAF'],
54
			['j', '\u0CB0'],
55
			['J', '\u0CB1'],
56
			['n', '\u0CB2'],
57
			['N', '\u0CB3'],
58
			['b', '\u0CB5'],
59
			['M', '\u0CB6'],
60
			[',', '\u0CB7'],
61
			['m', '\u0CB8'],
62
			['u', '\u0CB9'],
63
			['\\]', '\u0CBC'],
64
			['e', '\u0CBE'],
65
			['f', '\u0CBF'],
66
			['r', '\u0CC0'],
67
			['g', '\u0CC1'],
68
			['t', '\u0CC2'],
69
			['\\=', '\u0CC3'],
70
			['z', '\u0CC6'],
71
			['s', '\u0CC7'],
72
			['w', '\u0CC8'],
73
			['`', '\u0CCA'],
74
			['a', '\u0CCB'],
75
			['q', '\u0CCC'],
76
			['d', '\u0CCD'],
77
			['t', '\u0CC2'],
78
			['0', '\u0CE6'],
79
			['1', '\u0CE7'],
80
			['2', '\u0CE8'],
81
			['3', '\u0CE9'],
82
			['4', '\u0CEA'],
83
			['5', '\u0CEB'],
84
			['6', '\u0CEC'],
85
			['7', '\u0CED'],
86
			['8', '\u0CEE'],
87
			['9', '\u0CEF'],
88
			['\\#', '\u0CCD\u0CB0'],
89
			['\\%', '\u0C9C\u0CCD\u0C9E'],
90
			['\\^', '\u0CA4\u0CCD\u0CB0'],
91
			['\\&', '\u0C95\u0CCD\u0CB0'],
92
			['\\(', '\u200D'],
93
			['\\)', '\u200C']],
94
		patterns_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
	$.ime.register( knInscript );
111
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-inscript2.js (+119 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var knInscript2 = {
5
		id: 'kn-inscript2',
6
		name: 'ಇನ್\u200cಸ್ಕ್ರಿಪ್ಟ್ ೨',
7
		description: 'Enhanced InScript keyboard for Kannada script',
8
		date: '2013-01-16',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '೧'],
14
			['2', '೨'],
15
			['\\#', '್ರ'],
16
			['3', '೩'],
17
			['\\$', 'ರ್'],
18
			['4', '೪'],
19
			['5', '೫'],
20
			['6', '೬'],
21
			['7', '೭'],
22
			['8', '೮'],
23
			['\\(', '('],
24
			['9', '೯'],
25
			['\\)', ')'],
26
			['0', '೦'],
27
			['\\_', 'ಃ'],
28
			['\\-', '-'],
29
			['\\+', 'ಋ'],
30
			['\\=', 'ೃ'],
31
			['Q', 'ಔ'],
32
			['q', 'ೌ'],
33
			['W', 'ಐ'],
34
			['w', 'ೈ'],
35
			['E', 'ಆ'],
36
			['e', 'ಾ'],
37
			['R', 'ಈ'],
38
			['r', 'ೀ'],
39
			['T', 'ಊ'],
40
			['t', 'ೂ'],
41
			['Y', 'ಭ'],
42
			['y', 'ಬ'],
43
			['U', 'ಙ'],
44
			['u', 'ಹ'],
45
			['I', 'ಘ'],
46
			['i', 'ಗ'],
47
			['O', 'ಧ'],
48
			['o', 'ದ'],
49
			['P', 'ಝ'],
50
			['p', 'ಜ'],
51
			['\\{', 'ಢ'],
52
			['\\[', 'ಡ'],
53
			['\\}', 'ಞ'],
54
			['\\]', '಼'],
55
			['A', 'ಓ'],
56
			['a', 'ೋ'],
57
			['S', 'ಏ'],
58
			['s', 'ೇ'],
59
			['D', 'ಅ'],
60
			['d', '್'],
61
			['F', 'ಇ'],
62
			['f', 'ಿ'],
63
			['G', 'ಉ'],
64
			['g', 'ು'],
65
			['H', 'ಫ'],
66
			['h', 'ಪ'],
67
			['J', 'ಱ'],
68
			['j', 'ರ'],
69
			['K', 'ಖ'],
70
			['k', 'ಕ'],
71
			['L', 'ಥ'],
72
			['l', 'ತ'],
73
			[':', 'ಛ'],
74
			[';', 'ಚ'],
75
			['"', 'ಠ'],
76
			['\\\'', 'ಟ'],
77
			['\\~', 'ಒ'],
78
			['`\\', 'ೊ'],
79
			['Z', 'ಎ'],
80
			['z', 'ೆ'],
81
			['x', 'ಂ'],
82
			['C', 'ಣ'],
83
			['c', 'ಮ'],
84
			['v', 'ನ'],
85
			['b', 'ವ'],
86
			['N', 'ಳ'],
87
			['n', 'ಲ'],
88
			['M', 'ಶ'],
89
			['m', 'ಸ'],
90
			['\\<', 'ಷ'],
91
			[',', ','],
92
			['\\>', '।'],
93
			['\\.', '.'],
94
			['/', 'ಯ'],
95
			['\\%', 'ಜ್ಞ'],
96
			['\\^', 'ತ್ರ'],
97
			['\\&', 'ಕ್ಷ'],
98
			['\\*', 'ಶ್ರ']
99
		],
100
		patterns_x: [
101
			['1', '\u200d'],
102
			['2', '\u200c'],
103
			['4', '₹'],
104
			['\\+', 'ೠ'],
105
			['\\=', 'ೄ'],
106
			['R', 'ೡ'],
107
			['r', 'ೣ'],
108
			['u', 'ೱ'],
109
			['F','ಌ'],
110
			['f', 'ೢ'],
111
			['H', 'ೞ'],
112
			['j', 'ೲ'],
113
			['\\>', 'ಽ'],
114
			['\\.', '॥']
115
		]
116
	};
117
118
	$.ime.register( knInscript2 );
119
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-kgp.js (+104 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var knKGP = {
5
		id: 'kn-kgp',
6
		name: 'ಕಗಪ/ನುಡಿ',
7
		description: 'Kannada kgp/nudi/KP Rao layout',
8
		date: '2012-11-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Aravinda VK<mail@aravindavk.in>',
11
		license: 'GPLv3,MIT',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['([ಕ-ಹೞ]಼?)f', '$1್'],
17
			['([ಕ-ಹೞ]಼?್)f', '$1'],
18
			['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
19
			['([ಕ-ಹೞ]಼?)A', '$1ಾ'],
20
			['([ಕ-ಹೞ]಼?)i', '$1ಿ'],
21
			['([ಕ-ಹೞ]಼?)I', '$1ೀ'],
22
			['([ಕ-ಹೞ]಼?)u', '$1ು'],
23
			['([ಕ-ಹೞ]಼?)U', '$1ೂ'],
24
			['([ಕ-ಹೞ]಼?)R', '$1ೃ'],
25
			['([ಕ-ಹೞ]಼?)ೃX', '$1ೄ'],
26
			['([ಕ-ಹೞ]಼?)e', '$1ೆ'],
27
			['([ಕ-ಹೞ]಼?)E', '$1ೇ'],
28
			['([ಕ-ಹೞ]಼?)Y', '$1ೈ'],
29
			['([ಕ-ಹೞ]಼?)o', '$1ೊ'],
30
			['([ಕ-ಹೞ]಼?)O', '$1ೋ'],
31
			['([ಕ-ಹೞ]಼?)V', '$1ೌ'],
32
			['ಸX', 'ಽ'],
33
			['([ಕ-ಹೞ]಼?\u200D)f', '$1್'],
34
			['(\u200D)F', '\u200C'], // 0x200C Zero width non-joiner
35
			['F', '\u200D'], // 0x200D Zero width joiner
36
			['k', 'ಕ'],
37
			['K', 'ಖ'],
38
			['g', 'ಗ'],
39
			['G', 'ಘ'],
40
			['Z', 'ಙ'],
41
			['c', 'ಚ'],
42
			['C', 'ಛ'],
43
			['j', 'ಜ'],
44
			['ಜX', 'ಜ಼'],
45
			['J', 'ಝ'],
46
			['z', 'ಞ'],
47
			['q', 'ಟ'],
48
			['Q', 'ಠ'],
49
			['w', 'ಡ'],
50
			['W', 'ಢ'],
51
			['N', 'ಣ'],
52
			['t', 'ತ'],
53
			['T', 'ಥ'],
54
			['d', 'ದ'],
55
			['D', 'ಧ'],
56
			['n', 'ನ'],
57
			['p', 'ಪ'],
58
			['P', 'ಫ'],
59
			['ಫX', 'ಫ಼'],
60
			['b', 'ಬ'],
61
			['B', 'ಭ'],
62
			['m', 'ಮ'],
63
			['y', 'ಯ'],
64
			['r', 'ರ'],
65
			['ರX', 'ಱ'],
66
			['l', 'ಲ'],
67
			['v', 'ವ'],
68
			['S', 'ಶ'],
69
			['x', 'ಷ'],
70
			['s', 'ಸ'],
71
			['h', 'ಹ'],
72
			['L', 'ಳ'],
73
			['ಳX', 'ೞ'],
74
			['a', 'ಅ'],
75
			['A', 'ಆ'],
76
			['i', 'ಇ'],
77
			['I', 'ಈ'],
78
			['u', 'ಉ'],
79
			['U', 'ಊ'],
80
			['R', 'ಋ'],
81
			['ಋX', 'ೠ'],
82
			['e', 'ಎ'],
83
			['E', 'ಏ'],
84
			['Y', 'ಐ'],
85
			['o', 'ಒ'],
86
			['O', 'ಓ'],
87
			['V', 'ಔ'],
88
			['M', 'ಂ'],
89
			['H', 'ಃ'],
90
			['0', '೦'],
91
			['1', '೧'],
92
			['2', '೨'],
93
			['3', '೩'],
94
			['4', '೪'],
95
			['5', '೫'],
96
			['6', '೬'],
97
			['7', '೭'],
98
			['8', '೮'],
99
			['9', '೯']
100
		]
101
	};
102
103
	$.ime.register( knKGP );
104
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-transliteration.js (+154 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var knTransliteration = {
5
		id: 'kn-transliteration',
6
		name: 'ಲಿಪ್ಯಂತರಣ',
7
		description: 'Kannada transliteration',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'M G Harish, HP Nadig ',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 5,
14
		maxKeyLength: 3,
15
		patterns: [
16
			['ಕ್h','c','ಚ್'],
17
			['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
18
			// For users accustomed to Baraha
19
			['ಜ್್j', 'ಜ್ಞ್'],
20
			['([ಕ-ಹೞ]಼?)್a', '$1'],
21
			['([ಕ-ಹೞ]಼?)್A', '$1ಾ'],
22
			['([ಕ-ಹೞ]಼?)a', '$1ಾ'],
23
			['([ಕ-ಹೞ]಼?)್i', '$1ಿ'],
24
			['([ಕ-ಹೞ]಼?)(್I|ಿi|ೆe)', '$1ೀ'],
25
			['([ಕ-ಹೞ]಼?)್u', '$1ು'],
26
			['([ಕ-ಹೞ]಼?)(ುu|್U|ೊo)', '$1ೂ'],
27
			['([ಕ-ಹೞ]಼?)್R', '$1ೃ'],
28
			['([ಕ-ಹೞ]಼?)ೃR', '$1ೄ'],
29
			['([ಕ-ಹೞ]಼?)್e', '$1ೆ'],
30
			['([ಕ-ಹೞ]಼?)್E', '$1ೇ'],
31
			['([ಕ-ಹೞ]಼?)i', '$1ೈ'],
32
			['([ಕ-ಹೞ]಼?)್o', '$1ೊ'],
33
			['([ಕ-ಹೞ]಼?)್O', '$1ೋ'],
34
			['([ಕ-ಹೞ]಼?)u', '$1ೌ'],
35
			['([ಕ-ಹೞ])್\\`', '$1़್'],
36
			['([ಕ-ಹೞ]಼?)್W', '$1ೌ'],
37
			['([ಕ-ಹೞ]಼?)್Y', '$1ೈ'],
38
39
			['ಅa', 'ಆ'],
40
			['(ಒo|ಉu)', 'ಊ'],
41
			['ಅi', 'ಐ'],
42
			['(ಇi|ಎe)', 'ಈ'],
43
			['ಅu', 'ಔ'],
44
			['ಋR', 'ೠ'],
45
			['ಓ~M', 'ॐ'],
46
47
			['~l', 'ೞ್'],
48
			['~h', 'ಹ್'],
49
			['~r', 'ಱ್'],
50
			['q', 'ಱ್'],
51
			['Q', 'ೞ್'],
52
			['ಕ್h', 'ಖ್'],
53
			['ಗ್h', 'ಘ್'],
54
			['~g', 'ಙ್'],
55
			['~N', 'ಙ್'],
56
			['ಚ್h', 'ಛ್'],
57
			['ಜ್h', 'ಝ್'],
58
			['~j', 'ಞ್'],
59
			['~n', 'ಞ್'],
60
			['ಟ್h', 'ಠ್'],
61
			['ಡ್h', 'ಢ್'],
62
			['ತ್h', 'ಥ್'],
63
			['ದ್h', 'ಧ್'],
64
			['ಪ್h', 'ಫ್'],
65
			['ಬ್h', 'ಭ್'],
66
			['ಸ್h', 'ಶ್'],
67
			['ಶ್h', 'ಷ್'],
68
69
			['ಋa', 'ರ'],
70
			['ಋA', 'ರಾ'],
71
			['ಋi', 'ರಿ'],
72
			['ಋI', 'ರೀ'],
73
			['ಋu', 'ರು'],
74
			['ಋU', 'ರೂ'],
75
			['ಋe', 'ರೆ'],
76
			['ಋE', 'ರೇ'],
77
78
			['X', '\u200C'], // 0x200C Zero width non-joiner
79
			['x', '\u200D'], // 0x200D Zero width joiner
80
81
			['([ಕ-ಹೞ]಼?)ೃa', '$1್ರ'],
82
			['([ಕ-ಹೞ]಼?)ೃA', '$1್ರಾ'],
83
			['([ಕ-ಹೞ]಼?)ೃi', '$1್ರಿ'],
84
			['([ಕ-ಹೞ]಼?)ೃI', '$1್ರೀ'],
85
			['([ಕ-ಹೞ]಼?)ೃu', '$1್ರು'],
86
			['([ಕ-ಹೞ]಼?)ೃU', '$1್ರೂ'],
87
			['([ಕ-ಹೞ]಼?)ೃe', '$1್ರೆ'],
88
			['([ಕ-ಹೞ]಼?)ೃE', '$1್ರೇ'],
89
			['([ಕ-ಹೞ]಼?)ೃo', '$1್ರೊ'],
90
			['([ಕ-ಹೞ]಼?)ೃO', '$1್ರೋ'],
91
			['([ಕ-ಹೞ]಼?)ೃ\\~', '$1್ರ್'],
92
93
			['।\\.', '॥'],
94
95
			['a', 'ಅ'],
96
			['b', 'ಬ್'],
97
			['c', 'ಚ್'],
98
			['d', 'ದ್'],
99
			['e', 'ಎ'],
100
			['g', 'ಗ್'],
101
			['h', 'ಹ್'],
102
			['i', 'ಇ'],
103
			['j', 'ಜ್'],
104
			['k', 'ಕ್'],
105
			['l', 'ಲ್'],
106
			['m', 'ಮ್'],
107
			['n', 'ನ್'],
108
			['o', 'ಒ'],
109
			['p', 'ಪ್'],
110
			['r', 'ರ್'],
111
			['s', 'ಸ್'],
112
			['t', 'ತ್'],
113
			['u', 'ಉ'],
114
			['(v|w)', 'ವ್'],
115
			['y', 'ಯ್'],
116
			['A', 'ಆ'],
117
			['B', 'ಭ್'],
118
			['C', 'ಛ್'],
119
			['D', 'ಡ್'],
120
			['E', 'ಏ'],
121
			['G', 'ಘ್'],
122
			['H', 'ಃ'],
123
			['I', 'ಈ'],
124
			['J', 'ಝ್'],
125
			['K', 'ಖ್'],
126
			['L', 'ಳ್'],
127
			['M', 'ಂ'],
128
			['N', 'ಣ್'],
129
			['O', 'ಓ'],
130
			['P', 'ಫ್'],
131
			['R', 'ಋ'],
132
			['S', 'ಶ್'],
133
			['T', 'ಟ್'],
134
			['U', 'ಊ'],
135
			['V', 'ವ್'],
136
			['W','','ಔ'],
137
			['Y', 'ಐ'],
138
			['(z|Z)', 'ಜ಼್'],
139
			['(f|F)', 'ಫ಼್'],
140
			['0', '೦'],
141
			['1', '೧'],
142
			['2', '೨'],
143
			['3', '೩'],
144
			['4', '೪'],
145
			['5', '೫'],
146
			['6', '೬'],
147
			['7', '೭'],
148
			['8', '೮'],
149
			['9', '೯'],
150
			['//', 'ಽ']]
151
	};
152
153
	$.ime.register( knTransliteration );
154
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ks/ks-inscript.js (+129 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ksInScript = {
5
		id: 'ks-inscript',
6
		name: 'InScript',
7
		description: 'InScript keyboard for Kashmiri language using Devanagari script',
8
		date: '2013-02-09',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		contextLength: 1,
13
		maxKeyLength: 3,
14
		patterns: [
15
			['्d', '्\u200c'],
16
			['ग_', 'ॻ'],
17
			['ज_', 'ॼ'],
18
			['ड_', 'ॾ'],
19
			['ब_', 'ॿ'],
20
			['\\!', 'ऍ'],
21
			['1', '१'],
22
			['\\@', 'ॅ'],
23
			['2', '२'],
24
			['\\#', '#'],
25
			['3', '३'],
26
			['\\$', '$'],
27
			['4', '४'],
28
			['5', '५'],
29
			['6', '६'],
30
			['7', '७'],
31
			['8', '८'],
32
			['\\(', '('],
33
			['9', '९'],
34
			['\\)', ')'],
35
			['0', '०'],
36
			['\\_', 'ः'],
37
			['\\-', '-'],
38
			['\\+', 'ऋ'],
39
			['\\=', 'ृ'],
40
			['Q', 'औ'],
41
			['q', 'ौ'],
42
			['W', 'ऐ'],
43
			['w', 'ै'],
44
			['E', 'आ'],
45
			['e', 'ा'],
46
			['R', 'ई'],
47
			['r', 'ी'],
48
			['T', 'ऊ'],
49
			['t', 'ू'],
50
			['Y', 'भ'],
51
			['y', 'ब'],
52
			['U', 'ङ'],
53
			['u', 'ह'],
54
			['I', 'घ'],
55
			['i', 'ग'],
56
			['O', 'ध'],
57
			['o', 'द'],
58
			['P', 'झ'],
59
			['p', 'ज'],
60
			['\\{', 'ढ'],
61
			['\\[', 'ड'],
62
			['\\}', 'ञ'],
63
			['\\]', '़'],
64
			['A', 'ओ'],
65
			['a', 'ो'],
66
			['S', 'ए'],
67
			['s', 'े'],
68
			['D', 'अ'],
69
			['d', '्'],
70
			['F', 'इ'],
71
			['f', 'ि'],
72
			['H', 'फ'],
73
			['h', 'प'],
74
			['J', 'ऱ'],
75
			['j', 'र'],
76
			['K', 'ख'],
77
			['k', 'क'],
78
			['L', 'थ'],
79
			['l', 'त'],
80
			[':', 'छ'],
81
			[';', 'च'],
82
			['\"', 'ठ'],
83
			['\'', 'ट'],
84
			['\\|', 'ऑ'],
85
			['\\\\', 'ॉ'],
86
			['\\~', 'ऒ'],
87
			['\\`', 'ॊ'],
88
			['Z', 'ऎ'],
89
			['z', 'ॆ'],
90
			['X', 'ँ'],
91
			['x', 'ं'],
92
			['C', 'ण'],
93
			['c', 'म'],
94
			['V', 'ऩ'],
95
			['v', 'न'],
96
			['B', 'ऴ'],
97
			['b', 'व'],
98
			['N', 'ळ'],
99
			['n', 'ल'],
100
			['M', 'श'],
101
			['m', 'स'],
102
			['\\<', 'ष'],
103
			[',', ','],
104
			['\\>', '।'],
105
			['\\.', '.'],
106
			['\\?', 'य़'],
107
			['/', 'य'],
108
			['\\%', 'ज्ञ'],
109
			['\\^', 'त्र'],
110
			['\\&', 'क्ष'],
111
			['\\*', 'श्र']
112
		],
113
		patterns_x: [
114
			['4', '₹'],
115
			['Q', 'ॵ'],
116
			['q', 'ॏ' ],
117
			['T', 'ॷ'],
118
			['t', 'ॗ'],
119
			['A', 'ॴ'],
120
			['a', 'ऻ'],
121
			['G', 'ॶ'],
122
			['g', 'ॖ'],
123
			['Z', 'ॳ'],
124
			['z', 'ऺ']
125
		]
126
	};
127
128
	$.ime.register( ksInScript );
129
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ks/ks-kbd.js (+112 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ksKbd = {
5
		id: 'ks-Kbd',
6
		name: 'Kbd',
7
		description: 'Kbd keyboard for Kashmiri language using Arabic script',
8
		date: '2013-02-09',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\~', 'ٓ'],
14
			['\\!', '!'],
15
			['1', '۱'],
16
			['\\@', '@'],
17
			['2', '۲'],
18
			['\\#', '#'],
19
			['3', '۳'],
20
			['\\$', '$'],
21
			['4', '۴'],
22
			['5', '۵'],
23
			['6', '۶'],
24
			['7', '۷'],
25
			['8', '۸'],
26
			['\\(', ')'],
27
			['9', '۹'],
28
			['\\)', '('],
29
			['0', '۰'],
30
			['\\_', 'ّ'],
31
			['\\-', '-'],
32
			['\\+', '+'],
33
			['\\=', '='],
34
			['Q', 'ﷺ'],
35
			['q', 'ق'],
36
			['W', 'ؤ'],
37
			['w', 'و'],
38
			['E', 'ئ'],
39
			['e', 'ع'],
40
			['R', 'ڑ'],
41
			['r', 'ر'],
42
			['T', 'ٹ'],
43
			['t', 'ت'],
44
			['Y', '\u0601'],
45
			['y', 'ے'],
46
			['U', '،'],
47
			['u', 'ء'],
48
			['I', 'ۆ'],
49
			['i', 'ی'],
50
			['O', 'ۃ'],
51
			['o', 'ہ'],
52
			['P', 'إ'],
53
			['p', 'پ'],
54
			['\\{', 'ٰ'],
55
			['\\[', ']'],
56
			['\\}', 'ٰ'],
57
			['\\]', '['],
58
			['A', 'آ'],
59
			['a', 'ا'],
60
			['S', 'ش'],
61
			['s', 'س'],
62
			['D', 'ڈ'],
63
			['d', 'د'],
64
			['F', 'ُ'],
65
			['f', 'ف'],
66
			['G', 'غ'],
67
			['g', 'گ'],
68
			['H', 'ح'],
69
			['h', 'ھ'],
70
			['J', 'ژ'],
71
			['j', 'ج'],
72
			['K', 'خ'],
73
			['k', 'ک'],
74
			['L', 'ؓ'],
75
			['l', 'ل'],
76
			[':', ':'],
77
			[';', '؛'],
78
			['\"', '\"'],
79
			['\'', 'ٰ'],
80
			['\\|', 'أ'],
81
			['\\\\', '؎'],
82
			['\\~', 'ً'],
83
			['`', 'ٍ'],
84
			['Z', 'ذ'],
85
			['z', 'ز'],
86
			['X', 'ض'],
87
			['x', 'ص'],
88
			['C', 'ث'],
89
			['c', 'چ'],
90
			['V', 'ظ'],
91
			['v', 'ط'],
92
			['B', 'أ'],
93
			['b', 'ب'],
94
			['N', 'ں'],
95
			['n', 'ن'],
96
			['M', 'ٔ'],
97
			['m', 'م'],
98
			['\\>', 'َ'],
99
			[',', '،'],
100
			['\\<', 'ِ'],
101
			['\\.', '۔'],
102
			['\\?', '؟'],
103
			['/', '/'],
104
			['\\%', '%'],
105
			['\\^', '^'],
106
			['\\&', '&'],
107
			['\\*', '*']
108
		]
109
	};
110
111
	$.ime.register( ksKbd );
112
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ku/ku-h.js (+47 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kuH = {
5
		id: 'ku-h',
6
		name: 'Kurdî-h',
7
		description: 'writing Kurdish-letters adding h\'s',
8
		date: '2013-06-26',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Ghybu',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		patterns: [
15
			['çh', 'h', 'ch'],
16
			['şh', 'h', 'sh'],
17
			['ḧh', 'h', 'hh'],
18
			['ẍh', 'h', 'xh'],
19
			['êe', 'e', 'ee'],
20
			['îi', 'i', 'ii'],
21
			['ûu', 'u', 'uu'],
22
			['Ç(H|h)', '(H|h)', 'C$1'],
23
			['Ş(H|h)', '(H|h)', 'S$1'],
24
			['Ḧ(H|h)', '(H|h)', 'H$1'],
25
			['Ẍ(H|h)', '(H|h)', 'X$1'],
26
			['Ê(E|e)', '(E|e)', 'E$1'],
27
			['Î(I|i)', '(I|i)', 'I$1'],
28
			['Û(U|u)', '(U|u)', 'U$1'],
29
30
			['ch', 'ç'],
31
			['sh', 'ş'],
32
			['hh', 'ḧ'],
33
			['xh', 'ẍ'],
34
			['ee', 'ê'],
35
			['ii', 'î'],
36
			['uu', 'û'],
37
			['C(H|h)', 'Ç'],
38
			['S(H|h)', 'Ş'],
39
			['H(H|h)', 'Ḧ'],
40
			['X(H|h)', 'Ẍ'],
41
			['E(E|e)', 'Ê'],
42
			['I(I|i)', 'Î'],
43
			['U(U|u)', 'Û']]
44
	};
45
46
	$.ime.register( kuH );
47
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ku/ku-tr.js (+32 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kuTr = {
5
		id: 'ku-tr',
6
		name: 'Kurdî-tr',
7
		description: 'writing Kurdish-letters using the TR keyboard',
8
		date: '2013-06-26',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Ghybu',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		patterns: [
15
			['ḧh', 'h', 'hh'],
16
			['Ḧ(H|h)', '(H|h)', 'H$1'],
17
18
			['ğ', 'ẍ'],
19
			['ı', 'i'],
20
			['i', 'î'],
21
			['ö', 'ê'],
22
			['ü', 'û'],
23
			['hh', 'ḧ'],
24
			['Ğ', 'Ẍ'],
25
			['İ', 'Î'],
26
			['Ö', 'Ê'],
27
			['Ü', 'Û'],
28
			['H(H|h)', 'Ḧ']]
29
	};
30
31
	$.ime.register( kuTr );
32
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ky/ky-cyrl-alt.js (+25 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kyCyrlAlt = {
5
		id: 'ky-cyrl-alt',
6
		name: 'Кыргыз Alt',
7
		description: 'Кыргыз Alt',
8
		date: '2013-08-10',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Amir (Алексей) Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [],
14
		patterns_x: [
15
			['н', 'ң'],
16
			['Н', 'Ң'],
17
			['о', 'ө'],
18
			['О', 'Ө'],
19
			['у', 'ү'],
20
			['У', 'Ү']
21
		]
22
	};
23
24
	$.ime.register( kyCyrlAlt );
25
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/lo/lo-kbd.js (+122 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var loKbd = {
5
		id: 'lo-kbd',
6
		name: 'Lao kbd',
7
		description: 'Lao kbd keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\!', '1'],
15
			['\"', '='],
16
			['\\#', '3'],
17
			['\\$', '4'],
18
			['\\&', '5'],
19
			['\\%', '໌'],
20
			['\'', 'ງ'],
21
			['\\(', '7'],
22
			['\\)', '8'],
23
			['\\*', '6'],
24
			['\\+', 'ໍ'],
25
			[',', 'ມ'],
26
			['\\-', 'ຊ'],
27
			['\\.', 'ໃ'],
28
			['/', 'ຝ'],
29
			['0', 'ຂ'],
30
			['1', 'ຢ'],
31
			['2', 'ຟ'],
32
			['3', 'ໂ'],
33
			['4', 'ຖ'],
34
			['5', 'ຸ'],
35
			['6', 'ູ'],
36
			['7', 'ຄ'],
37
			['8', 'ຕ'],
38
			['9', 'ຈ'],
39
			[':', '%'],
40
			[';', 'ວ'],
41
			['\\<', 'ໝ'],
42
			['\\=', 'ໍ'],
43
			['\\>', '$'],
44
			['\\?', ')'],
45
			['\\@', '2'],
46
			['A', 'ັ'],
47
			['B', 'ຶ'],
48
			['C', 'ຯ'],
49
			['D', '.'],
50
			['E', 'ຳ'],
51
			['F', ','],
52
			['G', ':'],
53
			['H', '໊'],
54
			['I', 'ຮ'],
55
			['J', '໋'],
56
			['K', '!'],
57
			['L', '?'],
58
			['M', 'ໆ'],
59
			['N', 'ື'],
60
			['O', 'ໜ'],
61
			['P', 'ຽ'],
62
			['Q', 'ົ'],
63
			['R', '_'],
64
			['S', ';'],
65
			['T', '+'],
66
			['U', 'ີ'],
67
			['V', 'x'],
68
			['W', '0'],
69
			['X', '('],
70
			['Y', 'ິ'],
71
			['Z', '\"'],
72
			['\\[', 'ບ'],
73
			['\\]', 'ລ'],
74
			['\\^', 'ຼ'],
75
			['\\_', '9'],
76
			['`', '*'],
77
			['a', 'ັ'],
78
			['b', 'ຶ'],
79
			['c', 'ແ'],
80
			['d', 'ກ'],
81
			['e', 'ຳ'],
82
			['f', 'ດ'],
83
			['g', 'ເ'],
84
			['h', '້'],
85
			['i', 'ຣ'],
86
			['j', '່'],
87
			['k', 'າ'],
88
			['l', 'ສ'],
89
			['m', 'ທ'],
90
			['n', 'ື'],
91
			['o', 'ນ'],
92
			['p', 'ຍ'],
93
			['q', 'ົ'],
94
			['r', 'ພ'],
95
			['s', 'ຫ'],
96
			['t', 'ະ'],
97
			['u', 'ີ'],
98
			['v', 'ອ'],
99
			['w', 'ໄ'],
100
			['x', 'ປ'],
101
			['y', 'ິ'],
102
			['z', 'ຜ'],
103
			['\\{', '-'],
104
			['\\|', 'ຫຼ'],
105
			['\\}', '/'],
106
			['~', '໌'],
107
			['\\\\', '\\'],
108
			['0', '໐'],
109
			['1', '໑'],
110
			['2', '໒'],
111
			['3', '໓'],
112
			['4', '໔'],
113
			['5', '໕'],
114
			['6', '໖'],
115
			['7', '໗'],
116
			['8', '໘'],
117
			['9', '໙']
118
		]
119
	};
120
121
	$.ime.register( loKbd );
122
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/lud/lud-transliteration.js (+29 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mapping = {
5
		id: 'lud-transliteration',
6
		name: 'lud',
7
		description: 'Ludic transliteration',
8
		date: '2014-06-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Niklas Laxström',
11
		license: 'MIT',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['ch', 'č'],
17
			['C[hH]', 'Č'],
18
			['sh', 'š'],
19
			['S[hH]', 'Š'],
20
			['zh', 'ž'],
21
			['Z[hH]', 'Ž'],
22
			['y', 'ü'],
23
			['Y', 'Ü'],
24
			['\'', '’']
25
		]
26
	};
27
28
	$.ime.register( mapping );
29
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mai/mai-inscript.js (+22 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiInScript, maithiliPatterns, maithiliInScript;
5
	hiInScript = $.ime.inputmethods['hi-inscript'];
6
	maithiliPatterns = $.extend( hiInScript.patterns, [ [ 'z', '\u02BC' ] ] ); // apostrophe
7
8
	maithiliInScript = {
9
		id: 'mai-inscript',
10
		name: 'इनस्क्रिप्ट',
11
		description: 'InScript keyboard for Maithili',
12
		date: '2011-02-26',
13
		license: 'GPLv3',
14
		version: '1.0',
15
		contextLength: 0,
16
		maxKeyLength: 1,
17
		patterns: maithiliPatterns,
18
		patterns_x: hiInScript.patterns_x
19
	};
20
21
	$.ime.register( maithiliInScript );
22
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mai/mai-inscript2.js (+25 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var hiInScript2, maithiliPatterns2, maithiliInScript2;
5
6
	hiInScript2 = $.ime.inputmethods['hi-inscript2'];
7
	maithiliPatterns2 = $.extend( hiInScript2.patterns,
8
		[ [ 'z', '\u02BC' ] ]
9
	); // apostrophe
10
11
	maithiliInScript2 = {
12
		id: 'mai-inscript2',
13
		name: 'इनस्क्रिप्ट २',
14
		description: 'InScript2 keyboard for Maithili',
15
		date: '2013-02-13',
16
		license: 'GPLv3',
17
		version: '1.0',
18
		contextLength: 0,
19
		maxKeyLength: 1,
20
		patterns: maithiliPatterns2,
21
		patterns_x: hiInScript2.patterns_x
22
	};
23
24
	$.ime.register( maithiliInScript2 );
25
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mh/mh.js (+43 lines)
Line 0 Link Here
1
/**
2
 * Businesses and government offices in the Republic of the Marshall Islands typically use
3
 * a font to replace eight letters that are typically unused in the Marshallese language
4
 * with Marshallese letters.
5
 * Sample English translations: http://mapmeld.github.com/olpc-rmi/laptops.html
6
 * Pronunciation: http://www.rmiembassyus.org/Marshallese%20Phrasebook.htm
7
 */
8
9
( function ( $ ) {
10
	'use strict';
11
12
	var mh = {
13
		id: 'mh',
14
		name: 'Kajin M̧ajeļ',
15
		description: 'Marshallese Language',
16
		date: '2013-03-29',
17
		URL: 'http://github.com/wikimedia/jquery.ime',
18
		author: 'Nick Doiron, <ndoiron@mapmeld.com>',
19
		license: 'GPLv3',
20
		version: '1.0',
21
		patterns: [
22
			['Y', 'Ū'],
23
			['S', 'Ā'],
24
			['F', 'Ņ'],
25
			['G', 'N̄'],
26
			['H', 'M̧'],
27
			['X', 'O̧'],
28
			['C', 'Ō'],
29
			['V', 'Ļ'],
30
31
			['y', 'ū'],
32
			['s', 'ā'],
33
			['f', 'ņ'],
34
			['g', 'n̄'],
35
			['h', 'm̧'],
36
			['x', 'o̧'],
37
			['c', 'ō'],
38
			['v', 'ļ']
39
		]
40
	};
41
42
	$.ime.register( mh );
43
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-inscript.js (+90 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var inscript = {
5
		id: 'ml-inscript',
6
		name: 'ഇൻസ്ക്രിപ്റ്റ്',
7
		description: 'Malayalam InScript',
8
		date: '2012-10-03',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			[ '`', 'ൊ' ],
17
			[ '~', 'ഒ' ],
18
			[ '_', 'ഃ' ],
19
			[ '=', 'ൃ' ],
20
			[ '\\+', 'ഋ' ],
21
			[ '\\\\', '\u200C' ],
22
			[ 'q', 'ൗ' ],
23
			[ 'Q', 'ഔ' ],
24
			[ 'w', 'ൈ' ],
25
			[ 'W', 'ഐ' ],
26
			[ 'e', 'ാ' ],
27
			[ 'E', 'ആ' ],
28
			[ 'r', 'ീ' ],
29
			[ 'R', 'ഈ' ],
30
			[ 't', 'ൂ' ],
31
			[ 'T', 'ഊ' ],
32
			[ 'y', 'ബ' ],
33
			[ 'Y', 'ഭ' ],
34
			[ 'u', 'ഹ' ],
35
			[ 'U', 'ങ' ],
36
			[ 'i', 'ഗ' ],
37
			[ 'I', 'ഘ' ],
38
			[ 'o', 'ദ' ],
39
			[ 'O', 'ധ' ],
40
			[ 'p', 'ജ' ],
41
			[ 'P', 'ഝ' ],
42
			[ '\\[', 'ഡ' ],
43
			[ '\\{', 'ഢ' ],
44
			[ 'ണ്\\]', 'ൺ' ],
45
			[ 'ന്\\]', 'ൻ' ],
46
			[ 'ര്\\]', 'ർ' ],
47
			[ 'ല്\\]', 'ൽ' ],
48
			[ 'ള്\\]', 'ൾ' ],
49
			[ 'ക്\\]', 'ൿ' ],
50
			[ '\\}', 'ഞ' ],
51
			[ 'a', 'ോ' ],
52
			[ 'A', 'ഓ' ],
53
			[ 's', 'േ' ],
54
			[ 'S', 'ഏ' ],
55
			[ 'd', '്' ],
56
			[ 'D', 'അ' ],
57
			[ 'f', 'ി' ],
58
			[ 'F', 'ഇ' ],
59
			[ 'g', 'ു' ],
60
			[ 'G', 'ഉ' ],
61
			[ 'h', 'പ' ],
62
			[ 'H', 'ഫ' ],
63
			[ 'j', 'ര' ],
64
			[ 'J', 'റ' ],
65
			[ 'k', 'ക' ],
66
			[ 'K', 'ഖ' ],
67
			[ 'l', 'ത' ],
68
			[ 'L', 'ഥ' ],
69
			[ ';', 'ച' ],
70
			[ ':', 'ഛ' ],
71
			[ '\'', 'ട' ],
72
			[ '"', 'ഠ' ],
73
			[ 'z', 'െ' ],
74
			[ 'Z', 'എ' ],
75
			[ 'x', 'ം' ],
76
			[ 'c', 'മ' ],
77
			[ 'C', 'ണ' ],
78
			[ 'v', 'ന' ],
79
			[ 'b', 'വ' ],
80
			[ 'B', 'ഴ' ],
81
			[ 'n', 'ല' ],
82
			[ 'N', 'ള' ],
83
			[ 'm', 'സ' ],
84
			[ 'M', 'ശ' ],
85
			[ '<', 'ഷ' ],
86
			[ '/', 'യ' ] ]
87
	};
88
89
	$.ime.register( inscript );
90
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-inscript2.js (+132 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mlInScript2 = {
5
		id: 'ml-inscript2',
6
		name: 'ഇൻസ്ക്രിപ്റ്റ് 2',
7
		description: 'Enhanced InScript for Malayalam InScript',
8
		date: '2013-01-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['1', '൧'],
17
			['2', '൨'],
18
			['3', '൩'],
19
			['\\#', '്ര'],
20
			['4', '൪'],
21
			['5', '൫'],
22
			['6', '൬'],
23
			['7', '൭'],
24
			['\\&', 'ക്ഷ'],
25
			['8', '൮'],
26
			['\\*', 'ൾ'],
27
			['\\(', '('],
28
			['9', '൯'],
29
			['\\)', ')'],
30
			['0', '൦'],
31
			['\\_', 'ഃ'],
32
			['\\-', '-'],
33
			['\\+', 'ഋ'],
34
			['\\=', 'ൃ'],
35
			['Q', 'ഔ'],
36
			['q', 'ൗ'],
37
			['W', 'ഐ'],
38
			['w', 'ൈ'],
39
			['E', 'ആ'],
40
			['e', 'ാ'],
41
			['R', 'ഈ'],
42
			['r', 'ീ'],
43
			['T', 'ഊ'],
44
			['t', 'ൂ'],
45
			['Y', 'ഭ'],
46
			['y', 'ബ'],
47
			['U', 'ങ'],
48
			['u', 'ഹ'],
49
			['I', 'ഘ'],
50
			['i', 'ഗ'],
51
			['O', 'ധ'],
52
			['o', 'ദ'],
53
			['P', 'ഝ'],
54
			['p', 'ജ'],
55
			['\\{', 'ഢ'],
56
			['\\[', 'ഡ'],
57
			['\\}', 'ഞ'],
58
			['\\\\', 'ർ'],
59
			['A', 'ഓ'],
60
			['a', 'ോ'],
61
			['S', 'ഏ'],
62
			['s', 'േ'],
63
			['D', 'അ'],
64
			['d', '്'],
65
			['F', 'ഇ'],
66
			['f', 'ി'],
67
			['G', 'ഉ'],
68
			['g', 'ു'],
69
			['H', 'ഫ'],
70
			['h', 'പ'],
71
			['J', 'റ'],
72
			['j', 'ര'],
73
			['K', 'ഖ'],
74
			['k', 'ക'],
75
			['L', 'ഥ'],
76
			['l', 'ത'],
77
			[':', 'ഛ'],
78
			[';', 'ച'],
79
			['"', 'ഠ'],
80
			['\\\'', 'ട'],
81
			['\\~', 'ഒ'],
82
			['\\`', 'ൊ'],
83
			['Z', 'എ'],
84
			['z', 'െ'],
85
			['X', 'ൺ'],
86
			['x', 'ം'],
87
			['C', 'ണ'],
88
			['c', 'മ'],
89
			['V', 'ൻ'],
90
			['v', 'ന'],
91
			['B', 'ഴ'],
92
			['b', 'വ'],
93
			['N', 'ള'],
94
			['n', 'ല'],
95
			['M', 'ശ'],
96
			['m', 'സ'],
97
			['\\<', 'ഷ'],
98
			[',', ','],
99
			['\\>', 'ൽ'],
100
			['\\.', '.'],
101
			['/', 'യ']
102
		],
103
		patterns_x: [
104
			['1', '\u200d'],
105
			['\\!', '൰'],
106
			['2', '\u200c'],
107
			['\\@', '൱'],
108
			['\\#', '൲'],
109
			['\\$', '൳'],
110
			['4', '₹'],
111
			['\\%', '൴'],
112
			['\\^', '൵'],
113
			['\\+', 'ൠ'],
114
			['\\=', 'ൄ'],
115
			['q', 'ൌ'],
116
			['R', 'ൡ'],
117
			['r', 'ൣ'],
118
			['F', 'ഌ'],
119
			['f', 'ൢ'],
120
			['j', 'ർ'],
121
			['k', 'ൿ'],
122
			['c', 'ൺ'],
123
			['v', '൹'],
124
			['N', 'ൾ'],
125
			['n', 'ൽ'],
126
			['\\>', 'ഽ'],
127
			['\\.', '॥']
128
		]
129
	};
130
131
	$.ime.register( mlInScript2 );
132
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-transliteration.js (+338 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mltransliteration = {
5
		id: 'ml-transliteration',
6
		name: 'ലിപ്യന്തരണം',
7
		description: 'Malayalam Transliteration based input method',
8
		date: '2012-10-03',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 2,
14
		maxKeyLength: 4,
15
		patterns: [
16
			[ '(\u200c)+a', 'അ' ],
17
			[ '(\u200c)+A', 'ആ' ],
18
			[ '(\u200c)+i', 'ഇ' ],
19
			[ '(\u200c)+u', 'ഉ' ],
20
			[ '(\u200c)+U', 'ഊ' ],
21
			[ '(\u200c)+R', 'ഋ' ],
22
			[ '(\u200c)+e', 'എ' ],
23
			[ '(\u200c)+E', 'ഏ' ],
24
			[ '(\u200c)+I', 'ഐ' ],
25
			[ '(\u200c)+o', 'ഒ' ],
26
			[ '(\u200c)+O', 'ഓ' ],
27
			[ '(\u200c)+H', 'ഃ' ],
28
			[ 'ൻൿh', 'nc', 'ഞ്ച്' ],
29
			[ 'ൿh', 'c', 'ച്' ],
30
			[ 'ക്ക്h', 'cc', 'ച്ച്' ],
31
			[ 'ല്പ്p', 'lp', 'ൽപ്പ്' ],
32
33
			[ '\\\\([A-Za-z\\>_~])', '\\\\', '$1' ],
34
35
			[ '([ക-ഹ])്R', '$1ൃ' ],
36
			[ 'ന്ന്j', 'ഞ്ഞ്' ],
37
			[ 'ന്ന്g', 'ങ്ങ്' ],
38
			[ 'റ്റ്h', 'ത്' ],
39
			[ 'റ്റ്t', 'ട്ട്' ],
40
			[ 'ന്റ്h', 'ന്ത്' ],
41
			[ '([ക-ഹ])്ല്l', 'L', '$1\u0d62' ],
42
			[ '([ക-ഹ])\u0d62l', '$1\u0d63' ],
43
			[ '([അ-ഊഌഎ-ഐഒ-ഹ])([ഽ-ൂെ-ൌൗ])+R', '$1$2റ്' ],
44
			[ '([ക-ഹ])ൃa', '$1്ര' ],
45
			[ '([ക-ഹ])ൃA', '$1്രാ' ],
46
			[ '([ക-ഹ])ൃi', '$1്രി' ],
47
			[ '([ക-ഹ])ൃI', '$1്രീ' ],
48
			[ '([ക-ഹ])ൃu', '$1്രു' ],
49
			[ '([ക-ഹ])ൃU', '$1്രൂ' ],
50
			[ '([ക-ഹ])ൃe', '$1്രെ' ],
51
			[ '([ക-ഹ])ൃE', '$1്രേ' ],
52
			[ '([ക-ഹ])ൃo', '$1്രൊ' ],
53
			[ '([ക-ഹ])ൃO', '$1്രോ' ],
54
			[ '([ക-ഹ])്(l|L)', '$1്ല്' ],
55
			[ 'അa', 'ആ' ],
56
			[ 'അi', 'ഐ' ],
57
			[ 'അu', 'ഔ' ],
58
			[ 'ഇi', 'ഈ' ],
59
			[ 'ഉu', 'ഊ' ],
60
			[ 'ഊo', 'ഊഊ' ],
61
			[ 'ഋR', 'ൠ' ],
62
			[ 'ഋa', 'റ' ],
63
			[ 'ഋA', 'റാ' ],
64
			[ 'ഋi', 'റി' ],
65
			[ 'ഋI', 'റീ' ],
66
			[ 'ഋu', 'റു' ],
67
			[ 'ഋU', 'റൂ' ],
68
			[ 'ഋe', 'റെ' ],
69
			[ 'ഋE', 'റേ' ],
70
			[ 'ഋo', 'റൊ' ],
71
			[ 'ഋO', 'റോ' ],
72
			[ 'ഋ~', 'റ്' ],
73
			[ 'ഌl', 'ൡ' ],
74
			[ 'എe', 'ഈ' ],
75
			[ 'ഒo', 'ഊ' ],
76
			[ 'ാa', 'ാാ' ],
77
			[ 'ീi', 'ീീ' ],
78
			[ 'ൂu', 'ൂൂ' ],
79
			[ 'ൂo', 'ൂൂ' ],
80
			[ 'ൄR', 'ൄൄ' ],
81
			[ 'േE', 'േേ' ],
82
			[ 'ോO', 'ോോ' ],
83
			[ 'ൗu', 'ൗൗ' ],
84
			[ '\u0d62\\^', '\u0d63' ],
85
			[ '\u0d63\\^', '\u0d63\u0d63' ],
86
			[ 'ക്h', 'ഖ്' ],
87
			[ 'ഗ്h', 'ഘ്' ],
88
			[ 'ൻg', 'ങ്' ],
89
			[ 'ച്h', 'ഛ്' ],
90
			[ 'ജ്h', 'ഝ്' ],
91
			[ 'ട്h', 'ഠ്' ],
92
			[ 'ഡ്h', 'ഢ്' ],
93
			[ 'ത്h', 'ഥ്' ],
94
			[ 'ദ്h', 'ധ്' ],
95
			[ 'പ്h', 'ഫ്' ],
96
			[ 'ബ്h', 'ഭ്' ],
97
			[ 'ംa', 'മ' ],
98
			[ 'ംA', 'മാ' ],
99
			[ 'ംi', 'മി' ],
100
			[ 'ംI', 'മീ' ],
101
			[ 'ംu', 'മു' ],
102
			[ 'ംU', 'മൂ' ],
103
			[ 'ംR', 'മൃ' ],
104
			[ 'ംe', 'മെ' ],
105
			[ 'ംE', 'മേ' ],
106
			[ 'ംo', 'മൊ' ],
107
			[ 'ംO', 'മോ' ],
108
			[ 'ംm', 'മ്മ്' ],
109
			[ '([^സ])ംr', '$1മ്ര്' ],
110
			[ 'ംp', 'മ്പ്' ],
111
			[ '([^സ])ം(l|L)', '$1മ്ല്' ],
112
			[ 'ം~', 'മ്' ],
113
			[ '([^സ])ംn', '$1മ്ന്' ],
114
			[ '([^സ])ംy', '$1മ്യ്' ],
115
			[ 'സ്h', 'ഷ്' ],
116
			[ 'ശ്h', 'ഴ്' ],
117
			[ 'ൺ\\\\\\\\', 'ണ്\u200d' ], // old style chillu N
118
			[ 'ൺ~', 'ണ്' ],
119
			[ 'ൺR', 'ണൃ' ],
120
			[ 'ൺN', 'ണ്ണ്' ],
121
			[ 'ൺT', 'ണ്ട്' ],
122
			[ 'ൺD', 'ണ്ഡ്' ],
123
			[ 'ൺy', 'ണ്യ്' ],
124
			[ 'ൺv', 'ണ്വ്' ],
125
			[ 'ൺm', 'ണ്മ്' ],
126
			[ 'ൻ\\\\\\\\', 'ന്\u200d' ], // old style chillu n
127
			[ 'ൻ~', 'ന്' ],
128
			[ 'ൻr', 'ന്ര്' ],
129
			[ 'ൻR', 'നൃ' ],
130
			[ 'ൻk', 'ങ്ക്' ],
131
			[ 'ൻj', 'ഞ്' ],
132
			[ 'ൻn', 'ന്ന്' ],
133
			[ 'ൻd', 'ന്ദ്' ],
134
			[ 'ൻt', 'ന്റ്' ],
135
			[ 'ൻm', 'ന്മ്' ],
136
			[ 'ൻL', 'ന്ല്' ],
137
			[ 'ൻv', 'ന്വ്' ],
138
			[ 'ൻy', 'ന്യ്' ],
139
			[ 'ർ\\\\\\\\', 'ര്\u200d' ], // old style chill r
140
			[ 'ർ~', 'ര്' ],
141
			[ 'ർ#', 'ൎ' ], // dot repha
142
			[ 'ർr', 'റ്' ],
143
			[ 'ർR', 'രൃ' ],
144
			[ 'ർy', 'ര്യ്' ],
145
			[ 'ൽ\\\\\\\\', 'ല്\u200d' ], // old style chillu l
146
			[ 'ൽ~', 'ല്' ],
147
			[ 'ൽR', 'ലൃ' ],
148
			[ 'ൽ(l|L)', 'ല്ല്' ],
149
			[ 'ൽp', 'ല്പ്' ],
150
			[ 'ൽy', 'ല്യ്' ],
151
			[ 'ൽv', 'ല്വ്' ],
152
			[ 'ൾ\\\\\\\\', 'ള്\u200d' ], // old style chillu L
153
			[ 'ൾ~', 'ള്' ],
154
			[ 'ൾR', 'ളൃ' ],
155
			[ 'ൾL', 'ള്ള്' ],
156
			[ 'ൾy', 'ള്യ്' ],
157
			[ 'ൾl', 'ഌ' ],
158
			[ 'ൿ\\\\\\\\', 'ക്\u200d' ], // old style chillu k
159
			[ 'ൿR', 'കൃ' ],
160
			[ 'ൿy', 'ക്യ്' ],
161
			[ 'ൿ(l|L)', 'ക്ല്' ],
162
			[ 'ൿv', 'ക്വ്' ],
163
			[ 'ൿ(k|c)', 'ക്ക്' ],
164
			[ '([ക-ഹ])a', '$1ാ' ],
165
			[ '([ക-ഹ])്a', '$1' ],
166
			[ 'ൺa', 'ണ' ],
167
			[ 'ൻa', 'ന' ],
168
			[ 'ർa', 'ര' ],
169
			[ 'ൽa', 'ല' ],
170
			[ 'ൾa', 'ള' ],
171
			[ 'ൿa', 'ക' ],
172
			[ '([ക-ഹ])്A', '$1ാ' ],
173
			[ 'ൺA', 'ണാ' ],
174
			[ 'ൻA', 'നാ' ],
175
			[ 'ർA', 'രാ' ],
176
			[ 'ൽA', 'ലാ' ],
177
			[ 'ൾA', 'ളാ' ],
178
			[ 'ൿA', 'കാ' ],
179
			[ '([ക-ഹ])്i', '$1ി' ],
180
			[ 'ൺi', 'ണി' ],
181
			[ 'ൻi', 'നി' ],
182
			[ 'ർi', 'രി' ],
183
			[ 'ൽi', 'ലി' ],
184
			[ 'ൾi', 'ളി' ],
185
			[ 'ൿi', 'കി' ],
186
			[ '([ക-ഹ])്I', '$1ീ' ],
187
			[ 'ൺI', 'ണീ' ],
188
			[ 'ൻI', 'നീ' ],
189
			[ 'ർI', 'രീ' ],
190
			[ 'ൽI', 'ലീ' ],
191
			[ 'ൾI', 'ളീ' ],
192
			[ 'ൿI', 'കീ' ],
193
			[ '([ക-ഹ])ിi', '$1ീ' ],
194
			[ '([ക-ഹ])െe', '$1ീ' ],
195
			[ '([ക-ഹ])്u', '$1ു' ],
196
			[ 'ൺu', 'ണു' ],
197
			[ 'ൻu', 'നു' ],
198
			[ 'ർu', 'രു' ],
199
			[ 'ൽu', 'ലു' ],
200
			[ 'ൾu', 'ളു' ],
201
			[ 'ൿu', 'കു' ],
202
			[ '([ക-ഹ])്U', '$1ൂ' ],
203
			[ '([ക-ഹ])ുu', '$1ൂ' ],
204
			[ 'ൺU', 'ണൂ' ],
205
			[ 'ൻU', 'നൂ' ],
206
			[ 'ർU', 'രൂ' ],
207
			[ 'ൽU', 'ലൂ' ],
208
			[ 'ൾU', 'ളൂ' ],
209
			[ 'ൿU', 'കൂ' ],
210
			[ '([ക-ഹ])ൊo', '$1ൂ' ],
211
			[ '([ക-ഹ])ൃR', '$1ൄ' ],
212
			[ '([ക-ഹ])്e', '$1െ' ],
213
			[ 'ൺe', 'ണെ' ],
214
			[ 'ൻe', 'നെ' ],
215
			[ 'ർe', 'രെ' ],
216
			[ 'ൽe', 'ലെ' ],
217
			[ 'ൾe', 'ളെ' ],
218
			[ 'ൿe', 'കെ' ],
219
			[ '([ക-ഹ])്E', '$1േ' ],
220
			[ 'ൺE', 'ണേ' ],
221
			[ 'ൻE', 'നേ' ],
222
			[ 'ർE', 'രേ' ],
223
			[ 'ൽE', 'ലേ' ],
224
			[ 'ൾE', 'ളേ' ],
225
			[ 'ൿE', 'കേ' ],
226
			[ '([ക-ഹ])i', '$1ൈ' ],
227
			[ '([ക-ഹ])്o', '$1ൊ' ],
228
			[ 'ൺo', 'ണൊ' ],
229
			[ 'ൻo', 'നൊ' ],
230
			[ 'ർo', 'രൊ' ],
231
			[ 'ൽo', 'ലൊ' ],
232
			[ 'ൾo', 'ളൊ' ],
233
			[ 'ൿo', 'കൊ' ],
234
			[ '([ക-ഹ])്O', '$1ോ' ],
235
			[ 'ൺO', 'ണോ' ],
236
			[ 'ൻO', 'നോ' ],
237
			[ 'ർO', 'രോ' ],
238
			[ 'ൽO', 'ലോ' ],
239
			[ 'ൾO', 'ളോ' ],
240
			[ 'ൿO', 'കോ' ],
241
			[ '([ക-ഹ])u', '$1ൗ' ],
242
			[ '([ക-ഹ])U', '$1ൌ' ],
243
			[ '([അ-്])m', '$1ം' ],
244
			[ '\\\\0', '൦' ], // escape to ml digit 0 by \0
245
			[ '\\\\1', '൧' ], // escape to ml digit 1 by \1
246
			[ '\\\\2', '൨' ], // escape to ml digit 2 by \2
247
			[ '\\\\3', '൩' ], // escape to ml digit 3 by \3
248
			[ '\\\\4', '൪' ], // escape to ml digit 4 by \4
249
			[ '\\\\5', '൫' ], // escape to ml digit 5 by \5
250
			[ '\\\\6', '൬' ], // escape to ml digit 6 by \6
251
			[ '\\\\7', '൭' ], // escape to ml digit 7 by \7
252
			[ '\\\\8', '൮' ], // escape to ml digit 8 by \8
253
			[ '\\\\9', '൯' ], // escape to ml digit 9 by \9
254
			[ 'മ്\\\\', 'ം' ],
255
			[ 'ആ\\\\', 'ാ' ],
256
			[ 'ഇ\\\\', 'ി' ],
257
			[ 'ഈ\\\\', 'ീ' ],
258
			[ 'ഉ\\\\', 'ു' ],
259
			[ 'ഊ\\\\', 'ൂ' ],
260
			[ 'ഋ\\\\', 'ൃ' ],
261
			[ 'ൠ\\\\', 'ൄ' ],
262
			[ 'എ\\\\', 'െ' ],
263
			[ 'ഏ\\\\', 'േ' ],
264
			[ 'ഐ\\\\', 'ൈ' ],
265
			[ 'ഒ\\\\', 'ൊ' ],
266
			[ 'ഓ\\\\', 'ോ' ],
267
			[ 'ഔ\\\\', 'ൗ' ],
268
			[ 'ൗ\\\\', 'ൌ' ],
269
			[ 'ഌ\\\\', 'ൢ' ],
270
			[ 'ൡ\\\\', 'ൣ' ],
271
			[ '(([ൺ-ൿം])\u200c+)?A', '$2ആ' ],
272
			[ '(([ൺ-ൿം])\u200c+)?B', '$2ബ്ബ്' ],
273
			[ '(([ൺ-ൿം])\u200c+)?C', '$2ച്ച്' ],
274
			[ '(([ൺ-ൿം])\u200c+)?D', '$2ഡ്' ],
275
			[ '(([ൺ-ൿം])\u200c+)?E', '$2ഏ' ],
276
			[ '(([ൺ-ൿം])\u200c+)?F', '$2ഫ്' ],
277
			[ '(([ൺ-ൿം])\u200c+)?G', '$2ഗ്ഗ്' ],
278
			[ '(([ൺ-ൿം])\u200c+)?H', '$2ഃ' ],
279
			[ '(([ൺ-ൿം])\u200c+)?I', '$2ഐ' ],
280
			[ '(([ൺ-ൿം])\u200c+)?J', '$2ജ്ജ്' ],
281
			[ '(([ൺ-ൿം])\u200c+)?K', '$2ക്ക്' ],
282
			[ '(([ൺ-ൿം])\u200c+)?L', '$2ൾ' ],
283
			[ '(([ൺ-ൿം])\u200c+)?M', '$2മ്മ്' ],
284
			[ '(([ൺ-ൿം])\u200c+)?N', '$2ൺ' ],
285
			[ '(([ൺ-ൿം])\u200c+)?O', '$2ഓ' ],
286
			[ '(([ൺ-ൿം])\u200c+)?P', '$2പ്പ്' ],
287
			[ '(([ൺ-ൿം])\u200c+)?Q', '$2ക്യ്' ],
288
			[ '(([ൺ-ൿം])\u200c+)?R', '$2ഋ' ],
289
			[ '(([ൺ-ൿം])\u200c+)?(S|z)', '$2ശ്' ],
290
			[ '(([ൺ-ൿം])\u200c+)?T', '$2ട്' ],
291
			[ '(([ൺ-ൿം])\u200c+)?U', '$2ഊ' ],
292
			[ '(([ൺ-ൿം])\u200c+)?(V|W)', '$2വ്വ്' ],
293
			[ '(([ൺ-ൿം])\u200c+)?X', '$2ക്ഷ്' ],
294
			[ '(([ൺ-ൿം])\u200c+)?Y', '$2യ്യ്' ],
295
			[ '(([ൺ-ൿം])\u200c+)?Z', '$2ശ്ശ്' ],
296
			[ '(([ൺ-ൿം])\u200c+)?a', '$2അ' ],
297
			[ '(([ൺ-ൿം])\u200c+)?b', '$2ബ്' ],
298
			[ '(([ൺ-ൿം])\u200c+)?c', '$2ൿ' ],
299
			[ '(([ൺ-ൿം])\u200c+)?d', '$2ദ്' ],
300
			[ '(([ൺ-ൿം])\u200c+)?e', '$2എ' ],
301
			[ '(([ൺ-ൿം])\u200c+)?f', '$2ഫ്' ],
302
			[ '(([ൺ-ൿം])\u200c+)?g', '$2ഗ്' ],
303
			[ '(([ൺ-ൿം])\u200c+)?h', '$2ഹ്' ],
304
			[ '(([ൺ-ൿം])\u200c+)?i', '$2ഇ' ],
305
			[ '(([ൺ-ൿം])\u200c+)?j', '$2ജ്' ],
306
			[ '(([ൺ-ൿം])\u200c+)?k', '$2ക്' ],
307
			[ '(([ൺ-ൿം])\u200c+)?l', '$2ൽ' ],
308
			[ '(([ൺ-ൿം])\u200c+)?m', '$2മ്' ],
309
			[ '(([ൺ-ൿം])\u200c+)?n', '$2ൻ' ],
310
			[ '(([ൺ-ൿം])\u200c+)?o', '$2ഒ' ],
311
			[ '(([ൺ-ൿം])\u200c+)?p', '$2പ്' ],
312
			[ '(([ൺ-ൿം])\u200c+)?q', '$2ക്ക്' ],
313
			[ '(([ൺ-ൿം])\u200c+)?r', '$2ർ' ],
314
			[ '(([ൺ-ൿം])\u200c+)?s', '$2സ്' ],
315
			[ '(([ൺ-ൿം])\u200c+)?t', '$2റ്റ്' ], // tta according to 5.1
316
			[ '(([ൺ-ൿം])\u200c+)?u', '$2ഉ' ],
317
			[ '(([ൺ-ൿം])\u200c+)?(v|w)', '$2വ്' ],
318
			[ '(([ൺ-ൿം])\u200c+)?x', '$2ക്ഷ്' ],
319
			[ '(([ൺ-ൿം])\u200c+)?y', '$2യ്' ],
320
			[ '(([ൺ-ൿം])\u200c+)?~', '$2്' ],
321
			[ '(\u200C)*_', '\u200c' ],
322
			[ '//', 'ഽ' ],
323
			[ '1/4\\\\', '൳' ],
324
			[ '1/2\\\\', '൴' ],
325
			[ '3/4\\\\', '൵' ],
326
			[ '10\\\\', '\u0D70' ],
327
			[ '100\\\\', '\u0D71' ],
328
			[ '1000\\\\', '\u0D72' ],
329
			[ '\\-\\-\\-\\\\', '—' ], // em dash
330
			[ '\\-\\-\\\\', '–' ], // en dash
331
			[ '\\\\\\-', '−' ],
332
			[ '\\\\\\*', '×' ],
333
			[ '\\\\/', '÷' ] ]
334
335
	};
336
337
	$.ime.register( mltransliteration );
338
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mn/mn-cyrl.js (+118 lines)
Line 0 Link Here
1
/**
2
 * This is my work based on Git for the very first time, which is an input method for the Mongolian
3
 * Cyrillic script. If the program has any errors, please understand that and contact me. I will
4
 * change the errors in a few days.
5
 */
6
7
( function ( $ ) {
8
	'use strict';
9
10
	var mncyrl = {
11
		id: 'mn-cyrl',
12
		name: 'Mongolian Cyrillic',
13
		description: 'Mongolian Cyrillic Input Method',
14
		date: '2012-10-25',
15
		URL: 'http://github.com/wikimedia/jquery.ime',
16
		author: 'Kevin K.S. Leung, <sprconan@gmail.com>',
17
		license: 'GPLv3',
18
		version: '1.0',
19
		patterns: [
20
			['Q', 'Ф'],
21
			['W', 'Ц'],
22
			['E', 'У'],
23
			['R', 'Ж'],
24
			['T', 'Э'],
25
			['Y', 'Н'],
26
			['U', 'Г'],
27
			['I', 'Ш'],
28
			['O', 'Ү'],
29
			['P', 'З'],
30
			['{', 'К'],
31
			['}', 'Ъ'],
32
			['A', 'Й'],
33
			['S', 'Ы'],
34
			['D', 'Б'],
35
			['F', 'Ө'],
36
			['G', 'А'],
37
			['H', 'Х'],
38
			['J', 'Р'],
39
			['K', 'О'],
40
			['L', 'Л'],
41
			[':', 'Д'],
42
			['"', 'П'],
43
			['Z', 'Я'],
44
			['X', 'Ч'],
45
			['C', 'Ё'],
46
			['V', 'С'],
47
			['B', 'М'],
48
			['N', 'И'],
49
			['M', 'Т'],
50
			['<', 'Ь'],
51
			['>', 'В'],
52
			['\\?', 'Ю'],
53
			['_', 'Е'],
54
			['\\+', 'Щ'],
55
56
			['q', 'ф'],
57
			['w', 'ц'],
58
			['e', 'у'],
59
			['r', 'ж'],
60
			['t', 'э'],
61
			['y', 'н'],
62
			['u', 'г'],
63
			['i', 'ш'],
64
			['o', 'ү'],
65
			['p', 'з'],
66
			['\\[', 'к'],
67
			['\\]', 'ъ'],
68
			['a', 'й'],
69
			['s', 'ы'],
70
			['d', 'б'],
71
			['f', 'ө'],
72
			['g', 'а'],
73
			['h', 'х'],
74
			['j', 'р'],
75
			['k', 'о'],
76
			['l', 'л'],
77
			[';', 'д'],
78
			['\'', 'п'],
79
			['z', 'я'],
80
			['x', 'ч'],
81
			['c', 'ё'],
82
			['v', 'с'],
83
			['b', 'м'],
84
			['n', 'и'],
85
			['m', 'т'],
86
			[',', 'ь'],
87
			['\\.', 'в'],
88
			['/', 'ю'],
89
			['\\-', 'е'],
90
			['=', 'щ'],
91
92
			['`', '='],
93
			['~', '+'],
94
			['1', '№'],
95
			['2', '-'],
96
			['3', '"'],
97
			['4', '₮'],
98
			['5', ':'],
99
			['6', '.'],
100
			['7', '_'],
101
			['8', ','],
102
			['9', '%'],
103
			['0', '?'],
104
			['!', '1'],
105
			['@', '2'],
106
			['#', '3'],
107
			['\\$', '4'],
108
			['%', '5'],
109
			['^', '6'],
110
			['&', '7'],
111
			['*', '8'],
112
			['\\(', '9'],
113
			['\\)', '0']
114
		]
115
	};
116
117
	$.ime.register( mncyrl );
118
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mni/mni-inscript2.js (+125 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mniInScript2 = {
5
		id: 'mni-inscript2',
6
		name: 'ইনস্ক্ৰিপ্ট ২',
7
		description: 'Enhanced InScript keyboard for Manipuri language using Bengali script',
8
		date: '2013-02-13',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\!', 'অ্যা'],
15
			['1', '১'],
16
			['2', '২'],
17
			['\\#', '্র'],
18
			['3', '৩'],
19
			['\\$', 'র্'],
20
			['4', '৪'],
21
			['\\%', 'জ্ঞ'],
22
			['5', '৫'],
23
			['\\^', 'ত্র'],
24
			['6', '৬'],
25
			['\\&', 'ক্ষ'],
26
			['7', '৭'],
27
			['\\*', 'শ্র'],
28
			['8', '৮'],
29
			['9', '৯'],
30
			['\\(', '('],
31
			['\\)', ')'],
32
			['0', '০'],
33
			['\"', 'ঠ'],
34
			['\'', 'ট'],
35
			[',', ','],
36
			['-', '-'],
37
			['\\.', '.'],
38
			['/', 'য়'],
39
			[':', 'ছ'],
40
			[';', 'চ'],
41
			['\\<', 'ষ'],
42
			['\\=', 'ৃ'],
43
			['\\+', 'ঋ'],
44
			['\\>', '।'],
45
			['\\?', 'য'],
46
			['A', 'ও'],
47
			['C', 'ণ'],
48
			['D', 'অ'],
49
			['E', 'আ'],
50
			['F', 'ই'],
51
			['G', 'উ'],
52
			['H', 'ফ'],
53
			['I', 'ঘ'],
54
			['K', 'খ'],
55
			['L', 'থ'],
56
			['M', 'শ'],
57
			['O', 'ধ'],
58
			['P', 'ঝ'],
59
			['Q', 'ঔ'],
60
			['R', 'ঈ'],
61
			['S', 'এ'],
62
			['T', 'ঊ'],
63
			['U', 'ঙ'],
64
			['W', 'ঐ'],
65
			['X', 'ঁ'],
66
			['Y', 'ভ'],
67
			['\\{', 'ঢ'],
68
			['\\[', 'ড'],
69
			['\\}', 'ঞ'],
70
			['\\]', '়'],
71
			['\\_', 'ঃ'],
72
			['a', 'ো'],
73
			['c', 'ম'],
74
			['d', '্'],
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', 'ন'],
93
			['w', 'ৈ'],
94
			['x', 'ং'],
95
			['y', 'ব']
96
		],
97
		patterns_x: [
98
			['\\!', '৴'],
99
			['1', '\u200d'],
100
			['\\@', '৵'],
101
			['2', '\u200c'],
102
			['\\#', '৶'],
103
			['\\$', '৷'],
104
			['4', '₹'],
105
			['\\%', '৸'],
106
			['\\^', '৹'],
107
			[',', '৳'],
108
			['\\.', '॥'],
109
			['/', '্য'],
110
			['\\<', '৲'],
111
			['\\=', 'ৄ'],
112
			['\\+', 'ৠ'],
113
			['\\>', 'ঽ'],
114
			['F', 'ঌ'],
115
			['R', 'ৡ'],
116
			['\\{', 'ঢ়'],
117
			['\\[', 'ড়'],
118
			['f', 'ৢ'],
119
			['l', 'ৎ'],
120
			['r', 'ৣ'],
121
			['x', '৺']]
122
	};
123
124
	$.ime.register( mniInScript2 );
125
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-inscript.js (+115 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mrInScript = {
5
		id: 'mr-inscript',
6
		name: 'मराठी लिपी',
7
		description: 'InScript keyboard for Marathi script',
8
		date: '2012-10-14',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['X', '\u0901'],
14
			['x', '\u0902'],
15
			['_', '\u0903'],
16
			['D', '\u0905'],
17
			['E', '\u0906'],
18
			['F', '\u0907'],
19
			['R', '\u0908'],
20
			['G', '\u0909'],
21
			['T', '\u090A'],
22
			['\\+', '\u090B'],
23
			['!', '\u090D'],
24
			['S', '\u090F'],
25
			['W', '\u0910'],
26
			['\\|', '\u0911'],
27
			['A', '\u0913'],
28
			['Q', '\u0914'],
29
			['k', '\u0915'],
30
			['K', '\u0916'],
31
			['i', '\u0917'],
32
			['I', '\u0918'],
33
			['U', '\u0919'],
34
			[';', '\u091A'],
35
			['\\:', '\u091B'],
36
			['p', '\u091C'],
37
			['P', '\u091D'],
38
			['\\}', '\u091E'],
39
			['\'', '', '\u091F'],
40
			['"', '\u0920'],
41
			['\\[', '\u0921'],
42
			['\\{', '\u0922'],
43
			['C', '\u0923'],
44
			['l', '\u0924'],
45
			['L', '\u0925'],
46
			['o', '\u0926'],
47
			['O', '\u0927'],
48
			['v', '\u0928'],
49
			['h', '\u092A'],
50
			['H', '\u092B'],
51
			['y', '\u092C'],
52
			['Y', '\u092D'],
53
			['c', '\u092E'],
54
			['/', '\u092F'],
55
			['j', '\u0930'],
56
			['J', '\u0931'],
57
			['n', '\u0932'],
58
			['N', '\u0933'],
59
			['b', '\u0935'],
60
			['M', '\u0936'],
61
			['\\<', '\u0937'],
62
			['m', '\u0938'],
63
			['u', '\u0939'],
64
			['\\]', '\u093C'],
65
			['e', '\u093E'],
66
			['f', '\u093F'],
67
			['r', '\u0940'],
68
			['g', '\u0941'],
69
			['t', '\u0942'],
70
			['\\=', '\u0943'],
71
			['\\@', '\u0945'],
72
			['s', '\u0947'],
73
			['w', '\u0948'],
74
			['\\\\', '\u0949'],
75
			['a', '\u094B'],
76
			['q', '\u094C'],
77
			['d', '\u094D'],
78
			['\\>', '\u0964'],
79
			['0', '\u0966'],
80
			['1', '\u0967'],
81
			['2', '\u0968'],
82
			['3', '\u0969'],
83
			['4', '\u096A'],
84
			['5', '\u096B'],
85
			['6', '\u096C'],
86
			['7', '\u096D'],
87
			['8', '\u096E'],
88
			['9', '\u096F'],
89
			['\\!', '\u0972'],
90
			['\\#', '\u094D\u0930'],
91
			['\\$', '\u0930\u094D'],
92
			['\\%', '\u091C\u094D\u091E'],
93
			['\\^', '\u0924\u094D\u0930'],
94
			['\\&', '\u0915\u094D\u0937'],
95
			['\\*', '\u0936\u094D\u0930'],
96
			['\\(', '\u200D'],
97
			['\\)', '\u200C']],
98
		patterns_x: [
99
			['F', '\u090C'],
100
			['\\>', '\u093D'],
101
			['\\=', '\u0944'],
102
			['X', '\u0950'],
103
			['e', '\u0951'],
104
			['d', '\u0952'],
105
			['\\+', '\u0960'],
106
			['R', '\u0961'],
107
			['f', '\u0962'],
108
			['r', '\u0963'],
109
			['\\.', '\u0965'],
110
			[',', '\u0970'],
111
			['\\$', '\u20B9']]
112
	};
113
114
	$.ime.register( mrInScript );
115
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-inscript2.js (+121 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mrInScript2 = {
5
		id: 'mr-inscript2',
6
		name: 'मराठी इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Marathi language',
8
		date: '2012-11-06',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\!', 'ॲ'],
14
			['1', '१'],
15
			['\\@', 'ॅ'],
16
			['2', '२'],
17
			['\\#', '्र'],
18
			['3', '३'],
19
			['\\$', 'र्'],
20
			['4', '४'],
21
			['5', '५'],
22
			['6', '६'],
23
			['7', '७'],
24
			['8', '८'],
25
			['\\(', '('],
26
			['9', '९'],
27
			['\\]', ']'],
28
			['0', '०'],
29
			['\\_', 'ः'],
30
			['\\-', '-'],
31
			['\\+', 'ऋ'],
32
			['\\=', 'ृ'],
33
			['Q', 'औ'],
34
			['q', 'ौ'],
35
			['W', 'ऐ'],
36
			['w', 'ै'],
37
			['E', 'आ'],
38
			['e', 'ा'],
39
			['R', 'ई'],
40
			['r', 'ी'],
41
			['T', 'ऊ'],
42
			['t', 'ू'],
43
			['Y', 'भ'],
44
			['y', 'ब'],
45
			['U', 'ङ'],
46
			['u', 'ह'],
47
			['I', 'घ'],
48
			['i', 'ग'],
49
			['O', 'ध'],
50
			['o', 'द'],
51
			['P', 'झ'],
52
			['p', 'ज'],
53
			['\\{', 'ढ'],
54
			['\\[', 'ड'],
55
			['\\}', 'ञ'],
56
			['\\]', '़'],
57
			['A', 'ओ'],
58
			['a', 'ो'],
59
			['S', 'ए'],
60
			['s', 'े'],
61
			['D', 'अ'],
62
			['d', '्'],
63
			['F', 'इ'],
64
			['f', 'ि'],
65
			['G', 'उ'],
66
			['g', 'ु'],
67
			['H', 'फ'],
68
			['h', 'प'],
69
			['J', 'ऱ'],
70
			['j', 'र'],
71
			['K', 'ख'],
72
			['k', 'क'],
73
			['L', 'थ'],
74
			['l', 'त'],
75
			[':', 'छ'],
76
			[';', 'च'],
77
			['"', 'ठ'],
78
			['\\\'', 'ट'],
79
			['\\~', 'ऒ'],
80
			['\\`', 'ॊ'],
81
			['X', 'ँ'],
82
			['x', 'ं'],
83
			['C', 'ण'],
84
			['c', 'म'],
85
			['v', 'न'],
86
			['b', 'व'],
87
			['N', 'ळ'],
88
			['n', 'ल'],
89
			['M', 'श'],
90
			['m', 'स'],
91
			['\\<', 'ष'],
92
			[',', ','],
93
			['\\>', '।'],
94
			['\\.', '.'],
95
			['/', 'य'],
96
			['\\%', 'ज्ञ'],
97
			['\\^', 'त्र'],
98
			['\\&', 'क्ष'],
99
			['\\*', 'श्र']
100
		],
101
		patterns_x: [
102
			['1', '\u200d'],
103
			['2', '\u200c'],
104
			['4', '₹'],
105
			['\\+', 'ॠ'],
106
			['\\=', 'ॄ'],
107
			['e', '॑'],
108
			['R', 'ॡ'],
109
			['r', 'ॣ'],
110
			['d', '॒'],
111
			['F', 'ऌ'],
112
			['f', 'ॢ'],
113
			['X', 'ॐ'],
114
			[',', '॰'],
115
			['\\>', 'ऽ'],
116
			['\\.', '॥']
117
		]
118
	};
119
120
	$.ime.register( mrInScript2 );
121
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-phonetic.js (+110 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mrPhonetic = {
5
		id: 'mr-phonetic',
6
		name: 'फोनेटिक',
7
		description: 'Phonetic keyboard for Marathi language',
8
		date: '2013-02-09',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['्f', '्\u200c'],
14
			['~', 'ऎ'],
15
			['`', 'ॆ'],
16
			['!', 'ऍ'],
17
			['1', '१'],
18
			['\\@","ॅ'],
19
			['2', '२'],
20
			['\\#', 'ऑ'],
21
			['3', '३'],
22
			['\\$', 'ॉ'],
23
			['4', '४'],
24
			['\\%', 'ञ'],
25
			['5', '५'],
26
			['6', '६'],
27
			['7', '७'],
28
			['8', '८'],
29
			['\\(', '('],
30
			['9', '९'],
31
			['\\)', ')'],
32
			['0', '०'],
33
			['\\_', '_'],
34
			['\\-', '-'],
35
			['\\+', '+'],
36
			['\\=', '='],
37
			['Q', 'औ'],
38
			['q', 'ओ'],
39
			['W', 'ठ'],
40
			['w', 'ट'],
41
			['E', 'ै'],
42
			['e', 'े'],
43
			['R', 'ृ'],
44
			['r', 'र'],
45
			['T', 'थ'],
46
			['t', 'त'],
47
			['Y', 'य़'],
48
			['y', 'य'],
49
			['U', 'ू'],
50
			['u', 'ु'],
51
			['I', 'ी'],
52
			['i', 'ि'],
53
			['O', 'ौ'],
54
			['o', 'ो'],
55
			['P', 'फ'],
56
			['p', 'प'],
57
			['\\{', 'ढ'],
58
			['\\[', 'ड'],
59
			['\\}', 'ऱ'],
60
			['\\]', 'ऋ'],
61
			['A', 'आ'],
62
			['a', 'ा'],
63
			['S', 'श'],
64
			['s', 'स'],
65
			['D', 'ध'],
66
			['d', 'द'],
67
			['F', 'अ'],
68
			['f', '्'],
69
			['G', 'घ'],
70
			['g', 'ग'],
71
			['H', 'ः'],
72
			['h', 'ह'],
73
			['J', 'झ'],
74
			['j', 'ज'],
75
			['K', 'ख'],
76
			['k', 'क'],
77
			['L', 'ळ'],
78
			['l', 'ल'],
79
			[':', 'ई'],
80
			[';', 'इ'],
81
			['\"', 'ऊ'],
82
			['\'', 'उ'],
83
			['\\|', 'ऒ'],
84
			['\\\\', 'ॊ'],
85
			['Z', 'ँ'],
86
			['z', 'ङ'],
87
			['x', 'ष'],
88
			['C', 'छ'],
89
			['c', 'च'],
90
			['V', 'ऴ'],
91
			['v', 'व'],
92
			['B', 'भ'],
93
			['b', 'ब'],
94
			['N', 'ण'],
95
			['n', 'न'],
96
			['M', 'ं'],
97
			['m', 'म'],
98
			['\\<', 'ऩ'],
99
			[',', ','],
100
			['\\>', '़'],
101
			['\\?', 'ऐ'],
102
			['/', 'ए'],
103
			['\\^', 'ज्ञ'],
104
			['X', 'क्ष'],
105
			['\\*', 'श्र']
106
		]
107
	};
108
109
	$.ime.register( mrPhonetic );
110
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-transliteration.js (+147 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var mrTransliteration = {
5
		id: 'mr-transliteration',
6
		name: 'अक्षरांतरण',
7
		description: 'Transliteration keyboard for Marathi script',
8
		date: '2012-10-14',
9
		author: 'Pathak A B',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		contextLength: 2,
13
		maxKeyLength: 4,
14
		patterns: [
15
			['च्h', 'c', 'च्'], // ch
16
			['च्h', 'ch', 'छ्'], // chh
17
18
			['\\\\([A-Za-z\\>_~0-9])', '\\\\', '$1'],
19
20
			['([क-ह]़?)्a', '$1'],
21
			['([क-ह]़?)्A', '$1ा'],
22
			['([क-ह]़?)a', '$1ा'],
23
			['([क-ह]़?)्i', '$1ि'],
24
			['([क-ह]़?)(्I|िi|ेe)', '$1ी'],
25
			['([क-ह]़?)्u', '$1ु'],
26
			['([क-ह]़?)(ुu|्U|ोo)', '$1ू'],
27
			['([क-ह]़?)्R', '$1ृ'],
28
			['([क-ह]़?)ृR', '$1ॄ'],
29
			['([क-ह]़?)्ळ्l', '$1ॢ'],
30
			['([क-ह]़?)ॢl', '$1ॣ'],
31
			['([क-ह]़?)े\\^', '$1ॅ'],
32
			['([क-ह]़?)्e', '$1े'],
33
			['([क-ह]़?)्E', '$1ॅ'],
34
			['([क-ह]़?)ो\\^', '$1ॉ'],
35
			['([क-ह]़?)i', '$1ै'],
36
			['([क-ह]़?)्o', '$1ो'],
37
			['([क-ह]़?)्O', '$1ॉ'],
38
			['([क-ह]़?)u', '$1ौ'],
39
			['([क-ह])्\\`', '$1़्'],
40
			['([क-ह])ॉM', '$1ाँ'],
41
42
			['आऊM', 'ॐ'], // AUM (OM)
43
44
			['(द्न्y|ग्ग्y|ज्ज्n)', 'ज्ञ्'], // dny, ggy or jjn
45
46
			['र्र्y', 'ऱ्य्'], // rry
47
			['र्र्h', 'ऱ्ह्'], // rrh
48
49
			['अa', 'आ'],
50
			['(ऒo|उu)', 'ऊ'],
51
			['ए\\^', 'ऍ'],
52
			['अi', 'ऐ'],
53
			['(अ\\^|E)', 'ॲ'],
54
			['(इi|एe)', 'ई'],
55
			['ऒ\\^', 'ऑ'],
56
			['अu', 'औ'],
57
			['ऋR', 'ॠ'],
58
			['ळ्l', 'ऌ'],
59
			['ऌl', 'ॡ'],
60
			['ंM', 'ँ'],
61
62
			['र्Y', 'ऱ्य्'],
63
64
			['क्h', 'ख्'], //kh
65
			['ग्h', 'घ्'],
66
			['न्g', 'ङ्'],
67
			['ज्h', 'झ्'],
68
			['न्j', 'ञ्'],
69
			['ट्h', 'ठ्'],
70
			['ड्h', 'ढ्'],
71
			['त्h', 'थ्'],
72
			['द्h', 'ध्'],
73
			['(f|प्h)', 'फ्'],
74
			['ब्h', 'भ्'],
75
			['ऋi', 'ॠ'], // Ri
76
			['ऋl', 'ॡ'], // Rl
77
78
			['स्h', 'श्'],
79
			['श्h', 'ष्'],
80
			['क़्h', 'ख़्'],
81
			['ज़्h', 'ऴ्'],
82
			['।\\\\', '॥'],
83
84
			['a', 'अ'],
85
			['b', 'ब्'],
86
			['c', 'च्'],
87
			['d', 'द्'],
88
			['e', 'ए'],
89
			['g', 'ग्'],
90
			['h', 'ह्'],
91
			['i', 'इ'],
92
			['j', 'ज्'],
93
			['k', 'क्'],
94
			['l', 'ल्'],
95
			['m', 'म्'],
96
			['n', 'न्'],
97
			['o', 'ओ'],
98
			['p', 'प्'],
99
			['q', 'क़्'],
100
			['r', 'र्'],
101
			['s', 'स्'],
102
			['t', 'त्'],
103
			['u', 'उ'],
104
			['(v|w)', 'व्'],
105
			['x', 'क्ष्'],
106
			['y', 'य्'],
107
			['(z|Z)', 'झ्'],
108
			['A', 'आ'],
109
			['B', 'ब्ब्'],
110
			['C', 'क्क्'],
111
			['D', 'ड्'],
112
			['G', 'ग्ग्'],
113
			['H', 'ः'],
114
			['I', 'ई'],
115
			['J', 'ज्ज्'],
116
			['K', 'क्क्'],
117
			['L', 'ळ्'],
118
			['M', 'ं'],
119
			['N', 'ण्'],
120
			['O', 'ऑ'],
121
			['P', 'प्प्'],
122
			['R', 'ऋ'],
123
			['S', 'श्'],
124
			['T', 'ट्'],
125
			['U', 'ऊ'],
126
			['(V|W)', 'व्व्'],
127
			['X', 'क्ष्'],
128
			['Y', 'य्य्'],
129
			['0', '०'],
130
			['1', '१'],
131
			['2', '२'],
132
			['3', '३'],
133
			['4', '४'],
134
			['5', '५'],
135
			['6', '६'],
136
			['7', '७'],
137
			['8', '८'],
138
			['9', '९'],
139
			['~', '्'],
140
			['\\\\.', '।'], // Danda
141
			['//', 'ऽ'],
142
			['\\`', '़'],
143
			['(\u200C)*_', '\u200c']]
144
	};
145
146
	$.ime.register( mrTransliteration );
147
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/my/my-xkb.js (+209 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var myXkb = {
5
		id: 'my-xkb',
6
		name: 'မြန်မာဘာသာ xkb',
7
		description: 'Myanmar xkb keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['`', '\u1050'],
15
			['\\~', '\u100e'],
16
			['1', '\u1041'],
17
			['\\!', '\u100D'],
18
			['2', '\u1042'],
19
			['\\@', '\u1052'],
20
			['3', '\u1043'],
21
			['\\#', '\u100B'],
22
			['4', '\u1044'],
23
			['\\$', '\u1053'],
24
			['5', '\u1045'],
25
			['\\%', '\u1054'],
26
			['6', '\u1046'],
27
			['\\^', '\u1055'],
28
			['7', '\u1047'],
29
			['\\&', '\u101B'],
30
			['8', '\u1048'],
31
			['\\*', '\u002A'],
32
			['9', '\u1049'],
33
			['\\(', '('],
34
			['0', '\u1040'],
35
			['\\)', ')'],
36
37
			['q', '\u1006'],
38
			['Q', '\u1008'],
39
			['w', '\u1010'],
40
			['W', '\u101D'],
41
			['e', '\u1014'],
42
			['E', '\u1023'],
43
			['r', '\u1019'],
44
			['R', '\u104E'],
45
			['t', '\u1021'],
46
			['T', '\u1024'],
47
			['y', '\u1015'],
48
			['Y', '\u104C'],
49
			['u', '\u1000'],
50
			['U', '\u1025'],
51
			['i', '\u1004'],
52
			['I', '\u104D'],
53
			['o', '\u101E'],
54
			['O', '\u103F'],
55
			['p', '\u1005'],
56
			['P', '\u100F'],
57
			['\\[', '\u101F'],
58
			['\\{', '\u1027'],
59
			['\\]', '\u1029'],
60
			['\\}', '\u102A'],
61
62
			['\\\\', '\u104F'],
63
			['\\|', '\u1051'],
64
65
			['a', '\u1031'],
66
			['A', '\u1017'],
67
			['s', '\u103B'],
68
			['S', '\u103A'],
69
			['d', '\u102D'],
70
			['D', '\u102E'],
71
			['f', '\u103A'],
72
			['F', '\u1039'],
73
			['g', '\u102B'],
74
			['G', '\u103D'],
75
			['h', '\u1037'],
76
			['H', '\u1036'],
77
			['j', '\u103C'],
78
			['J', '\u1032'],
79
			['k', '\u102F'],
80
			['K', '\u1012'],
81
			['l', '\u1030'],
82
			['L', '\u1013'],
83
84
			[';', '\u1038'],
85
			[':', '\u1002'],
86
87
			['\'', '\''],
88
			['\"', '"'],
89
90
			['z', '\u1016'],
91
			['Z', '\u1007'],
92
			['x', '\u1011'],
93
			['X', '\u100C'],
94
			['c', '\u1001'],
95
			['C', '\u1003'],
96
			['v', '\u101C'],
97
			['V', '\u1020'],
98
			['b', '\u1018'],
99
			['B', '\u101A'],
100
			['n', '\u100A'],
101
			['N', '\u1009'],
102
			['m', '\u102C'],
103
			['M', '\u1026'],
104
105
			[',', ','],
106
			['\\<', '\u104A'],
107
			['\\.', '.'],
108
			['\\>', '\u104B'],
109
			['/', '/'],
110
			['\\?', '?']
111
		],
112
		patterns_x: [
113
			['`', '`'],
114
			['\\~', '~'],
115
			['1', '1'],
116
			['\\!', '!'],
117
			['2', '2'],
118
			['\\@', '@'],
119
			['3', '3'],
120
			['\\#', '#'],
121
			['4', '4'],
122
			['\\$', '$'],
123
			['5', '5'],
124
			['\\%', '%'],
125
			['6', '6'],
126
			['\\^', '^'],
127
			['7', '7'],
128
			['\\&', '&'],
129
			['8', '8'],
130
			['\\*', '*'],
131
			['9', '9'],
132
			['\\(', '('],
133
			['0', '0'],
134
			['\\)', ')'],
135
			['\\-', '-'],
136
			['\\_', '_'],
137
			['\\=', '='],
138
			['\\+', '+'],
139
140
			['q', 'q'],
141
			['Q', 'Q'],
142
			['w', 'w'],
143
			['W', 'W'],
144
			['e', 'e'],
145
			['E', 'E'],
146
			['r', 'r'],
147
			['R', 'R'],
148
			['t', 't'],
149
			['T', 'T'],
150
			['y', 'y'],
151
			['Y', 'Y'],
152
			['u', 'u'],
153
			['U', 'U'],
154
			['i', 'i'],
155
			['I', 'I'],
156
			['o', 'o'],
157
			['O', 'O'],
158
			['p', 'p'],
159
			['P', 'P'],
160
			['a', 'a'],
161
			['S', 'S'],
162
			['s', 's'],
163
			['S', 'S'],
164
			['d', 'd'],
165
			['D', 'D'],
166
			['f', 'f'],
167
			['F', 'F'],
168
			['g', 'g'],
169
			['G', 'G'],
170
			['h', 'h'],
171
			['H', 'H'],
172
			['j', 'j'],
173
			['J', 'J'],
174
			['k', 'k'],
175
			['K', 'K'],
176
			['l', 'l'],
177
			['L', 'L'],
178
			['z', 'z'],
179
			['Z', 'Z'],
180
			['x', 'x'],
181
			['X', 'X'],
182
			['c', 'c'],
183
			['C', 'C'],
184
			['v', 'v'],
185
			['V', 'V'],
186
			['b', 'b'],
187
			['B', 'B'],
188
			['n', 'n'],
189
			['N', 'N'],
190
			['m', 'm'],
191
			['M', 'M'],
192
			[',', ','],
193
			['\\<', '<'],
194
			['\\.', '.'],
195
			['\\>', '>'],
196
			[';', ';'],
197
			[':', ':'],
198
			['\'', '\''],
199
			['"', '"'],
200
			['\\[', '['],
201
			['\\{', '{'],
202
			['\\]', ']'],
203
			['\\}', '}'],
204
			['\\\\', '\\'],
205
			['\\|', '|']]
206
	};
207
208
	$.ime.register( myXkb );
209
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/nb/nb-normforms.js (+50 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'nb-normforms',
6
		name: 'Norsk normal transliterasjon',
7
		description: 'Norwegian input method with most common form transliterated',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/bokmaal-norwegian.pdf',
10
		//URL: 'http://www.evertype.com/alphabets/nynorsk-norwegian.pdf',
11
		author: 'John Erling Blad',
12
		license: 'GPLv3',
13
		version: '1.0',
14
		contextLength: 1,
15
		maxKeyLength: 3,
16
		patterns: [
17
			// The most common transliterations
18
			[ 'aa', 'å' ],
19
			[ 'AA', 'Å' ],
20
			[ 'Aa', 'Å' ],
21
			[ 'ae', 'æ' ],
22
			[ 'AE', 'Æ' ],
23
			[ 'Ae', 'Æ' ],
24
			[ 'oe', 'ø' ],
25
			[ 'OE', 'Ø' ],
26
			[ 'Oe', 'Ø' ],
27
			// The previous as negated transliterations, mostly for names
28
			[ 'åa', 'a', 'aa' ],
29
			[ 'ÅA', 'A', 'AA' ],
30
			[ 'Åa', 'A', 'Aa' ],
31
			[ 'åA', 'a', 'aA' ],
32
			[ 'æe', 'e', 'ae' ],
33
			[ 'ÆE', 'E', 'AE' ],
34
			[ 'Æe', 'E', 'Ae' ],
35
			[ 'æE', 'e', 'aE' ],
36
			[ 'øe', 'e', 'oe' ],
37
			[ 'ØE', 'E', 'OE' ],
38
			[ 'Øe', 'E', 'Oe' ], // this fails for some names like "Øen"
39
			[ 'øE', 'e', 'oE' ]
40
			// historically similar forms
41
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
42
			// it is not generally acceptable to use this transliteration. To
43
			// handle those situations we need some oposite forms.
44
			// There is a similar character "Å" for the length unit Angstrom,
45
			// but this is not the upper case letter Å.
46
		]
47
	};
48
49
	$.ime.register( defs );
50
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/nb/nb-tildeforms.js (+35 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'nb-tildeforms',
6
		name: 'Norsk tildemerket transliterasjon',
7
		description: 'Norwegian input method with initial tilde triggering transliteration',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/bokmaal-norwegian.pdf',
10
		//URL: 'http://www.evertype.com/alphabets/nynorsk-norwegian.pdf',
11
		author: 'John Erling Blad',
12
		license: 'GPLv3',
13
		version: '1.0',
14
		//contextLength: 1,
15
		maxKeyLength: 3,
16
		patterns: [
17
			// Uses "~" as "approximatly similar to"
18
			[ '°a', 'å' ], // The simple ~a does not work as there is a "ã"
19
			[ '°A', 'Å' ], // The simple ~A does not work as there is a "Ã"
20
			[ '~ae', 'æ' ], // The simple ~a does not work as there is a "ã"
21
			[ '~AE', 'Æ' ], // The simple ~A does not work as there is a "Ã"
22
			[ '~oe', 'ø' ], // The simple ~o does not work as there is a "õ"
23
			[ '~OE', 'Ø' ], // The simple ~O does not work as there is a "Õ"
24
			[ '~aa', 'å' ], // The simple ~a does not work as there is a "ã"
25
			[ '~AA', 'Å' ] // The simple ~A does not work as there is a "Ã"
26
			// historically similar forms
27
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
28
			// it is not generally acceptable to use this transliteration.
29
			// There is a similar character "Å" for the length unit Angstrom,
30
			// but this is not the upper case letter Å.
31
		]
32
	};
33
34
	$.ime.register( defs );
35
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-inscript.js (+113 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var neInScript = {
5
		id: 'ne-inscript',
6
		name: 'इनस्क्रिप्ट',
7
		description: 'InScript keyboard for Nepali script',
8
		date: '2012-10-14',
9
		author: 'Bhawani Gautam',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['X', 'ँ'],
14
			['x', 'ं'],
15
			['_', 'ः'],
16
			['D', 'अ'],
17
			['E', 'आ'],
18
			['F', 'इ'],
19
			['R', 'ई'],
20
			['G', 'उ'],
21
			['T', 'ऊ'],
22
			['\\+', 'ृ'],
23
			['S', 'ए'],
24
			['W', 'ऐ'],
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
			['J', 'द्य'],
55
			['n', 'ल'],
56
			['N', 'ळ'],
57
			['b', 'व'],
58
			['M', 'श'],
59
			['\\<', '','ष'],
60
			['m', 'स'],
61
			['u', 'ह'],
62
			['\\]', '','़'],
63
			['e', 'ा'],
64
			['f', 'ि'],
65
			['r', 'ी'],
66
			['g', 'ु'],
67
			['t', 'ू'],
68
			['\\=', '','ृ'],
69
			['\\\\', 'ॄ'],
70
			['s', 'े'],
71
			['w', 'ै'],
72
			['a', 'ो'],
73
			['q', 'ौ'],
74
			['d', '्'],
75
			['\\|', 'ॠ'],
76
			['/', 'य'],
77
			['\\>', '।'],
78
			['0', '','०'],
79
			['1', '','१'],
80
			['2', '२'],
81
			['3', '३'],
82
			['4', '४'],
83
			['5', '५'],
84
			['6', '६'],
85
			['7', '७'],
86
			['8', '८'],
87
			['9', '९'],
88
			['\\@', 'ॅ'],
89
			['\\#', '','्र'],
90
			['\\$', '','र्'],
91
			['\\%', '','ज्ञ'],
92
			['\\^', '','त्र'],
93
			['\\&', 'क्ष'],
94
			['\\*', 'श्र'],
95
			['\\(', '\u200D'],
96
			['\\)', '\u200C'] ],
97
98
		patterns_x: [
99
			['F', 'ऌ'],
100
			['\\>', '','ऽ'],
101
			['X', 'ॐ'],
102
			['e', '\u0951'],
103
			['d', '\u0952'],
104
			['R', 'ॡ'],
105
			['f', 'ॢ'],
106
			['r', 'ॣ'],
107
			['\\.', '॥'],
108
			['\\@', '','ॅ'],
109
			['4', '₹']]
110
	};
111
112
	$.ime.register( neInScript );
113
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-inscript2.js (+116 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var neInScript2 = {
5
		id: 'ne-inscript2',
6
		name: 'नेपाळी इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Nepali language',
8
		date: '2012-11-06',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['2', '२'],
15
			['\\#', '्र'],
16
			['3', '३'],
17
			['\\$', 'र्'],
18
			['4', '४'],
19
			['5', '५'],
20
			['6', '६'],
21
			['7', '७'],
22
			['8', '८'],
23
			['\\(', '('],
24
			['9', '९'],
25
			['\\]', ']'],
26
			['0', '०'],
27
			['\\_', 'ः'],
28
			['\\-', '-'],
29
			['\\+', 'ऋ'],
30
			['\\=', 'ृ'],
31
			['Q', 'औ'],
32
			['q', 'ौ'],
33
			['W', 'ऐ'],
34
			['w', 'ै'],
35
			['E', 'आ'],
36
			['e', 'ा'],
37
			['R', 'ई'],
38
			['r', 'ी'],
39
			['T', 'ऊ'],
40
			['t', 'ू'],
41
			['Y', 'भ'],
42
			['y', 'ब'],
43
			['U', 'ङ'],
44
			['u', 'ह'],
45
			['I', 'घ'],
46
			['i', 'ग'],
47
			['O', 'ध'],
48
			['o', 'द'],
49
			['P', 'झ'],
50
			['p', 'ज'],
51
			['\\{', 'ढ'],
52
			['\\[', 'ड'],
53
			['\\}', 'ञ'],
54
			['\\]', '़'],
55
			['A', 'ओ'],
56
			['a', 'ो'],
57
			['S', 'ए'],
58
			['s', 'े'],
59
			['D', 'अ'],
60
			['d', '्'],
61
			['F', 'इ'],
62
			['f', 'ि'],
63
			['G', 'उ'],
64
			['g', 'ु'],
65
			['H', 'फ'],
66
			['h', 'प'],
67
			['J', 'ऱ'],
68
			['j', 'र'],
69
			['K', 'ख'],
70
			['k', 'क'],
71
			['L', 'थ'],
72
			['l', 'त'],
73
			[':', 'छ'],
74
			[';', 'च'],
75
			['"', 'ठ'],
76
			['\\\'', 'ट'],
77
			['X', 'ँ'],
78
			['x', 'ं'],
79
			['C', 'ण'],
80
			['c', 'म'],
81
			['v', 'न'],
82
			['b', 'व'],
83
			['N', 'ळ'],
84
			['n', 'ल'],
85
			['M', 'श'],
86
			['m', 'स'],
87
			['\\<', 'ष'],
88
			[',', ','],
89
			['\\>', '।'],
90
			['\\.', '.'],
91
			['/', 'य'],
92
			['\\%', 'ज्ञ'],
93
			['\\^', 'त्र'],
94
			['\\&', 'क्ष'],
95
			['\\*', 'श्र']],
96
		patterns_x: [
97
			['1', '\u200d'],
98
			['2', '\u200c'],
99
			['4', '₹'],
100
			['\\+', 'ॠ'],
101
			['\\=', 'ॄ'],
102
			['e', '॑'],
103
			['R', 'ॡ'],
104
			['r', 'ॣ'],
105
			['d', '॒'],
106
			['F', 'ऌ'],
107
			['f', 'ॢ'],
108
			['X', 'ॐ'],
109
			['x', 'ॱ'],
110
			[',', '॰'],
111
			['\\>', 'ऽ'],
112
			['\\.', '॥']]
113
	};
114
115
	$.ime.register( neInScript2 );
116
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-rom.js (+106 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var neRom = {
5
		id: 'ne-rom',
6
		name: 'Nepali Romanized',
7
		description: 'Nepali Romanized keyboard layout',
8
		date: '2013-02-12',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\!', '!'],
14
			['\"', '"'],
15
			['\\#', '#'],
16
			['\\$', 'रु'],
17
			['\'', '\''],
18
			['\\(', '('],
19
			['\\)', ')'],
20
			['\\+', '+'],
21
			[',', ','],
22
			['\\-', '-'],
23
			['\\.', '।'],
24
			['/', '्'],
25
			['0', '०'],
26
			['1', '१'],
27
			['2', '२'],
28
			['3', '३'],
29
			['4', '४'],
30
			['5', '५'],
31
			['6', '६'],
32
			['7', '७'],
33
			['8', '८'],
34
			['9', '९'],
35
			[':', ':'],
36
			[';', ';'],
37
			['\\<', 'ङ'],
38
			['\\=', '='],
39
			['\\>', '॥'],
40
			['\\?', '?'],
41
			['\\@', '@'],
42
			['A', 'आ'],
43
			['B', 'भ'],
44
			['C', 'च'],
45
			['D', 'ध'],
46
			['E', 'ै'],
47
			['F', 'ऊ'],
48
			['G', 'घ'],
49
			['H', 'अ'],
50
			['I', 'ी'],
51
			['J', 'झ'],
52
			['K', 'ख'],
53
			['L', 'ळ'],
54
			['M', 'ं'],
55
			['N', 'ण'],
56
			['O', 'ओ'],
57
			['P', 'फ'],
58
			['Q', 'ठ'],
59
			['R', 'ृ'],
60
			['S', 'श'],
61
			['T', 'थ'],
62
			['U', 'ू'],
63
			['V', 'ँ'],
64
			['W', 'औ'],
65
			['X', 'ढ'],
66
			['Y', 'ञ'],
67
			['Z', 'ऋ'],
68
			['\\[', 'इ'],
69
			['\\\\', 'ॐ'],
70
			['\\]', 'ए'],
71
			['\\_', '_'],
72
			['`', '़'],
73
			['a', 'ा'],
74
			['b', 'ब'],
75
			['c', 'छ'],
76
			['d', 'द'],
77
			['e', 'े'],
78
			['f', 'उ'],
79
			['g', 'ग'],
80
			['h', 'ह'],
81
			['i', 'ि'],
82
			['j', 'ज'],
83
			['k', 'क'],
84
			['l', 'ल'],
85
			['m', 'म'],
86
			['n', 'न'],
87
			['o', 'ो'],
88
			['p', 'प'],
89
			['q', 'ट'],
90
			['r', 'र'],
91
			['s', 'स'],
92
			['t', 'त'],
93
			['u', 'ु'],
94
			['v', 'व'],
95
			['w', 'ौ'],
96
			['x', 'ड'],
97
			['y', 'य'],
98
			['z', 'ष'],
99
			['\\{', 'ई'],
100
			['\\|', 'ः'],
101
			['\\}', 'ऐ'],
102
			['\\~', 'ऽ']]
103
	};
104
105
	$.ime.register( neRom );
106
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-trad.js (+106 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var neTrad = {
5
		id: 'ne-trad',
6
		name: 'Nepali Traditional',
7
		description: 'Nepali Traditional keyboard layout',
8
		date: '2013-02-12',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\"', 'ू'],
14
			['\\#', 'घ'],
15
			['\'', 'ु'],
16
			['\\(', 'ढ'],
17
			['\\)', 'ण'],
18
			['\\+', 'ं'],
19
			[',', 'ऽ'],
20
			['\\-', 'औ'],
21
			['\\.', '।'],
22
			['/', 'र'],
23
			['0', '०'],
24
			['1', '१'],
25
			['2', '२'],
26
			['3', '३'],
27
			['4', '४'],
28
			['5', '५'],
29
			['6', '६'],
30
			['7', '७'],
31
			['8', '८'],
32
			['9', '९'],
33
			[';', 'स'],
34
			['\\<', 'ङ'],
35
			['\\=', '='],
36
			['\\?', 'रु'],
37
			['\\@', 'ई'],
38
			['A', 'आ'],
39
			['B', 'ौ'],
40
			['C', 'ऋ'],
41
			['E', 'ऐ'],
42
			['F', 'ँ'],
43
			['H', 'झ'],
44
			['J', 'ो'],
45
			['K', 'फ'],
46
			['L', 'ी'],
47
			['O', 'इ'],
48
			['P', 'ए'],
49
			['U', 'ऊ'],
50
			['V', 'ॐ'],
51
			['\\\\', '्'],
52
			['\\]', 'े'],
53
			['\\_', 'ओ'],
54
			['`', 'ञ'],
55
			['a', 'ब'],
56
			['b', 'द'],
57
			['c', 'अ'],
58
			['d', 'म'],
59
			['e', 'भ'],
60
			['f', 'ा'],
61
			['g', 'न'],
62
			['h', 'ज'],
63
			['i', 'ष'],
64
			['j', 'व'],
65
			['k', 'प'],
66
			['l', 'ि'],
67
			['m', 'ः'],
68
			['n', 'ल'],
69
			['o', 'य'],
70
			['p', 'उ'],
71
			['r', 'च'],
72
			['s', 'क'],
73
			['t', 'त'],
74
			['u', 'ग'],
75
			['v', 'ख'],
76
			['w', 'ध'],
77
			['x', 'ह'],
78
			['y', 'थ'],
79
			['z', 'श'],
80
			['\\{', 'ृ'],
81
			['\\|', '|'],
82
			['\\}', 'ै'],
83
			['\\~', '॥'],
84
			['\\!', 'ज्ञ'],
85
			['\\$', 'द्ध'],
86
			[':', 'ट्ठ'],
87
			['\\>', 'श्र'],
88
			['D', 'ङ्ग'],
89
			['G', 'द्द'],
90
			['I', 'क्ष'],
91
			['M', 'ड्ड'],
92
			['N', 'द्य'],
93
			['Q', 'त्त'],
94
			['R', 'द्ब'],
95
			['S', 'ङ्क'],
96
			['T', 'ट्ट'],
97
			['W', 'ड्ढ'],
98
			['X', 'ह्य'],
99
			['Y', 'ठ्ठ'],
100
			['Z', 'क्क'],
101
			['\\[', 'र्'],
102
			['q', 'त्र']]
103
	};
104
105
	$.ime.register( neTrad );
106
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-transliteration.js (+165 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var neTransliteration = {
5
		id: 'ne-transliteration',
6
		name: 'लिप्यंतरण',
7
		description: 'Nepali transliteration',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V ([[user:Junaidpv]]) and Bhawani Gautam ([[user:Bhawani Gautam]])',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 1,
15
		patterns: [
16
			['क्h','c','च्'],
17
			['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
18
19
			['([क-ह]़?)्a','$1'],
20
			['([क-ह]़?)्A','$1ा'],
21
			['([क-ह]़?)a','$1ा'],
22
			['([क-ह]़?)्i','$1ि'],
23
			['([क-ह]़?)(्I|िi|ेe)','$1ी'],
24
			['([क-ह]़?)्u','$1ु'],
25
			['([क-ह]़?)(ुu|्U|ोo)','$1ू'],
26
			['([क-ह]़?)्R','$1ृ'],
27
			['([क-ह]़?)ृR','$1ॄ'],
28
			['([क-ह]़?)्ळ्l','$1ॢ'],
29
			['([क-ह]़?)ॢl','$1ॣ'],
30
			['([क-ह]़?)ॆ\\^','$1ॅ'],
31
			['([क-ह]़?)्e','$1े'],
32
			['([क-ह]़?)्E','$1े'],
33
			['([क-ह]़?)ॊ\\^','$1ॉ'],
34
			['([क-ह]़?)i','$1ै'],
35
			['([क-ह]़?)्o','$1ो'],
36
			['([क-ह]़?)्O','$1ो'],
37
			['([क-ह]़?)u','$1ौ'],
38
			['([क-ह]़?)ृa','$1्ऱ'],
39
			['([क-ह]़?)ृA','$1्ऱा'],
40
			['([क-ह]़?)ृi','$1्ऱि'],
41
			['([क-ह]़?)ृI','$1्ऱी'],
42
			['([क-ह]़?)ृu','$1्ऱु'],
43
			['([क-ह]़?)ृU','$1्ऱू'],
44
			['([क-ह]़?)ृ\\^','$1्ऱॅ'],
45
			['([क-ह]़?)ृe','$1्ऱे'],
46
			['([क-ह]़?)ृE','$1्ऱे'],
47
			['([क-ह]़?)ृo','$1्ऱो'],
48
			['([क-ह]़?)ृO','$1्ऱो'],
49
			['([क-ह]़?)ृ\\~','$1्ऱ्'],
50
			['([क-ह])्\\`','$1़्'],
51
52
			['अa','आ'],
53
			['(ओo|उu)','ऊ'],
54
			['ऎ\\^','ए'],
55
			['अi','ऐ'],
56
			['अ\\^','अ'],
57
			['(इi|एe)','ई'],
58
			['ऒ\\^','ओ'],
59
			['अu','औ'],
60
			['र्र्r','\u0930\u094D\u200D'],
61
			['ड़्h','ढ्'],
62
			['ऋR','ॠ'],
63
			['ळ्l','ऌ'],
64
			['ऌl','ॡ'],
65
			['ं\\^','ँ'],
66
			['ंM','ँ'],
67
			['ओM','ॐ'],
68
			['ड्D','ड्'],
69
			['क्h','ख्'],
70
			['ग्h','घ्'],
71
			['G','ङ्'],
72
			['च्h','छ्'],
73
			['ज्h','झ्'],
74
			['न्j','ञ्'],
75
			['ट्h','ठ्'],
76
			['ड्h','ढ्'],
77
			['त्h','थ्'],
78
			['द्h','ध्'],
79
			['प्h','फ्'],
80
			['ब्h','भ्'],
81
			['ऋa','र'],
82
			['ऋA','रा'],
83
			['ऋi','रि'],
84
			['ऋI','री'],
85
			['ऋu','रु'],
86
			['ऋU','रू'],
87
			['ऋ\\^','ऋ'],
88
			['ऋe','रे'],
89
			['ऋE','रे'],
90
			['ऋo','रो'],
91
			['ऋO','रो'],
92
			['ऋ\\~','र्'],
93
94
			['स्h','श्'],
95
			['श्h','ष्'],
96
			['क़्h','ख्'],
97
			['ज़्h','ऴ्'],
98
			['।\\.','॥'],
99
100
			['a','अ'],
101
			['b','ब्'],
102
			['c','क्'],
103
			['d','द्'],
104
			['e','ए'],
105
			['(f|F)','फ्'],
106
			['g','ग्'],
107
			['h','ह्'],
108
			['i','इ'],
109
			['j','ज्'],
110
			['k','क्'],
111
			['l','ल्'],
112
			['m','म्'],
113
			['n','न्'],
114
			['o','ओ'],
115
			['p','प्'],
116
			['q','क़्'],
117
			['r','र्'],
118
			['s','स्'],
119
			['t','त्'],
120
			['u','उ'],
121
			['v','भ्'],
122
			['w','व्'],
123
			['x','क्ष्'],
124
			['y','य्'],
125
			['(z|Z)','ज़्'],
126
			['A','आ'],
127
			['B','ब्ब्'],
128
			['C','क्क्'],
129
			['D','ड्'],
130
			['E','ए'],
131
			['H','ः'],
132
			['I','ई'],
133
			['J','ज्ज्'],
134
			['K','क्क्'],
135
			['L','ळ्'],
136
			['M','ं'],
137
			['N','ण्'],
138
			['O','ओ'],
139
			['P','प्प्'],
140
			['Q','अ'],
141
			['R','ऋ'],
142
			['S','श्'],
143
			['T','ट्'],
144
			['U','ऊ'],
145
			['V','झ्'],
146
			['W','औ'],
147
			['X','क्ष्'],
148
			['Y','य्य्'],
149
			['0','०'],
150
			['1','१'],
151
			['2','२'],
152
			['3','३'],
153
			['4','४'],
154
			['5','५'],
155
			['6','६'],
156
			['7','७'],
157
			['8','८'],
158
			['9','९'],
159
			['\\.','।'],
160
			['//','ऽ'],
161
			['\\`','्']]
162
	};
163
164
	$.ime.register( neTransliteration );
165
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-inscript.js (+106 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var orInScript = {
5
		id: 'or-inscript',
6
		name: 'ଇନସ୍କ୍ରିପ୍ଟ',
7
		description: 'InScript keyboard for Odia script',
8
		date: '2012-10-14',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['X', '\u0B01'],
14
			['x', '\u0B02'],
15
			['_', '\u0B03'],
16
			['D', '\u0B05'],
17
			['E', '\u0B06'],
18
			['F', '\u0B07'],
19
			['R', '\u0B08'],
20
			['G', '\u0B09'],
21
			['T', '\u0B0A'],
22
			['\\+', '\u0B0B'],
23
			['S', '\u0B0F'],
24
			['W', '\u0B10'],
25
			['A', '\u0B13'],
26
			['Q', '\u0B14'],
27
			['k', '\u0B15'],
28
			['K', '\u0B16'],
29
			['i', '\u0B17'],
30
			['I', '\u0B18'],
31
			['U', '\u0B19'],
32
			[';', '\u0B1A'],
33
			['\\:', '\u0B1B'],
34
			['p', '\u0B1C'],
35
			['P', '\u0B1D'],
36
			['\\}', '\u0B1E'],
37
			['\'', '\u0B1F'],
38
			['"', '\u0B20'],
39
			['\\[', '\u0B21'],
40
			['\\{', '\u0B22'],
41
			['C', '\u0B23'],
42
			['l', '\u0B24'],
43
			['L', '\u0B25'],
44
			['o', '\u0B26'],
45
			['O', '\u0B27'],
46
			['v', '\u0B28'],
47
			['h', '\u0B2A'],
48
			['H', '\u0B2B'],
49
			['y', '\u0B2C'],
50
			['Y', '\u0B2D'],
51
			['c', '\u0B2E'],
52
			['\\?', '\u0B2F'],
53
			['j', '\u0B30'],
54
			['n', '\u0B32'],
55
			['N', '\u0B33'],
56
			['M', '\u0B36'],
57
			['\\<', '\u0B37'],
58
			['m', '\u0B38'],
59
			['u', '\u0B39'],
60
			['\\]', '\u0B3C'],
61
			['e', '\u0B3E'],
62
			['f', '\u0B3F'],
63
			['r', '\u0B40'],
64
			['g', '\u0B41'],
65
			['t', '\u0B42'],
66
			['\\=', '\u0B43'],
67
			['s', '\u0B47'],
68
			['w', '\u0B48'],
69
			['a', '\u0B4B'],
70
			['q', '\u0B4C'],
71
			['d', '\u0B4D'],
72
			['/', '\u0B5F'],
73
			['\\>', '\u0B64'],
74
			['0', '\u0B66'],
75
			['1', '\u0B67'],
76
			['2', '\u0B68'],
77
			['3', '\u0B69'],
78
			['4', '\u0B6A'],
79
			['5', '\u0B6B'],
80
			['6', '\u0B6C'],
81
			['7', '\u0B6D'],
82
			['8', '\u0B6E'],
83
			['9', '\u0B6F'],
84
			['b', '\u0B71'],
85
			['\\(', '\u200D'],
86
			['\\)', '\u200C']],
87
88
		patterns_x: [
89
			['F', '\u0B0C'],
90
			['b', '\u0B35'],
91
			['\\>', '\u0B3D'],
92
			['\\=', '\u0B44'],
93
			['\\[', '\u0B5C'],
94
			['\\{', '\u0B5D'],
95
			['\\+', '\u0B60'],
96
			['R', '\u0B61'],
97
			['f', '\u0B62'],
98
			['r', '\u0B63'],
99
			['\\.', '\u0B65'],
100
			['x', '\u0B70'],
101
			['\\$', '\u20B9']]
102
103
	};
104
105
	$.ime.register( orInScript );
106
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-inscript2.js (+116 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var orInScript2 = {
5
		id: 'or-inscript2',
6
		name: 'ଇନସ୍କ୍ରିପ୍ଟ2',
7
		description: 'Enhanced InScript keyboard for Odia language',
8
		date: '2013-02-09',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '୧'],
14
			['2', '୨'],
15
			['\\#', '୍ର'],
16
			['3', '୩'],
17
			['\\$', 'ର୍'],
18
			['4', '୪'],
19
			['5', '୫'],
20
			['6', '୬'],
21
			['7', '୭'],
22
			['8', '୮'],
23
			['\\(', '('],
24
			['9', '୯'],
25
			['\\)', ')'],
26
			['0', '୦'],
27
			['\\_', 'ଃ'],
28
			['\\-', '-'],
29
			['\\+', 'ଋ'],
30
			['\\=', 'ୃ'],
31
			['Q', 'ଔ'],
32
			['q', 'ୌ'],
33
			['W', 'ଐ'],
34
			['w', 'ୈ'],
35
			['E', 'ଆ'],
36
			['e', 'ା'],
37
			['R', 'ଈ'],
38
			['r', 'ୀ'],
39
			['T', 'ଊ'],
40
			['t', 'ୂ'],
41
			['Y', 'ଭ'],
42
			['y', 'ବ'],
43
			['U', 'ଙ'],
44
			['u', 'ହ'],
45
			['I', 'ଘ'],
46
			['i', 'ଗ'],
47
			['O', 'ଧ'],
48
			['o', 'ଦ'],
49
			['P', 'ଝ'],
50
			['p', 'ଜ'],
51
			['\\{', 'ଢ'],
52
			['\\[', 'ଡ'],
53
			['\\}', 'ଞ'],
54
			['\\]', '଼'],
55
			['A', 'ଓ'],
56
			['a', 'ୋ'],
57
			['S', 'ଏ'],
58
			['s', 'େ'],
59
			['D', 'ଅ'],
60
			['d', '୍'],
61
			['F', 'ଇ'],
62
			['f', 'ି'],
63
			['G', 'ଉ'],
64
			['g', 'ୁ'],
65
			['H', 'ଫ'],
66
			['h', 'ପ'],
67
			['j', 'ର'],
68
			['K', 'ଖ'],
69
			['k', 'କ'],
70
			['L', 'ଥ'],
71
			['l', 'ତ'],
72
			[':', 'ଛ'],
73
			[';', 'ଚ'],
74
			['\"', 'ଠ'],
75
			['\'', 'ଟ'],
76
			['X', 'ଁ'],
77
			['x', 'ଂ'],
78
			['C', 'ଣ'],
79
			['c', 'ମ'],
80
			['v', 'ନ'],
81
			['b', 'ୱ'],
82
			['N', 'ଳ'],
83
			['n', 'ଲ'],
84
			['M', 'ଶ'],
85
			['m', 'ସ'],
86
			['\\<', 'ଷ'],
87
			[',', ','],
88
			['\\>', '।'],
89
			['\\.', '.'],
90
			['\\?', 'ଯ'],
91
			['/', 'ୟ'],
92
			['\\%', 'ଜ୍ଞ'],
93
			['\\^', 'ତ୍ର'],
94
			['\\&', 'କ୍ଷ'],
95
			['\\*', 'ଶ୍ର']
96
		],
97
		patterns_x: [
98
			['1', '\u200d'],
99
			['2', '\u200c'],
100
			['4', '₹'],
101
			['\\+', 'ୠ'],
102
			['\\=', 'ୄ'],
103
			['R', 'ୡ'],
104
			['r', 'ୣ'],
105
			['\\{', 'ଢ଼'],
106
			['\\[', 'ଡ଼'],
107
			['F', 'ଌ'],
108
			['f', 'ୢ'],
109
			['b', 'ଵ'],
110
			['\\>', 'ଽ'],
111
			['\\.', '॥'],
112
			['x', '୰']]
113
	};
114
115
	$.ime.register( orInScript2 );
116
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-lekhani.js (+175 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var orLekhani = {
5
		id: 'or-lekhani',
6
		name: 'ଫୋନେଟିକ',
7
		description: 'Odia Lekhani phonetic input method',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V and Subhashish Panigrahi',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
17
18
			['([(କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍ଜ])a', '$1ା'],
19
			['([କ-ଳଲନ୍ଧଥଡ଼ଢ଼ହୟୱରକ୍ଷଶସଷଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍ଜ])i', '$1\u0b3f'],
20
			['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])I', '$1ୀ'],
21
			['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])u', '$1\u0b41'],
22
			['([କ-ହୟୱ])(U|\u0b41u)', '$1\u0b42'],
23
			['([କ-ହୟୱ])R', '$1\u0b43'],
24
			['([କ-ହୟୱ])\u0b43R', '$1\u0b44'],
25
			['([କ-ହୟୱ])୍ଳ୍l', '$1ୢ'],
26
			['([କ-ହୟୱ])ୢl', '$1ୣ'],
27
			['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])e', '$1େ'],
28
			['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])o', '$1ୋ'],
29
			['([କ-ହୟୱଡ଼ଢ଼ଙ୍କଙ୍ଖଙ୍ଗଙ୍ଘଞ୍ଚଞ୍ଛଞ୍ଝଣ୍ଟଣ୍ଠଣ୍ଡଣ୍ଢନ୍ତନ୍ଥନ୍ଦନ୍ଧମ୍ପମ୍ଫମ୍ବମ୍ଭଞ୍])(ାu|ୋu)', '$1ୌ'],
30
			['([କ-ହୟୱ])E', '$1\u0B48'],
31
			['([କ-ହୟୱ])(w|v)', '$1୍ୱ'],
32
			['([କ-ହୟୱ])~', '$1\u200C'],
33
34
			['([କ-ହୟୱ])y', '$1୍ୟ'], // <consonant>y
35
36
			['z', '୍'], // halanta
37
			['\\.', '।'], //purnacheda
38
			['ଅa', 'ଆ'],
39
			['ଏe', 'ଐ'],
40
			['(ଅu|ଓo|ଓO)', 'ଔ'],
41
			['ଋR', 'ୠ'], // RR
42
			['ଳl', 'ଌ'], // Ll
43
			['ଌl', 'ୡ'], // Lll
44
			['ଞ୍ଚh', 'ଞ୍ଛ'], // nch
45
			['ଞ୍ଜh', 'ଞ୍ଝ'], // njh
46
			['ଙ୍କh', 'ଙ୍ଖ'], // nkh
47
			['ଙ୍ଗh', 'ଙ୍ଘ'], // ngh
48
			['ହm', 'ହ୍ମ'], // mh
49
			['ହn', 'ହ୍ନ'], // nh
50
			['ମ୍ବh', 'ମ୍ଭ'], // mbh or nbh
51
			['ଣ୍ଡai', 'ଣ୍ଡାଇ'], // NDai
52
			['ଜ୍ଜh', 'ଜ୍ଝ'], // jjh
53
			['ଚ୍ଚh', 'ଚ୍ଛ'], // cch
54
55
			['ଣG', 'ଙ'], // NG
56
			['ଣg', 'ଞ'], // Ng
57
			['କh', 'ଖ'], // kh
58
			['ଗh', 'ଘ'], // gh
59
			['ନc', 'ଞ୍ଚ'], // nc
60
			['ନg', 'ଙ୍ଗ'], // ng
61
			['ଚh', 'ଛ'], // ch
62
			['C', 'ଛ'], // ch
63
			['ଜh', 'ଝ'], // jh
64
			['ନj', 'ଞ୍ଜ'], // nj
65
			['ନk', 'ଙ୍କ'], // nk
66
			['ନd', 'ନ୍ଦ'], // nd
67
			['ନD|ଣD', 'ଣ୍ଡ'], // nd
68
			['ଣDh', 'ଣ୍ଢ'], //ndh
69
			['ନdh', 'ନ୍ଧ'], // ndht
70
			['ଷT', '$1୍ଟ'], // ST
71
			['ଟh', 'ଠ'], // Th
72
			['ଡh', 'ଢ'], // Dh
73
			['ତh', 'ଥ'], // th
74
			['ଦh', 'ଧ'], // dh
75
			['(f|ପh|P)', 'ଫ'], // ph or f
76
			['ବh', 'ଭ'], // bh
77
			['ସh', 'ଷ'], // sh
78
			['ମb', 'ମ୍ବ'], // mb or nb
79
			['ଣT', 'ଣ୍ଟ'], // NT
80
			['ଣTh', 'ଣ୍ଠ'], // NTh
81
			['(ଷ|ମ)p', '$1୍ପ'], // sp/shp
82
			['shp', 'ଷ୍ପ'], // sp
83
			['ଂM', 'ଁ'], // MM
84
85
			['କk', 'କ୍କ'], // kk
86
			['ଗg', 'ଗ୍ଗ'], // gg
87
			['ଚc', 'ଚ୍ଚ'], // cc
88
			['ଜj', 'ଜ୍ଜ'], // jj
89
			['ଦd', 'ଦ୍ଦ'], // dd
90
			['ଟT', 'ଟ୍ଟ'], // TT
91
			['ଡD', 'ଡ୍ଡ'], // DD
92
			['ତt', 'ତ୍ତ'], // tt
93
			['ଲl', 'ଲ୍ଲ'], // ll
94
			['ପp', 'ପ୍ପ'], //pp
95
			[ '_', '\u200c' ],
96
97
			['ଆ\\\\', '\u0B3E'], // aa sign
98
			['ଇ\\\\', '\u0B3F'], // i sign
99
			['ଈ\\\\', '\u0B40'], // I sign
100
			['ଉ\\\\', '\u0B41'], // u sign
101
			['ଉ\\\\', '\u0B42'], // U sign
102
			['ଋ\\\\', '\u0B43'], // R sign
103
			['ୠ\\\\', '\u0B44'], // RR sign
104
			['ଌ\\\\', '\u0B62'], // L sign
105
			['ୡ\\\\', '\u0B63'], // LL sign
106
			['ଏ\\\\', '\u0B47'], // e sign
107
			['ଐ\\\\', '\u0B48'], // ai sign
108
			['ଓ\\\\', '\u0B4B'], // o sign
109
			['ଔ\\\\', '\u0B4C'], // au sign
110
111
			['\u200c?a', 'ଅ'],
112
			['b', 'ବ'],
113
			['c', '', 'ଚ'],
114
			['d', 'ଦ'],
115
			['\u200c?e', 'ଏ'],
116
			['g', 'ଗ'],
117
			['G', 'ଘ'],
118
			['h', 'ହ'],
119
			['\u200c?i', 'ଇ'],
120
			['j', 'ଜ'],
121
			['k', 'କ'],
122
			['l', 'ଲ'],
123
			['m', 'ମ'],
124
			['n', 'ନ'],
125
			['\u200c?o', 'ଓ'],
126
			['p', 'ପ'],
127
			['q', 'ଡ଼'],
128
			['r', 'ର'],
129
			['s', 'ସ'],
130
			['t', 'ତ'],
131
			['\u200c?u', 'ଉ'],
132
			['[vwVW]', 'ୱ'],
133
			['x', 'କ୍ଷ'],
134
			['[Y]', 'ୟ'],
135
			['[y]', 'ଯ'],
136
			['\u200c?A', 'ଆ'],
137
			['B', 'ବ'],
138
			['C', 'ଛ'],
139
			['D', 'ଡ'],
140
			['\u200c?E', 'ଐ'],
141
			['F', 'ଫ'],
142
			['G', 'ଗ'],
143
			['H', 'ଃ'],
144
			['\u200c?I', 'ଈ'],
145
			['J', 'ଯ'],
146
			['K', 'ଖ'],
147
			['L', 'ଳ'],
148
			['M', 'ଂ'],
149
			['N', 'ଣ'],
150
			['\u200c?O', 'ଔ'],
151
			['P', 'ଫ'],
152
			['Q', 'ଢ଼'],
153
			['R', 'ଋ'],
154
			['S', 'ଶ'],
155
			['T', 'ଟ'],
156
			['\u200c?U', 'ଊ'],
157
			['X', 'ଁ'],
158
			['Z', 'ଜ୍ଞ'],
159
			['//', '୍ର'],
160
161
			['0', '୦'],
162
			['1', '୧'],
163
			['2', '୨'],
164
			['3', '୩'],
165
			['4', '୪'],
166
			['5', '୫'],
167
			['6', '୬'],
168
			['7', '୭'],
169
			['8', '୮'],
170
			['9', '୯']
171
		]
172
	};
173
174
	$.ime.register( orLekhani );
175
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-phonetic.js (+110 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var orPhonetic = {
5
		id: 'or-phonetic',
6
		name: 'ଫୋନେଟିକ',
7
		description: 'Phonetic keyboard for Odia script',
8
		date: '2013-02-09',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\~', 'ଐ'],
15
			['\\`', ' ୈ'],
16
			['\\!', 'ଏ'],
17
			['1', '୧'],
18
			['\\@', '@'],
19
			['2', '୨'],
20
			['\\#', 'ତ୍ର'],
21
			['3', '୩'],
22
			['\\$', '$'],
23
			['4', '୪'],
24
			['\\%', 'ଞ'],
25
			['5', '୫'],
26
			['6', '୬'],
27
			['7', '୭'],
28
			['8', '୮'],
29
			['\\(', '('],
30
			['9', '୯'],
31
			['\\)', ')'],
32
			['0', '୦'],
33
			['\\_', '_'],
34
			['\\-', '-'],
35
			['\\+', '+'],
36
			['\\=', '='],
37
			['Q', 'ଔ'],
38
			['q', 'ଓ'],
39
			['W', 'ଠ'],
40
			['w', 'ଟ'],
41
			['E', 'ୈ'],
42
			['e', 'େ'],
43
			['R', 'ୃ '],
44
			['r', 'ର'],
45
			['T', 'ଥ'],
46
			['t', 'ତ'],
47
			['Y', 'ୟ'],
48
			['y', 'ଯ'],
49
			['U', 'ୂ'],
50
			['u', 'ୁ'],
51
			['I', 'ୀ'],
52
			['i', 'ି'],
53
			['O', 'ୌ'],
54
			['o', 'ୋ'],
55
			['P', 'ଫ'],
56
			['p', 'ପ'],
57
			['\\{', 'ଢ'],
58
			['\\[', 'ଡ'],
59
			['\\}', 'ର୍'],
60
			['\\]', 'ଋ'],
61
			['A', 'ଆ'],
62
			['a', 'ା'],
63
			['S', 'ଶ'],
64
			['s', 'ସ'],
65
			['D', 'ଧ'],
66
			['d', 'ଦ'],
67
			['F', 'ଅ'],
68
			['f', '୍'],
69
			['G', 'ଘ'],
70
			['g', 'ଗ'],
71
			['H', 'ଃ'],
72
			['h', 'ହ'],
73
			['J', 'ଝ'],
74
			['j', 'ଜ'],
75
			['K', 'ଖ'],
76
			['k', 'କ'],
77
			['L', 'ଳ'],
78
			['l', 'ଲ'],
79
			[':', 'ଈ'],
80
			[';', 'ଇ'],
81
			['"', 'ଊ'],
82
			['\'', 'ଉ'],
83
			['\\|', '|'],
84
			['\\\\', '\\'],
85
			['Z', 'ଁ'],
86
			['z', 'ଙ'],
87
			['x', 'ଷ'],
88
			['C', 'ଛ'],
89
			['c', 'ଚ'],
90
			['V', 'ଵ'],
91
			['v', 'ୱ'],
92
			['B', 'ଭ'],
93
			['b', 'ବ'],
94
			['N', 'ଣ'],
95
			['n', 'ନ'],
96
			['M', 'ଂ'],
97
			['m', 'ମ'],
98
			['\\<', '<'],
99
			[',', ','],
100
			['\\>', '>'],
101
			['\\.', '।'],
102
			['\\?', 'ଐ'],
103
			['/', 'ଏ'],
104
			['\\^', 'ଜ୍ଞ'],
105
			['X', 'କ୍ଷ'],
106
			['\\*', 'ଶ୍ର']]
107
	};
108
109
	$.ime.register( orPhonetic );
110
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-transliteration.js (+146 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var orTransliteration = {
5
		id: 'or-transliteration',
6
		name: 'ଟ୍ରାନ୍ସଲିଟରେସନ',
7
		description: 'Odia Transliteration',
8
		date: '2012-10-14',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V and Subhashish Panigrahi',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 2,
15
		patterns: [
16
			[ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ],
17
18
			[ 'ଞ୍ଜ୍h', 'ଞ୍ଝ୍' ], // njh
19
			[ 'ଙ୍ଗ୍h', 'ଙ୍ଘ୍' ], // ngh
20
21
			[ '([କ-ହୟ])୍a', '$1' ],
22
			[ '([କ-ହୟ])(a|୍A)', '$1ା' ],
23
			[ '([କ-ହୟ])୍i', '$1\u0b3f' ],
24
			[ '([କ-ହୟ])୍I', '$1ୀ' ],
25
			[ '([କ-ହୟ])୍u', '$1\u0b41' ],
26
			[ '([କ-ହୟ])(୍U|\u0b41u)', '$1\u0b42' ],
27
			[ '([କ-ହୟ])୍R', '$1\u0b43' ],
28
			[ '([କ-ହୟ])\u0b43R', '$1\u0b44' ],
29
			[ '([କ-ହୟ])୍ଳ୍l', '$1ୢ' ],
30
			[ '([କ-ହୟ])ୢl', '$1ୣ' ],
31
			[ '([କ-ହୟ])୍e', '$1େ' ],
32
			[ '([କ-ହୟ])i', '$1ୈ' ],
33
			[ '([କ-ହୟ])୍o', '$1ୋ' ],
34
			[ '([କ-ହୟ])ୋu', '$1ୌ' ],
35
			[ '([କ-ହୟ])୍E', '$1\u0B48' ],
36
37
			[ 'ଅa', 'ଆ' ],
38
			[ '(ଅi|ଏe)', 'ଐ' ],
39
			[ '(ଅu|ଓo|ଓO)', 'ଔ' ],
40
			[ 'ଋR', 'ୠ' ],
41
			[ 'ଳ୍l', 'ଌ' ],
42
			[ 'ଌl', 'ୡ' ],
43
			[ 'ଞ୍ଚ୍h', 'ଞ୍ଛ୍' ], // nch
44
45
			[ 'ଣ୍G', 'ଙ୍' ], // NG
46
			[ 'ଣ୍g', 'ଞ୍' ], // Ng
47
			[ 'କ୍h', 'ଖ୍' ],
48
			[ 'ଗ୍h', 'ଘ୍' ],
49
			[ 'ନ୍c', 'ଞ୍ଚ୍' ], // nc
50
			[ 'ନ୍g', 'ଙ୍ଗ୍' ], // ng
51
			[ 'ଚ୍h', 'ଛ୍' ],
52
			[ 'ଜ୍h', 'ଝ୍' ],
53
			[ 'ନ୍j', 'ଞ୍ଜ୍' ], // nj
54
			[ 'ନ୍k', 'ଙ୍କ୍' ], // nk
55
			[ 'ଟ୍h', 'ଠ୍' ],
56
			[ 'ଡ୍h', 'ଢ୍' ],
57
			[ 'ତ୍h', 'ଥ୍' ],
58
			[ 'ଦ୍h', 'ଧ୍' ],
59
			[ 'ପ୍h', 'ଫ୍' ],
60
			[ 'ବ୍h', 'ଭ୍' ],
61
			[ 'ସ୍h', 'ଷ୍' ],
62
			[ '।Z', '॥' ],
63
64
			[ 'ଆ\\\\', '\u0B3E' ], // aa sign
65
			[ 'ଇ\\\\', '\u0B3F' ], // i sign
66
			[ 'ଈ\\\\', '\u0B40' ],// I sign
67
			[ 'ଉ\\\\', '\u0B41' ], // u sign
68
			[ 'ଉ\\\\', '\u0B42' ], // U sign
69
			[ 'ଋ\\\\', '\u0B43' ], // R sign
70
			[ 'ୠ\\\\', '\u0B44' ], // RR sign
71
			[ 'ଌ\\\\', '\u0B62' ], // L sign
72
			[ 'ୡ\\\\', '\u0B63' ], // LL sign
73
			[ 'ଏ\\\\', '\u0B47' ], // e sign
74
			[ 'ଐ\\\\', '\u0B48' ], // ai sign
75
			[ 'ଓ\\\\', '\u0B4B' ], // o sign
76
			[ 'ଔ\\\\', '\u0B4C' ], // au sign
77
78
			[ '\u200c?a', 'ଅ' ],
79
			[ 'b', 'ବ୍' ],
80
			[ 'c', '', 'ଚ୍' ],
81
			[ 'd', 'ଦ୍' ],
82
			[ '\u200c?e', 'ଏ' ],
83
			[ 'f', 'ଫ୍' ],
84
			[ 'g', 'ଗ୍' ],
85
			[ 'h', 'ହ୍' ],
86
			[ '\u200c?i', 'ଇ' ],
87
			[ 'j', 'ଜ୍' ],
88
			[ 'k', 'କ୍' ],
89
			[ 'l', 'ଲ୍' ],
90
			[ 'm', 'ମ୍' ],
91
			[ 'n', 'ନ୍' ],
92
			[ '\u200c?o', 'ଓ' ],
93
			[ 'p', 'ପ୍' ],
94
			[ 'q', 'ଜ୍ଞ୍' ],
95
			[ 'r', 'ର୍' ],
96
			[ 's', 'ସ୍' ],
97
			[ 't', 'ତ୍' ],
98
			[ '\u200c?u', 'ଉ' ],
99
			[ 'v', 'ୱ୍' ],
100
			[ 'w', 'ଵ୍' ],
101
			[ 'x', 'କ୍ଷ୍' ],
102
			[ 'y', 'ୟ୍' ],
103
			[ 'z', '\u0B3C' ],
104
			[ '\u200c?A', 'ଆ' ],
105
			[ 'B', 'ବ୍' ],
106
			[ 'C', 'ଛ୍' ],
107
			[ 'D', 'ଡ୍' ],
108
			[ '\u200c?E', 'ଐ' ],
109
			[ 'F', 'ଫ୍' ],
110
			[ 'G', 'ଗ୍' ],
111
			[ 'H', '', 'ଃ' ],
112
			[ '\u200c?I', 'ଈ' ],
113
			[ 'J', 'ଝ୍' ],
114
			[ 'K', 'କ୍' ],
115
			[ 'L', 'ଳ୍' ],
116
			[ 'M', '', 'ଂ' ],
117
			[ 'N', 'ଣ୍' ],
118
			[ '\u200c?O', 'ଔ' ],
119
			[ 'P', 'ଫ୍' ],
120
			[ 'Q', 'ଜ୍ଞ୍' ],
121
			[ 'R', 'ଋ' ],
122
			[ 'S', 'ଶ୍' ],
123
			[ 'T', 'ଟ୍' ],
124
			[ '\u200c?U', 'ଊ' ],
125
			[ 'V', 'ଵ୍' ],
126
			[ 'W', 'ଵ୍ଵ୍' ],
127
			[ 'X', 'ଁ' ],
128
			[ 'Y', 'ଯ୍' ],
129
			[ 'Z', '।' ],
130
			[ '\\~', '', '୍' ],
131
			[ '//', 'ଽ' ],
132
			[ '_', '\u200c' ],
133
			[ '0', '୦' ],
134
			[ '1', '୧' ],
135
			[ '2', '୨' ],
136
			[ '3', '୩' ],
137
			[ '4', '୪' ],
138
			[ '5', '୫' ],
139
			[ '6', '୬' ],
140
			[ '7', '୭' ],
141
			[ '8', '୮' ],
142
			[ '9', '୯' ] ]
143
	};
144
145
	$.ime.register( orTransliteration );
146
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-inscript.js (+97 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var paInScript = {
5
		id: 'pa-inscript',
6
		name: 'Punjabi InScript',
7
		description: 'InScript keyboard for Punjabi script',
8
		date: '2012-10-16',
9
		author: '',
10
		license: '',
11
		version: '1.0',
12
		patterns: [
13
			['1', '੧'],
14
			['2', '੨'],
15
			['3', '੩'],
16
			['4', '੪'],
17
			['5', '੫'],
18
			['6', '੬'],
19
			['7', '੭'],
20
			['8', '੮'],
21
			['9', '੯'],
22
			['0', '੦'],
23
			['\\_', '_'],
24
			['\\-', '-'],
25
			['\\+', '+'],
26
			['\\=', '='],
27
			['Q', 'ਔ'],
28
			['q', 'ੌ'],
29
			['W', 'ਐ'],
30
			['w', 'ੈ'],
31
			['E', 'ਆ'],
32
			['e', 'ਾ'],
33
			['R', 'ਈ'],
34
			['r', 'ੀ'],
35
			['T', 'ਊ'],
36
			['t', 'ੂ'],
37
			['Y', 'ਭ'],
38
			['y', 'ਬ'],
39
			['U', 'ਙ'],
40
			['u', 'ਹ'],
41
			['I', 'ਘ'],
42
			['i', 'ਗ'],
43
			['O', 'ਧ'],
44
			['o', 'ਦ'],
45
			['P', 'ਝ'],
46
			['p', 'ਜ'],
47
			['\\{', 'ਢ'],
48
			['\\[', 'ਡ'],
49
			['\\}', 'ਞ'],
50
			['\\]', '਼'],
51
			['A', 'ਓ'],
52
			['a', 'ੋ'],
53
			['S', 'ਏ'],
54
			['s', 'ੇ'],
55
			['D', 'ਅ'],
56
			['d', '੍'],
57
			['F', 'ਇ'],
58
			['f', 'ਿ'],
59
			['G', 'ਉ'],
60
			['g', 'ੁ'],
61
			['H', 'ਫ'],
62
			['h', 'ਪ'],
63
			['J', 'ੜ'],
64
			['j', 'ਰ'],
65
			['K', 'ਖ'],
66
			['k', 'ਕ'],
67
			['L', 'ਥ'],
68
			['l', 'ਤ'],
69
			['\\:', 'ਛ'],
70
			['\\;', 'ਚ'],
71
			['"', 'ਠ'],
72
			['\'', 'ਟ'],
73
			['Z', 'ੱ'],
74
			['z', 'ੰ'],
75
			['X', 'ਫ਼'],
76
			['x', 'ਜ਼'],
77
			['C', 'ਣ'],
78
			['c', 'ਮ'],
79
			['V', 'ਂ'],
80
			['v', 'ਨ'],
81
			['B', 'ਞ'],
82
			['b', 'ਵ'],
83
			['N', 'ਲ਼'],
84
			['n', 'ਲ'],
85
			['M', 'ਸ਼'],
86
			['m', 'ਸ'],
87
			['\\<', 'ੳ'],
88
			[',', ','],
89
			['\\>', 'ੲ'],
90
			['\\.', '.'],
91
			['\\?', '?'],
92
			['/', 'ਯ']]
93
94
	};
95
96
	$.ime.register( paInScript );
97
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-inscript2.js (+111 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var paInScript2 = {
5
		id: 'pa-inscript2',
6
		name: 'Punjabi InScript2',
7
		description: 'Enhanced InScript keyboard for Punjabi script',
8
		date: '2013-11-14',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '੧'],
14
			['2', '੨'],
15
			['3', '੩'],
16
			['4', '੪'],
17
			['5', '੫'],
18
			['6', '੬'],
19
			['7', '੭'],
20
			['8', '੮'],
21
			['9', '੯'],
22
			['0', '੦'],
23
			['\\(', '('],
24
			['\\)', ')'],
25
			['\\_', 'ਃ'],
26
			['\\-', '-'],
27
			['Q', 'ਔ'],
28
			['q', 'ੌ'],
29
			['W', 'ਐ'],
30
			['w', 'ੈ'],
31
			['E', 'ਆ'],
32
			['e', 'ਾ'],
33
			['R', 'ਈ'],
34
			['r', 'ੀ'],
35
			['T', 'ਊ'],
36
			['t', 'ੂ'],
37
			['Y', 'ਭ'],
38
			['y', 'ਬ'],
39
			['U', 'ਙ'],
40
			['u', 'ਹ'],
41
			['I', 'ਘ'],
42
			['i', 'ਗ'],
43
			['O', 'ਧ'],
44
			['o', 'ਦ'],
45
			['P', 'ਝ'],
46
			['p', 'ਜ'],
47
			['\\{', 'ਢ'],
48
			['\\[', 'ਡ'],
49
			['\\}', 'ਞ'],
50
			['\\]', '਼'],
51
			['A', 'ਓ'],
52
			['a', 'ੋ'],
53
			['S', 'ਏ'],
54
			['s', 'ੇ'],
55
			['D', 'ਅ'],
56
			['d', '੍'],
57
			['F', 'ਇ'],
58
			['f', 'ਿ'],
59
			['G', 'ਉ'],
60
			['g', 'ੁ'],
61
			['H', 'ਫ'],
62
			['h', 'ਪ'],
63
			['J', 'ੜ'],
64
			['j', 'ਰ'],
65
			['K', 'ਖ'],
66
			['k', 'ਕ'],
67
			['L', 'ਥ'],
68
			['l', 'ਤ'],
69
			[':', 'ਛ'],
70
			[';', 'ਚ'],
71
			['"', 'ਠ'],
72
			['\\\'', 'ਟ'],
73
			['X', 'ਂ'],
74
			['x', 'ੰ'],
75
			['C', 'ਣ'],
76
			['c', 'ਮ'],
77
			['v', 'ਨ'],
78
			['B', 'ਞ'],
79
			['b', 'ਵ'],
80
			['N', 'N'],
81
			['n', 'ਲ'],
82
			['M', 'ਸ਼'],
83
			['m', 'ਸ'],
84
			[',', ','],
85
			['\\>', '।'],
86
			['\\.', '.'],
87
			['/', 'ਯ']
88
		],
89
		patterns_x: [
90
			['1', '\u200d'],
91
			['2', '\u200c'],
92
			['4', '₹'],
93
			['i', 'ਗ਼'],
94
			['p', 'ਜ਼'],
95
			['\\[', 'ੜ'],
96
			['D', '☬'],
97
			['d', 'ੑ'],
98
			['F', 'ੲ'],
99
			['G', 'ੳ'],
100
			['H', 'ਫ਼'],
101
			['K', 'ਖ਼'],
102
			['X', 'ੴ'],
103
			['x', 'ਁ'],
104
			['N', 'ਲ਼'],
105
			['\\.', '॥'],
106
			['/', 'ੵ']
107
		]
108
	};
109
110
	$.ime.register( paInScript2 );
111
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-jhelum.js (+131 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var paJhelum = {
5
		id: 'pa-jhelum',
6
		name: 'Punjabi Jhelum',
7
		description: 'Jhelum keyboard for Punjabi script',
8
		date: '2013-11-14',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['\\~', '~'],
14
			['\\`', '`'],
15
			['\\!', '!'],
16
			['1', '1'],
17
			['\\@', '@'],
18
			['2', '2'],
19
			['\\#', '#'],
20
			['3', '3'],
21
			['\\$', '$'],
22
			['4', '4'],
23
			['\\%', '%'],
24
			['5', '5'],
25
			['\\^', 'ੳ'],
26
			['6', '6'],
27
			['\\&', 'ੲ'],
28
			['7', '7'],
29
			['8', '8'],
30
			['\\(', '('],
31
			['9', '9'],
32
			['\\)', ')'],
33
			['0', '0'],
34
			['\\_', '_'],
35
			['\\-', '-'],
36
			['\\+', '+'],
37
			['\\=', '='],
38
			['Q', 'ਔ'],
39
			['q', 'ੌ'],
40
			['W', 'ਐ'],
41
			['w', 'ੈ'],
42
			['E', 'ਆ'],
43
			['e', 'ਾ'],
44
			['R', 'ਈ'],
45
			['r', 'ੀ'],
46
			['T', 'ਊ'],
47
			['t', 'ੂ'],
48
			['Y', 'ੜ'],
49
			['y', 'ਰ'],
50
			['U', 'ਧ'],
51
			['u', 'ਦ'],
52
			['I', 'ਘ'],
53
			['i', 'ਗ'],
54
			['O', 'ਟ'],
55
			['o', 'ਤ'],
56
			['P', 'ਫ'],
57
			['p', 'ਪ'],
58
			['\\{', 'ਢ'],
59
			['\\[', 'ਡ'],
60
			['\\}', 'ਞ'],
61
			['\\]', 'ਙ'],
62
			['A', 'ਓ'],
63
			['a', 'ੋ'],
64
			['S', 'ਏ'],
65
			['s', 'ੇ'],
66
			['D', 'ਅ'],
67
			['d', '੍'],
68
			['F', 'ਇ'],
69
			['f', 'ਿ'],
70
			['G', 'ਉ'],
71
			['g', 'ੁ'],
72
			['H', 'ਠ'],
73
			['h', 'ਹ'],
74
			['J', 'ਝ'],
75
			['j', 'ਜ'],
76
			['K', 'ਖ'],
77
			['k', 'ਕ'],
78
			['L', 'ਥ'],
79
			['l', 'ਲ'],
80
			[':', ':'],
81
			[';', 'ਸ'],
82
			['"', '"'],
83
			['\\\'', '\''],
84
			['\\|', '।'],
85
			['\\', '\\'],
86
			['Z', '਼'],
87
			['z', 'ੱ'],
88
			['X', 'ੰ'],
89
			['x', 'ਂ'],
90
			['C', 'ਛ'],
91
			['c', 'ਚ'],
92
			['V', 'ਯ'],
93
			['v', 'ਵ'],
94
			['B', 'ਭ'],
95
			['b', 'ਬ'],
96
			['N', 'ਣ'],
97
			['n', 'ਨ'],
98
			['M', 'ਠ'],
99
			['m', 'ਮ'],
100
			['\\<', '<'],
101
			[',', ','],
102
			['\\>', '>'],
103
			['\\.', '.'],
104
			['\\?', '?'],
105
			['/', '/'],
106
			['\\*', '*']
107
		],
108
		patterns_x: [
109
			['1', '੧'],
110
			['2', '੨'],
111
			['3', '੩'],
112
			['4', '੪'],
113
			['5', '੫'],
114
			['6', '੬'],
115
			['7', '੭'],
116
			['8', '੮'],
117
			['9', '੯'],
118
			['0', '੦'],
119
			['y', '੍ਰ'],
120
			['i', 'ਗ਼'],
121
			['P', 'ਫ਼'],
122
			['h', '੍ਹ'],
123
			['j', 'ਜ਼'],
124
			['K', 'ਖ਼'],
125
			['l', 'ਲ਼'],
126
			[';', 'ਸ਼']
127
		]
128
	};
129
130
	$.ime.register( paJhelum );
131
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-phonetic.js (+99 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var paPhonetic = {
5
		id: 'pa-phonetic',
6
		name: 'Punjabi Phonetic',
7
		description: 'Punjabi Phonetic',
8
		date: '2012-10-16',
9
		URL: 'http://fedoraproject.org/wiki/I18N/Indic/PunjabiKeyboardLayouts',
10
		author: '',
11
		license: '',
12
		version: '1.0',
13
		patterns: [
14
			['!', '੧'],
15
			['1', '1'],
16
			['@', '੨'],
17
			['2', '2'],
18
			['#', '੩'],
19
			['3', '3'],
20
			['\\$', '੪'],
21
			['4', '4'],
22
			['5', '5'],
23
			['6', '6'],
24
			['7', '7'],
25
			['8', '8'],
26
			['\\(', '੯'],
27
			['9', '9'],
28
			['\\)', '੦'],
29
			['0', '0'],
30
			['Q', 'ਥ'],
31
			['q', 'ਤ'],
32
			['w', 'ਾ'],
33
			['E', 'ਓ'],
34
			['e', 'ੲ'],
35
			['r', 'ਰ'],
36
			['T', 'ਠ'],
37
			['t', 'ਟ'],
38
			['Y', 'ੈ'],
39
			['y', 'ੇ'],
40
			['U', 'ੂ'],
41
			['u', 'ੁ'],
42
			['I', 'ੀ'],
43
			['i', 'ਿ'],
44
			['O', 'ੌ'],
45
			['o', 'ੋ'],
46
			['P', 'ਫ'],
47
			['p', 'ਪ'],
48
			['\\{', '('],
49
			['\\}', ')'],
50
			['A', 'ਅ'],
51
			['a', 'ੳ'],
52
			['S', 'ਸ਼'],
53
			['s', 'ਸ'],
54
			['D', 'ਧ'],
55
			['d', 'ਦ'],
56
			['F', 'ਢ'],
57
			['f', 'ਡ'],
58
			['G', 'ਘ'],
59
			['g', 'ਗ'],
60
			['h', 'ਹ'],
61
			['J', 'ਝ'],
62
			['j', 'ਜ'],
63
			['K', 'ਖ'],
64
			['k', 'ਕ'],
65
			['L', 'ਲ਼'],
66
			['l', 'ਲ'],
67
			['\\', 'ਙ'],
68
			['\\~', '?ੱ'],
69
			['\\`', '?੍ '],
70
			['Z', 'ਗ਼'],
71
			['z', 'ਜ਼'],
72
			['X', 'ਯ'],
73
			['x', 'ਣ'],
74
			['C', 'ਛ'],
75
			['c', 'ਚ'],
76
			['V', 'ੜ'],
77
			['v', 'ਵ'],
78
			['B', 'ਭ'],
79
			['b', 'ਬ'],
80
			['N', 'ਂ'],
81
			['n', 'ਨ'],
82
			['M', 'ੰ'],
83
			['m', 'ਮ'],
84
			['\\<', 'ਖ਼'],
85
			['\\>', 'ੴ'],
86
			['\\.', '?਼'],
87
			['\\?', '?'],
88
			['\\/', 'ਞ'],
89
			['%', '੫'],
90
			['\\^', '੬'],
91
			['&', '੭'],
92
			['\\*', '੮'],
93
			['R', '੍ਰ'],
94
			['H', '੍ਹ'],
95
			['W', 'ਾਂ']]
96
	};
97
98
	$.ime.register( paPhonetic );
99
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-transliteration.js (+119 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var paTransliteration = {
5
		id: 'pa-transliteration',
6
		name: 'Punjabi Transliteration',
7
		description: 'Punjabi transliteration',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Amir E. Aharoni, inputs from Saurabh Choudhary and Surinder Wadhawan',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 2,
14
		maxKeyLength: 4,
15
		/* Semi-automatically created from the Hindi transliteration mapping using
16
		 * the following Perl substitution:
17
		 * s{(?<deva_letter>[ऀ-ॿ])}{chr(ord($+{deva_letter}) + 0x100)}xmsge;
18
		 */
19
		patterns: [
20
			['ਕ੍h', 'c', 'ਚ੍'],
21
			['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
22
23
			// ਕ-ਹ is the main range of Indic letters.
24
			// ੜ is an additional unique Gurmukhi letter.
25
			['([ਕ-ਹੜ]਼?)੍a', '$1'], // Short [a] after a consonant with virama removes the virama
26
			['([ਕ-ਹੜ]਼?)੍A', '$1ਾ'], // Long [a] after a consonant with virama removes the virama and adds long [a]
27
			['([ਕ-ਹੜ]਼?)a', '$1ਾ'], // 'aa' gives long [a] - short [a] after a consonant without virama adds long [a]
28
			['([ਕ-ਹੜ]਼?)੍i', '$1ਿ'],
29
			['([ਕ-ਹੜ]਼?)(ਿi|੍I|ੇe)', '$1ੀ'], // 'ii', 'I' and 'ee' give long [i].
30
			['([ਕ-ਹੜ]਼?)੍u', '$1ੁ'],
31
			['([ਕ-ਹੜ]਼?)(ੁu|੍U|ੋo)', '$1ੂ'], // 'uu', 'U' and 'oo' give long [u].
32
			['([ਕ-ਹੜ]਼?)੍e', '$1ੇ'],
33
			['([ਕ-ਹੜ]਼?)(i|੍E)', '$1ੈ'], // 'i' after a consonant without virama or 'E' after a consonant with Virama gives "ai"
34
			['([ਕ-ਹੜ]਼?)੍[oO]', '$1ੋ'],
35
			['([ਕ-ਹੜ]਼?)u', '$1ੌ'], // 'u' after a consonant without virama gives "au"
36
			['([ਕ-ਹੜ])੍\\`', '$1਼੍'], // '`' (backtick) after a consonant with virama adds a nukta before the virama
37
38
			['ਅa', 'ਆ'], // aa
39
			['(ਓo|ਉu)', 'ਊ'], //oo, uu
40
			['ਅi', 'ਐ'], // ai
41
			['ਅ\\^', 'ੲ'], // a^ (iri - base for vowels)
42
			['ਉ\\^', 'ੳ'], // u^ (ura - base for vowels)
43
			['(ਏe|ਇi)', 'ਈ'], // ee, ii
44
			['ਅu', 'ਔ'], // au
45
			['ਂ[Mm^]', 'ਁ'], // bindi + 'm', 'M', or '^' -> Adak bindi
46
			['ਣ੍N', 'ੰ'], // Tippi - nasalization
47
48
			['ਕ੍h', 'ਖ੍'], // kh
49
			['ਗ੍h', 'ਘ੍'], // gh
50
			['ਨ੍g', 'ਙ੍'], // ng
51
			['ਚ੍h', 'ਛ੍'], // ch
52
			['ਜ੍h', 'ਝ੍'], // jh
53
			['ਨ੍j', 'ਞ੍'], // nj
54
			['ਟ੍h', 'ਠ੍'], // Th
55
			['ਡ੍h', 'ਢ੍'], // Dh
56
			['ਤ੍h', 'ਥ੍'], // th
57
			['ਦ੍h', 'ਧ੍'], // dh
58
			['ਪ੍h', 'ਫ੍'], // ph
59
			['ਬ੍h', 'ਭ੍'], // bh
60
61
			['ਸ੍h', 'ਸ਼੍'], // sh
62
			['ਕ਼੍h', 'ਖ਼੍'], // k + nukta + h
63
64
			['a', 'ਅ'],
65
			['b', 'ਬ੍'],
66
			['c', 'ਚ੍'],
67
			['d', 'ਦ੍'],
68
			['e', 'ਏ'],
69
			['f', 'ਫ੍'],
70
			['F', 'ਫ਼੍'], // With nukta
71
			['g', 'ਗ੍'],
72
			['h', 'ਹ੍'],
73
			['i', 'ਇ'],
74
			['j', 'ਜ੍'],
75
			['k', 'ਕ੍'],
76
			['l', 'ਲ੍'],
77
			['m', 'ਮ੍'],
78
			['n', 'ਨ੍'],
79
			['o', 'ਓ'],
80
			['p', 'ਪ੍'],
81
			['q', 'ੑ'], // Udaat
82
			['r', 'ਰ੍'],
83
			['s', 'ਸ੍'],
84
			['t', 'ਤ੍'],
85
			['u', 'ਉ'],
86
			['(v|w)', 'ਵ੍'],
87
			['y', 'ਯ੍'],
88
			['z', 'ੱ'], // Addak - gemination
89
			['A', 'ਆ'],
90
			['D', 'ਡ੍'],
91
			['H', 'ਃ'], // Visarga
92
			['I', 'ਈ'],
93
			['M', 'ਂ'], // Bindi
94
			['N', 'ਣ੍'],
95
			['R', 'ੜ੍'], // Rra
96
			['S', 'ਸ਼੍'],
97
			['T', 'ਟ੍'],
98
			['U', 'ਊ'],
99
			['X', 'ੴ'], // Ek onkar
100
			['Y', 'ੵ'], // Yakash
101
			['0', '੦'],
102
			['1', '੧'],
103
			['2', '੨'],
104
			['3', '੩'],
105
			['4', '੪'],
106
			['5', '੫'],
107
			['6', '੬'],
108
			['7', '੭'],
109
			['8', '੮'],
110
			['9', '੯'],
111
			['~', '੍'], // Virama
112
			['\\`', '਼'], // Nukta
113
114
			['।\\.', '॥'], // Double danda, must be before single danda
115
			['\\.', '।']] // Danda
116
	};
117
118
	$.ime.register( paTransliteration );
119
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-jcuken.js (+96 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ruJcuken = {
5
		id: 'ru-jcuken',
6
		name: 'Русский - ЙЦУКЕН',
7
		description: 'Стандартная русская раскладка',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Amir (Алексей) Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['Q', 'Й'],
15
			['W', 'Ц'],
16
			['E', 'У'],
17
			['R', 'К'],
18
			['T', 'Е'],
19
			['Y', 'Н'],
20
			['U', 'Г'],
21
			['I', 'Ш'],
22
			['O', 'Щ'],
23
			['P', 'З'],
24
			['{', 'Х'],
25
			['}', 'Ъ'],
26
			['A', 'Ф'],
27
			['S', 'Ы'],
28
			['D', 'В'],
29
			['F', 'А'],
30
			['G', 'П'],
31
			['H', 'Р'],
32
			['J', 'О'],
33
			['K', 'Л'],
34
			['L', 'Д'],
35
			[':', 'Ж'],
36
			['"', 'Э'],
37
			['Z', 'Я'],
38
			['X', 'Ч'],
39
			['C', 'С'],
40
			['V', 'М'],
41
			['B', 'И'],
42
			['N', 'Т'],
43
			['M', 'Ь'],
44
			['<', 'Б'],
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
			['`', 'ё'],
83
			['~', 'Ё'],
84
85
			// ! is the same // 1
86
			['@', '"'], // 2
87
			['#', '№'], // 3
88
			['\\$', ';'], // 4
89
			// '%' is the same // 5
90
			['^', ':'], // 6
91
			['&', '?']] // 7
92
			// '*', '(' and ')' are the same    // 8, 9, 0
93
	};
94
95
	$.ime.register( ruJcuken );
96
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-kbd.js (+100 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ruKbd = {
5
		id: 'ru-kbd',
6
		name: 'Russian kbd',
7
		description: 'Russian kbd keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
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
			['\\\\', '\\'],
39
			['z', 'я'],
40
			['x', 'ч'],
41
			['c', 'с'],
42
			['v', 'м'],
43
			['b', 'и'],
44
			['n', 'т'],
45
			['m', 'ь'],
46
			[',', 'б'],
47
			['\\.', 'ю'],
48
			['/', '.'],
49
			['\\!', '!'],
50
			['\\@', '\"'],
51
			['\\#', '№'],
52
			['\\$', ';'],
53
			['\\%', '%'],
54
			['\\^', ':'],
55
			['\\&', '?'],
56
			['\\*', '*'],
57
			['\\(', '('],
58
			['\\)', ')'],
59
			['\\_', '_'],
60
			['\\+', '+'],
61
			['\\~', 'Ё'],
62
			['Q', 'Й'],
63
			['W', 'Ц'],
64
			['E', 'У'],
65
			['R', 'К'],
66
			['T', 'Е'],
67
			['Y', 'Н'],
68
			['U', 'Г'],
69
			['I', 'Ш'],
70
			['O', 'Щ'],
71
			['P', 'З'],
72
			['\\{', 'Х'],
73
			['\\}', 'Ъ'],
74
			['A', 'Ф'],
75
			['S', 'Ы'],
76
			['D', 'В'],
77
			['F', 'А'],
78
			['G', 'П'],
79
			['H', 'Р'],
80
			['J', 'О'],
81
			['K', 'Л'],
82
			['L', 'Д'],
83
			[':', 'Ж'],
84
			['\"', 'Э'],
85
			['\\|', '|'],
86
			['Z', 'Я'],
87
			['X', 'Ч'],
88
			['C', 'С'],
89
			['V', 'М'],
90
			['B', 'И'],
91
			['N', 'Т'],
92
			['M', 'Ь'],
93
			['\\<', 'Б'],
94
			['\\>', 'Ю'],
95
			['\\?', ',']
96
		]
97
	};
98
99
	$.ime.register( ruKbd );
100
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-phonetic.js (+83 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ruPhonetic = {
5
		id: 'ru-phonetic',
6
		name: 'Russian phonetic',
7
		description: 'Russian phonetic keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\\#', 'ё'],
15
			['\\$', 'Ё'],
16
			['\\%', 'ъ'],
17
			['\\^', 'Ъ'],
18
			['\\=', 'ч'],
19
			['\\+', 'Ч'],
20
			['`', 'ю'],
21
			['\\~', 'Ю'],
22
			['q', 'я'],
23
			['Q', 'Я'],
24
			['w', 'в'],
25
			['W', 'В'],
26
			['e', 'е'],
27
			['E', 'Е'],
28
			['r', 'р'],
29
			['R', 'Р'],
30
			['t', 'т'],
31
			['T', 'Т'],
32
			['y', 'ы'],
33
			['Y', 'Ы'],
34
			['u', 'у'],
35
			['U', 'У'],
36
			['i', 'и'],
37
			['I', 'И'],
38
			['o', 'о'],
39
			['O', 'О'],
40
			['p', 'п'],
41
			['P', 'П'],
42
			['\\[', 'ш'],
43
			['\\{', 'Ш'],
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
			['H', 'Х'],
58
			['j', 'й'],
59
			['J', 'Й'],
60
			['k', 'к'],
61
			['K', 'К'],
62
			['l', 'л'],
63
			['L', 'Л'],
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
	$.ime.register( ruPhonetic );
83
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-yawerty.js (+109 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ruYawerty = {
5
		id: 'ru-yawerty',
6
		name: 'Russian YAWERTY',
7
		description: 'Russian YAWERTY keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['/q', 'ђ'],
15
			['/w', 'ѓ'],
16
			['/e', 'є'],
17
			['/r', 'ѕ'],
18
			['/t', 'і'],
19
			['/y', 'ї'],
20
			['/u', 'ј'],
21
			['/i', 'љ'],
22
			['/o', 'њ'],
23
			['/p', 'ћ'],
24
			['/a', 'ќ'],
25
			['/s', 'ў'],
26
			['/d', 'џ'],
27
			['/Q', 'Ђ'],
28
			['/W', 'Ѓ'],
29
			['/E', 'Є'],
30
			['/R', 'Ѕ'],
31
			['/T', 'І'],
32
			['/Y', 'Ї'],
33
			['/U', 'Ј'],
34
			['/I', 'Љ'],
35
			['/O', 'Њ'],
36
			['/P', 'Ћ'],
37
			['/A', 'Ќ'],
38
			['/S', 'Ў'],
39
			['/D', 'Џ'],
40
41
			['\\=', 'ч'],
42
			['`', 'ю'],
43
			['q', 'я'],
44
			['w', 'в'],
45
			['e', 'е'],
46
			['r', 'р'],
47
			['t', 'т'],
48
			['y', 'ы'],
49
			['u', 'у'],
50
			['i', 'и'],
51
			['o', 'о'],
52
			['p', 'п'],
53
			['\\[', 'ш'],
54
			['\\]', 'щ'],
55
			['a', 'а'],
56
			['s', 'с'],
57
			['d', 'д'],
58
			['f', 'ф'],
59
			['g', 'г'],
60
			['h', 'х'],
61
			['j', 'й'],
62
			['k', 'к'],
63
			['l', 'л'],
64
			['\\\\', 'э'],
65
			['z', 'з'],
66
			['x', 'ь'],
67
			['c', 'ц'],
68
			['v', 'ж'],
69
			['b', 'б'],
70
			['n', 'н'],
71
			['m', 'м'],
72
			['\\@', 'ё'],
73
			['\\#', 'ъ'],
74
			['\\$', 'Ё'],
75
			['\\+', 'Ч'],
76
			['\\~', 'Ю'],
77
			['Q', 'Я'],
78
			['W', 'В'],
79
			['E', 'Е'],
80
			['R', 'Р'],
81
			['T', 'Т'],
82
			['Y', 'Ы'],
83
			['U', 'У'],
84
			['I', 'И'],
85
			['O', 'О'],
86
			['P', 'П'],
87
			['\\{', 'Ш'],
88
			['\\}', 'Щ'],
89
			['A', 'А'],
90
			['S', 'С'],
91
			['D', 'Д'],
92
			['F', 'Ф'],
93
			['G', 'Г'],
94
			['H', 'Х'],
95
			['J', 'Й'],
96
			['K', 'К'],
97
			['L', 'Л'],
98
			['\\|', 'Э'],
99
			['Z', 'З'],
100
			['X', 'Ь'],
101
			['C', 'Ц'],
102
			['V', 'Ж'],
103
			['B', 'Б'],
104
			['N', 'Н'],
105
			['M', 'М']]
106
	};
107
108
	$.ime.register( ruYawerty );
109
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-iast.js (+59 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var saIast = {
5
		id: 'sa-iast',
6
		name: 'Romanized',
7
		description: 'Romanized input method for Sanskrit with IAST/ISO 15919 convention. Original author William Giddings <wjgiddings@googlemail.com>',
8
		date: '2013-03-18',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Runa Bhattacharjee',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['aa', 'ā'],
17
			['AA', 'Ā'],
18
			['\\^a', 'â'],
19
			['\\^A', 'Â'],
20
			['ii', 'ī'],
21
			['II', 'Ī'],
22
			['uu', 'ū'],
23
			['UU', 'Ū'],
24
			['\\.r', 'ṛ'],
25
			['\\.R', 'Ṛ'],
26
			['ṛr', 'ṝ'],
27
			['ṚR', 'Ṝ'],
28
			['\\.l', 'ḷ'],
29
			['\\.L', 'Ḷ'],
30
			['ḷl', 'ḹ'],
31
			['ḶL', 'Ḹ'],
32
			['\\.M', 'Ṃ'],
33
			['\\.m', 'ṃ'],
34
			['\\.h', 'ḥ'],
35
			['\\.H', 'Ḥ'],
36
			[';n', 'ṅ'],
37
			[';N', 'Ṅ'],
38
			['~n', 'ñ'],
39
			['~N', 'Ñ'],
40
			['\\.t', 'ṭ'],
41
			['\\.T', 'Ṭ'],
42
			['\\.d', 'ḍ'],
43
			['\\.D', 'Ḍ'],
44
			['\\.n', 'ṇ'],
45
			['\\.N', 'Ṇ'],
46
			[';s', 'ś'],
47
			[';S', 'Ś'],
48
			['\\.s', 'ṣ'],
49
			['\\.S', 'Ṣ'],
50
			['ee', 'ē'],
51
			['oo', 'ō'],
52
			[';m', 'ṁ'],
53
			[',r', 'r̥'],
54
			['r̥r', 'r̥̄']
55
		]
56
	};
57
58
	$.ime.register( saIast );
59
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-inscript.js (+113 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var saInScript = {
5
		id: 'sa-inscript',
6
		name: 'Sanskrit InScript',
7
		description: 'Inscript keyboard for Sanskrit script',
8
		date: '2012-10-16',
9
		author: 'Junaid P V',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['X', 'ँ'],
14
			['x', 'ं'],
15
			['_', 'ः'],
16
			['D', 'अ'],
17
			['E', 'आ'],
18
			['F', 'इ'],
19
			['R', 'ई'],
20
			['G', 'उ'],
21
			['T', 'ऊ'],
22
			['\\+', 'ृ'],
23
			['S', 'ए'],
24
			['W', 'ऐ'],
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
		patterns_x: [
98
			['F', 'ऌ'],
99
			['\\>', 'ऽ'],
100
			['X', 'ॐ'],
101
			['e', '\u0951'],
102
			['d', '\u0952'],
103
			['R', 'ॡ'],
104
			['f', 'ॢ'],
105
			['r', 'ॣ'],
106
			['\\.', '॥'],
107
			['\\@', '','ॅ'],
108
			['4', '₹']]
109
110
	};
111
112
	$.ime.register( saInScript );
113
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-inscript2.js (+117 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var saInScript2 = {
5
		id: 'sa-inscript2',
6
		name: 'संस्कृत इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Sanskrit language',
8
		date: '2012-11-06',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['\\@', 'ॅ'],
15
			['2', '२'],
16
			['\\#', '्र'],
17
			['3', '३'],
18
			['\\$', 'र्'],
19
			['4', '४'],
20
			['5', '५'],
21
			['6', '६'],
22
			['7', '७'],
23
			['8', '८'],
24
			['\\(', '('],
25
			['9', '९'],
26
			['\\]', ']'],
27
			['0', '०'],
28
			['\\_', 'ः'],
29
			['\\-', '-'],
30
			['\\+', 'ऋ'],
31
			['\\=', 'ृ'],
32
			['Q', 'औ'],
33
			['q', 'ौ'],
34
			['W', 'ऐ'],
35
			['w', 'ै'],
36
			['E', 'आ'],
37
			['e', 'ा'],
38
			['R', 'ई'],
39
			['r', 'ी'],
40
			['T', 'ऊ'],
41
			['t', 'ू'],
42
			['Y', 'भ'],
43
			['y', 'ब'],
44
			['U', 'ङ'],
45
			['u', 'ह'],
46
			['I', 'घ'],
47
			['i', 'ग'],
48
			['O', 'ध'],
49
			['o', 'द'],
50
			['P', 'झ'],
51
			['p', 'ज'],
52
			['\\{', 'ढ'],
53
			['\\[', 'ड'],
54
			['\\}', 'ञ'],
55
			['\\]', '़'],
56
			['\\|', 'ॠ'],
57
			['\\\\', 'ॄ'],
58
			['A', 'ओ'],
59
			['a', 'ो'],
60
			['S', 'ए'],
61
			['s', 'े'],
62
			['D', 'अ'],
63
			['d', '्'],
64
			['F', 'इ'],
65
			['f', 'ि'],
66
			['G', 'उ'],
67
			['g', 'ु'],
68
			['H', 'फ'],
69
			['h', 'प'],
70
			['j', 'र'],
71
			['K', 'ख'],
72
			['k', 'क'],
73
			['L', 'थ'],
74
			['l', 'त'],
75
			[':', 'छ'],
76
			[';', 'च'],
77
			['"', 'ठ'],
78
			['\\\'', 'ट'],
79
			['X', 'ँ'],
80
			['x', 'ं'],
81
			['C', 'ण'],
82
			['c', 'म'],
83
			['v', 'न'],
84
			['b', 'व'],
85
			['N', 'ळ'],
86
			['n', 'ल'],
87
			['M', 'श'],
88
			['m', 'स'],
89
			['\\<', 'ष'],
90
			[',', ','],
91
			['\\>', '।'],
92
			['\\.', '.'],
93
			['/', 'य'],
94
			['\\%', 'ज्ञ'],
95
			['\\^', 'त्र'],
96
			['\\&', 'क्ष'],
97
			['\\*', 'श्र']
98
		],
99
		patterns_x: [
100
			['1', '\u200d'],
101
			['2', '\u200c'],
102
			['4', '₹'],
103
			['e', '॑'],
104
			['R', 'ॡ'],
105
			['r', 'ॣ'],
106
			['d', '॒'],
107
			['F', 'ऌ'],
108
			['f', 'ॢ'],
109
			['H', 'फ़'],
110
			['X', 'ॐ'],
111
			['\\>', 'ऽ'],
112
			['\\.', '॥']
113
		]
114
	};
115
116
	$.ime.register( saInScript2 );
117
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-transliteration.js (+165 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var saTransliteration = {
5
		id: 'sa-transliteration',
6
		name: 'Sanskrit Transliteration',
7
		description: 'Sanskrit transliteration',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V and Naveen Shankar',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 4,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['क्h','c','च्'],
17
			['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
18
19
			['([क-ह]़?)्a','$1'],
20
			['([क-ह]़?)्A','$1ा'],
21
			['([क-ह]़?)a','$1ा'],
22
			['([क-ह]़?)्i','$1ि'],
23
			['([क-ह]़?)(्I|िi|ॆe)','$1ी'],
24
			['([क-ह]़?)्u','$1ु'],
25
			['([क-ह]़?)(ुu|्U|ॊo)','$1ू'],
26
			['([क-ह]़?)्R','$1ृ'],
27
			['([क-ह]़?)ृR','$1ॄ'],
28
			['([क-ह]़?)्ळ्l','$1ॢ'],
29
			['([क-ह]़?)ॢl','$1ॣ'],
30
			['([क-ह]़?)ॆ\\^','$1ॅ'],
31
			['([क-ह]़?)्e','$1े'],
32
			['([क-ह]़?)्E','$1ॅ'],
33
			['([क-ह]़?)ॊ\\^','$1ॉ'],
34
			['([क-ह]़?)i','$1ै'],
35
			['([क-ह]़?)्o','$1ो'],
36
			['([क-ह]़?)्O','$1ॉ'],
37
			['([क-ह]़?)u','$1ौ'],
38
			['([क-ह]़?)ृa','$1्ऱ'],
39
			['([क-ह]़?)ृA','$1्ऱा'],
40
			['([क-ह]़?)ृi','$1्ऱि'],
41
			['([क-ह]़?)ृI','$1्ऱी'],
42
			['([क-ह]़?)ृu','$1्ऱु'],
43
			['([क-ह]़?)ृU','$1्ऱू'],
44
			['([क-ह]़?)ृ\\^','$1्ऱॅ'],
45
			['([क-ह]़?)ृe','$1्ऱे'],
46
			['([क-ह]़?)ृE','1्ऱॅ'],
47
			['([क-ह]़?)ृo','$1्ऱो'],
48
			['([क-ह]़?)ृO','$1्ऱौ'],
49
			['([क-ह]़?)ृ\\~','$1्ऱ्'],
50
			['([क-ह])्\\`','$1़्'],
51
52
			['अa','आ'],
53
			['(ऒo|उu)','ऊ'],
54
			['ऎ\\^','ऍ'],
55
			['अi','ऐ'],
56
			['अ\\^','ॲ'],
57
			['(इi|ऎe)','ई'],
58
			['ऒ\\^','ऑ'],
59
			['अu','औ'],
60
			['ऋR','ॠ'],
61
			['ळ्l','ऌ'],
62
			['ऌl','ॡ'],
63
			['ं\\^','ँ'],
64
			['ंm','ँ'],
65
			['ओM','ॐ'],
66
67
			['क्h','ख्'],
68
			['ग्h','घ्'],
69
			['न्g','ङ्'],
70
			['च्h','छ्'],
71
			['ज्h','झ्'],
72
			['न्j','ञ्'],
73
			['ट्h','ठ्'],
74
			['ड्h','ढ्'],
75
			['त्h','थ्'],
76
			['द्h','ध्'],
77
			['प्h','फ्'],
78
			['ब्h','भ्'],
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','ब्ब्'],
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
			['(\u200C)*_', '\u200c']]
162
	};
163
	$.ime.register( saTransliteration );
164
165
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sah/sah-transliteration.js (+103 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var sahTransliteration = {
5
		id: 'sah-transliteration',
6
		name: 'Sakha Transliteration',
7
		description: 'Sakha transliteration',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Amir (Алексей) Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['Q', 'Й'],
15
			['W', 'Ц'],
16
			['E', 'У'],
17
			['R', 'К'],
18
			['T', 'Е'],
19
			['Y', 'Н'],
20
			['U', 'Г'],
21
			['I', 'Ш'],
22
			['O', 'Щ'],
23
			['P', 'З'],
24
			['{', 'Х'],
25
			['}', 'Ъ'],
26
			['A', 'Ф'],
27
			['S', 'Ы'],
28
			['D', 'В'],
29
			['F', 'А'],
30
			['G', 'П'],
31
			['H', 'Р'],
32
			['J', 'О'],
33
			['K', 'Л'],
34
			['L', 'Д'],
35
			[':', 'Ж'],
36
			['"', 'Э'],
37
			['Z', 'Я'],
38
			['X', 'Ч'],
39
			['C', 'С'],
40
			['V', 'М'],
41
			['B', 'И'],
42
			['N', 'Т'],
43
			['M', 'Ь'],
44
			['<', 'Б'],
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
			['`', '"'],
83
			['~', '№'],
84
85
			['1', '!'], // 1
86
			['!', '?'], // 1
87
			// 2, 3 - ?
88
			['4', 'ҥ'], // 4
89
			['\\$', 'Ҥ'], // 4
90
			['5', 'ҕ'], // 5
91
			['%', 'Ҕ'], // 5
92
			['6', 'ө'], // 6
93
			['\\^', 'Ө'], // 6
94
			['7', 'һ'], // 7
95
			['&', 'Һ'], // 7
96
			['8', 'ү'], // 8
97
			['\\*', 'Ү'], // 8
98
			['9', ';'], // 9
99
			['0', ':']] // 0
100
	};
101
102
	$.ime.register( sahTransliteration );
103
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sat/sat-inscript2.js (+107 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var satInScript2 = {
5
		id: 'sat-inscript2',
6
		name: 'संताली इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Santali language',
8
		date: '2013-20-13',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['2', '२'],
15
			['\\#', '्र'],
16
			['3', '३'],
17
			['\\$', 'र्'],
18
			['4', '४'],
19
			['5', '५'],
20
			['6', '६'],
21
			['7', '७'],
22
			['8', '८'],
23
			['\\(', '('],
24
			['9', '९'],
25
			['\\]', ']'],
26
			['0', '०'],
27
			['\\_', 'ः'],
28
			['\\-', '-'],
29
			['Q', 'औ'],
30
			['q', 'ौ'],
31
			['W', 'ऐ'],
32
			['w', 'ै'],
33
			['E', 'आ'],
34
			['e', 'ा'],
35
			['R', 'ई'],
36
			['r', 'ी'],
37
			['T', 'ऊ'],
38
			['t', 'ू'],
39
			['Y', 'भ'],
40
			['y', 'ब'],
41
			['U', 'ङ'],
42
			['u', 'ह'],
43
			['I', 'घ'],
44
			['i', 'ग'],
45
			['O', 'ध'],
46
			['o', 'द'],
47
			['P', 'झ'],
48
			['p', 'ज'],
49
			['\\{', 'ढ'],
50
			['\\[', 'ड'],
51
			['\\}', 'ञ'],
52
			['\\]', '़'],
53
			['A', 'ओ'],
54
			['a', 'ो'],
55
			['S', 'ए'],
56
			['s', 'े'],
57
			['D', 'अ'],
58
			['d', '्'],
59
			['F', 'इ'],
60
			['f', 'ि'],
61
			['G', 'उ'],
62
			['g', 'ु'],
63
			['H', 'फ'],
64
			['h', 'प'],
65
			['j', 'र'],
66
			['K', 'ख'],
67
			['k', 'क'],
68
			['L', 'थ'],
69
			['l', 'त'],
70
			[':', 'छ'],
71
			[';', 'च'],
72
			['\"', 'ठ'],
73
			['\'', 'ट'],
74
			['z', 'ʼ'],
75
			['X', 'ँ'],
76
			['x', 'ं'],
77
			['C', 'ण'],
78
			['c', 'म'],
79
			['v', 'न'],
80
			['b', 'व'],
81
			['n', 'ल'],
82
			['m', 'स'],
83
			[',', ','],
84
			['\\>', '।'],
85
			['\\.', '.'],
86
			['\\?', '?'],
87
			['/', 'य'],
88
			['\\%', 'ज्ञ'],
89
			['\\^', 'त्र'],
90
			['\\&', 'क्ष'],
91
			['\\*', 'श्र']
92
		],
93
		patterns_x: [
94
			['1', '\u200d'],
95
			['2', '\u200c'],
96
			['4', '₹'],
97
			['F', 'ऌ'],
98
			['X', 'ॐ'],
99
			['N', 'ळ'],
100
			[',', '॰'],
101
			['\\>', 'ऽ'],
102
			['\\.', '॥']
103
		]
104
	};
105
	$.ime.register( satInScript2 );
106
107
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sd/sd-inscript2.js (+124 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var sdInScript2 = {
5
		id: 'sd-inscript2',
6
		name: 'सिंधी इनस्क्रिप्ट २',
7
		description: 'Enhanced InScript keyboard for Sindhi language',
8
		date: '2013-20-13',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '१'],
14
			['2', '२'],
15
			['\\#', '्र'],
16
			['3', '३'],
17
			['\\$', 'र्'],
18
			['4', '४'],
19
			['5', '५'],
20
			['6', '६'],
21
			['7', '७'],
22
			['8', '८'],
23
			['\\(', '('],
24
			['9', '९'],
25
			['\\]', ']'],
26
			['0', '०'],
27
			['\\-', '-'],
28
			['\\+', 'ऋ'],
29
			['\\=', 'ृ'],
30
			['Q', 'औ'],
31
			['q', 'ौ'],
32
			['W', 'ऐ'],
33
			['w', 'ै'],
34
			['E', 'आ'],
35
			['e', 'ा'],
36
			['R', 'ई'],
37
			['r', 'ी'],
38
			['T', 'ऊ'],
39
			['t', 'ू'],
40
			['Y', 'भ'],
41
			['y', 'ब'],
42
			['U', 'ङ'],
43
			['u', 'ह'],
44
			['I', 'घ'],
45
			['i', 'ग'],
46
			['O', 'ध'],
47
			['o', 'द'],
48
			['P', 'झ'],
49
			['p', 'ज'],
50
			['\\{', 'ढ'],
51
			['\\[', 'ड'],
52
			['\\}', 'ञ'],
53
			['\\]', '़'],
54
			['A', 'ओ'],
55
			['a', 'ो'],
56
			['S', 'ए'],
57
			['s', 'े'],
58
			['D', 'अ'],
59
			['d', '्'],
60
			['F', 'इ'],
61
			['f', 'ि'],
62
			['G', 'उ'],
63
			['g', 'ु'],
64
			['H', 'फ'],
65
			['h', 'प'],
66
			['j', 'र'],
67
			['K', 'ख'],
68
			['k', 'क'],
69
			['L', 'थ'],
70
			['l', 'त'],
71
			[':', 'छ'],
72
			[';', 'च'],
73
			['\"', 'ठ'],
74
			['\'', 'ट'],
75
			['X', 'ँ'],
76
			['C', 'ण'],
77
			['c', 'म'],
78
			['v', 'न'],
79
			['b', 'व'],
80
			['n', 'ल'],
81
			['M', 'श'],
82
			['m', 'स'],
83
			['\\<', 'ष'],
84
			[',', ','],
85
			['\\>', '।'],
86
			['\\.', '.'],
87
			['/', 'य'],
88
			['\\%', 'ज्ञ'],
89
			['\\^', 'त्र'],
90
			['\\&', 'क्ष'],
91
			['\\*', 'श्र']
92
		],
93
		patterns_x: [
94
			['1', '\u200d'],
95
			['2', '\u200c'],
96
			['4', '₹'],
97
			['\\+', 'ॠ'],
98
			['\\=', 'ृ'],
99
			['e', '॑'],
100
			['i', 'ग़'],
101
			['R', 'ॡ'],
102
			['r', 'ॣ'],
103
			['p', 'ज़'],
104
			['\\{', 'ढ़'],
105
			['\\[', 'ड़'],
106
			['H', 'फ़'],
107
			['J', 'ॻ'],
108
			['K', 'ख़'],
109
			['k', 'क़'],
110
			['d', '॒'],
111
			['F', 'ऌ'],
112
			['f', 'ॢ'],
113
			['x', 'ॐ'],
114
			['V', 'ॾ'],
115
			['B', 'ॿ'],
116
			['N', 'ॼ'],
117
			[',', '॰'],
118
			['\\>', 'ऽ'],
119
			['\\.', '॥']
120
		]
121
	};
122
123
	$.ime.register( sdInScript2 );
124
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/se/se-normforms.js (+38 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'se-normforms',
6
		name: 'Davvisámegiella',
7
		description: 'Northern Sami input method',
8
		date: '2012-12-04',
9
		URL: 'http://giellatekno.uit.no/doc/infra/samihtml.html',
10
		author: 'John Erling Blad',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		//contextLength: 1,
14
		maxKeyLength: 3,
15
		patterns: [
16
			// Uses "~" as "approximatly similar to"
17
			[ '\'a', 'á' ], // The simple ~a does not work as there is a "ã"
18
			[ '\'A', 'Á' ], // The simple ~A does not work as there is a "Ã"
19
			[ '~c', 'č' ],
20
			[ '~C', 'Č' ],
21
			[ '~d', 'đ' ],
22
			[ '~D', 'Đ' ],
23
			//[ '~ng', 'ŋ' ], // The simple ~n does not work as there is a "ñ"
24
			//[ '~NG', 'Ŋ' ], // The simple ~N does not work as there is a "Ñ"
25
			[ '~g', 'ŋ' ],
26
			[ '~G', 'Ŋ' ],
27
			[ '~s', 'š' ],
28
			[ '~S', 'Š' ],
29
			[ '~t', 'ŧ' ],
30
			[ '~T', 'Ŧ' ],
31
			[ '~z', 'ž' ],
32
			[ '~Z', 'Ž' ]
33
			// historically similar forms
34
		]
35
	};
36
37
	$.ime.register( defs );
38
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/si/si-singlish.js (+110 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var siSinglish = {
5
		id: 'si-singlish',
6
		name: 'Sinhalese Singlish',
7
		description: 'Singlish',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V and Nishantha Anuruddha',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 5,
14
		maxKeyLength: 2,
15
		patterns: [
16
			//['ඬ්හ්a', 'ඳ'],	// nndha
17
			['ඬ්h', 'ඳ්'], // nndh
18
			['න්න්d', 'ඬ්'], // nnd
19
			['න්න්g', 'ඟ්'],// nng
20
			['\\u0DC1\\u0DCA\\u200D\\u0DBB\\u0DD2i', '\u0DC1\u0DCA\u200D\u0DBB\u0DD3'],// shrii
21
			['\\u0DC1\\u0DCA\\u200D\\u0DBBi', '\u0DC1\u0DCA\u200D\u0DBB\u0DD2'],// shri
22
			['ශ්r', '\u0DC1\u0DCA\u200D\u0DBB'], // shr
23
24
			['([\\u0D9A-\\u0DC6])්\\u200Dර්u', '$1ෘ'],    // <consonant>ru
25
			['([\\u0D9A-\\u0DC6])ෘu', '$1ෲ'],    // <consonant>ruu
26
27
			['([\\u0D9A-\\u0DC6])්a', '$1'],    // <consonant>a
28
			['([\\u0D9A-\\u0DC6])a', '$1ා'],    // <consonant>aa
29
			['([\\u0D9A-\\u0DC6])්A', '$1ැ'],    // <consonant>A
30
			['([\\u0D9A-\\u0DC6])ැa', '$1ෑ'],    // <consonant>Aa
31
			['([\\u0D9A-\\u0DC6])්i', '$1ි'],    // <consonant>i
32
			['([\\u0D9A-\\u0DC6])ි[ei]', '$1ී'],    // <consonant>ie
33
			['([\\u0D9A-\\u0DC6])්u', '$1ු'],    // <consonant>u
34
			['([\\u0D9A-\\u0DC6])ුu', '$1ූ'],    // <consonant>u
35
			['([\\u0D9A-\\u0DC6])්e', '$1ෙ'],    // <consonant>e
36
			['([\\u0D9A-\\u0DC6])ෙ[ai]', '$1ේ'],    // <consonant>ei
37
			['([\\u0D9A-\\u0DC6])්o', '$1ො'],    // <consonant>o
38
			['([\\u0D9A-\\u0DC6])ොe', '$1ෝ'],    // <consonant>oe
39
			['([\\u0D9A-\\u0DC6])u', '$1ෞ'],    // <consonant>au
40
			['([\\u0D9A-\\u0DC6])්I', '$1ෛ'],    // <consonant>I
41
42
			['([\\u0D9A-\\u0DC6]්)r', '$1\u200Dර්'],    // <consonant>r
43
44
			['ළුu', 'ළුු'], // Luu
45
46
			['(ක්h|K)', 'ඛ්'],  // kh K
47
			['(ග්h|G)', 'ඝ්'],  // gh G
48
			['ස්h', 'ශ්'],  // sh
49
			['ch', 'ච්'],
50
			['Ch', 'ඡ්'],
51
			['Sh', 'ෂ්'],
52
			['ඝ්N', 'ඥ්'],  // GN
53
			['ඨ්h', 'ථ්'],  // Th
54
			['ඛ්N', 'ඤ්'],  // KN
55
			['ට්h', 'ත්'],  // th
56
			['ඪ්h', 'ධ්'],  // Dh
57
			['ඩ්h', 'ද්'],  // dh
58
			['(ප්h|P)', 'ඵ්'],  // ph P
59
			['ළ්u', 'ළු'],  // Lu
60
			['බ්h', 'භ්'],  // bh
61
62
			['(\\\\r|R)', '\u0DBB\u0DCA\u200D'],   // \r R
63
			['(\\\\y|Y)', '\u200D\u0DBA\u0DCA'],   // \y Y
64
65
			['අ(a|\\))', 'ආ'],  // aa a)
66
			['ඇ(a|\\))', 'ඈ'],  // Aa A) ae
67
			['(ඉ[i\\)e]|එe)', 'ඊ'], // ii i) ie ee
68
			['එ[a\\)i]', 'ඒ'], // ea e) ei
69
			['ඔ[e\\)]', 'ඕ'], // oe o)
70
			['(උ[u\\)]|ඔo)', 'ඌ'],  // uu u) oo
71
			['අu', 'ඖ'], // au
72
73
			['\\\\n', 'ං'],
74
			['\\\\h', 'ඃ'],
75
			['\\\\N', 'ඞ'],
76
			['\\\\R', 'ඍ'],
77
78
			['a', 'අ'],
79
			['A', 'ඇ'],
80
			['i', 'ඉ'],
81
			['e', 'එ'],
82
			['o', 'ඔ'],
83
			['u', 'උ'],
84
85
			['k', 'ක්'],
86
			['b', 'බ්'],
87
			['B', 'ඹ්'],
88
			['g', 'ග්'],
89
			['m', 'ම්'],
90
			['y', 'ය්'],
91
			['j', 'ජ්'],
92
			['r', 'ර්'],
93
			['T', 'ඨ්'],
94
			['f', 'ෆ්'],
95
			['t', 'ට්'],
96
			['l', 'ල්'],
97
			['D', 'ඪ්'],
98
			['d', 'ඩ්'],
99
			['(w|v)', 'ව්'],
100
			['s', 'ස්'],
101
			['q', 'ඣ්'],
102
			['h', 'හ්'],
103
			['n', 'න්'],
104
			['N', 'ණ්'],
105
			['p', 'ප්'],
106
			['L', 'ළ්']]
107
	};
108
109
	$.ime.register( siSinglish );
110
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/si/si-wijesekara.js (+105 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var siWijesekara = {
5
		id: 'si-wijesekara',
6
		name: 'Sinhalese Wijesekara',
7
		description: 'Wijesekara layout for Sinhalese',
8
		date: '2012-10-16',
9
		URL: 'http://www.ucsc.lk/ltrl/services/layout/',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			['`', '\u0DCA\u200D\u0DBB'],
17
			['~', '\u0DBB\u0DCA\u200D'],
18
			['q', 'ු'],
19
			['w', 'අ'],
20
			['අe', 'ඇ'],
21
			['e', 'ැ'],
22
			['r', 'ර'],
23
			['ෙt', 'ඓ'],
24
			['t', 'එ'],
25
			['y', 'හ'],
26
			['u', 'ම'],
27
			['i', 'ස'],
28
			['o', 'ද'],
29
			['p', 'ච'],
30
			['\\[', 'ඤ'],
31
			['\\]', ';'],
32
			['එa', 'ඒ'],
33
			['ඔa', 'ඕ'],
34
			['a', '්'],
35
			['s', 'ි'],
36
			['අd', 'ආ'],
37
			['d', 'ා'],
38
			['f', 'ෙ'],
39
			['g', 'ට'],
40
			['h', 'ය'],
41
			['j', 'ව'],
42
			['k', 'න'],
43
			['l', 'ක'],
44
			[';', 'ත'],
45
			['\'', '.'],
46
			['z', '\''],
47
			['x', 'ං'],
48
			['c', 'ජ'],
49
			['v', 'ඩ'],
50
			['b', 'ඉ'],
51
			['n', 'බ'],
52
			['m', 'ප'],
53
			['\\,', 'ල'],
54
			['\\.', 'ග'],
55
56
			['Q', 'ූ'],
57
			['W', 'උ'],
58
			['අE', 'ඈ'],
59
			['E', 'ෑ'],
60
			['R', 'ඍ'],
61
			['T', 'ඔ'],
62
			['Y', 'ශ'],
63
			['U', 'ඹ'],
64
			['I', 'ෂ'],
65
			['O', 'ධ'],
66
			['P', 'ඡ'],
67
			['\\{', 'ඥ'],
68
			['\\}', ':'],
69
			['උA', 'ඌ'],
70
			['ඏA', 'ඐ'],
71
			['ඔA', 'ඖ'],
72
			['A', 'ෟ'],
73
			['S', 'ී'],
74
			['ඍD', 'ඎ'],
75
			['ෘD', 'ෲ'],
76
			['D', 'ෘ'],
77
			['F', 'ෆ'],
78
			['G', 'ඨ'],
79
			['H', 'ය'],
80
			['J', 'ළ'],
81
			['K', 'ණ'],
82
			['L', 'ඛ'],
83
			['\\:', 'ථ'],
84
			['\"', ','],
85
			['Z', '"'],
86
			['X', 'ඃ'],
87
			['C', 'ඣ'],
88
			['V', 'ඪ'],
89
			['B', 'ඊ'],
90
			['N', 'භ'],
91
			['M', 'ඵ'],
92
			['\\<', 'ළ'],
93
			['\\>', 'ඝ']],
94
		patterns_x: [
95
			['o', 'ඳ'],
96
			['v', 'ඬ'],
97
			['\'', '෴'],
98
			['a', 'ෳ'],
99
			['\\.', 'ඟ'],
100
			['x', 'ඦ'],
101
			[',', 'ඏ']]
102
	};
103
104
	$.ime.register( siWijesekara );
105
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sk/sk-kbd.js (+105 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var skKbd = {
5
		id: 'sk-kbd',
6
		name: 'Slovak kbd',
7
		description: 'Slovak kbd keyboard layout',
8
		date: '2013-06-26',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.1',
13
		patterns: [
14
			['1', '+'],
15
			['2', 'ľ'],
16
			['3', 'š'],
17
			['4', 'č'],
18
			['5', 'ť'],
19
			['6', 'ž'],
20
			['7', 'ý'],
21
			['8', 'á'],
22
			['9', 'í'],
23
			['0', 'é'],
24
			['!', '1'],
25
			['@', '2'],
26
			['#', '3'],
27
			['\\$', '4'],
28
			['%', '5'],
29
			['\\^', '6'],
30
			['&', '7'],
31
			['\\*', '8'],
32
			['\\(', '9'],
33
			['\\)', '0'],
34
			['-', '='],
35
			['_', '%'],
36
			['=', '´'],
37
			['\\+', 'ˇ'],
38
			['\\[', 'ú'],
39
			['\\{', '/'],
40
			['\\]', 'ä'],
41
			['\\}', '('],
42
			['\\\\', 'ň'],
43
			['\\|', ')'],
44
			[';', 'ô'],
45
			[':', '\"'],
46
			['\'', '§'],
47
			['\"', '!'],
48
			['\\<', '?'],
49
			['\\>', ':'],
50
			['/', '-'],
51
			['\\?', '_'],
52
			['`', ';'],
53
			['~', '°'],
54
55
			['´a', 'á'],
56
			['´A', 'Á'],
57
			['´e', 'é'],
58
			['´E', 'É'],
59
			['´i', 'í'],
60
			['´I', 'Í'],
61
			['´l', 'ĺ'],
62
			['´L', 'Ĺ'],
63
			['´o', 'ó'],
64
			['´O', 'Ó'],
65
			['´r', 'ŕ'],
66
			['´R', 'Ŕ'],
67
			['´u', 'ú'],
68
			['´U', 'Ú'],
69
			['´y', 'ý'],
70
			['´Y', 'Ý'],
71
72
			['¨a', 'ä'],
73
			['¨A', 'Ä'],
74
			['\\^o', 'ô'],
75
			['\\^O', 'Ô'],
76
77
			['ˇc', 'č'],
78
			['ˇC', 'Č'],
79
			['ˇd', 'ď'],
80
			['ˇD', 'Ď'],
81
			['ˇl', 'ľ'],
82
			['ˇL', 'Ľ'],
83
			['ˇn', 'ň'],
84
			['ˇN', 'Ň'],
85
			['ˇs', 'š'],
86
			['ˇS', 'Š'],
87
			['ˇt', 'ť'],
88
			['ˇT', 'Ť'],
89
			['ˇz', 'ž'],
90
			['ˇZ', 'Ž'],
91
92
			// It's QWERTZ
93
			['y', 'z'],
94
			['z', 'y'],
95
			['Y', 'Z'],
96
			['Z', 'Y']
97
		],
98
		patterns_x: [
99
			['3', '^'],
100
			['=', '¨']
101
		]
102
	};
103
104
	$.ime.register( skKbd );
105
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sr/sr-kbd.js (+98 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var srKbd = {
5
		id: 'sr-kbd',
6
		name: 'Serbian keyboard',
7
		description: 'Serbian keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['\'g', 'ѓ'],
15
			['\'G', 'Ѓ'],
16
			['\'k', 'ќ'],
17
			['\'K', 'Ќ'],
18
			['\\@', '\"'],
19
			['\\^', '&'],
20
			['\\&', '/'],
21
			['\\*', '('],
22
			['\\(', ')'],
23
			['\\)', '='],
24
			['\\-', '\''],
25
			['\\_', '?'],
26
			['\\=', '+'],
27
			['\\+', '*'],
28
			['q', 'љ'],
29
			['Q', 'Љ'],
30
			['w', 'њ'],
31
			['W', 'Њ'],
32
			['e', 'е'],
33
			['E', 'Е'],
34
			['r', 'р'],
35
			['R', 'Р'],
36
			['t', 'т'],
37
			['T', 'Т'],
38
			['y', 'з'],
39
			['Y', 'З'],
40
			['u', 'у'],
41
			['U', 'У'],
42
			['i', 'и'],
43
			['I', 'И'],
44
			['o', 'о'],
45
			['O', 'О'],
46
			['p', 'п'],
47
			['P', 'П'],
48
			['\\[', 'ш'],
49
			['\\{', 'Ш'],
50
			['\\]', 'ђ'],
51
			['\\}', 'Ђ'],
52
			['a', 'а'],
53
			['A', 'А'],
54
			['s', 'с'],
55
			['S', 'С'],
56
			['d', 'д'],
57
			['D', 'Д'],
58
			['f', 'ф'],
59
			['F', 'Ф'],
60
			['g', 'г'],
61
			['G', 'Г'],
62
			['h', 'х'],
63
			['H', 'Х'],
64
			['j', 'ј'],
65
			['J', 'Ј'],
66
			['k', 'к'],
67
			['K', 'К'],
68
			['l', 'л'],
69
			['L', 'Л'],
70
			[';', 'ч'],
71
			[':', 'Ч'],
72
			['\'', 'ћ'],
73
			['\"', 'Ћ'],
74
			['\\', 'ж'],
75
			['\\|', 'Ж'],
76
			['z', 'ѕ'],
77
			['Z', 'Ѕ'],
78
			['x', 'џ'],
79
			['X', 'Џ'],
80
			['c', 'ц'],
81
			['C', 'Ц'],
82
			['v', 'в'],
83
			['V', 'В'],
84
			['b', 'б'],
85
			['B', 'Б'],
86
			['n', 'н'],
87
			['N', 'Н'],
88
			['m', 'м'],
89
			['M', 'М'],
90
			['\\<', ';'],
91
			['\\>', ':'],
92
			['/', '-'],
93
			['\\?', '_']
94
		]
95
	};
96
97
	$.ime.register( srKbd );
98
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sv/sv-normforms.js (+50 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var defs = {
5
		id: 'sv-normforms',
6
		name: 'Svenska',
7
		description: 'Swedish input method with most common form transliterated',
8
		date: '2012-12-04',
9
		URL: 'http://www.evertype.com/alphabets/swedish.pdf',
10
		author: 'John Erling Blad',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 3,
15
		patterns: [
16
			// The most common transliterations
17
			[ 'aa', 'å' ],
18
			[ 'AA', 'Å' ],
19
			[ 'Aa', 'Å' ],
20
			[ 'ae', 'ä' ],
21
			[ 'AE', 'Ä' ],
22
			[ 'Ae', 'Ä' ],
23
			[ 'oe', 'ö' ],
24
			[ 'OE', 'Ö' ],
25
			[ 'Oe', 'Ö' ],
26
			// The previous as negated transliterations, mostly for names
27
			[ 'åa', 'a', 'aa' ],
28
			[ 'ÅA', 'A', 'AA' ],
29
			[ 'Åa', 'A', 'Aa' ],
30
			[ 'åA', 'a', 'aA' ],
31
			[ 'äe', 'e', 'ae' ],
32
			[ 'ÄE', 'E', 'AE' ],
33
			[ 'Äe', 'E', 'Ae' ],
34
			[ 'äE', 'e', 'aE' ],
35
			[ 'öe', 'e', 'oe' ],
36
			[ 'ÖE', 'E', 'OE' ],
37
			[ 'Öe', 'E', 'Oe' ], // this fails for some names like "Øen"
38
			[ 'öE', 'e', 'oE' ]
39
			// historically similar forms
40
			// "Å" is sometimes written as "Aa", and "å" as "aa", but in names
41
			// it is not generally acceptable to use this transliteration. The
42
			// same is the case for "Ô" vs "Oe". To
43
			// handle those situations we need some oposite forms.
44
			// There is a similar character "Å" for the length unit Angstrom,
45
			// but this is not the upper case letter Å.
46
		]
47
	};
48
49
	$.ime.register( defs );
50
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-99.js (+193 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ta99 = {
5
		id: 'ta-99',
6
		name: 'தமிழ்99',
7
		description: 'Tamil 99 Keyboard',
8
		date: '2012-11-20',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 4,
15
		patterns: [
16
			[ '([க-ஹ])h', 'a', '$1க' ],
17
			[ '([க-ஹ])b', 'a', '$1ங' ],
18
			[ '([க-ஹ])\\[', 'a', '$1ச' ],
19
			[ '([க-ஹ])E', 'a', '$1ஜ' ],
20
			[ '([க-ஹ])\\]', 'a', '$1ஞ' ],
21
			[ '([க-ஹ])o', 'a', '$1ட' ],
22
			[ '([க-ஹ])p', 'a', '$1ண' ],
23
			[ '([க-ஹ])l', 'a', '$1த' ],
24
			[ '([க-ஹ]);', 'a', '$1ந' ],
25
			[ '([க-ஹ])i', 'a', '$1ன' ],
26
			[ '([க-ஹ])j', 'a', '$1ப' ],
27
			[ '([க-ஹ])k', 'a', '$1ம' ],
28
			[ '([க-ஹ])\'', 'a', '$1ய' ],
29
			[ '([க-ஹ])m', 'a', '$1ர' ],
30
			[ '([க-ஹ])u', 'a', '$1ற' ],
31
			[ '([க-ஹ])n', 'a', '$1ல' ],
32
			[ '([க-ஹ])y', 'a', '$1ள' ],
33
			[ '([க-ஹ])/', 'a', '$1ழ' ],
34
			[ '([க-ஹ])v', 'a', '$1வ' ],
35
			// void
36
			[ '([க-ஹ])W', 'a', '$1ஷ' ],
37
			[ '([க-ஹ])Q', 'a', '$1ஸ' ],
38
			[ '([க-ஹ])R', 'a', '$1ஹ' ],
39
40
			[ 'க்கh', 'க்கக' ],
41
			[ 'ங்ஙb', 'ங்ஙங' ],
42
			[ 'ச்ச\\[', 'ச்சச' ],
43
			[ 'ஜ்ஜE', 'ஜ்ஜஜ' ],
44
			[ 'ஞ்ஞ\\]', 'ஞ்ஞஞ' ],
45
			[ 'ட்டo', 'ட்டட' ],
46
			[ 'ண்ணp', 'ண்ணண' ],
47
			[ 'த்தl', 'த்தத' ],
48
			[ 'ந்ந;', 'ந்நந' ],
49
			[ 'ன்னi', 'ன்னன' ],
50
			[ 'ப்பj', 'ப்பப' ],
51
			[ 'ம்மk', 'ம்மம' ],
52
			[ 'ய்ய\'', 'ய்யய' ],
53
			[ 'ர்ரm', 'ர்ரர' ],
54
			[ 'ற்றu', 'ற்றற' ],
55
			[ 'ல்லn', 'ல்லல' ],
56
			[ 'ள்ளy', 'ள்ளள' ],
57
			[ 'ழ்ழ/', 'ழ்ழழ' ],
58
			[ 'வ்வv', 'வ்வவ' ],
59
			// void
60
			[ 'ஷ்ஷW', 'ஷ்ஷஷ' ],
61
			[ 'ஸ்ஸQ', 'ஸ்ஸஸ' ],
62
			[ 'ஹ்ஹR', 'ஹ்ஹஹ' ],
63
64
			[ '([க-ஹ])q', '$1ா' ],
65
			[ '([க-ஹ])s', '$1ி' ],
66
			[ '([க-ஹ])w', '$1ீ' ],
67
			[ '([க-ஹ])d', '$1ு' ],
68
			[ '([க-ஹ])e', '$1ூ' ],
69
			[ '([க-ஹ])g', '$1ெ' ],
70
			[ '([க-ஹ])t', '$1ே' ],
71
			[ '([க-ஹ])r', '$1ை' ],
72
			[ '([க-ஹ])c', '$1ொ' ],
73
			[ '([க-ஹ])x', '$1ோ' ],
74
			[ '([க-ஹ])z', '$1ௌ' ],
75
76
			[ '([க-ஹ])a', '$1' ],
77
78
			[ 'கh', 'க்க' ],
79
			[ 'ஙb', 'ங்ங' ],
80
			[ 'ச\\[', 'ச்ச' ],
81
			[ 'ஜE', 'ஜ்ஜ' ],
82
			[ 'ஞ\\]', 'ஞ்ஞ' ],
83
			[ 'டo', 'ட்ட' ],
84
			[ 'ணp', 'ண்ண' ],
85
			[ 'தl', 'த்த' ],
86
			[ 'ந;', 'ந்ந' ],
87
			[ 'னi', 'ன்ன' ],
88
			[ 'பj', 'ப்ப' ],
89
			[ 'மk', 'ம்ம' ],
90
			[ 'ய\'', 'ய்ய' ],
91
			[ 'ரm', 'ர்ர' ],
92
			[ 'றu', 'ற்ற' ],
93
			[ 'லn', 'ல்ல' ],
94
			[ 'ளy', 'ள்ள' ],
95
			[ 'ழ/', 'ழ்ழ' ],
96
			[ 'வv', 'வ்வ' ],
97
			// void
98
			[ 'ஷW', 'ஷ்ஷ' ],
99
			[ 'ஸQ', 'ஸ்ஸ' ],
100
			[ 'ஹR', 'ஹ்ஹ' ],
101
102
			[ 'நl', 'ந்த' ],
103
			[ 'ஙh', 'ங்க' ],
104
			[ 'னu', 'ன்ற' ],
105
			[ 'ணo', 'ண்ட' ],
106
			[ 'ஞ\\[', 'ஞ்ச' ],
107
			[ 'மj', 'ம்ப' ],
108
109
			[ 'q', 'ஆ' ],
110
			[ 'w', 'ஈ' ],
111
			[ 'e', 'ஊ' ],
112
			[ 'r', 'ஐ' ],
113
			[ 't', 'ஏ' ],
114
			[ 'y', 'ள' ],
115
			[ 'u', 'ற' ],
116
			[ 'i', 'ன' ],
117
			[ 'o', 'ட' ],
118
			[ 'p', 'ண' ],
119
			[ '\\[', 'ச' ],
120
			[ '\\]', 'ஞ' ],
121
122
			[ 'a', 'அ' ],
123
			[ 's', 'இ' ],
124
			[ 'd', 'உ' ],
125
			[ 'f', '்' ],
126
			[ 'g', 'எ' ],
127
			[ 'h', 'க' ],
128
			[ 'j', 'ப' ],
129
			[ 'k', 'ம' ],
130
			[ 'l', 'த' ],
131
			[ ';', 'ந' ],
132
			[ '\'', 'ய' ],
133
134
			[ 'z', 'ஔ' ],
135
			[ 'x', 'ஓ' ],
136
			[ 'c', 'ஒ' ],
137
			[ 'v', 'வ' ],
138
			[ 'b', 'ங' ],
139
			[ 'n', 'ல' ],
140
			[ 'm', 'ர' ],
141
			// ',', 'ஆ'],
142
			// '\\.', 'ஆ'],
143
			[ '/', 'ழ' ],
144
145
			// ksha in non-conjunct form with ZWNJ.
146
			[ 'க்W', 'க்\u200Cஷ' ],
147
			[ 'Q', 'ஸ' ],
148
			[ 'W', 'ஷ' ],
149
			[ 'E', 'ஜ' ],
150
			[ 'R', 'ஹ' ],
151
			[ 'T', 'க்ஷ' ],
152
			[ 'Y', 'ஸ்ரீ' ],
153
			[ 'U', 'ற' ],
154
			[ 'I', 'ன' ],
155
			[ 'O', '[' ],
156
			[ 'P', ']' ],
157
			// '\\{', 'ஆ'],
158
			// '\\}', 'ஆ'],
159
160
			[ 'A', '௹' ],
161
			[ 'S', '௺' ],
162
			[ 'D', '௸' ],
163
			[ 'F', 'ஃ' ],
164
			[ 'G', 'எ' ],
165
			[ 'H', 'க' ],
166
			[ 'J', 'ப' ],
167
			[ 'K', '"' ],
168
			[ 'L', ':' ],
169
			[ '\\:', ';' ],
170
			[ '\'', '\'' ],
171
172
			[ 'Z', '௳' ],
173
			[ 'X', '௴' ],
174
			[ 'C', '௵' ],
175
			[ 'V', '௶' ],
176
			[ 'B', '௷' ],
177
			[ 'N', 'ல' ],
178
			[ 'M', '/' ],
179
180
			[ '\\\\0', '\u0be6' ],
181
			[ '\\\\1', '௧' ],
182
			[ '\\\\2', '௨' ],
183
			[ '\\\\3', '௩' ],
184
			[ '\\\\4', '௪' ],
185
			[ '\\\\5', '௫' ],
186
			[ '\\\\6', '௬' ],
187
			[ '\\\\7', '௭' ],
188
			[ '\\\\8', '௮' ],
189
			[ '\\\\9', '௯' ] ]
190
	};
191
192
	$.ime.register( ta99 );
193
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-bamini.js (+90 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var taBamini = {
5
		id: 'ta-bamini',
6
		name: 'பாமினி',
7
		description: 'Tamil Bamini input method',
8
		date: '2012-10-03',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 0,
14
		maxKeyLength: 2,
15
		patterns: [
16
			[ '`', 'ஹ' ],
17
			[ 'q', 'ங' ],
18
			[ 'w', 'ற' ],
19
			[ 'e', 'ந' ],
20
			[ 'r', 'ச' ],
21
			[ 't', 'வ' ],
22
			[ 'y', 'ல' ],
23
			[ 'u', 'ர' ],
24
			[ 'i', 'ை' ],
25
			[ 'o', 'ழ' ],
26
			[ 'p', 'ி' ],
27
			[ '\\[', 'ஜ' ],
28
			[ '\\]', 'ஸ' ],
29
			[ '\\\\', 'ஷ' ],
30
			[ 'a', 'ய' ],
31
			[ 's', 'ள' ],
32
			[ 'd', 'ன' ],
33
			[ 'f', 'க' ],
34
			[ 'g', 'ப' ],
35
			[ 'h', 'ா' ],
36
			[ 'j', 'த' ],
37
			[ 'k', 'ம' ],
38
			[ 'l', 'ட' ],
39
			[ ';', '்' ],
40
			[ 'z', 'ண' ],
41
			[ 'x', 'ஒ' ],
42
			[ 'c', 'உ' ],
43
			[ 'v', 'எ' ],
44
			[ 'b', 'டி' ],
45
			[ 'n', 'ெ' ],
46
			[ 'N', 'ே' ],
47
			[ 'm', 'அ' ],
48
			[ ',', 'இ' ],
49
			[ '/', 'ஃ' ],
50
			[ '@', ';' ],
51
			[ '#', 'சூ' ],
52
			[ '\\$', 'கூ' ],
53
			[ '%', 'மூ' ],
54
			[ '\\^', 'டூ' ],
55
			[ '&', 'ரூ' ],
56
			[ '\\*', 'ழூ' ],
57
			[ '=', 'ஸ்ரீ' ],
58
			[ 'Q', 'ஞ' ],
59
			[ 'W', 'று' ],
60
			[ 'E', 'நு' ],
61
			[ 'R', 'சு' ],
62
			[ 'T', 'வு' ],
63
			[ 'Y', 'லு' ],
64
			[ 'U', 'ரு' ],
65
			[ 'I', 'ஐ' ],
66
			[ 'O', 'ழு' ],
67
			[ 'P', 'ீ' ],
68
			[ '\\|', '\'' ],
69
			[ 'A', 'யு' ],
70
			[ 'S', 'ளு' ],
71
			[ 'D', 'னு' ],
72
			[ 'F', 'கு' ],
73
			[ 'G', 'பு' ],
74
			[ 'H', 'ர்' ],
75
			[ 'J', 'து' ],
76
			[ 'K', 'மு' ],
77
			[ 'L', 'டு' ],
78
			[ 'Z', 'ணு' ],
79
			[ 'X', 'ஓ' ],
80
			[ 'C', 'ஊ' ],
81
			[ 'V', 'ஏ' ],
82
			[ 'B', 'டீ' ],
83
			[ 'M', 'ஆ' ],
84
			[ '\\<', 'ஈ' ],
85
			[ '\\>', ',' ],
86
			[ '([ஜஷஸஹ])\\{', '$1ு' ],
87
			[ '([ஜஷஸஹ])\\_', '$1ூ' ] ]
88
	};
89
	$.ime.register( taBamini );
90
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-inscript.js (+103 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var taInScript = {
5
		id: 'ta-inscript',
6
		name: 'இன்ஸ்கிரிப்ட்',
7
		description: 'Tamil InScript Keyboard',
8
		date: '2012-11-20',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 4,
15
		patterns: [
16
			[ '`', 'ொ' ],
17
			[ '~', 'ஒ' ],
18
19
			[ '&', 'க்ஷ' ],
20
			[ '\\*', 'ஷ்ர' ],
21
22
			// ['\\(', '\u200D'], // ZWJ is not used in Tamil.
23
			[ '\\)', '\u200C' ], // ZWNJ
24
25
			[ '_', 'ஃ' ],
26
27
			[ 'q', 'ௌ' ],
28
			[ 'Q', 'ஔ' ],
29
			[ 'w', 'ை' ],
30
			[ 'W', 'ஐ' ],
31
			[ 'e', 'ா' ],
32
			[ 'E', 'ஆ' ],
33
			[ 'r', 'ீ' ],
34
			[ 'R', 'ஈ' ],
35
			[ 't', 'ூ' ],
36
			[ 'T', 'ஊ' ],
37
			[ 'u', 'ஹ' ],
38
			[ 'U', 'ங' ],
39
			[ 'p', 'ஜ' ],
40
			[ '\\}', 'ஞ' ],
41
42
			[ 'a', 'ோ' ],
43
			[ 'A', 'ஓ' ],
44
			[ 's', 'ே' ],
45
			[ 'S', 'ஏ' ],
46
			[ 'd', '்' ],
47
			[ 'D', 'அ' ],
48
			[ 'f', 'ி' ],
49
			[ 'F', 'இ' ],
50
			[ 'g', 'ு' ],
51
			[ 'G', 'உ' ],
52
			[ 'h', 'ப' ],
53
			[ 'j', 'ர' ],
54
			[ 'J', 'ற' ],
55
			[ 'k', 'க' ],
56
			[ 'l', 'த' ],
57
			[ ';', 'ச' ],
58
			[ '\'', 'ட' ],
59
60
			[ 'z', 'ெ' ],
61
			[ 'Z', 'எ' ],
62
			// ['x', 'ஂ'], -- Anusvara is not used in Tamil.
63
			[ 'c', 'ம' ],
64
			[ 'C', 'ண' ],
65
			[ 'v', 'ந' ],
66
			[ 'V', 'ன' ],
67
			[ 'b', 'வ' ],
68
			[ 'B', 'ழ' ],
69
			[ 'n', 'ல' ],
70
			[ 'N', 'ள' ],
71
			[ 'm', 'ஸ' ],
72
			[ 'M', 'ஶ' ],
73
			[ '<', 'ஷ' ],
74
			[ '/', 'ய' ],
75
76
			[ '1', '௧' ],
77
			[ '2', '௨' ],
78
			[ '3', '௩' ],
79
			[ '4', '௪' ],
80
			[ '5', '௫' ],
81
			[ '6', '௬' ],
82
			[ '7', '௭' ],
83
			[ '8', '௮' ],
84
			[ '9', '௯' ],
85
			[ '0', '௦' ] ],
86
87
		patterns_x: [
88
			[ 'X', 'ௐ' ],
89
			[ '\\)', '௰' ],
90
			[ '-', '௱' ],
91
			[ '=', '௲' ],
92
			[ 'n', '௳' ],
93
			[ 'c', '௴' ],
94
			[ 'b', '௵' ],
95
			[ 'h', '௶' ],
96
			[ 'y', '௷' ],
97
			[ 'C', '௸' ],
98
			[ ',', '௹' ],
99
			[ 'V', '௺' ],
100
			[ '4', '₹' ] ]
101
	};
102
	$.ime.register( taInScript );
103
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-inscript2.js (+107 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var taInScript2 = {
5
		id: 'ta-inscript2',
6
		name: 'இன்ஸ்கிரிப்ட் 2',
7
		description: 'Enhanced InScript Keyboard for Tamil',
8
		date: '2013-01-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['1', '௧'],
15
			['2', '௨'],
16
			['3', '௩'],
17
			['4', '௪'],
18
			['5', '௫'],
19
			['\\^', 'த்ர'],
20
			['6', '௬'],
21
			['\\&', 'க்ஷ'],
22
			['7', '௭'],
23
			['\\*', 'ஷ்ர'],
24
			['8', '௮'],
25
			['\\(', '('],
26
			['9', '௯'],
27
			['\\)', ')'],
28
			['0', '௦'],
29
			['\\_', 'ஃ'],
30
			['\\-', '-'],
31
			['\\=','='],
32
			['Q', 'ஔ'],
33
			['q', 'ௌ'],
34
			['W', 'ஐ'],
35
			['w', 'ை'],
36
			['E', 'ஆ'],
37
			['e', 'ா'],
38
			['R', 'ஈ'],
39
			['r', 'ீ'],
40
			['T', 'ஊ'],
41
			['t', 'ூ'],
42
			['y', 'y'],
43
			['U', 'ங'],
44
			['u', 'ஹ'],
45
			['p', 'ஜ'],
46
			['\\}', 'ஞ'],
47
			['A', 'ஓ'],
48
			['a', 'ோ '],
49
			['S', 'ஏ'],
50
			['s', 'ே'],
51
			['D', 'அ'],
52
			['d', '்'],
53
			['F', 'இ'],
54
			['f', 'ி'],
55
			['G', 'உ'],
56
			['g', 'ு'],
57
			['h', 'ப'],
58
			['J', 'ற'],
59
			['j', 'ர'],
60
			['k', 'க'],
61
			['l', 'த'],
62
			[';', 'ச'],
63
			['\\\'', 'ட'],
64
			['\\~', 'ஒ'],
65
			['\\`', 'ொ'],
66
			['Z', 'எ'],
67
			['z', 'ெ'],
68
			['x', 'ஂ'],
69
			['X', '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
		patterns_x: [
87
			['1', '\u200d'],
88
			['2', '\u200c'],
89
			['4', '₹'],
90
			['0', '௰'],
91
			['\\-', '௱'],
92
			['\\=', '௲'],
93
			['y', '௷'],
94
			['h', '௶'],
95
			['X', 'ௐ'],
96
			['C', '௸'],
97
			['c', '௴'],
98
			['V', '௺'],
99
			['v', '௳'],
100
			['b', '௵'],
101
			[',', '௹'],
102
			['\\.', '॥']
103
		]
104
	};
105
106
	$.ime.register( taInScript2 );
107
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-transliteration.js (+120 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var taTransliteration = {
5
		id: 'ta-transliteration',
6
		name: 'எழுத்துப்பெயர்ப்பு',
7
		description: 'Tamil Transliteration based input method',
8
		date: '2012-10-03',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 4,
15
		patterns: [
16
			[ 'ச்h', 'h', 'ச்ஹ்' ],
17
			[ 'ழ்h', 'h', 'ழ்ஹ்' ],
18
19
			// '(ஸ்ரிi|ஸ்ர்I)',
20
			[ 'ஸ்ர்i', 'ஸ்ரீ' ],
21
22
			[ 'க்(ச்|ஸ்)h', 'க்\u200Cஷ்' ], // with ZWNJ
23
			[ 'க்(ச்|ஸ்)H', 'க்ஷ்' ],
24
25
			[ '([க-ஹ])்a', '$1' ],
26
			[ '([க-ஹ])(்A|a)', '$1ா' ],
27
			[ '([க-ஹ])்i', '$1ி' ],
28
			[ '([க-ஹ])(்I|ிi)', '$1ீ' ],
29
			[ '([க-ஹ])்u', '$1ு' ],
30
			[ '([க-ஹ])(்U|ுu)', '$1ூ' ],
31
			[ '([க-ஹ])்e', '$1ெ' ],
32
			[ '([க-ஹ])(்E|ெe)', '$1ே' ],
33
			[ '([க-ஹ])i', '$1ை' ],
34
			[ '([க-ஹ])்o', '$1ொ' ],
35
			[ '([க-ஹ])(்O|ொo)', '$1ோ' ],
36
			[ '([க-ஹ])u', '$1ௌ' ],
37
38
			[ '([அ-ஹ][ெ-்]?)n', '$1ன்' ],
39
40
			[ 'அa', 'ஆ' ],
41
			[ 'இi', 'ஈ' ],
42
			[ 'உu', 'ஊ' ],
43
			[ 'எe', 'ஏ' ],
44
			[ 'அi', 'ஐ' ],
45
			[ 'ஒo', 'ஓ' ],
46
			[ 'அu', 'ஔ' ],
47
48
			[ '(ந்|ன்)g', 'ங்' ],
49
			[ '(ந்|ன்)j', 'ஞ்' ],
50
			[ 'ச்h', 'ஷ்' ],
51
			[ 'ழ்h', 'ழ்' ],
52
			[ 'ட்h', 'த்' ],
53
			[ 'ஸ்h', 'ஷ்' ],
54
55
			[ 'a', 'அ' ],
56
			[ 'b', 'ப்' ],
57
			[ 'c', 'ச்' ],
58
			[ 'd', 'ட்' ],
59
			[ 'e', 'எ' ],
60
			[ 'f', 'ஃப்' ],
61
			[ 'g', 'க்' ],
62
			[ 'h', 'ஹ்' ],
63
			[ 'i', 'இ' ],
64
			[ 'j', 'ஜ்' ],
65
			[ 'k', 'க்' ],
66
			[ 'l', 'ல்' ],
67
			[ 'm', 'ம்' ],
68
			[ 'n', 'ன்' ],
69
			[ 'o', 'ஒ' ],
70
			[ 'p', 'ப்' ],
71
			[ 'q', 'ஃ' ],
72
			[ 'r', 'ர்' ],
73
			[ 's', 'ச்' ],
74
			[ 't', 'ட்' ],
75
			[ 'u', 'உ' ],
76
			[ 'v', 'வ்' ],
77
			[ 'w', 'ந்' ],
78
			[ 'y', 'ய்' ],
79
			[ 'z', 'ழ்' ],
80
			[ 'A', 'ஆ' ],
81
			[ 'B', 'ப்' ],
82
			[ 'C', 'க்க்' ],
83
			[ 'E', 'ஏ' ],
84
			[ 'F', 'ஃப்' ],
85
			[ 'G', 'க்' ],
86
			[ 'H', 'ஃ' ],
87
			[ 'I', 'ஈ' ],
88
			[ 'J', 'ஜ்ஜ்' ],
89
			[ 'K', 'க்' ],
90
			[ 'L', 'ள்' ],
91
			[ 'M', 'ம்ம்' ],
92
			[ 'N', 'ண்' ],
93
			[ 'O', 'ஓ' ],
94
			[ 'P', 'ப்ப்' ],
95
			[ 'Q', 'ஃ' ],
96
			[ 'R', 'ற்' ],
97
			[ 'S', 'ஸ்' ],
98
			[ 'T', 'ட்' ],
99
			[ 'U', 'ஊ' ],
100
			[ '(V|W)', 'வ்வ்' ],
101
			[ 'Y', 'ய்ய்' ],
102
			[ 'Z', 'ஶ்' ],
103
104
			[ '\\\\0', '\u0be6' ],
105
			[ '\\\\1', '௧' ],
106
			[ '\\\\2', '௨' ],
107
			[ '\\\\3', '௩' ],
108
			[ '\\\\4', '௪' ],
109
			[ '\\\\5', '௫' ],
110
			[ '\\\\6', '௬' ],
111
			[ '\\\\7', '௭' ],
112
			[ '\\\\8', '௮' ],
113
			[ '\\\\9', '௯' ],
114
			[ '10\\\\', '\u0BF0' ],
115
			[ '100\\\\', '\u0BF1' ],
116
			[ '1000\\\\', '\u0BF2' ] ]
117
	};
118
119
	$.ime.register( taTransliteration );
120
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-inscript.js (+122 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var teInScript = {
5
		id: 'te-inscript',
6
		name: 'ఇన్\u200dస్క్రిప్ట్',
7
		description: 'Inscript keyboard for Telugu script',
8
		date: '2012-10-16',
9
		author: 'Veeven',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['D', 'అ'],
14
			['E', 'ఆ'],
15
			['F', 'ఇ'],
16
			['R', 'ఈ'],
17
			['G', 'ఉ'],
18
			['T', 'ఊ'],
19
			['\\+', 'ఋ'],
20
			['Z', 'ఎ'],
21
			['S', 'ఏ'],
22
			['W', 'ఐ'],
23
			['~', 'ఒ'],
24
			['A', 'ఓ'],
25
			['Q', 'ఔ'],
26
27
			['k', 'క'],
28
			['K', 'ఖ'],
29
			['i', 'గ'],
30
			['I', 'ఘ'],
31
			['U', 'ఙ'],
32
33
			['\\;', 'చ'],
34
			['\\:', 'ఛ'],
35
			['p', 'జ'],
36
			['P', 'ఝ'],
37
			['\\}', 'ఞ'],
38
39
			['\'', 'ట'],
40
			['"', 'ఠ'],
41
			['\\[', '','డ'],
42
			['\\{', '','ఢ'],
43
			['C', 'ణ'],
44
45
			['l', 'త'],
46
			['L', 'థ'],
47
			['o', 'ద'],
48
			['O', 'ధ'],
49
			['v', 'న'],
50
51
			['h', 'ప'],
52
			['H', 'ఫ'],
53
			['y', 'బ'],
54
			['Y', 'భ'],
55
			['c', 'మ'],
56
57
			['/', 'య'],
58
			['j', 'ర'],
59
			['J', 'ఱ'],
60
			['n', 'ల'],
61
			['N', 'ళ'],
62
			['b', 'వ'],
63
64
			['M', 'శ'],
65
			['\\<', '','ష'],
66
			['m', 'స'],
67
			['u', 'హ'],
68
69
			['e', 'ా'],
70
			['f', 'ి'],
71
			['r', 'ీ'],
72
			['g', 'ు'],
73
			['t', 'ూ'],
74
			['\\=', 'ృ'],
75
			['z', 'ె'],
76
			['s', 'ే'],
77
			['w', 'ై'],
78
			['`', 'ొ'],
79
			['a', 'ో'],
80
			['q', 'ౌ'],
81
			['x', 'ం'],
82
			['\\-', 'ః'],
83
			['X', 'ఁ'],
84
			['d', '్'],
85
86
			['0', '','౦'],
87
			['1', '','౧'],
88
			['2', '౨'],
89
			['3', '౩'],
90
			['4', '౪'],
91
			['5', '౫'],
92
			['6', '౬'],
93
			['7', '౭'],
94
			['8', '౮'],
95
			['9', '౯'],
96
97
			['\\@', '\u200C'], // In cases where extended rules do not work
98
			['\\#', '్ర'],
99
			['\\$', 'ర్'],
100
			['\\%', 'జ్ఞ'],
101
			['\\^', 'త్ర'],
102
			['\\&', 'క్ష'],
103
			['\\*', 'శ్ర'],
104
			['\\>', '।']],
105
106
		patterns_x: [
107
			['X', 'ॐ'],
108
			['\\;', 'ౘ'],
109
			['p', 'ౙ'],
110
			['f', '\u0C62'], // vowel sign of alu (volic l)
111
			['r', '\u0C63'], // vowel sign of aluu (volic ll)
112
			['F', 'ఌ'],
113
			['R', 'ౡ'],
114
			['\\.', '॥'],
115
			['\\>', 'ఽ'],
116
			['2', '\u200C'], // ZWNJ
117
			['4', '₹'],
118
			['\\=', 'ౄ'],
119
			['\\+', 'ౠ']]
120
	};
121
	$.ime.register( teInScript );
122
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-inscript2.js (+126 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var teInScript2 = {
5
		id: 'te-inscript2',
6
		name: 'ఇన్\u200dస్క్రిప్ట్ 2',
7
		description: 'Enhanced InScript keyboard for Telugu script',
8
		date: '2013-01-16',
9
		author: 'Parag Nemade',
10
		license: 'GPLv3',
11
		version: '1.0',
12
		patterns: [
13
			['1', '౧'],
14
			['2', '౨'],
15
			['3', '౩'],
16
			['4', '౪'],
17
			['5', '౫'],
18
			['6', '౬'],
19
			['7', '౭'],
20
			['8', '౮'],
21
			['\\(', '('],
22
			['9', '౯'],
23
			['\\)', ')'],
24
			['0', '౦'],
25
			['\\_', 'ః'],
26
			['\\-', '-'],
27
			['\\+', 'ఋ'],
28
			['\\=', 'ృ'],
29
			['Q', 'ఔ'],
30
			['q', 'ౌ'],
31
			['W', 'ఐ'],
32
			['w', 'ై'],
33
			['E', 'ఆ'],
34
			['e', 'ా'],
35
			['R', 'ఈ'],
36
			['r', 'ీ'],
37
			['T', 'ఊ'],
38
			['t', 'ూ'],
39
			['Y', 'భ'],
40
			['y', 'బ'],
41
			['U', 'ఙ'],
42
			['u', 'హ'],
43
			['I', 'ఘ'],
44
			['i', 'గ'],
45
			['O', 'ధ'],
46
			['o', 'ద'],
47
			['P', 'ఝ'],
48
			['p', 'జ'],
49
			['\\{', 'ఢ'],
50
			['\\[', 'డ'],
51
			['\\}', 'ఞ'],
52
			['A', 'ఓ'],
53
			['a', 'ో'],
54
			['S', 'ఏ'],
55
			['s', 'ే'],
56
			['D', 'అ'],
57
			['d', '్'],
58
			['F', 'ఇ'],
59
			['f', 'ి'],
60
			['G', 'ఉ'],
61
			['g', 'ు'],
62
			['H', 'ఫ'],
63
			['h', 'ప'],
64
			['J', 'ఱ'],
65
			['j', 'ర'],
66
			['K', 'ఖ'],
67
			['k', 'క'],
68
			['L', 'థ'],
69
			['l', 'త'],
70
			[':', 'ఛ'],
71
			[';', 'చ'],
72
			['"', 'ఠ'],
73
			['\\\'', 'ట'],
74
			['\\~', 'ఒ'],
75
			['\\`', 'ొ'],
76
			['Z', 'ఎ'],
77
			['z', 'ె'],
78
			['X', 'ఁ'],
79
			['x', 'ం'],
80
			['C', 'ణ'],
81
			['c', 'మ'],
82
			['v', 'న'],
83
			['b', 'వ'],
84
			['N', 'ళ'],
85
			['n', 'ల'],
86
			['M', 'శ'],
87
			['m', 'స'],
88
			['\\<', 'ష'],
89
			[',', ','],
90
			['\\>', '।'],
91
			['\\.', '.'],
92
			['/', 'య'],
93
			['\\%', 'జ్ఞ'],
94
			['\\^', 'త్ర'],
95
			['\\&', 'క్ష'],
96
			['\\*', 'శ్ర']
97
		],
98
		patterns_x: [
99
			['\\!', '౹'],
100
			['\\@', '౼'],
101
			['\\#', '౺'],
102
			['\\$', '౽'],
103
			['4', '₹'],
104
			['\\%', '౻'],
105
			['\\^', '౾'],
106
			['1', '\u200d'],
107
			['2', '\u200c'],
108
			['0', '౸'],
109
			['\\-', '౿'],
110
			['\\+', 'ౠ'],
111
			['\\=', 'ౄ'],
112
			['R', 'ౣ'],
113
			['r', 'ౡ'],
114
			['p', 'ౙ'],
115
			['F', 'ఌ'],
116
			['f', 'ౢ'],
117
			[';', 'ౘ'],
118
			['Z', 'ౖ'],
119
			['z', 'ౕ'],
120
			['\\>', 'ఽ'],
121
			['\\.', '॥']
122
		]
123
	};
124
125
	$.ime.register( teInScript2 );
126
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-transliteration.js (+221 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var teTransliteration = {
5
		id: 'te-transliteration',
6
		name: 'లిప్యంతరీకరణ',
7
		description: 'Telugu Transliteration based on RTS',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Veeven and Junaid P V',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		contextLength: 1,
14
		maxKeyLength: 4,
15
		patterns: [
16
			['(మ్|న్)b', 'ంబ్'],
17
			['(మ్|న్)B', 'ంభ్'],
18
			['(మ్|న్)c', 'ంచ్'],
19
			['(మ్|న్)C', 'ంఛ్'],
20
			['(మ్|న్)d', 'ంద్'],
21
			['(మ్|న్)D', 'ండ్'],
22
			['(మ్|న్)[fFP]', 'ంఫ్'],
23
			['(మ్|న్)g', 'ంగ్'],
24
			['(మ్|న్)h', 'ంహ్'],
25
			['(మ్|న్)j', 'ంజ్'],
26
			['(మ్|న్)J', 'ంఝ్'],
27
			['(మ్|న్)k', 'ంక్'],
28
			['(మ్|న్)L', 'ంళ్'],
29
			['(మ్|న్)p', 'ంప్'],
30
			['(మ్|న్)r', 'ంర్'],
31
			['(మ్|న్)s', 'ంస్'],
32
			['(మ్|న్)t', 'ంత్'],
33
			['(మ్|న్)T', 'ంట్'],
34
			['(మ్|న్)[vwVW]', 'ంవ్'],
35
			['(మ్|న్)[xX]', 'ంక్ష్'],
36
37
			// & for forcing combination
38
			['(మ్|న్)&b', '$1బ్'],
39
			['(మ్|న్)&B', '$1బ్'],
40
			['(మ్|న్)&c', '$1చ్'],
41
			['(మ్|న్)&C', '$1ఛ్'],
42
			['(మ్|న్)&d', '$1ద్'],
43
			['(మ్|న్)&D', '$1డ్'],
44
			['(మ్|న్)&[fFP]', '$1ఫ్'],
45
			['(మ్|న్)&g', '$1గ్'],
46
			['(మ్|న్)&h', '$1హ్'],
47
			['(మ్|న్)&j', '$1జ్'],
48
			['(మ్|న్)&J', '$1ఝ్'],
49
			['(మ్|న్)&k', '$1క్'],
50
			['(మ్|న్)&L', '$1ళ్'],
51
			['(మ్|న్)&p', '$1ప్'],
52
			['(మ్|న్)&r', '$1ర్'],
53
			['(మ్|న్)&s', '$1స్'],
54
			['(మ్|న్)&t', '$1త్'],
55
			['(మ్|న్)&T', '$1ట్'],
56
			['(మ్|న్)&[vwVW]', '$1వ్'],
57
			['(మ్|న్)&[xX]', '$1క్ష్'],
58
			['(మ్|న్)&(\\s|\\.|\\, |\\))', '$1$2'],
59
			// అ
60
			['([క-హ]|ౘ|ౙ)్a', '$1'],
61
			// ఆ
62
			['([క-హ])(్A|a|\')', '$1ా'],
63
			// ఇ
64
			['([క-హ])్i', '$1ి'],
65
			// ఈ
66
			['([క-హ])(్I|ిi|ి\'|ెe)', '$1ీ'],
67
			// ఉ
68
			['([క-హ])్u', '$1ు'],
69
			// ఊ
70
			['([క-హ])(ుu|ు\'|ుa|్U)', '$1ూ'],
71
			['([క-హ])ొo', 'o', '$1ూ'],
72
			// ఋ
73
			['([క-హ])్R', '$1ృ'],
74
			['([క-హ])్ర్\'', '$1ృ'],
75
			// ౠ
76
			['([క-హ])ృu', '$1ౄ'],
77
			// ఌ
78
			['([క-హ])్~l', '$1ౢ'],
79
			// ౡ
80
			['([క-హ])ౢ(l|\')', '$1ౣ'],
81
			// ఎ
82
			['([క-హ])్e', '$1ె'],
83
			// ఏ
84
			['([క-హ])(్E|ెa|ె\')', '$1ే'],
85
			['([క-హ])e', 'a', '$1ే'],
86
			// ఐ
87
			['([క-హ])ెi', '$1ై'],
88
			['([క-హ])i', 'a', '$1ై'],
89
			// ఒ
90
			['([క-హ])్o', '$1ొ'],
91
			// ఓ
92
			['([క-హ])(్O|ొa|ొ\')', '$1ో'],
93
			// ఔ
94
			['([క-హ])(ొu|ొw)', '$1ౌ'],
95
			['([క-హ])u', 'a', '$1ౌ'],
96
97
			// TODO: handle back corrections
98
			/* not working			['([క-హ])u', '$1ు'],
99
			['([క-హ])U', '$1ూ'],
100
			['([క-హ])E', '$1ే'],
101
			*/
102
103
			// zwnj
104
			['(్)\\^', '$1\u200c'],
105
106
			// sunna ending
107
			['మ్(\\s|\\.|\\, |\\))', 'ం$1'],
108
109
			// standalone vowels
110
			['అ(a|\')', 'ఆ'],
111
			['ఇ(i|\')', 'ఈ'],
112
			['ఎe', 'ఈ'],
113
			['ఉ(u|\')', 'ఊ'],
114
			['ఒo', 'ఊ'],
115
			['ఎ(a|\')', 'ఏ'],
116
			['అe', 'a', 'ఏ'],
117
			['ఎi', 'ఐ'],
118
			['అi', 'a', 'ఐ'],
119
			['ఒ(a|\')', '', 'ఓ'],
120
			['అo', 'a', 'ఓ'],
121
			['ఒ(u|w)', 'ఔ'],
122
			['అu', 'a', 'ఔ'],
123
			['ఋ(u|\')', 'ౠ'],
124
			['ర్\'', 'ఋ'],
125
126
			// mahaa prana
127
			['క్h', 'ఖ్'],
128
			['గ్h', 'ఘ్'],
129
			['జ్h', 'ఝ్'],
130
			['చ్\'', 'ఛ్'],
131
			['చ్h', 'చ్'],
132
			['స్h', 'ష్'],
133
			['స్\'', 'శ్'],
134
			['త్\'', 'ట్'],
135
			['ట్h', 'ఠ్'],
136
			['ద్\'', 'డ్'],
137
			['డ్h', 'ఢ్'],
138
			['న్\'', 'ణ్'],
139
			['త్h', 'థ్'],
140
			['ద్h', 'ధ్'],
141
			['ప్h', 'ఫ్'],
142
			['బ్h', 'భ్'],
143
			['ల్\'', 'ళ్'],
144
145
			// basic
146
			['a', 'అ'],
147
			['b', 'బ్'],
148
			['~c', 'ౘ్'],
149
			['c', 'చ్'],
150
			['d', 'ద్'],
151
			['e', 'ఎ'],
152
			['(f|F|P)', 'ఫ్'],
153
			['g', 'గ్'],
154
			['@h', 'ః'],
155
			['h', 'హ్'],
156
			['i', 'ఇ'],
157
			['~j', 'ౙ్'],
158
			['j', 'జ్'],
159
			['k', 'క్'],
160
			['~l', 'ఌ'],
161
			['l', 'ల్'],
162
			['@m', 'ఁ'],
163
			['~m', 'ఙ'],
164
			['m', 'మ్'],
165
			['~n', 'ఞ'],
166
			['n', 'న్'],
167
			['o', 'ఒ'],
168
			['p', 'ప్'],
169
			['q', 'క్వ్'],
170
			['~r', 'ఱ్'],
171
			['r', 'ర్'],
172
			['s', 'స్'],
173
			['t', 'త్'],
174
			['u', 'ఉ'],
175
			['(v|w|V|W)', 'వ్'],
176
			['(x|X)', 'క్ష్'],
177
			['(y|Y)', 'య్'],
178
			['(z|Z)', 'జ్'],
179
			['A', 'ఆ'],
180
			['B', 'భ్'],
181
			['C', 'ఛ్'],
182
			['D', 'డ్'],
183
			['E', 'ఏ'],
184
			['G', 'ఘ్'],
185
			['H', 'ః'],
186
			['I', 'ఈ'],
187
			['J', 'ఝ్'],
188
			['K', 'ఖ్'],
189
			['L', 'ళ్'],
190
			['M', 'ం'],
191
			['N', 'ణ్'],
192
			['O', 'ఓ'],
193
			['Q', 'క్వ్'],
194
			['R', 'ఋ'],
195
			['S', 'శ్'],
196
			['T', 'ట్'],
197
			['U', 'ఊ'],
198
199
			/**
200
			 * Telugu numbers
201
			 */
202
			['~0', '౦'],
203
			['~1', '౧'],
204
			['~2', '౨'],
205
			['~3', '౩'],
206
			['~4', '౪'],
207
			['~5', '౫'],
208
			['~6', '౬'],
209
			['~7', '౭'],
210
			['~8', '౮'],
211
			['~9', '౯'],
212
213
			// others
214
			['।~\\.', '॥'], // double danda
215
			['~\\.', '।'], // danda
216
			['//', 'ఽ'], // avagraha
217
			['~\\$', '₹']] // rupee
218
	};
219
220
	$.ime.register( teTransliteration );
221
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/th/th-kedmanee.js (+115 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var kedmanee = {
5
		id: 'th-kedmanee',
6
		name: 'Thai Kedmanee',
7
		description: 'Thai Kedmanee Input Method',
8
		date: '2012-10-25',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Kevin K.S. Leung, <sprconan@gmail.com>',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['Q', '๐'],
15
			['W', '"'],
16
			['E', 'ฎ'],
17
			['R', 'ฑ'],
18
			['T', 'ธ'],
19
			['Y', 'ํ'],
20
			['U', '๊'],
21
			['I', 'ณ'],
22
			['O', 'ฯ'],
23
			['P', 'ญ'],
24
			['{', 'ฐ'],
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
49
			['q', 'ๆ'],
50
			['w', 'ไ'],
51
			['e', 'ำ'],
52
			['r', 'พ'],
53
			['t', 'ะ'],
54
			['y', 'ั'],
55
			['u', 'ี'],
56
			['i', 'ร'],
57
			['o', 'น'],
58
			['p', 'ย'],
59
			['\\[', 'บ'],
60
			['\\]', 'ล'],
61
			['\\\\', 'ฃ'],
62
			['a', 'ฟ'],
63
			['s', 'ห'],
64
			['d', 'ก'],
65
			['f', 'ด'],
66
			['g', 'เ'],
67
			['h', '้'],
68
			['j', '่'],
69
			['k', 'า'],
70
			['l', 'ส'],
71
			[';', 'ว'],
72
			['\'', 'ง'],
73
			['z', 'ผ'],
74
			['x', 'ป'],
75
			['c', 'แ'],
76
			['v', 'อ'],
77
			['b', 'ิ'],
78
			['n', 'ื'],
79
			['m', 'ท'],
80
			[',', 'ม'],
81
			['\\.', 'ใ'],
82
			['/', 'ฝ'],
83
84
			['`', '_'],
85
			['1', 'ๅ'],
86
			['2', '/'],
87
			['3', '-'],
88
			['4', 'ภ'],
89
			['5', 'ถ'],
90
			['6', 'ุ'],
91
			['7', 'ึ'],
92
			['8', 'ค'],
93
			['9', 'ต'],
94
			['0', 'จ'],
95
			['\\-', 'ข'],
96
			['=', 'ช'],
97
			['~', '%'],
98
			['!', '+'],
99
			['@', '๑'],
100
			['#', '๒'],
101
			['\\$', '๓'],
102
			['%', '๔'],
103
			['\\^', 'ู'],
104
			['&', '฿'],
105
			['\\*', '๕'],
106
			['\\(', '๖'],
107
			['\\)', '๗'],
108
			['_', '๘'],
109
			['\\+', '๙']
110
		]
111
	};
112
113
	$.ime.register( kedmanee );
114
115
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/th/th-pattachote.js (+115 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var pattachote = {
5
		id: 'th-pattachote',
6
		name: 'Thai Pattachote',
7
		description: 'Thai Pattachote Input Method',
8
		date: '2012-10-25',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Kevin K.S. Leung, <sprconan@gmail.com>',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['Q', '๊'],
15
			['W', 'ฤ'],
16
			['E', 'ๆ'],
17
			['R', 'ญ'],
18
			['T', 'ษ'],
19
			['Y', 'ึ'],
20
			['U', 'ฝ'],
21
			['I', 'ซ'],
22
			['O', 'ถ'],
23
			['P', 'ฒ'],
24
			['{', 'ฯ'],
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
49
			['q', '็'],
50
			['w', 'ต'],
51
			['e', 'ย'],
52
			['r', 'อ'],
53
			['t', 'ร'],
54
			['y', '่'],
55
			['u', 'ด'],
56
			['i', 'ม'],
57
			['o', 'ว'],
58
			['p', 'แ'],
59
			['\\[', 'ใ'],
60
			['\\]', 'ฌ'],
61
			['\\\\', ''],
62
			['a', '้'],
63
			['s', 'ท'],
64
			['d', 'ง'],
65
			['f', 'ก'],
66
			['g', 'ั'],
67
			['h', 'ี'],
68
			['j', 'า'],
69
			['k', 'น'],
70
			['l', 'เ'],
71
			[';', 'ไ'],
72
			['\'', 'ข'],
73
			['z', 'บ'],
74
			['x', 'ป'],
75
			['c', 'ล'],
76
			['v', 'ห'],
77
			['b', 'ิ'],
78
			['n', 'ค'],
79
			['m', 'ส'],
80
			[',', 'ะ'],
81
			['\\.', 'จ'],
82
			['/', 'พ'],
83
84
			['`', '_'],
85
			['1', '='],
86
			['2', '๒'],
87
			['3', '๓'],
88
			['4', '๔'],
89
			['5', '๕'],
90
			['6', 'ู'],
91
			['7', '๗'],
92
			['8', '๘'],
93
			['9', '๙'],
94
			['0', '๐'],
95
			['\\-', '๑'],
96
			['=', '๖'],
97
			['~', '฿'],
98
			['!', '+'],
99
			['@', '"'],
100
			['#', '/'],
101
			['\\$', ','],
102
			['%', '?'],
103
			['\\^', 'ุ'],
104
			['&', '_'],
105
			['\\*', '.'],
106
			['\\(', '('],
107
			['\\)', ')'],
108
			['_', '-'],
109
			['\\+', '%']
110
		]
111
	};
112
113
	$.ime.register( pattachote );
114
115
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/udm/udm-alt.js (+40 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var udmAlt = {
5
		id: 'udm-alt',
6
		name: 'Удмурт ALT',
7
		description: 'Удмурт ALT',
8
		date: '2013-03-17',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Amir (Алексей) Aharoni',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['ц', 'ӵ'],
15
			['Ц', 'Ӵ'],
16
			['щ', 'ӥ'],
17
			['Щ', 'Ӥ'],
18
			['х', 'ӟ'],
19
			['Х', 'Ӟ'],
20
			['ф', 'ӝ'],
21
			['Ф', 'Ӝ']
22
		],
23
		patterns_x: [
24
			['ё', 'ӧ'],
25
			['Ё', 'Ӧ'],
26
27
			// Allow typing the Russian letters using Alt
28
			['ц', 'ц'],
29
			['Ц', 'Ц'],
30
			['щ', 'щ'],
31
			['Щ', 'Щ'],
32
			['х', 'х'],
33
			['Х', 'Х'],
34
			['ф', 'ф'],
35
			['Ф', 'Ф']
36
		]
37
	};
38
39
	$.ime.register( udmAlt );
40
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ug/ug-kbd.js (+79 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ugKbd = {
5
		id: 'ug-kbd',
6
		name: 'Uyghur kbd',
7
		description: 'Uyghur kbd keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['q', '\u0686'],
15
			['w', '\u06CB'],
16
			['e', '\u06D0'],
17
			['r', '\u0631'],
18
			['t', '\u062A'],
19
			['y', '\u064A'],
20
			['u', '\u06C7'],
21
			['i', '\u06AD'],
22
			['o', '\u0648'],
23
			['p', '\u067E'],
24
			['a', '\u06BE'],
25
			['s', '\u0633'],
26
			['d', '\u062F'],
27
			['f', '\u0627'],
28
			['g', '\u06D5'],
29
			['h', '\u0649'],
30
			['j', '\u0642'],
31
			['k', '\u0643'],
32
			['l', '\u0644'],
33
			[';', '\u061B'],
34
			['z', '\u0632'],
35
			['x', '\u0634'],
36
			['c', '\u063A'],
37
			['v', '\u06C8'],
38
			['b', '\u0628'],
39
			['n', '\u0646'],
40
			['m', '\u0645'],
41
			[',', '\u060C'],
42
			['/', '\u0626'],
43
			['Q', '\u0686'],
44
			['W', '\u06CB'],
45
			['E', '\u06D0'],
46
			['R', '\u0631'],
47
			['T', '\u062A'],
48
			['Y', '\u064A'],
49
			['U', '\u06C7'],
50
			['I', '\u06AD'],
51
			['O', '\u0648'],
52
			['P', '\u067E'],
53
			['\\{', '\u00AB'],
54
			['\\}', '\u00BB'],
55
			['A', '\u06BE'],
56
			['S', '\u0633'],
57
			['D', '\u0698'],
58
			['F', '\u0641'],
59
			['G', '\u06AF'],
60
			['H', '\u062E'],
61
			['J', '\u062C'],
62
			['K', '\u06C6'],
63
			['L', '\u0644'],
64
			['Z', '\u0632'],
65
			['X', '\u0634'],
66
			['C', '\u063A'],
67
			['V', '\u06C8'],
68
			['B', '\u0628'],
69
			['N', '\u0646'],
70
			['M', '\u0645'],
71
			['\\?', '\u061F'],
72
			['\\<', '\u2039'],
73
			['\\>', '\u203A'],
74
			['\\_', '\u2014']
75
		]
76
	};
77
78
	$.ime.register( ugKbd );
79
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/uk/uk-kbd.js (+101 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var ukKbd = {
5
		id: 'uk-kbd',
6
		name: 'Українська',
7
		description: 'Ukrainian kbd keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
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
			['\\\\', '\\'],
39
			['z', 'я'],
40
			['x', 'ч'],
41
			['c', 'с'],
42
			['v', 'м'],
43
			['b', 'и'],
44
			['n', 'т'],
45
			['m', 'ь'],
46
			[',', 'б'],
47
			['\\.', 'ю'],
48
			['/', '.'],
49
			['\\!', '!'],
50
			['\\@', '"'],
51
			['\\#', '№'],
52
			['\\$', ';'],
53
			['\\%', '%'],
54
			['\\^', ':'],
55
			['\\&', '?'],
56
			['\\*', '*'],
57
			['\\(', '('],
58
			['\\)', ')'],
59
			['\\_', '_'],
60
			['\\+', '+'],
61
			['\\~', 'Ґ'],
62
			['Q', 'Й'],
63
			['W', 'Ц'],
64
			['E', 'У'],
65
			['R', 'К'],
66
			['T', 'Е'],
67
			['Y', 'Н'],
68
			['U', 'Г'],
69
			['I', 'Ш'],
70
			['O', 'Щ'],
71
			['P', 'З'],
72
			['\\{', 'Х'],
73
			['\\}', 'Ї'],
74
			['A', 'Ф'],
75
			['S', 'І'],
76
			['D', 'В'],
77
			['F', 'А'],
78
			['G', 'П'],
79
			['H', 'Р'],
80
			['J', 'О'],
81
			['K', 'Л'],
82
			['L', 'Д'],
83
			[':', 'Ж'],
84
			['\"', 'Є'],
85
			['\\|', '|'],
86
			['Z', 'Я'],
87
			['X', 'Ч'],
88
			['C', 'С'],
89
			['V', 'М'],
90
			['B', 'И'],
91
			['N', 'Т'],
92
			['M', 'Ь'],
93
			['\\<', 'Б'],
94
			['\\>', 'Ю'],
95
			['\\?', ',']
96
		]
97
98
	};
99
	$.ime.register( ukKbd );
100
101
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ur/ur-phonetic.js (+108 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var urPhonetic = {
5
		id: 'ur-phonetic',
6
		name: 'صوتی',
7
		description: 'Phonetic keyboard for Urdu script',
8
		date: '2013-02-18',
9
		URL: 'http://cvs.savannah.gnu.org/viewvc/m17n-contrib/im/ur-phonetic.mim?root=m17n&view=markup',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['!', '!'],
15
			['1', '۱'],
16
			['2', '۲'],
17
			['\\#', '/'],
18
			['3', '۳'],
19
			/* Yeh with hamza above */ ['\\$', 'ئ'],
20
			['4', '۴'],
21
			['5', '۵'],
22
			['6', '۶'],
23
			['7', '۷'],
24
			['8', '۸'],
25
			['\\(', ')'],
26
			['9', '۹'],
27
			['\\)', '('],
28
			['0', '۰'],
29
			['\\_" "ّ'],
30
			/* Alef with hamza above */ ['\\-', 'أ'],
31
			/* Alef with madda above */ ['\\+', 'آ'],
32
			/* Waw with hamza above */ ['\\=', 'ؤ'],
33
			['Q', 'ْ'],
34
			['q', 'ق'],
35
			['W', 'ﷺ'],
36
			['w', 'و'],
37
			['E', '¥'],
38
			['e', 'ع'],
39
			['R', 'ڑ'],
40
			['r', 'ر'],
41
			['T', 'ٹ'],
42
			['t', 'ت'],
43
			['Y', '\u0601'],
44
			['y', 'ے'],
45
			['U', '،'],
46
			['u', 'ء'],
47
			['I', 'ٰ'],
48
			['i', 'ی'],
49
			/* Teh marbuta goal */ ['O', 'ۃ'],
50
			['o', 'ہ'],
51
			['P', 'ُ'],
52
			['p', 'پ'],
53
			['\\{', 'ٰ'],
54
			['\\[', ']'],
55
			['\\}', 'ٰٰ'],
56
			['\\]', '['],
57
			['A', 'ٓ'],
58
			['a', 'ا'],
59
			['S', 'ص'],
60
			['s', 'س'],
61
			['D', 'ڈ'],
62
			['d', 'د'],
63
			['F', ''],
64
			['f', 'ف'],
65
			['G', 'غ'],
66
			['g', 'گ'],
67
			['H', 'ح'],
68
			['h', 'ھ'],
69
			['J', 'ض'],
70
			['j', 'ج'],
71
			['K', 'خ'],
72
			['k', 'ک'],
73
			['L', '\u0613'],
74
			['l', 'ل'],
75
			[':', ':'],
76
			/* Arabic semicolon */ [';', '؛'],
77
			['\"', '؎'],
78
			['\'', 'ٰ'],
79
			['\\|', 'ؔ'],
80
			['\\', '؎'],
81
			['\\~', 'ً'],
82
			['\\`', 'ٍ'],
83
			['Z', 'ذ'],
84
			['z', 'ز'],
85
			['X', 'ژ'],
86
			['x', 'ش'],
87
			['C', 'ث'],
88
			['c', 'چ'],
89
			['V', 'ظ'],
90
			['v', 'ط'],
91
			['B', 'ؒ'],
92
			['b', 'ب'],
93
			['N', 'ں'],
94
			['n', 'ن'],
95
			['M', ''],
96
			['m', 'م'],
97
			['\\<', 'ِ'],
98
			[',', '،'],
99
			['\\>', 'َ'],
100
			/* Arabic full stop */ ['\\.', '۔'],
101
			/* Arabic question mark */ ['\\?', '؟'],
102
			['\\^', 'ۖ'],
103
			['\\&', 'ٔ'],
104
			['\\*', 'ٌ']]
105
	};
106
107
	$.ime.register( urPhonetic );
108
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ur/ur-transliteration.js (+98 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var urTransliteration = {
5
		id: 'ur-transliteration',
6
		name: 'Urdu Transliteration',
7
		description: 'Urdu Transliteration based on RTS',
8
		date: '2012-10-16',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Mohammed Imran Tabani',
11
		license: '',
12
		version: '1.0',
13
		patterns: [
14
			['x', 'ف'],
15
			['_', '_'],
16
			['D', 'ڑ'],
17
			['E', 'ذ'],
18
			['F', 'ں'],
19
			['R', 'ڈ'],
20
			['G', 'ۂ'],
21
			['T', 'ث'],
22
			['\\+', '+'],
23
			['S', 'ز'],
24
			['W', 'ض'],
25
			['A', 'ژ'],
26
			['Q', 'ظ'],
27
			['k', 'ک'],
28
			['K', 'گ'],
29
			['i', 'ب'],
30
			['I', 'ـ'],
31
			['U', 'ۃ'],
32
			/* Arabic semicolon */ ['\\;', '؛'],
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', '\u0651\u00AD'],
51
			['c', 'ے'],
52
			/* Arabic question mark */ ['\\?','؟'],
53
			['j', 'ا'],
54
			['n', 'غ'],
55
			['N', 'ئ'],
56
			['b', 'ش'],
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', '0'],
77
			['1', '1'],
78
			['2', '2'],
79
			['3', '3'],
80
			['4', '4'],
81
			['5', '5'],
82
			['6', '6'],
83
			['7', '7'],
84
			['8', '8'],
85
			['9', '9'],
86
			['\\@', '@'],
87
			['\\#', '','#'],
88
			['\\$', '','$'],
89
			['\\%', '','٪'],
90
			['\\^', '','^'],
91
			['\\&', 'ۖ'],
92
			/* Arabic star */ ['\\*', '٭'],
93
			['\\(', '('],
94
			['\\)', ')']]
95
	};
96
97
	$.ime.register( urTransliteration );
98
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/uz/uz-kbd.js (+102 lines)
Line 0 Link Here
1
( function ( $ ) {
2
	'use strict';
3
4
	var uzKbd = {
5
		id: 'uz-kbd',
6
		name: 'Uzbek keyboard',
7
		description: 'Uzbek input method with Russian keyboard layout',
8
		date: '2013-02-12',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Parag Nemade',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
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
			['\\\\', '\\'],
39
			['z', 'я'],
40
			['x', 'ч'],
41
			['c', 'с'],
42
			['v', 'м'],
43
			['b', 'и'],
44
			['n', 'т'],
45
			['m', 'ь'],
46
			[',', 'б'],
47
			['\\.', 'ю'],
48
			['/', '.'],
49
			['\\!', '!'],
50
			['\\@', '\"'],
51
			['\\#', '№'],
52
			['\\$', ';'],
53
			['\\%', '%'],
54
			['\\^', ':'],
55
			['\\&', '?'],
56
			['\\*', '*'],
57
			['\\(', '('],
58
			['\\)', ')'],
59
			['\\-', 'ғ'],
60
			['\\_', 'Ғ'],
61
			['\\=', 'ҳ'],
62
			['\\+', 'Ҳ'],
63
			['\\~', 'Ё'],
64
			['Q', 'Й'],
65
			['W', 'Ц'],
66
			['E', 'У'],
67
			['R', 'К'],
68
			['T', 'Е'],
69
			['Y', 'Н'],
70
			['U', 'Г'],
71
			['I', 'Ш'],
72
			['O', 'Ў'],
73
			['P', 'З'],
74
			['\\{', 'Х'],
75
			['\\}', 'Ъ'],
76
			['A', 'Ф'],
77
			['S', 'Қ'],
78
			['D', 'В'],
79
			['F', 'А'],
80
			['G', 'П'],
81
			['H', 'Р'],
82
			['J', 'О'],
83
			['K', 'Л'],
84
			['L', 'Д'],
85
			[':', 'Ж'],
86
			['\"', 'Э'],
87
			['\\|', '|'],
88
			['Z', 'Я'],
89
			['X', 'Ч'],
90
			['C', 'С'],
91
			['V', 'М'],
92
			['B', 'И'],
93
			['N', 'Т'],
94
			['M', 'Ь'],
95
			['\\<', 'Б'],
96
			['\\>', 'Ю'],
97
			['\\?', ',']
98
		]
99
	};
100
	$.ime.register( uzKbd );
101
102
}( jQuery ) );
(-)a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/vec/vec-GVU.js (-1 / +32 lines)
Line 0 Link Here
0
- 
1
( function ( $ ) {
2
	'use strict';
3
4
	var vec = {
5
		id: 'vec-GVU',
6
		name: 'Venetian GVU',
7
		description: 'Venetian input method.',
8
		date: '2013-08-06',
9
		URL: 'http://github.com/wikimedia/jquery.ime',
10
		author: 'Vec.wiki community',
11
		license: 'GPLv3',
12
		version: '1.0',
13
		patterns: [
14
			['dh', 'đ'],
15
			['lh', 'ƚ'],
16
			['òò', 'ó'],
17
			['zh', 'ẑ'],
18
			['đh', 'dh'],
19
			['ƚh', 'lh'],
20
			['ẑh', 'zh'],
21
			['Dh', 'Đ'],
22
			['Lh', 'Ƚ'],
23
			['Òò', 'Ó'],
24
			['Zh', 'Ẑ'],
25
			['Đh', 'Dh'],
26
			['Ƚh', 'Lh'],
27
			['Ẑh', 'Zh']
28
		]
29
	};
30
31
	$.ime.register( vec );
32
}( jQuery ) );

Return to bug 12815