Files
mediawiki-extensions-Univer…/lib/jquery.ime/rules/ur/ur-phonetic.js
Amir E. Aharoni e018a52498 Update jquery.ime from upstream
Change-Id: I904dfd1e089e92deaa2da50510d0975a8e317a94
2013-08-22 15:36:02 +03:00

109 lines
2.1 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 urPhonetic = {
id: 'ur-phonetic',
name: 'صوتی',
description: 'Phonetic keyboard for Urdu script',
date: '2013-02-18',
URL: 'http://cvs.savannah.gnu.org/viewvc/m17n-contrib/im/ur-phonetic.mim?root=m17n&view=markup',
author: 'Parag Nemade',
license: 'GPLv3',
version: '1.0',
patterns: [
['!', '!'],
['1', '۱'],
['2', '۲'],
['\\#', '/'],
['3', '۳'],
/* Yeh with hamza above */ ['\\$', 'ئ'],
['4', '۴'],
['5', '۵'],
['6', '۶'],
['7', '۷'],
['8', '۸'],
['\\(', ')'],
['9', '۹'],
['\\)', '('],
['0', '۰'],
['\\_" "ّ'],
/* Alef with hamza above */ ['\\-', 'أ'],
/* Alef with madda above */ ['\\+', 'آ'],
/* Waw with hamza above */ ['\\=', 'ؤ'],
['Q', 'ْ'],
['q', 'ق'],
['W', 'ﷺ'],
['w', 'و'],
['E', '¥'],
['e', 'ع'],
['R', 'ڑ'],
['r', 'ر'],
['T', 'ٹ'],
['t', 'ت'],
['Y', '\u0601'],
['y', 'ے'],
['U', '،'],
['u', 'ء'],
['I', 'ٰ'],
['i', 'ی'],
/* Teh marbuta goal */ ['O', 'ۃ'],
['o', 'ہ'],
['P', 'ُ'],
['p', 'پ'],
['\\{', 'ٰ'],
['\\[', ']'],
['\\}', 'ٰٰ'],
['\\]', '['],
['A', 'ٓ'],
['a', 'ا'],
['S', 'ص'],
['s', 'س'],
['D', 'ڈ'],
['d', 'د'],
['F', ''],
['f', 'ف'],
['G', 'غ'],
['g', 'گ'],
['H', 'ح'],
['h', 'ھ'],
['J', 'ض'],
['j', 'ج'],
['K', 'خ'],
['k', 'ک'],
['L', '\u0613'],
['l', 'ل'],
[':', ':'],
/* Arabic semicolon */ [';', '؛'],
['\"', '؎'],
['\'', 'ٰ'],
['\\|', 'ؔ'],
['\\', '؎'],
['\\~', 'ً'],
['\\`', 'ٍ'],
['Z', 'ذ'],
['z', 'ز'],
['X', 'ژ'],
['x', 'ش'],
['C', 'ث'],
['c', 'چ'],
['V', 'ظ'],
['v', 'ط'],
['B', 'ؒ'],
['b', 'ب'],
['N', 'ں'],
['n', 'ن'],
['M', ''],
['m', 'م'],
['\\<', 'ِ'],
[',', '،'],
['\\>', 'َ'],
/* Arabic full stop */ ['\\.', '۔'],
/* Arabic question mark */ ['\\?', '؟'],
['\\^', 'ۖ'],
['\\&', 'ٔ'],
['\\*', 'ٌ']]
};
$.ime.register( urPhonetic );
}( jQuery ) );