Files
mediawiki-extensions-Univer…/lib/jquery.ime/rules/ks/ks-kbd.js
Amir E. Aharoni 1cc7bb1c06 Update jquery.ime and jquery.uls from upstream
jquery.ime: Add missing characters to Kashmiri.
Updating to
ea4959d2b1

jquery.uls: Localization updates (anp, dga, gu).
Updating to
51f9a7b01d

Change-Id: I6b2c784cc7399c64668d308616b84bb85bd38348
2023-03-20 08:28:44 +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.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', '\u065A' ], // Small V above
[ 'u', 'ء' ],
[ 'I', 'ۆ' ], // OE, waw with V above
[ '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 ) );