-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
317 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
( function ( $ ) { | ||
'use strict'; | ||
|
||
var nqoStandardQwerty = { | ||
id: 'nqo-standard-qwerty', | ||
name: "N'Ko standard qwerty", | ||
description: "N'Ko standard qwerty", | ||
date: '2019-04-26', | ||
URL: 'https://github.com/wikimedia/jquery.ime', | ||
author: 'Amir E. Aharoni', | ||
license: 'GPLv3', | ||
version: '1.0', | ||
maxKeyLength: 1, | ||
patterns: [ | ||
[ '`', '߷' ], | ||
[ '1', '߁' ], | ||
[ '2', '߂' ], | ||
[ '3', '߃' ], | ||
[ '4', '߄' ], | ||
[ '5', '߅' ], | ||
[ '6', '߆' ], | ||
[ '7', '߇' ], | ||
[ '8', '߈' ], | ||
[ '9', '߉' ], | ||
[ '0', '߀' ], | ||
|
||
[ 'Q', 'ߩ' ], | ||
[ 'W', 'ߨ' ], | ||
[ 'Y', 'ߚ' ], | ||
[ 'I', '÷' ], | ||
[ 'O', '×' ], | ||
[ 'P', 'ߪ' ], | ||
|
||
[ 'A', '߶' ], | ||
[ 'D', '[' ], | ||
[ 'F', ']' ], | ||
[ 'G', '(' ], | ||
[ 'H', ')' ], | ||
[ 'J', 'ߺ' ], | ||
[ 'L', '/' ], | ||
|
||
[ 'Z', '\u07F3' ], | ||
[ 'X', '\u07F1' ], | ||
[ 'C', '\u07ED' ], | ||
[ 'V', '\u07EE' ], | ||
[ 'B', '\u07F0' ], | ||
[ 'N', '\u07EF' ], | ||
[ 'M', '߸' ], // Comma | ||
[ '<', 'ߑ' ], | ||
[ '\\?', '؟' ], | ||
|
||
[ 'q', 'ߔ' ], | ||
[ 'w', 'ߧ' ], | ||
[ 'e', 'ߠ' ], | ||
[ 'r', 'ߥ' ], | ||
[ 't', 'ߦ' ], | ||
[ 'y', 'ߙ' ], | ||
[ 'u', 'ߗ' ], | ||
[ 'i', 'ߜ' ], | ||
[ 'o', 'ߢ' ], | ||
[ 'p', 'ߡ' ], | ||
[ '\\[', 'ߤ' ], | ||
[ '\\]', 'ߒ' ], | ||
|
||
[ 'a', 'ߏ' ], | ||
[ 's', 'ߎ' ], | ||
[ 'd', 'ߍ' ], | ||
[ 'f', 'ߌ' ], | ||
[ 'g', 'ߋ' ], | ||
[ 'h', 'ߊ' ], | ||
[ 'k', 'ߝ' ], | ||
[ 'j', 'ߖ' ], | ||
[ 'k', 'ߞ' ], | ||
[ 'l', 'ߣ' ], | ||
[ 'm', 'ߟ' ], | ||
[ ';', 'ߕ' ], | ||
[ "'", 'ߓ' ], | ||
|
||
[ 'z', 'ߐ' ], | ||
[ 'x', '\u07F2' ], | ||
[ 'v', 'ߴ' ], | ||
[ 'c', 'ߵ' ], | ||
[ 'b', '\u07EC' ], | ||
[ 'n', '\u07EB' ], | ||
[ '!', '߹' ], | ||
[ ',', 'ߛ' ], | ||
[ '\\.', 'ߘ' ], | ||
[ '/', 'ߞ' ] | ||
] | ||
}; | ||
|
||
$.ime.register( nqoStandardQwerty ); | ||
}( jQuery ) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
( function ( $ ) { | ||
'use strict'; | ||
|
||
var nqoTransliteration = { | ||
id: 'nqo-transliteration', | ||
name: "N'Ko transliteration", | ||
description: "N'Ko transliteration", | ||
date: '2019-04-26', | ||
URL: 'http://github.com/wikimedia/jquery.ime', | ||
author: 'Amir E. Aharoni', | ||
license: 'GPLv3', | ||
version: '1.0', | ||
maxKeyLength: 3, | ||
patterns: [ | ||
// Sequences | ||
[ 'ߣn', 'ߠ' ], // nn | ||
[ 'ߢw', 'ߧ' ], // nyw | ||
[ 'ߣy', 'ߢ' ], // ny | ||
[ | ||
'ߖ\\/', | ||
'ߨ' | ||
], // j/ | ||
[ | ||
'ߗ\\/', | ||
'ߩ' | ||
], // c/ | ||
[ | ||
'ߙ\\/', | ||
'ߪ' | ||
], // r/ | ||
[ '\u07F2\u07F2\\.', '߷' ], // ... | ||
[ '\u07EB-', '-' ], // -- | ||
[ '\u07EC~', '~' ], // ~~ | ||
[ '\\\\\\?', '?' ], // \? | ||
[ '\\?', '؟' ], | ||
|
||
// Unshifted | ||
|
||
[ '`', 'ߑ' ], | ||
[ '1', '߁' ], | ||
[ '2', '߂' ], | ||
[ '3', '߃' ], | ||
[ '4', '߄' ], | ||
[ '5', '߅' ], | ||
[ '6', '߆' ], | ||
[ '7', '߇' ], | ||
[ '8', '߈' ], | ||
[ '9', '߉' ], | ||
[ '0', '߀' ], | ||
|
||
[ 'w', 'ߥ' ], | ||
[ 'e', 'ߍ' ], | ||
[ 'r', 'ߙ' ], | ||
[ 't', 'ߕ' ], | ||
[ 'y', 'ߦ' ], | ||
[ 'u', 'ߎ' ], | ||
[ 'i', 'ߌ' ], | ||
[ 'o', 'ߐ' ], | ||
[ 'p', 'ߔ' ], | ||
|
||
[ 'a', 'ߊ' ], | ||
[ 's', 'ߛ' ], | ||
[ 'd', 'ߘ' ], | ||
[ 'f', 'ߝ' ], | ||
[ 'g', 'ߜ' ], | ||
[ 'h', 'ߤ' ], | ||
[ 'j', 'ߖ' ], | ||
[ 'k', 'ߞ' ], | ||
[ 'l', 'ߟ' ], | ||
|
||
[ 'c', 'ߗ' ], | ||
[ 'b', 'ߓ' ], | ||
[ 'n', 'ߣ' ], | ||
[ 'm', 'ߡ' ], | ||
|
||
// Shifted | ||
|
||
[ '~', '\u07EC' ], | ||
[ '!', '߹' ], | ||
[ '#', '\u07F0' ], | ||
[ '%', '\u07F3' ], | ||
|
||
[ 'E', 'ߋ' ], | ||
[ 'R', 'ߚ' ], | ||
[ 'O', 'ߏ' ], | ||
[ 'N', 'ߒ' ], | ||
[ '<', '\u07F1' ], | ||
[ '>', '\u07EF' ], | ||
[ '\u07EE\\.', '\u07ED' ], // ^. | ||
[ '\\^', '\u07EE' ], // ^ | ||
[ '߸\\/', 'ߺ' ], // ,/ | ||
[ '\\.', '\u07F2' ], // Combining nasalization mark ("dot below") | ||
[ ',', '߸' ], // Comma | ||
[ '/', '߶' ], | ||
[ "'", 'ߴ' ], // High tone apostrophe | ||
[ '"', 'ߵ' ], // Low tone apostrophe | ||
[ '-', '\u07EB' ] // Combining short high tone ("macron") | ||
] | ||
}; | ||
|
||
$.ime.register( nqoTransliteration ); | ||
}( jQuery ) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters