From 1e9772745031e2d8ab62dc9f429b35a603422dc7 Mon Sep 17 00:00:00 2001 From: Benny Lin Date: Fri, 28 Jul 2023 20:19:29 +0700 Subject: [PATCH] Revert "Batak Alas Kluet (btz) keyboard" This reverts commit ca5e47357092da0c31786e976588b762433bf704. --- rules/btz/btz-keyboard.js | 62 -------------------------------- src/jquery.ime.inputmethods.js | 8 ----- test/jquery.ime.test.fixtures.js | 46 ------------------------ 3 files changed, 116 deletions(-) delete mode 100644 rules/btz/btz-keyboard.js diff --git a/rules/btz/btz-keyboard.js b/rules/btz/btz-keyboard.js deleted file mode 100644 index f55db93b..00000000 --- a/rules/btz/btz-keyboard.js +++ /dev/null @@ -1,62 +0,0 @@ -( function ( $ ) { - 'use strict'; - - var alasKluetKbd = { - id: 'btz-keyboard', - name: 'Alas Kluet Keyboard', - 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', - version: '1.0', - patterns: [ - [ 'q', '᯲' ],// 1BF2 ᯲ BATAK PANGOLAT (PANGGOTAP) = virama - [ 'w', 'ᯋ' ],//1BCB ᯋ BATAK LETTER WA - [ 'e', 'ᯩ' ],//1BE9 ᯩ BATAK VOWEL SIGN EE = talinga - [ 'r', 'ᯒ' ],//1BD2 ᯒ BATAK LETTER RA - [ 't', 'ᯖ' ],//1BD6 ᯖ BATAK LETTER SOUTHERN TA - [ 'y', 'ᯛ' ],//1BDB ᯛ BATAK LETTER YA - [ 'u', 'ᯮ' ],//1BEE ᯮ BATAK VOWEL SIGN U = boruta - [ 'i', 'ᯪ' ],//1BEA ᯪ BATAK VOWEL SIGN I = ulua - [ 'o', 'ᯬ' ],//1BEC ᯬ BATAK VOWEL SIGN O = siala ulu - [ 'p', 'ᯇ' ],//1BC7 ᯇ BATAK LETTER PA - - [ 'a', 'ᯀ' ],//1BC0 ᯀ BATAK LETTER A - [ 's', 'ᯘ' ],//1BD8 ᯘ BATAK LETTER SA - [ 'd', 'ᯑ' ],//1BD1 ᯑ BATAK LETTER DA - [ 'f', '᯳' ],//1BF3 ᯳ BATAK PANONGONAN = virama - [ 'g', 'ᯎ' ],//1BCE ᯎ BATAK LETTER GA - [ 'h', 'ᯂ' ],//1BC2 ᯂ BATAK LETTER HA - [ 'j', 'ᯐ' ],//1BD0 ᯐ BATAK LETTER JA - [ 'k', 'ᯂ' ],//1BC2 ᯂ BATAK LETTER HA - [ 'l', 'ᯞ' ],//1BDE ᯞ BATAK LETTER LA - - [ 'z', 'ᯝ' ],//1BDD ᯝ BATAK LETTER NGA - [ 'x', 'ᯠ' ],//1BE0 ᯠ BATAK LETTER NYA - [ 'c', 'ᯡ' ],//1BE1 ᯡ BATAK LETTER CA - [ 'v', '᯦' ],//1BE6 ᯦ BATAK SIGN TOMPI - [ 'b', 'ᯅ' ],//1BC5 ᯅ BATAK LETTER BA - [ 'n', 'ᯉ' ],//1BC9 ᯉ BATAK LETTER NA - [ 'm', 'ᯔ' ],//1BD4 ᯔ BATAK LETTER MA - - [ 'E', 'ᯧ' ],//1BE7 ᯧ BATAK VOWEL SIGN E = kebereten - [ 'T', 'ᯗ' ],//1BD7 ᯗ BATAK LETTER NORTHERN TA - [ 'U', 'ᯥ' ],//1BE5 ᯥ BATAK LETTER ina ni surat U - [ 'I', 'ᯤ' ],//1BE4 ᯤ BATAK LETTER ina ni surat I - [ 'H', 'ᯱ' ],//1BF1 ᯱ BATAK CONSONANT SIGN H = hajoringan (-h) - [ 'Z', 'ᯰ' ],//1BF0 ᯰ BATAK CONSONANT SIGN NG = amisara (-ng) - [ '^^', '^' ], - [ '^', 'ᯰ' ],//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 ) ); \ No newline at end of file diff --git a/src/jquery.ime.inputmethods.js b/src/jquery.ime.inputmethods.js index 3ad79aef..158d3df8 100755 --- a/src/jquery.ime.inputmethods.js +++ b/src/jquery.ime.inputmethods.js @@ -72,10 +72,6 @@ name: 'Toba Transliteration', source: 'rules/bbc/bbc-transliteration.js' }, - 'btz-keyboard': { - name: 'Alas Kluet Keyboard', - source: 'rules/btz/btz-keyboard.js' - }, 'bci-tilde': { name: 'Baoulé tilde keyboard', source: 'rules/bci/bci-tilde.js' @@ -1022,10 +1018,6 @@ autonym: 'Batak Toba', inputmethods: [ 'bbc-transliteration' ] }, - btz: { - autonym: 'Batak Alas Kluet', - inputmethods: [ 'btz-keyboard' ] - }, bci: { autonym: 'wawle', inputmethods: [ 'bci-tilde' ] diff --git a/test/jquery.ime.test.fixtures.js b/test/jquery.ime.test.fixtures.js index 7e84980d..d767ae7c 100644 --- a/test/jquery.ime.test.fixtures.js +++ b/test/jquery.ime.test.fixtures.js @@ -352,52 +352,6 @@ var palochkaVariants = { { input: [ [ '7', true ] ], output: '᯿', description: 'Toba Transliteration - alt-7 - bindu pangolat' } ] }, - { - description: 'Batak Alas Kluet keyboard test', - inputmethod: 'btz-keyboard', - tests: [ - { input: 'q', output: '᯲', description: 'Alas Kluet keyboard - q = pangolat' }, - { input: 'w', output: 'ᯋ', description: 'Alas Kluet keyboard - wa' }, - { input: 'e', output: 'ᯩ', description: 'Alas Kluet keyboard = -e' }, - { input: 'r', output: 'ᯒ', description: 'Alas Kluet keyboard - ra' }, - { input: 't', output: 'ᯖ', description: 'Alas Kluet keyboard - southern ta' }, - { input: 'y', output: 'ᯛ', description: 'Alas Kluet keyboard - ya' }, - { input: 'u', output: 'ᯮ', description: 'Alas Kluet keyboard = -u' }, - { input: 'i', output: 'ᯪ', description: 'Alas Kluet keyboard = -i' }, - { input: 'o', output: 'ᯬ', description: 'Alas Kluet keyboard = -o' }, - { input: 'p', output: 'ᯇ', description: 'Alas Kluet keyboard - pa' }, - - { input: 'a', output: 'ᯀ', description: 'Alas Kluet keyboard - a' }, - { input: 's', output: 'ᯘ', description: 'Alas Kluet keyboard - sa' }, - { input: 'd', output: 'ᯑ', description: 'Alas Kluet keyboard - da' }, - { input: 'f', output: '᯳', description: 'Alas Kluet keyboard - f = panongonan' }, - { input: 'g', output: 'ᯎ', description: 'Alas Kluet keyboard - ga' }, - { input: 'h', output: 'ᯂ', description: 'Alas Kluet keyboard - ha' }, - { input: 'j', output: 'ᯐ', description: 'Alas Kluet keyboard - ja' }, - { input: 'k', output: 'ᯂ', description: 'Alas Kluet keyboard - ka = ha' }, - { input: 'l', output: 'ᯞ', description: 'Alas Kluet keyboard - la' }, - - { input: 'z', output: 'ᯝ', description: 'Alas Kluet keyboard - z = nga' }, - { input: 'x', output: 'ᯠ', description: 'Alas Kluet keyboard - x = nya' }, - { input: 'c', output: 'ᯡ', description: 'Alas Kluet keyboard - ca = sa+tompi' }, - { input: 'v', output: '᯦', description: 'Alas Kluet keyboard - v = tompi' }, - { input: 'b', output: 'ᯅ', description: 'Alas Kluet keyboard - ba' }, - { input: 'n', output: 'ᯉ', description: 'Alas Kluet keyboard - na' }, - { input: 'm', output: 'ᯔ', description: 'Alas Kluet keyboard - ma' }, - - { input: 'E', output: 'ᯧ', description: 'Alas Kluet keyboard - E - kebereten' }, - { input: 'T', output: 'ᯗ', description: 'Alas Kluet keyboard - northern ta' }, - { input: 'U', output: 'ᯥ', description: 'Alas Kluet keyboard - U - syllable "u"' }, - { input: 'I', output: 'ᯤ', description: 'Alas Kluet keyboard - I - syllable "i"' }, - { input: 'H', output: 'ᯱ', description: 'Alas Kluet keyboard - H - hajoringan "-h"' }, - { input: 'Z', output: 'ᯰ', description: 'Alas Kluet keyboard - Z - amisara "-ng"' }, - - { input: [ [ '4', true ] ], output: '᯼', description: 'Alas Kluet keyboard - alt-4 - bindu na metek' }, - { input: [ [ '5', true ] ], output: '᯽', description: 'Alas Kluet keyboard - alt-5 - bindu pinarboras' }, - { input: [ [ '6', true ] ], output: '᯾', description: 'Alas Kluet keyboard - alt-6 - bindu judul' }, - { input: [ [ '7', true ] ], output: '᯿', description: 'Alas Kluet keyboard - alt-7 - bindu pangolat' } - ] - }, { description: 'Baoulé tilde test', inputmethod: 'bci-tilde',