-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Batak Alas Kluet (btz) keyboard (#743)
* Batak Alas Kluet (btz) keyboard * Update jquery.ime.test.fixtures.js * Update btz-keyboard.js --------- Co-authored-by: SrishAkaTux <[email protected]>
- Loading branch information
Showing
3 changed files
with
118 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
( function ( $ ) { | ||
'use strict'; | ||
|
||
var alasKluetKbd = { | ||
id: 'btz-keyboard', | ||
name: 'Surat Alas Kluet', | ||
description: 'QWERTY-based Batak Alas Kluet keyboard', | ||
date: '2023-07-28', | ||
URL: 'https://www.mediawiki.org/wiki/Help:Extension:UniversalLanguageSelector/Input_methods/btz-keyboard', | ||
author: 'Benny Lin', | ||
license: 'GPLv3', | ||
version: '1.0', | ||
patterns: [ | ||
[ '\\\\([A-Za-z\\>_~\\.0-9])', '$1' ], //escape characters | ||
[ '(q|Q)', '᯲' ],// 1BF2 ᯲ BATAK PANGOLAT (PANGGOTAP) = virama | ||
[ '(w|W)', 'ᯋ' ],//1BCB ᯋ BATAK LETTER WA | ||
[ 'e', 'ᯩ' ],//1BE9 ᯩ BATAK VOWEL SIGN EE = talinga | ||
[ 'E', 'ᯧ' ],//1BE7 ᯧ BATAK VOWEL SIGN E = kebereten | ||
[ '(r|R)', 'ᯒ' ],//1BD2 ᯒ BATAK LETTER RA | ||
[ 't', 'ᯖ' ],//1BD6 ᯖ BATAK LETTER SOUTHERN TA | ||
[ 'T', 'ᯗ' ],//1BD7 ᯗ BATAK LETTER NORTHERN TA | ||
[ '(y|Y)', 'ᯛ' ],//1BDB ᯛ BATAK LETTER YA | ||
[ 'u', 'ᯮ' ],//1BEE ᯮ BATAK VOWEL SIGN U = boruta | ||
[ 'U', 'ᯥ' ],//1BE5 ᯥ BATAK LETTER ina ni surat U | ||
[ 'i', 'ᯪ' ],//1BEA ᯪ BATAK VOWEL SIGN I = ulua | ||
[ 'I', 'ᯤ' ],//1BE4 ᯤ BATAK LETTER ina ni surat I | ||
[ '(o|O)', 'ᯬ' ],//1BEC ᯬ BATAK VOWEL SIGN O = siala ulu | ||
[ '(p|P)', 'ᯇ' ],//1BC7 ᯇ BATAK LETTER PA | ||
|
||
[ '(a|A)', 'ᯀ' ],//1BC0 ᯀ BATAK LETTER A | ||
[ '(s|S)', 'ᯘ' ],//1BD8 ᯘ BATAK LETTER SA | ||
[ '(d|D)', 'ᯑ' ],//1BD1 ᯑ BATAK LETTER DA | ||
[ '(f|F)', '᯳' ],//1BF3 ᯳ BATAK PANONGONAN = virama | ||
[ '(g|G)', 'ᯎ' ],//1BCE ᯎ BATAK LETTER GA | ||
[ 'h', 'ᯂ' ],//1BC2 ᯂ BATAK LETTER HA | ||
[ 'H', 'ᯱ' ],//1BF1 ᯱ BATAK CONSONANT SIGN H = hajoringan (-h) | ||
[ '(j|J)', 'ᯐ' ],//1BD0 ᯐ BATAK LETTER JA | ||
[ '(k|K)', 'ᯂ' ],//1BC2 ᯂ BATAK LETTER HA | ||
[ '(l|L)', 'ᯞ' ],//1BDE ᯞ BATAK LETTER LA | ||
|
||
[ 'z', 'ᯝ' ],//1BDD ᯝ BATAK LETTER NGA | ||
[ 'Z', 'ᯰ' ],//1BF0 ᯰ BATAK CONSONANT SIGN NG = amisara (-ng) | ||
[ '(x|X)', 'ᯠ' ],//1BE0 ᯠ BATAK LETTER NYA | ||
[ '(c|C)', 'ᯡ' ],//1BE1 ᯡ BATAK LETTER CA | ||
[ '(v|V)', '᯦' ],//1BE6 ᯦ BATAK SIGN TOMPI | ||
[ '(b|B)', 'ᯅ' ],//1BC5 ᯅ BATAK LETTER BA | ||
[ '(n|N)', 'ᯉ' ],//1BC9 ᯉ BATAK LETTER NA | ||
[ '(m|M)', 'ᯔ' ],//1BD4 ᯔ BATAK LETTER MA | ||
|
||
[ '^^', '^' ], | ||
[ '^', 'ᯰ' ],//1BF0 ᯰ BATAK CONSONANT SIGN NG = amisara (-ng) | ||
[ '<<', '<' ], | ||
[ '<', 'ᯝ' ]//1BDD ᯝ BATAK LETTER NGA | ||
], | ||
patterns_x: [ | ||
[ '4', '᯼' ],//1BFC ᯼ BATAK SYMBOL BINDU NA METEK | ||
[ '5', '᯽' ],//1BFD ᯽ BATAK SYMBOL BINDU PINARBORAS | ||
[ '6', '᯾' ],//1BFE ᯾ BATAK SYMBOL BINDU JUDUL | ||
[ '7', '᯿' ]//1BFF ᯿ BATAK SYMBOL BINDU PANGOLAT | ||
] | ||
}; | ||
|
||
$.ime.register( alasKluetKbd ); | ||
}( jQuery ) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters