Files
mediawiki-extensions-Univer…/lib/jquery.ime/rules/ks/ks-kbd.js
Amir E. Aharoni 0c3080135f Update jquery.ime and jquery.uls from upstream
jquery.ime:
* Add keyboards for Dendi (ddn) and Ibibio (ibb).
* Fix several keys on Kashmiri Arabic keyboard.
Updating to
cbb82f7ebe

jquery.uls
* Add Dendi (ddn) and Ibibio (ibb).
Updating to
b2ed2ffc02
Change-Id: I0f8e06fb5de4fe4c56c34bccc6be2474bb8e248a

Change-Id: I4186c70d6e7fb600a65e0a4c8c0cbb7bd9039bc7
2023-04-04 08:55:59 +00:00

88 lines
2.0 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: '2.2',
patterns: [
[ '`', '\u065B' ], // Inverted V above
[ '\\(', ')' ], // RTL mirroring
[ '\\)', '(' ], // RTL mirroring
[ '\\[', ']' ], // RTL mirroring
[ '\\]', '[' ], // RTL mirroring
[ '\\{', '}' ], // RTL mirroring
[ '\\}', '{' ], // RTL mirroring
[ '\\_', '\u0651' ], // Shadda
[ 'Q', '\u0653' ], // Madda above
[ 'q', 'ق' ],
[ 'W', 'ۄ' ], // Waw with ring
[ 'w', 'و' ],
[ 'E', 'ؠ' ], // Kashmiri yeh
[ 'e', 'ع' ],
[ 'R', 'ڑ' ],
[ 'r', 'ر' ],
[ 'T', 'ٹ' ],
[ 't', 'ت' ],
[ 'Y', '\u0656' ], // Subscript Alef
[ 'y', 'ے' ],
[ 'U', '\u065A' ], // Small V above
[ 'u', 'ء' ],
[ 'I', 'ۆ' ], // OE, waw with V above
[ 'i', 'ی' ],
[ 'O', 'ٲ' ], // Alef with wavy hamza
[ 'o', 'ہ' ], // Heh goal
[ 'P', '\u0654' ], // Hamza above
[ 'p', 'پ' ],
[ 'A', 'آ' ],
[ 'a', 'ا' ],
[ 'S', 'ش' ],
[ 's', 'س' ],
[ 'D', 'ڈ' ],
[ 'd', 'د' ],
[ 'F', '\u064F' ], // Damma
[ 'f', 'ف' ],
[ 'G', 'غ' ],
[ 'g', 'گ' ],
[ 'H', 'ح' ],
[ 'h', 'ھ' ],
[ 'J', 'ژ' ],
[ 'j', 'ج' ],
[ 'K', 'خ' ],
[ 'k', 'ک' ],
[ 'L', '\u0655' ], // Hamza below
[ 'l', 'ل' ],
[ ';', '؛' ],
[ '\\\\', '\u0657' ], // Inverted damma
[ 'Z', 'ذ' ],
[ 'z', 'ز' ],
[ 'X', 'ض' ],
[ 'x', 'ص' ],
[ 'C', 'ث' ],
[ 'c', 'چ' ],
[ 'V', 'ظ' ],
[ 'v', 'ط' ],
[ 'B', 'أ' ],
[ 'b', 'ب' ],
[ 'N', 'ں' ],
[ 'n', 'ن' ],
[ 'M', '\u065F' ], // Arabic wavy hamza below
[ 'm', 'م' ],
[ '\\>', '\u064E' ], // Fatha
[ ',', '،' ],
[ '\\<', '\u0650' ], // Kasra
[ '\\.', '۔' ], // Arabic Full stop
[ '\\?', '؟' ]
]
};
$.ime.register( ksKbd );
}( jQuery ) );