Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add Punjabi InScript2 and Jhelum keyboard

  • Loading branch information...
commit 9ea6d2a6db537c00a783d97137bea0a7999e41eb 1 parent d138a15
Parag Nemade authored santhoshtr committed
110 rules/pa/pa-inscript2.js
View
@@ -0,0 +1,110 @@
+( function ( $ ) {
+ 'use strict';
+
+ var paInScript2 = {
+ id: 'pa-inscript2',
+ name: 'Punjabi InScript2',
+ description: 'Enhanced InScript keyboard for Punjabi script',
+ date: '2013-11-14',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ["1", ""],
+ ["2", ""],
+ ["3", ""],
+ ["4", ""],
+ ["5", ""],
+ ["6", ""],
+ ["7", ""],
+ ["8", ""],
+ ["9", ""],
+ ["0", ""],
+ ["\\(", "("],
+ ["\\)", ")"],
+ ["\\_", ""],
+ ["\\-", "-"],
+ ["Q", ""],
+ ["q", ""],
+ ["W", ""],
+ ["w", ""],
+ ["E", ""],
+ ["e", ""],
+ ["R", ""],
+ ["r", ""],
+ ["T", ""],
+ ["t", ""],
+ ["Y", ""],
+ ["y", ""],
+ ["U", ""],
+ ["u", ""],
+ ["I", ""],
+ ["i", ""],
+ ["O", ""],
+ ["o", ""],
+ ["P", ""],
+ ["p", ""],
+ ["\\{", ""],
+ ["\\[", ""],
+ ["\\}", ""],
+ ["\\]", ""],
+ ["A", ""],
+ ["a", ""],
+ ["S", ""],
+ ["s", ""],
+ ["D", ""],
+ ["d", ""],
+ ["F", ""],
+ ["f", "ਿ"],
+ ["G", ""],
+ ["g", ""],
+ ["H", ""],
+ ["h", ""],
+ ["J", ""],
+ ["j", ""],
+ ["K", ""],
+ ["k", ""],
+ ["L", ""],
+ ["l", ""],
+ [":", ""],
+ [";", ""],
+ ["\"", ""],
+ ["\\'", ""],
+ ["X", ""],
+ ["x", ""],
+ ["C", ""],
+ ["c", ""],
+ ["v", ""],
+ ["B", ""],
+ ["b", ""],
+ ["N", "N"],
+ ["n", ""],
+ ["M", ""],
+ ["m", ""],
+ [",", ","],
+ ["\\>", ""],
+ ["\\.", "."],
+ ["/", ""]
+ ],
+ patterns_x: [
+ ["1", ""],
+ ["2", ""],
+ ["4", ""],
+ ["i", ""],
+ ["p", ""],
+ ["\\[", ""],
+ ["D", ""],
+ ["d", ""],
+ ["F", ""],
+ ["G", ""],
+ ["H", ""],
+ ["K", ""],
+ ["X", ""],
+ ["x", ""],
+ ["N", ""],
+ ["\\.", ""],
+ ["/", ""]]
+ };
+ $.ime.register( paInScript2 );
+
+}( jQuery ) );
130 rules/pa/pa-jhelum.js
View
@@ -0,0 +1,130 @@
+( function ( $ ) {
+ 'use strict';
+
+ var paJhelum = {
+ id: 'pa-jhelum',
+ name: 'Punjabi Jhelum',
+ description: 'Jhelum keyboard for Punjabi script',
+ date: '2013-11-14',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ["\\~", "~"],
+ ["\\`", "`"],
+ ["\\!", "!"],
+ ["1", "1"],
+ ["\\@", "@"],
+ ["2", "2"],
+ ["\\#", "#"],
+ ["3", "3"],
+ ["\\$", "$"],
+ ["4", "4"],
+ ["\\%", "%"],
+ ["5", "5"],
+ ["\\^", ""],
+ ["6", "6"],
+ ["\\&", ""],
+ ["7", "7"],
+ ["8", "8"],
+ ["\\(", "("],
+ ["9", "9"],
+ ["\\)", ")"],
+ ["0", "0"],
+ ["\\_", "_"],
+ ["\\-", "-"],
+ ["\\+", "+"],
+ ["\\=", "="],
+ ["Q", ""],
+ ["q", ""],
+ ["W", ""],
+ ["w", ""],
+ ["E", ""],
+ ["e", ""],
+ ["R", ""],
+ ["r", ""],
+ ["T", ""],
+ ["t", ""],
+ ["Y", ""],
+ ["y", ""],
+ ["U", ""],
+ ["u", ""],
+ ["I", ""],
+ ["i", ""],
+ ["O", ""],
+ ["o", ""],
+ ["P", ""],
+ ["p", ""],
+ ["\\{", ""],
+ ["\\[", ""],
+ ["\\}", ""],
+ ["\\]", ""],
+ ["A", ""],
+ ["a", ""],
+ ["S", ""],
+ ["s", ""],
+ ["D", ""],
+ ["d", ""],
+ ["F", ""],
+ ["f", "ਿ"],
+ ["G", ""],
+ ["g", ""],
+ ["H", ""],
+ ["h", ""],
+ ["J", ""],
+ ["j", ""],
+ ["K", ""],
+ ["k", ""],
+ ["L", ""],
+ ["l", ""],
+ [":", ":"],
+ [";", ""],
+ ["\"", "\""],
+ ["\\'", "'"],
+ ["\\|", ""],
+ ["\\", "\\"],
+ ["Z", ""],
+ ["z", ""],
+ ["X", ""],
+ ["x", ""],
+ ["C", ""],
+ ["c", ""],
+ ["V", ""],
+ ["v", ""],
+ ["B", ""],
+ ["b", ""],
+ ["N", ""],
+ ["n", ""],
+ ["M", ""],
+ ["m", ""],
+ ["\\<", "<"],
+ [",", ","],
+ ["\\>", ">"],
+ ["\\.", "."],
+ ["\\?", "?"],
+ ["/", "/"],
+ ["\\*", "*"],
+ ],
+ patterns_x: [
+ ["1", ""],
+ ["2", ""],
+ ["3", ""],
+ ["4", ""],
+ ["5", ""],
+ ["6", ""],
+ ["7", ""],
+ ["8", ""],
+ ["9", ""],
+ ["0", ""],
+ ["y", "੍ਰ"],
+ ["i", ""],
+ ["P", ""],
+ ["h", "੍ਹ"],
+ ["j", ""],
+ ["K", ""],
+ ["l", ""],
+ [";", ""]]
+ };
+ $.ime.register( paJhelum );
+
+}( jQuery ) );
10 src/jquery.ime.inputmethods.js
View
@@ -227,6 +227,14 @@
name: 'Inscript',
source: 'rules/pa/pa-inscript.js'
},
+ 'pa-inscript2': {
+ name: 'Inscript2',
+ source: 'rules/pa/pa-inscript2.js'
+ },
+ 'pa-jhelum': {
+ name: 'Jhelum',
+ source: 'rules/pa/pa-jhelum.js'
+ },
'pa-transliteration': {
name: 'Transliteration',
source: 'rules/pa/pa-transliteration.js'
@@ -444,7 +452,7 @@
},
'pa': {
autonym: 'ਪੰਜਾਬੀ',
- inputmethods: [ 'pa-transliteration', 'pa-inscript', 'pa-phonetic' ]
+ inputmethods: [ 'pa-transliteration', 'pa-inscript', 'pa-phonetic', 'pa-inscript2', 'pa-jhelum' ]
},
'rif': {
autonym: 'ⵜⵉⴼⵉⵏⴰⵖ',
Please sign in to comment.
Something went wrong with that request. Please try again.