Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8855
ext.narayam.rules.hi-bolnagri.js
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 22 2014, 12:10 AM
2014-11-22 00:10:54 (UTC+0)
Size
2 KB
Referenced Files
None
Subscribers
None
ext.narayam.rules.hi-bolnagri.js
View Options
/**
* BolNagri layout table.
* BolNagri is a phonetic keymap for Devanagari script, but primarily for use with Hindi.
* http://www.indlinux.org/wiki/index.php/BolNagri
* @author G Karunakar ([[user:GKarunakar]])
* @date 2012-03-28
* License: GPLv3
*/
// Normal rules
var
rules
=
[
[
'a'
,
''
,
'ा'
],
[
'b'
,
''
,
'ब'
],
[
'c'
,
''
,
'च'
],
[
'd'
,
''
,
'द'
],
[
'e'
,
''
,
'े'
],
[
'f'
,
''
,
'ट'
],
[
'g'
,
''
,
'ग'
],
[
'h'
,
''
,
'ह'
],
[
'i'
,
''
,
'ि'
],
[
'j'
,
''
,
'ज'
],
[
'k'
,
''
,
'क'
],
[
'l'
,
''
,
'ल'
],
[
'm'
,
''
,
'म'
],
[
'n'
,
''
,
'न'
],
[
'o'
,
''
,
'ो'
],
[
'p'
,
''
,
'प'
],
[
'q'
,
''
,
'\u200C'
],
// ZWNJ
[
'r'
,
''
,
'र'
],
[
's'
,
''
,
'स'
],
[
't'
,
''
,
'त'
],
[
'u'
,
''
,
'ु'
],
[
'v'
,
''
,
'ड'
],
[
'w'
,
''
,
'व'
],
[
'x'
,
''
,
'्'
],
// Halant
[
'y'
,
''
,
'य'
],
[
'z'
,
''
,
'श'
],
[
'A'
,
''
,
'आ'
],
[
'B'
,
''
,
'भ'
],
[
'C'
,
''
,
'छ'
],
[
'D'
,
''
,
'ध'
],
[
'E'
,
''
,
'ै'
],
[
'F'
,
''
,
'ठ'
],
[
'G'
,
''
,
'घ'
],
[
'H'
,
''
,
'ः'
],
// Visarga
[
'I'
,
''
,
'ी'
],
[
'J'
,
''
,
'झ'
],
[
'K'
,
''
,
'ख'
],
[
'L'
,
''
,
'ळ'
],
[
'M'
,
''
,
'ऽ'
],
[
'N'
,
''
,
'ण'
],
[
'O'
,
''
,
'ौ'
],
[
'P'
,
''
,
'फ'
],
[
'Q'
,
''
,
'\u200D'
],
// ZWJ
[
'R'
,
''
,
'ृ'
],
[
'S'
,
''
,
'ष'
],
[
'T'
,
''
,
'थ'
],
[
'U'
,
''
,
'ू'
],
[
'V'
,
''
,
'ढ'
],
[
'W'
,
''
,
'ॐ'
],
[
'X'
,
''
,
'ॉ'
],
[
'Y'
,
''
,
'ञ'
],
[
'Z'
,
''
,
'ॅ'
],
[
'\\$'
,
''
,
'₹'
],
[
'\\`'
,
''
,
'ं'
],
[
'\\~'
,
''
,
'ँ'
],
[
'\\\\'
,
''
,
'।'
],
// Danda
[
'\\|'
,
''
,
'॥'
],
[
'\\.'
,
''
,
'़'
],
[
'\\<'
,
''
,
'॰'
]
];
// For full Vowels
var
rules_x
=
[
[
'a'
,
''
,
'अ'
],
[
'A'
,
''
,
'आ'
],
[
'i'
,
''
,
'इ'
],
[
'I'
,
''
,
'ई'
],
[
'u'
,
''
,
'उ'
],
[
'U'
,
''
,
'ऊ'
],
// altgr+U triggers file upload!
[
'e'
,
''
,
'ए'
],
[
'E'
,
''
,
'ऐ'
],
[
'o'
,
''
,
'ओ'
],
[
'O'
,
''
,
'औ'
],
[
'r'
,
''
,
'ऱ'
],
[
'R'
,
''
,
'ऋ'
],
[
'Z'
,
''
,
'ऍ'
],
[
'X'
,
''
,
'ऑ'
],
[
'l'
,
''
,
'ॢ'
],
[
'L'
,
''
,
'ऌ'
],
// Dev digits
[
'0'
,
''
,
'०'
],
[
'1'
,
''
,
'१'
],
[
'2'
,
''
,
'२'
],
[
'3'
,
''
,
'३'
],
[
'4'
,
''
,
'४'
],
[
'5'
,
''
,
'५'
],
[
'6'
,
''
,
'६'
],
[
'7'
,
''
,
'७'
],
[
'8'
,
''
,
'८'
],
[
'9'
,
''
,
'९'
]
];
jQuery
.
narayam
.
addScheme
(
'hi-bolnagri'
,
{
'namemsg'
:
'narayam-hi-bolnagri'
,
'extended_keyboard'
:
true
,
'lookbackLength'
:
0
,
'keyBufferLength'
:
0
,
'rules'
:
rules
,
'rules_x'
:
rules_x
}
);
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8370
Default Alt Text
ext.narayam.rules.hi-bolnagri.js (2 KB)
Attached To
Mode
T37559: Bolnagri keymap for Narayam
Attached
Detach File
Event Timeline
Log In to Comment