Files
mediawiki-extensions-Univer…/lib/jquery.ime/rules/ks/ks-kbd.js
Amir E. Aharoni f2c4ca4174 Update jquery.ime from upstream
* Fixes in Kashmiri Arabic keyboard
* Fixes in Javanese transliteration

Updating to
41b7817da1

Change-Id: I3ad81052fda45ae4d2f40a561a74f217422ea746
2023-03-04 16:50:52 +00:00

87 lines
1.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

( function ( $ ) {
'use strict';
var ksKbd = {
id: 'ks-kbd',
name: 'Kashmiri kbd',
description: 'Kbd keyboard for Kashmiri language using Arabic script',
date: '2023-03-04',
author: 'Parag Nemade, Iflaq, Amir E. Aharoni',
license: 'GPLv3',
version: '1.1',
patterns: [
[ '`', '\u065B' ], // Inverted V above
[ '\\(', ')' ], // RTL mirroring
[ '\\)', '(' ], // RTL mirroring
[ '\\[', ']' ], // RTL mirroring
[ '\\]', '[' ], // RTL mirroring
[ '\\{', '}' ], // RTL mirroring
[ '\\}', '{' ], // RTL mirroring
[ '\\_', '\u0651' ], // Shadda
[ 'Q', 'ۄ' ], // Waw with ring
[ 'q', 'ق' ],
[ 'W', '\u0653' ], // Madda above
[ 'w', 'و' ],
[ 'E', 'ؠ' ], // Kashmiri yeh
[ 'e', 'ع' ],
[ 'R', 'ڑ' ],
[ 'r', 'ر' ],
[ 'T', 'ٹ' ],
[ 't', 'ت' ],
[ 'Y', '\u0656' ], // Subscript Alef
[ 'y', 'ے' ],
[ 'u', 'ء' ],
[ 'I', 'ۆ' ],
[ 'i', 'ی' ],
[ 'O', 'ٲ' ], // Alef with wavy hamza
[ 'o', 'ہ' ], // Heh goal
[ 'P', '\u0655' ], // Hamza below
[ 'p', 'پ' ],
[ 'A', 'آ' ],
[ 'a', 'ا' ],
[ 'S', 'ش' ],
[ 's', 'س' ],
[ 'D', 'ڈ' ],
[ 'd', 'د' ],
[ 'F', '\u064F' ], // Damma
[ 'f', 'ف' ],
[ 'G', 'غ' ],
[ 'g', 'گ' ],
[ 'H', 'ح' ],
[ 'h', 'ھ' ],
[ 'J', 'ژ' ],
[ 'j', 'ج' ],
[ 'K', 'خ' ],
[ 'k', 'ک' ],
[ 'L', '\u065F' ], // Arabic wavy hamza below
[ 'l', 'ل' ],
[ ';', '؛' ],
[ '\\\\', '\u0657' ], // Inverted damma
[ 'Z', 'ذ' ],
[ 'z', 'ز' ],
[ 'X', 'ض' ],
[ 'x', 'ص' ],
[ 'C', 'ث' ],
[ 'c', 'چ' ],
[ 'V', 'ظ' ],
[ 'v', 'ط' ],
[ 'B', 'أ' ],
[ 'b', 'ب' ],
[ 'N', 'ں' ],
[ 'n', 'ن' ],
[ 'M', '\u0654' ], // Hamza above
[ 'm', 'م' ],
[ '\\>', '\u064E' ], // Fatha
[ ',', '،' ],
[ '\\<', '\u0650' ], // Kasra
[ '\\.', '۔' ], // Arabic Full stop
[ '\\?', '؟' ]
]
};
$.ime.register( ksKbd );
}( jQuery ) );